Class: Aws::S3Control::Types::Grantee

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

Overview

The user, group, or role to which you are granting access. You can grant access to an IAM user or role. If you have added your corporate directory to Amazon Web Services IAM Identity Center and associated your Identity Center instance with your S3 Access Grants instance, the grantee can also be a corporate directory user or group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#grantee_identifierString

The unique identifier of the Grantee. If the grantee type is IAM, the identifier is the IAM Amazon Resource Name (ARN) of the user or role. If the grantee type is a directory user or group, the identifier is 128-bit universally unique identifier (UUID) in the format a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. You can obtain this UUID from your Amazon Web Services IAM Identity Center instance.

Returns:

  • (String)


3457
3458
3459
3460
3461
3462
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3457

class Grantee < Struct.new(
  :grantee_type,
  :grantee_identifier)
  SENSITIVE = []
  include Aws::Structure
end

#grantee_typeString

The type of the grantee to which access has been granted. It can be one of the following values:

  • IAM - An IAM user or role.

  • DIRECTORY_USER - Your corporate directory user. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.

  • DIRECTORY_GROUP - Your corporate directory group. You can use this option if you have added your corporate identity directory to IAM Identity Center and associated the IAM Identity Center instance with your S3 Access Grants instance.

Returns:

  • (String)


3457
3458
3459
3460
3461
3462
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3457

class Grantee < Struct.new(
  :grantee_type,
  :grantee_identifier)
  SENSITIVE = []
  include Aws::Structure
end