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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes a principal.

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

The Amazon Resource Name (ARN) of the principal.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the principal.

#principal_typeString

The type of principal.

Possible values:

  • All
  • Service
  • OrganizationUnit
  • Account
  • User
  • Role

Returns:

  • (String)

    The type of principal.