feat: Explain ec2:AssociateIamInstanceProfile

Add explanation for ec2:AssociateIamInstanceProfile.
Also, fix a typo.
This commit is contained in:
nzdjb 2022-10-23 09:24:08 +13:00 committed by GitHub
parent a43897a473
commit c5146f5dc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,9 +324,12 @@ Example : https://awesomeapp.com/forward?target=http://169.254.169.254/latest/me
"Resource": "*"
```
- ec2:AssociateIamInstanceProfile
- **ec2:AssociateIamInstanceProfile** : attach an IAM instance profile to an EC2 instance
```powershell
aws ec2 associate-iam-instance-profile --iam-instance-profile Name=admin-role --instance-id i-0123456789
```
- **iam:CreateAccessKey**iam:CreateAccessKey : create a new access key to another IAM admin account
- **iam:CreateAccessKey** : create a new access key to another IAM admin account
```powershell
aws iam create-access-key user-name target_user
```