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

Class: Aws::EC2::Types::LaunchTemplateIamInstanceProfileSpecificationRequest

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 LaunchTemplateIamInstanceProfileSpecificationRequest data as a hash:

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

An IAM instance profile.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

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

Returns:

  • (String)


18724
18725
18726
18727
18728
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18724

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

#nameString

The name of the instance profile.

Returns:

  • (String)


18724
18725
18726
18727
18728
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 18724

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