Skip to main content

snapshot_block_public_accesses

Retrieves a list of snapshot_block_public_accesses in a region

Overview

Namesnapshot_block_public_accesses
TypeResource
Descriptionsnapshot_block_public_accesses
Idawscc.ec2.snapshot_block_public_accesses

Fields

NameDatatypeDescription
account_idstringThe identifier for the specified AWS account.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
account_id
FROM awscc.ec2.snapshot_block_public_accesses
WHERE region = 'us-east-1'

Permissions

To operate on the snapshot_block_public_accesses resource, the following permissions are required:

Create

ec2:EnableSnapshotBlockPublicAccess,
ec2:GetSnapshotBlockPublicAccessState

List

ec2:GetSnapshotBlockPublicAccessState