aws.s3control.get_access_grants_instance_for_prefix
Example SQL Queries
SELECT * FROMaws.s3control.get_access_grants_instance_for_prefixWHERE"account_id" = 'VALUE'AND "s3_prefix" = 'VALUE';Description
Retrieve the S3 Access Grants instance that contains a particular prefix.
- Permissions
You must have the s3:GetAccessGrantsInstanceForPrefix permission for the caller account to use this operation.
- Additional Permissions
The prefix owner account must grant you the following permissions to their S3 Access Grants instance: s3:GetAccessGrantsInstanceForPrefix.
Table Definition
| Column Name | Column Data Type |
|---|---|
| account_id Required Input Column The ID of the Amazon Web Services account that is making this request. | VARCHAR |
| s3_prefix Required Input Column The S3 prefix of the access grants that you would like to retrieve. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| access_grants_instance_arn The Amazon Resource Name (ARN) of the S3 Access Grants instance. | VARCHAR |
| access_grants_instance_id The ID of the S3 Access Grants instance. The ID is default. You can have one S3 Access Grants instance per Region per account. | VARCHAR |