Create role for AWS service via command line

1)Create role
aws iam create-role

2)attch policy to role

2.1)Attach managed poilicy to role
aws iam attach-role-plicy

or
2.2)Attach inline policy
aws iam put-role-plicy

No comments:

Post a Comment