Skip to main content

snapshot_block_public_access

Gets an individual snapshot_block_public_access resource

Overview

Namesnapshot_block_public_access
TypeResource
Descriptionsnapshot_block_public_access
Idawscc.ec2.snapshot_block_public_access

Fields

NameDatatypeDescription
statestringThe state of EBS Snapshot Block Public Access.
account_idstringThe identifier for the specified AWS account.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
state,
account_id
FROM awscc.ec2.snapshot_block_public_access
WHERE data__Identifier = '<AccountId>';

Permissions

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

Read

ec2:GetSnapshotBlockPublicAccessState

Update

ec2:EnableSnapshotBlockPublicAccess,
ec2:GetSnapshotBlockPublicAccessState

Delete

ec2:DisableSnapshotBlockPublicAccess,
ec2:GetSnapshotBlockPublicAccessState