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

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

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 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)


8454
8455
8456
8457
8458
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8454

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

#resourceString

The type of resource: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway

Returns:

  • (String)


8454
8455
8456
8457
8458
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 8454

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