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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


28748
28749
28750
28751
28752
28753
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28748

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

#nameString

The name of the instance profile.

Returns:

  • (String)


28748
28749
28750
28751
28752
28753
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 28748

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