CmdID / aws / aws s3control
aws s3control create-access-grant
Creates an access grant that gives a grantee access to your S3 data. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--access-grants-location-configurationThe configuration options of the grant location.--access-grants-location-idThe ID of the registered location to which you are granting access.--account-idThe Amazon Web Services account ID of the S3 Access Grants instance.--application-arnThe Amazon Resource Name (ARN) of an Amazon Web Services IAM Identity Center application associated with your Identity Center instance.--granteeThe user, group, or role to which you are granting access.--permissionThe type of access that you are granting to your S3 data, which can be set to one of the following values: READ – Grant read-only access to the S3 data.--s3-prefix-typeThe type of S3SubPrefix.--tagsThe Amazon Web Services resource tags that you are adding to the access grant.