A Public Key Configuration.
import { PublicKey } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.PublicKeyConfiguration passed to the constructor as PublicKeyProps.
encodedKeyRequiredstringThe public key that you can use with signed URLs and signed cookies, or with field-level encryption. The `encodedKey` parameter must include `-----BEGIN PUBLIC KEY-----` and `-----END PUBLIC KEY-----` lines.
commentOptionalstringA comment to describe the public key.
Default: - no comment
publicKeyNameOptionalstringA name to identify the public key.
Default: - generated from the `id`
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfront