# NOT RUN {
# The following command updates the role trust policy for the role named
# Test-Role:
# }
# NOT RUN {
svc$update_assume_role_policy(
PolicyDocument = "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",...",
RoleName = "S3AccessForEC2Instances"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab