Skip to content
v2.273.0

EncryptionEntityProperty Struct ​

A public key, its provider identity, and the field patterns CloudFront encrypts with that key.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const encryptionEntityProperty: cloudfront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty = {
  fieldPatterns: ['fieldPatterns'],
  providerId: 'providerId',
  publicKeyId: 'publicKeyId',
};

Properties ​

fieldPatternsstring[]field_patternstyping.List[str]fieldPatternsList<String>FieldPatternsstring[]FieldPatterns*[]*stringrequired#
The request-body field names to encrypt.

A pattern is either a full field name or leading characters followed by a wildcard (*). Patterns are case-sensitive and must not overlap.

providerIdstringprovider_idstrproviderIdStringProviderIdstringProviderId*stringrequired#
The provider associated with the public key.

The same value must be supplied with the private key for an application to decrypt the data.

publicKeyIdstringpublic_key_idstrpublicKeyIdStringPublicKeyIdstringPublicKeyId*stringrequired#
The identifier of the CloudFront public key used to encrypt the fields that match the patterns.