Class: Aws::IAM::Types::AddRoleToInstanceProfileRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IAM::Types::AddRoleToInstanceProfileRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iam/types.rb
Overview
Note:
When making an API call, you may pass AddRoleToInstanceProfileRequest data as a hash:
{
instance_profile_name: "instanceProfileNameType", # required
role_name: "roleNameType", # required
}
Instance Attribute Summary collapse
-
#instance_profile_name ⇒ String
The name of the instance profile to update.
-
#role_name ⇒ String
The name of the role to add.
Instance Attribute Details
#instance_profile_name ⇒ String
The name of the instance profile to update.
This parameter allows (per its [regex pattern]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
214 215 216 217 218 |
# File 'lib/aws-sdk-iam/types.rb', line 214 class AddRoleToInstanceProfileRequest < Struct.new( :instance_profile_name, :role_name) include Aws::Structure end |
#role_name ⇒ String
The name of the role to add.
This parameter allows (per its [regex pattern]) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
214 215 216 217 218 |
# File 'lib/aws-sdk-iam/types.rb', line 214 class AddRoleToInstanceProfileRequest < Struct.new( :instance_profile_name, :role_name) include Aws::Structure end |