Class: Aws::Context::Types::AccessControlEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-context/lib/aws-sdk-context/types.rb

Overview

Allows or denies one end user or group, or every reader (*).

Constant Summary collapse

SENSITIVE =
[:principal_id]

Instance Attribute Summary collapse

Instance Attribute Details

#access ⇒ String

Specifies whether the principal can see the information.

Valid values:

  • ALLOW - Access is allowed.

  • DENY - Access is denied.

Returns:

  • (String)


296
297
298
299
300
301
302
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 296

class AccessControlEntry < Struct.new(
  :access,
  :principal_id,
  :principal_type)
  SENSITIVE = [:principal_id]
  include Aws::Structure
end

#principal_id ⇒ String

The principal's opaque user or group ID, or * for every reader authorized on the resource.

Returns:

  • (String)


296
297
298
299
300
301
302
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 296

class AccessControlEntry < Struct.new(
  :access,
  :principal_id,
  :principal_type)
  SENSITIVE = [:principal_id]
  include Aws::Structure
end

#principal_type ⇒ String

Specifies whether principalId names a user or a group. Required unless principalId is *, where it is ignored.

Valid values:

  • USER - An end user.

  • GROUP - A group of end users.

Returns:

  • (String)


296
297
298
299
300
301
302
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 296

class AccessControlEntry < Struct.new(
  :access,
  :principal_id,
  :principal_type)
  SENSITIVE = [:principal_id]
  include Aws::Structure
end