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

Class: Aws::EC2::Types::ScheduledInstancesIamInstanceProfile

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

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

Describes an IAM instance profile for a Scheduled Instance.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN).

Returns:

  • (String)


21850
21851
21852
21853
21854
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21850

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

#nameString

The name.

Returns:

  • (String)


21850
21851
21852
21853
21854
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 21850

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