# NOT RUN {
# The following command adds the role named S3Access to the instance
# profile named Webserver:
# }
# NOT RUN {
svc$add_role_to_instance_profile(
InstanceProfileName = "Webserver",
RoleName = "S3Access"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab