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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/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)


13566
13567
13568
13569
13570
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13566

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

#nameString

The name of the instance profile.

Returns:

  • (String)


13566
13567
13568
13569
13570
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13566

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