I hereby claim:
- I am stevehoggnz on github.
- I am stevehogg (https://keybase.io/stevehogg) on keybase.
- I have a public key ASCkpu8ZPsaiafMHIqjcbuylMSAPLsK9h_SNeEVH-Ld7Sgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| git clone https://github.com/awslabs/aws-mobile-react-native-starter.git | |
| cd aws-mobile-react-native-starter | |
| git fetch origin pull/49/head:feat/amplify-v2 | |
| git checkout feat/amplify-v2 |
| curl -H "Origin: http://example.com" --verbose https://fill-in-the-blanks.h4.nz/markdown/About.md |
| "MyS3BucketPolicy": { | |
| "Type": "AWS::S3::BucketPolicy", | |
| "Properties": { | |
| "Bucket": { "Ref": "MyS3Bucket" }, | |
| "PolicyDocument" : { | |
| "Version":"2012-10-17", | |
| "Statement":[{ | |
| "Sid": "PublicReadAccess", | |
| "Effect": "Allow", | |
| "Principal": "*", |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "EC2 Bastion Server", | |
| "Parameters": { | |
| "VpcId": { | |
| "Type": "AWS::EC2::VPC::Id", | |
| "Description": "The VPC ID" | |
| }, | |
| "DeployBastion": { | |
| "Description": "Should a bastion server be deployed?", |
| { | |
| "AWSTemplateFormatVersion": "2010-09-09", | |
| "Description": "Master template that includes nested templates", | |
| "Parameters": { | |
| "DeployBastion": { | |
| "Description": "Should a bastion server be deployed?", | |
| "Default": "No", | |
| "Type": "String", | |
| "AllowedValues": ["No", "Yes"] | |
| } |
| { | |
| "Resources": { | |
| "myS3Bucket": { | |
| "Type" : "AWS::S3::Bucket", | |
| "Properties" : {}, | |
| "DeletionPolicy" : "Retain" | |
| }, | |
| "myEBSVolume": { | |
| "Type":"AWS::EC2::Volume", | |
| "Properties" : { |
| { | |
| "AWSTemplateFormatVersion" : "2010-09-09", | |
| "Mappings" : { | |
| "RegionMap" : { | |
| "us-east-1" : { | |
| "AMI" : "ami-76f0061f" | |
| }, | |
| "us-west-1" : { | |
| "AMI" : "ami-655a0a20" | |
| }, |
| { | |
| "Resources": { | |
| "AutoScalingGroup": { | |
| "Type": "AWS::AutoScaling::AutoScalingGroup", | |
| "Properties": { | |
| "AvailabilityZones": { "Fn::GetAZs": "" }, | |
| "LaunchConfigurationName": { "Ref": "LaunchConfig" }, | |
| "DesiredCapacity": "2", | |
| "MinSize": "1", | |
| "MaxSize": "4" |
| { | |
| "Resources": { | |
| "SSHServerSecurityGroup" : { | |
| "Type" : "AWS::EC2::SecurityGroup", | |
| "Properties" : { | |
| "VpcId" : "vpc-fdcfd098", | |
| "GroupDescription" : "Allow SSH access", | |
| "SecurityGroupIngress" : [ | |
| {"IpProtocol" : "tcp", "FromPort" : "22", "ToPort" : "22", "CidrIp" : "<REDACTED>/32"} | |
| ] |