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)


40020
40021
40022
40023
40024
40025
40026
40027
40028
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40020

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.



40020
40021
40022
40023
40024
40025
40026
40027
40028
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40020

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)


40020
40021
40022
40023
40024
40025
40026
40027
40028
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40020

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)


40020
40021
40022
40023
40024
40025
40026
40027
40028
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40020

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)


40020
40021
40022
40023
40024
40025
40026
40027
40028
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 40020

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