Class: Aws::EC2::Types::DescribeIdentityIdFormatRequest

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

{
  principal_arn: "String", # required
  resource: "String",
}

Contains the parameters for DescribeIdentityIdFormat.

Instance Attribute Summary collapse

Instance Attribute Details

#principal_arnString

The ARN of the principal, which can be an IAM role, IAM user, or the root user.

Returns:

  • (String)


6585
6586
6587
6588
6589
# File 'lib/aws-sdk-ec2/types.rb', line 6585

class DescribeIdentityIdFormatRequest < Struct.new(
  :principal_arn,
  :resource)
  include Aws::Structure
end

#resourceString

The type of resource: ‘instance` | `reservation` | `snapshot` | `volume`

Returns:

  • (String)


6585
6586
6587
6588
6589
# File 'lib/aws-sdk-ec2/types.rb', line 6585

class DescribeIdentityIdFormatRequest < Struct.new(
  :principal_arn,
  :resource)
  include Aws::Structure
end