CmdID / aws / aws s3control
aws s3control create-access-grants-location
The S3 data location that you would like to register in your S3 Access Grants instance. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--account-idThe Amazon Web Services account ID of the S3 Access Grants instance.--iam-role-arnThe Amazon Resource Name (ARN) of the IAM role for the registered location.--location-scopeThe S3 path to the location that you are registering.--tagsThe Amazon Web Services resource tags that you are adding to the S3 Access Grants location.