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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


520
521
522
523
524
# File 'lib/aws-sdk-ec2/types.rb', line 520

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

#principal_typeString

The type of principal.

Returns:

  • (String)


520
521
522
523
524
# File 'lib/aws-sdk-ec2/types.rb', line 520

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