aws-cdk-lib.aws_cloudfront.CfnPublicKeyProps

interface CfnPublicKeyProps

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CfnPublicKeyProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnPublicKeyProps
Javasoftware.amazon.awscdk.services.cloudfront.CfnPublicKeyProps
Pythonaws_cdk.aws_cloudfront.CfnPublicKeyProps
TypeScript aws-cdk-lib » aws_cloudfront » CfnPublicKeyProps

Properties for defining a CfnPublicKey.

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 cfnPublicKeyProps: cloudfront.CfnPublicKeyProps = {
  publicKeyConfig: {
    callerReference: 'callerReference',
    encodedKey: 'encodedKey',
    name: 'name',

    // the properties below are optional
    comment: 'comment',
  },
};

Properties

NameTypeDescription
publicKeyConfigIResolvable | PublicKeyConfigPropertyConfiguration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .

publicKeyConfig

Type: IResolvable | PublicKeyConfigProperty

Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .