aws ec2 enable-snapshot-block-public-access
Enables or modifies the block public access for snapshots setting at the account level for the specified Amazon Web Services Region. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--stateThe mode in which to enable block public access for snapshots for the Region.