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

Class: Aws::EC2::Types::IamInstanceProfile

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

Overview

Describes an IAM instance profile.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the instance profile.

Returns:

  • (String)


13791
13792
13793
13794
13795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13791

class IamInstanceProfile < Struct.new(
  :arn,
  :id)
  include Aws::Structure
end

#idString

The ID of the instance profile.

Returns:

  • (String)


13791
13792
13793
13794
13795
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13791

class IamInstanceProfile < Struct.new(
  :arn,
  :id)
  include Aws::Structure
end