Class: Aws::IAM::Types::AddRoleToInstanceProfileRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_profile_nameString

The name of the instance profile to update.

This parameter allows (through 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: _+=,.@-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


301
302
303
304
305
306
# File 'lib/aws-sdk-iam/types.rb', line 301

class AddRoleToInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

The name of the role to add.

This parameter allows (through 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: _+=,.@-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


301
302
303
304
305
306
# File 'lib/aws-sdk-iam/types.rb', line 301

class AddRoleToInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end