# NOT RUN {
# The following command attaches the AWS managed policy named
# AdministratorAccess to the IAM user named Alice.
# }
# NOT RUN {
svc$attach_user_policy(
PolicyArn = "arn:aws:iam::aws:policy/AdministratorAccess",
UserName = "Alice"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab