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

#principalString

The Amazon Resource Name (ARN) of the principal.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1241

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

#principal_typeString

The type of principal.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1241

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

#service_idString

The ID of the service.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1241

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

#service_permission_idString

The ID of the service permission.

Returns:

  • (String)


1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1241

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

#tagsArray<Types::Tag>

The tags.

Returns:



1241
1242
1243
1244
1245
1246
1247
1248
1249
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 1241

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