interface EncryptionEntityProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnFieldLevelEncryptionProfile_EncryptionEntityProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty |
Python | aws_cdk.aws_cloudfront.CfnFieldLevelEncryptionProfile.EncryptionEntityProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnFieldLevelEncryptionProfile » EncryptionEntityProperty |
A public key, its provider identity, and the field patterns CloudFront encrypts with that key.
Example
// 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
| Name | Type | Description |
|---|---|---|
| field | string[] | The request-body field names to encrypt. |
| provider | string | The provider associated with the public key. |
| public | string | The identifier of the CloudFront public key used to encrypt the fields that match the patterns. |
fieldPatterns
Type:
string[]
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.
providerId
Type:
string
The provider associated with the public key.
The same value must be supplied with the private key for an application to decrypt the data.
publicKeyId
Type:
string
The identifier of the CloudFront public key used to encrypt the fields that match the patterns.

.NET
Go
Java
Python
TypeScript