Class: Aws::EC2::Types::AssociateIamInstanceProfileRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#iam_instance_profileTypes::IamInstanceProfileSpecification

The IAM instance profile.



2216
2217
2218
2219
2220
2221
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2216

class AssociateIamInstanceProfileRequest < Struct.new(
  :iam_instance_profile,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


2216
2217
2218
2219
2220
2221
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 2216

class AssociateIamInstanceProfileRequest < Struct.new(
  :iam_instance_profile,
  :instance_id)
  SENSITIVE = []
  include Aws::Structure
end