ec2_enable_snapshot_block_public_access {paws.compute} | R Documentation |
Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region
Description
Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. After you enable block public access for snapshots in a Region, users can no longer request public sharing for snapshots in that Region. Snapshots that are already publicly shared are either treated as private or they remain publicly shared, depending on the State that you specify.
See https://www.paws-r-sdk.com/docs/ec2_enable_snapshot_block_public_access/ for full documentation.
Usage
ec2_enable_snapshot_block_public_access(State, DryRun = NULL)
Arguments
State |
[required] The mode in which to enable block public access for snapshots for the Region. Specify one of the following values:
|
DryRun |
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is |