Class: Aws::IAM::Types::RemoveRoleFromInstanceProfileRequest

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

Overview

Note:

When making an API call, you may pass RemoveRoleFromInstanceProfileRequest data as a hash:

{
  instance_profile_name: "instanceProfileNameType", # required
  role_name: "roleNameType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_profile_nameString

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: _+=,.@-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


7125
7126
7127
7128
7129
# File 'lib/aws-sdk-iam/types.rb', line 7125

class RemoveRoleFromInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  include Aws::Structure
end

#role_nameString

The name of the role to remove.

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: _+=,.@-

[1]: wikipedia.org/wiki/regex

Returns:

  • (String)


7125
7126
7127
7128
7129
# File 'lib/aws-sdk-iam/types.rb', line 7125

class RemoveRoleFromInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  include Aws::Structure
end