# NOT RUN {
# The following command attaches the AWS managed policy named
# ReadOnlyAccess to the IAM group named Finance.
# }
# NOT RUN {
svc$attach_group_policy(
GroupName = "Finance",
PolicyArn = "arn:aws:iam::aws:policy/ReadOnlyAccess"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab