Class: Aws::AccessAnalyzer::Types::AclGrantee

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

Overview

Note:

AclGrantee is a union - when making an API calls you must set exactly one of the members.

Note:

AclGrantee is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AclGrantee corresponding to the set member.

You specify each grantee as a type-value pair using one of these types. You can specify only one type of grantee. For more information, see [PutBucketAcl].

[1]: docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketAcl.html

Direct Known Subclasses

Id, Unknown, Uri

Defined Under Namespace

Classes: Id, Unknown, Uri

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The value specified is the canonical user ID of an Amazon Web Services account.

Returns:

  • (String)


308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 308

class AclGrantee < Struct.new(
  :id,
  :uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Id < AclGrantee; end
  class Uri < AclGrantee; end
  class Unknown < AclGrantee; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



308
309
310
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 308

def unknown
  @unknown
end

#uriString

Used for granting permissions to a predefined group.

Returns:

  • (String)


308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/aws-sdk-accessanalyzer/types.rb', line 308

class AclGrantee < Struct.new(
  :id,
  :uri,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Id < AclGrantee; end
  class Uri < AclGrantee; end
  class Unknown < AclGrantee; end
end