Class: Aws::S3Control::Types::Grantee
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::Grantee
- Defined in:
- gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb
Overview
The user, group, role, or attribute to which you are granting access. The grantee can be an IAM user or role, a directory user or group, or an attribute. A directory user or group comes from your corporate directory. Your users can sign in through IAM Identity Center or through IAM federation with trusted identity propagation (TIP). IAM Identity Center instances use the legacy experience until you turn on the simplified experience for trusted identity propagation. If your instance uses the legacy experience, associate it with your S3 Access Grants instance.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#grantee_identifier ⇒ String
The unique identifier of the
Grantee. -
#grantee_type ⇒ String
The type of the grantee to which access has been granted.
Instance Attribute Details
#grantee_identifier ⇒ String
The unique identifier of the Grantee. The format depends on the
grantee type:
IAM- The IAM Amazon Resource Name (ARN) of the user or role.DIRECTORY_USER- The user's name, or the ID that IAM Identity Center uses for the user, for example,a1b2c3d4-5678-90ab-cdef-EXAMPLE11111. For IAM federation, the name is the subject that IAM sets from your identity provider token, for example, the user ID00u1a2b3c4EXAMPLE. For IAM Identity Center, the name is the user's username.DIRECTORY_GROUP- The group's display name in IAM Identity Center, for example,finance-analysts, or the group's IAM Identity Center ID.ATTRIBUTE- One runtime claim and its value, in the formaws:TransactionContext/IdentityProvider/key=value, for example,aws:TransactionContext/IdentityProvider/department=Finance. Each attribute grant contains one key and one value.
S3 Access Grants stores the identifier exactly as you enter it. It compares identifiers exactly, and the comparison is case sensitive. S3 Access Grants doesn't check that the user, group, or attribute exists when you create the grant.
User names can be up to 128 characters long. They can contain
letters, numbers, spaces, and the characters _ . : / = + - @.
Group names can be up to 128 characters long. They can contain any
character that IAM Identity Center allows in a group display name,
such as R&D or Finance (EU). Attribute keys and values can each
be up to 128 characters long. Both can contain letters, numbers, and
the characters _ . : / + - @. Values can also contain spaces and
=. As a best practice, use an immutable user ID from your identity
provider instead of an email address.
3811 3812 3813 3814 3815 3816 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3811 class Grantee < Struct.new( :grantee_type, :grantee_identifier) SENSITIVE = [] include Aws::Structure end |
#grantee_type ⇒ String
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- A user from your corporate directory. The user can sign in through IAM Identity Center or through IAM federation with your external identity provider.DIRECTORY_GROUP- A group from your corporate directory. Group grants match users who sign in through IAM Identity Center. They also match users who sign in through IAM federation when the IAM identity provider is configured for group-based access.ATTRIBUTE- A runtime claim that you map on your IAM identity provider, such as a department. The grant matches every user who signs in through IAM federation with this runtime claim and value.
3811 3812 3813 3814 3815 3816 |
# File 'gems/aws-sdk-s3control/lib/aws-sdk-s3control/types.rb', line 3811 class Grantee < Struct.new( :grantee_type, :grantee_identifier) SENSITIVE = [] include Aws::Structure end |