Skip to content

S3  >  Structures  >  TargetGrant

TargetGrant

Structure Class

TargetGrant dataclass

Bases: _SerdeShape

Container for granting information.

Buckets that use the bucket owner enforced setting for Object Ownership don't support target grants. For more information, see Permissions server access log delivery in the Amazon S3 User Guide.

Attributes

grantee class-attribute instance-attribute
grantee: Grantee | None = ...

Container for the person being granted permissions.

permission class-attribute instance-attribute
permission: str | None = ...

Logging permissions assigned to the grantee for the bucket.