CmdID / aws / aws cloudfront
aws cloudfront delete-field-level-encryption-config
Remove a field-level encryption configuration. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a CloudFront field-level encryption configuration
The following delete-field-level-encryption-config example deletes the CloudFront field-level encryption configuration with the ID C3KM2WVD605UAY. To delete a field-level encryption configuration, you must have its ID and ETag. The ID is returned in the output of the create-field-level-encryption-config and list-field-level-encryption-configs commands. To get the ETag, use the get-field-level-encryption or get-field-level-encryption-config command. Use the --if-match option to provide the configuration's ETag.
aws cloudfront delete-field-level-encryption-config --id C3KM2WVD605UAY --if-match E26M4BIAV81ZF6Identify--idThe ID of the configuration you want to delete from CloudFront.--if-matchThe value of the ETag header that you received when retrieving the configuration identity to delete.This command produces no output.
When successful, this command has no output.
For more information, see Use field-level encryption to help protect sensitive data in the Amazon CloudFront Developer Guide.
Options
--idThe ID of the configuration you want to delete from CloudFront.--if-matchThe value of the ETag header that you received when retrieving the configuration identity to delete.