{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeAddresses", "ec2:DescribeNetworkInterfaces", "ec2:DescribeInstanceAttribute", "ec2:DescribeRegions", "ec2:ModifyInstanceAttribute", "ec2:DescribeInstanceStatus", "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 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html and https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-policies-for-amazon-ec2.html.