snapshot_block_public_access
Gets an individual snapshot_block_public_access
resource
Overview
Name | snapshot_block_public_access |
Type | Resource |
Description | snapshot_block_public_access |
Id | awscc.ec2.snapshot_block_public_access |
Fields
Name | Datatype | Description |
---|---|---|
state | string | The state of EBS Snapshot Block Public Access. |
account_id | string | The identifier for the specified AWS account. |
region | string | AWS 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