AWS::CloudFront::PublicKeyA public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) , or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html) . CloudFront supports signed URLs and signed cookies with RSA 2048 or ECDSA 256 key signatures. Field-level encryption is only compatible with RSA 2048 key signatures.
import { CfnPublicKey } from 'aws-cdk-lib/aws-cloudfront';Or use the module namespace:
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnPublicKeyConfiguration passed to the constructor as CfnPublicKeyProps.
publicKeyConfigRequiredIResolvable | PublicKeyConfigPropertyConfiguration information about a public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) , or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html) .
This L1 construct maps directly to the following CloudFormation resource type.
Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.
Download Free Infographicaws-cloudfrontAWS::CloudFront::PublicKey