Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #8 from ahaaje/addServices
Browse files Browse the repository at this point in the history
Add services CloudWatchLogs, CognitoIdentity, CognitoSync
  • Loading branch information
seferov committed May 12, 2016
2 parents 5a65be4 + 568269c commit 74a02f7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AWS Bundle

Amazon Web Services Symfony Bundle built on the top of [official AWS SDK](http://docs.aws.amazon.com/aws-sdk-php/guide/latest/index.html).

Available services: CloudFront, CloudSearch, CloudWatch, DynamoDB, EC2, EMR, Elastic Transcoder, ElastiCache, Glacier, Redshift, RDS, Route 53, SES, SNS, SQS, S3, SWF, SimpleDB, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, IAM, ImportExport, OpsWorks, STS, StorageGateway, Support, ElasticLoadBalancing
Available services: CloudFront, CloudSearch, CloudWatch, CloudWatchLogs, CognitoIdentity, CognitoSync, DynamoDB, EC2, EMR, Elastic Transcoder, ElastiCache, Glacier, Redshift, RDS, Route 53, SES, SNS, SQS, S3, SWF, SimpleDB, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, IAM, ImportExport, OpsWorks, STS, StorageGateway, Support, ElasticLoadBalancing

## Installation:

Expand Down
15 changes: 15 additions & 0 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<argument key="cloud_front">%seferov_aws.cloud_front%</argument>
<argument key="cloud_search">%seferov_aws.cloud_search%</argument>
<argument key="cloud_watch">%seferov_aws.cloud_watch%</argument>
<argument key="cloud_watch_logs">%seferov_aws.cloud_watch_logs%</argument>
<argument key="cognito_identity">%seferov_aws.cognito_identity%</argument>
<argument key="cognito_sync">%seferov_aws.cognito_sync%</argument>
<argument key="dynamo_db">%seferov_aws.dynamo_db%</argument>
<argument key="ec2">%seferov_aws.ec2%</argument>
<argument key="emr">%seferov_aws.emr%</argument>
Expand Down Expand Up @@ -63,6 +66,18 @@
<argument>CloudWatch</argument>
</service>

<service id="aws.cloudWatchLogs" class="CloudWatchLogs" parent="seferov_aws.service">
<argument>CloudWatchLogs</argument>
</service>

<service id="aws.cognitoIdentity" class="CognitoIdentity" parent="seferov_aws.service">
<argument>CognitoIdentity</argument>
</service>

<service id="aws.cognitoSync" class="CognitoSync" parent="seferov_aws.service">
<argument>CognitoSync</argument>
</service>

<service id="aws.dynamoDb" class="DynamoDb" parent="seferov_aws.service">
<argument>DynamoDb</argument>
</service>
Expand Down
2 changes: 1 addition & 1 deletion Resources/doc/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Parameters can be set for each services seperately. If not set, general parameters at the top will be applied.

Available services: CloudFront, CloudSearch, CloudWatch, DynamoDb, Ec2, Emr, ElasticTranscoder, ElastiCache, Glacier, Redshift, Rds, Route53, Ses, Sns, Sqs, S3, Swf, SimpleDb, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, Iam, ImportExport, OpsWorks, Sts, StorageGateway, Support, ElasticLoadBalancing
Available services: CloudFront, CloudSearch, CloudWatch, CloudWatchLogs, CognitoIdentity, CognitoSync, DynamoDb, Ec2, Emr, ElasticTranscoder, ElastiCache, Glacier, Redshift, Rds, Route53, Ses, Sns, Sqs, S3, Swf, SimpleDb, AutoScaling, CloudFormation, CloudTrail, DataPipeline, DirectConnect, ElasticBeanstalk, Iam, ImportExport, OpsWorks, Sts, StorageGateway, Support, ElasticLoadBalancing

``` yaml
seferov_aws:
Expand Down
3 changes: 3 additions & 0 deletions Services/ServicesFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ class ServicesFactory
'CloudFront',
'CloudSearch',
'CloudWatch',
'CloudWatchLogs',
'CognitoIdentity',
'CognitoSync',
'DynamoDb',
'Ec2',
'Emr',
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": ">=5.3.3",
"symfony/symfony": "~2.3|~3.0",
"aws/aws-sdk-php": "^2.4.10"
"aws/aws-sdk-php": "^2.6.11"
},
"require-dev": {
"symfony/finder": "2.6.*@dev|~3.0"
Expand Down

0 comments on commit 74a02f7

Please sign in to comment.