Class: Aws::EC2::Types::IamInstanceProfileSpecification

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

Overview

Note:

When making an API call, you may pass IamInstanceProfileSpecification data as a hash:

{
  arn: "String",
  name: "String",
}

Describes an IAM instance profile.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


13605
13606
13607
13608
13609
# File 'lib/aws-sdk-ec2/types.rb', line 13605

class IamInstanceProfileSpecification < Struct.new(
  :arn,
  :name)
  include Aws::Structure
end

#nameString

The name of the instance profile.

Returns:

  • (String)


13605
13606
13607
13608
13609
# File 'lib/aws-sdk-ec2/types.rb', line 13605

class IamInstanceProfileSpecification < Struct.new(
  :arn,
  :name)
  include Aws::Structure
end