Add AWS push bundle

This commit is contained in:
Fred Cox
2019-01-29 09:28:18 +02:00
parent 65dc26935a
commit d0680722f9
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
mcfedr_aws_push:
platforms:
default: "%env(AWS_PUSH_DEFAULT_PLATFORM_ARN)%"
aws:
credentials:
key: "%env(AWS_ACCESS_KEY_ID)%"
secret: "%env(AWS_SECRET_ACCESS_KEY)%"
region: "%env(AWS_REGION)%"

View File

@@ -0,0 +1,14 @@
{
"bundles": {
"Mcfedr\\AwsPushBundle\\McfedrAwsPushBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"AWS_PUSH_DEFAULT_PLATFORM_ARN": "arn:aws:sns:us-east-1:123456789012:app/APNS/my-app-ios",
"AWS_ACCESS_KEY_ID": "not-a-real-key",
"AWS_SECRET_ACCESS_KEY": "not-a-real-secret",
"AWS_REGION": "us-east-1"
}
}

View File

@@ -0,0 +1,11 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: AwsPushBundle Configuration </>
<bg=blue;fg=white> </>
* You can add more platforms to your config in config/packages/awspush.yaml
* You can remove the AWS credentials if they are configured in your app env or
via an EC2 role.
* <fg=blue>Read</> the documentation at <comment>https://github.com/mcfedr/awspushbundle/blob/master/README.md</>