access_grants_list_only
Lists access_grants
in a region or regions, for all properties use access_grants
Overview
Name | access_grants_list_only |
Type | Resource |
Description | The AWS::S3::AccessGrant resource is an Amazon S3 resource type representing permissions to a specific S3 bucket or prefix hosted in an S3 Access Grants instance. |
Id | aws.s3.access_grants_list_only |
Fields
Name | Datatype | Description |
---|---|---|
access_grant_id | string | The ID assigned to this access grant. |
access_grants_location_id | string | The custom S3 location to be accessed by the grantee |
tags | array | |
permission | string | The level of access to be afforded to the grantee |
application_arn | string | The ARN of the application grantees will use to access the location |
s3_prefix_type | string | The type of S3SubPrefix. |
grant_scope | string | The S3 path of the data to which you are granting access. It is a combination of the S3 path of the registered location and the subprefix. |
access_grant_arn | string | The Amazon Resource Name (ARN) of the specified access grant. |
grantee | object | The principal who will be granted permission to access S3. |
access_grants_location_configuration | object | The configuration options of the grant location, which is the S3 path to the data to which you are granting access. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all access_grants
in a region.
SELECT
region,
access_grant_id
FROM aws.s3.access_grants_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the access_grants_list_only
resource, see access_grants