Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
# The following command adds a permissions policy to the role named
# Test-Role.
# }
# NOT RUN {
svc$put_role_policy(
PolicyDocument = "{\"Version\":\"2012-10-17\",\"Statement\":{\"Effect\":\"Allow\",...",
PolicyName = "S3AccessPolicy",
RoleName = "S3Access"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab