{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeAddresses", "ec2:DescribeNetworkInterfaces", "ec2:DescribeInstanceAttribute", "ec2:DescribeRegions", "ec2:ModifyInstanceAttribute", "ec2:DescribeSubnets", "s3:Get*", "s3:List*", "events:PutRule", "cloudwatch:PutMetricData" ], "Resource": "*" } ] }
To create a Policy and associate it to a Role for the SBC, complete the following steps:
Update the policy to include the following content:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:Get*", "s3:List*" ], "Resource": "*" } ] }
For more information on creating and using IAM roles and policies, refer to AWS online documentation at IAM Roles and IAM Policies.