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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#permission_type ⇒ String

The type of permission granted to the principal.

Returns:

  • (String)


1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end

#principal ⇒ String

The Amazon Resource Name (ARN) of the principal.

Returns:

  • (String)


1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end

#principal_type ⇒ String

The type of principal.

Returns:

  • (String)


1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end

#service_id ⇒ String

The ID of the service.

Returns:

  • (String)


1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end

#service_permission_id ⇒ String

The ID of the service permission.

Returns:

  • (String)


1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

The tags.

Returns:



1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1682

class AllowedPrincipal < Struct.new(
  :principal_type,
  :principal,
  :service_permission_id,
  :tags,
  :service_id,
  :permission_type)
  SENSITIVE = []
  include Aws::Structure
end