aws-cdk-lib.aws_cloudfront.CfnPublicKey.PublicKeyConfigProperty

interface PublicKeyConfigProperty

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

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

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 publicKeyConfigProperty: cloudfront.CfnPublicKey.PublicKeyConfigProperty = {
  callerReference: 'callerReference',
  encodedKey: 'encodedKey',
  name: 'name',

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

Properties

NameTypeDescription
callerReferencestringA string included in the request to help make sure that the request can't be replayed.
encodedKeystringThe public key that you can use with signed URLs and signed cookies , or with field-level encryption .
namestringA name to help identify the public key.
comment?stringA comment to describe the public key.

callerReference

Type: string

A string included in the request to help make sure that the request can't be replayed.


encodedKey

Type: string

The public key that you can use with signed URLs and signed cookies , or with field-level encryption .


name

Type: string

A name to help identify the public key.


comment?

Type: string (optional)

A comment to describe the public key.

The comment cannot be longer than 128 characters.