Class: Aws::EC2::Types::AddedPrincipal

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

Overview

Describes a principal.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#principalString

The Amazon Resource Name (ARN) of the principal.

Returns:

  • (String)


570
571
572
573
574
575
576
577
# File 'lib/aws-sdk-ec2/types.rb', line 570

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

#principal_typeString

The type of principal.

Returns:

  • (String)


570
571
572
573
574
575
576
577
# File 'lib/aws-sdk-ec2/types.rb', line 570

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

#service_idString

The ID of the service.

Returns:

  • (String)


570
571
572
573
574
575
576
577
# File 'lib/aws-sdk-ec2/types.rb', line 570

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

#service_permission_idString

The ID of the service permission.

Returns:

  • (String)


570
571
572
573
574
575
576
577
# File 'lib/aws-sdk-ec2/types.rb', line 570

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