AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#association_idString

The ID of the association.

Returns:

  • (String)


37458
37459
37460
37461
37462
37463
37464
37465
37466
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37458

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

#iam_instance_profileTypes::IamInstanceProfile

The IAM instance profile.



37458
37459
37460
37461
37462
37463
37464
37465
37466
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37458

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

#instance_idString

The ID of the instance.

Returns:

  • (String)


37458
37459
37460
37461
37462
37463
37464
37465
37466
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37458

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

#stateString

The state of the association.

Returns:

  • (String)


37458
37459
37460
37461
37462
37463
37464
37465
37466
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37458

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

#timestampTime

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

Returns:

  • (Time)


37458
37459
37460
37461
37462
37463
37464
37465
37466
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 37458

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