Class: Aws::EC2::Types::DescribeIdentityIdFormatRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribeIdentityIdFormatRequest
- 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
-
#principal_arn ⇒ String
The ARN of the principal, which can be an IAM role, IAM user, or the root user.
-
#resource ⇒ String
The type of resource: ‘instance` | `reservation` | `snapshot` | `volume`.
Instance Attribute Details
#principal_arn ⇒ String
The ARN of the principal, which can be an IAM role, IAM user, or the root user.
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 |
#resource ⇒ String
The type of resource: ‘instance` | `reservation` | `snapshot` | `volume`
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 |