View definition

(*IAM).AddRoleToInstanceProfile

Defined in github.com/aws/aws-sdk-go/service/iam/api.go

Description

Adds the specified IAM role to the specified instance profile.

The caller of this API must be granted the PassRole permission on the IAM

role by a permission policy.

For more information about roles, go to Working with Roles (http://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html).

For more information about instance profiles, go to About Instance Profiles (http://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html).