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

Class: Aws::EC2::Types::AllowedPrincipal

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Describes a principal.

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

The Amazon Resource Name (ARN) of the principal.

Returns:

  • (String)


418
419
420
421
422
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 418

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal)
  include Aws::Structure
end

#principal_typeString

The type of principal.

Returns:

  • (String)


418
419
420
421
422
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 418

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal)
  include Aws::Structure
end