You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::IamInstanceProfileAssociation

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

Overview

Describes an association between an IAM instance profile and an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#association_idString

The ID of the association.

Returns:

  • (String)


15589
15590
15591
15592
15593
15594
15595
15596
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15589

class IamInstanceProfileAssociation < Struct.new(
  :association_id,
  :instance_id,
  :iam_instance_profile,
  :state,
  :timestamp)
  include Aws::Structure
end

#iam_instance_profileTypes::IamInstanceProfile

The IAM instance profile.



15589
15590
15591
15592
15593
15594
15595
15596
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15589

class IamInstanceProfileAssociation < Struct.new(
  :association_id,
  :instance_id,
  :iam_instance_profile,
  :state,
  :timestamp)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


15589
15590
15591
15592
15593
15594
15595
15596
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15589

class IamInstanceProfileAssociation < Struct.new(
  :association_id,
  :instance_id,
  :iam_instance_profile,
  :state,
  :timestamp)
  include Aws::Structure
end

#stateString

The state of the association.

Returns:

  • (String)


15589
15590
15591
15592
15593
15594
15595
15596
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15589

class IamInstanceProfileAssociation < Struct.new(
  :association_id,
  :instance_id,
  :iam_instance_profile,
  :state,
  :timestamp)
  include Aws::Structure
end

#timestampTime

The time the IAM instance profile was associated with the instance.

Returns:

  • (Time)


15589
15590
15591
15592
15593
15594
15595
15596
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 15589

class IamInstanceProfileAssociation < Struct.new(
  :association_id,
  :instance_id,
  :iam_instance_profile,
  :state,
  :timestamp)
  include Aws::Structure
end