interface PublicKeyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.CloudFront.Mixins.CfnPublicKeyPropsMixin.PublicKeyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awscloudfront/mixins#CfnPublicKeyPropsMixin_PublicKeyConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnPublicKeyPropsMixin.PublicKeyConfigProperty |
Python | aws_cdk.mixins_preview.aws_cloudfront.mixins.CfnPublicKeyPropsMixin.PublicKeyConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_cloudfront » mixins » CfnPublicKeyPropsMixin » PublicKeyConfigProperty |
Configuration information about a public key that you can use with signed URLs and signed cookies , or with field-level encryption .
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.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as cloudfront_mixins } from '@aws-cdk/mixins-preview/aws-cloudfront';
const publicKeyConfigProperty: cloudfront_mixins.CfnPublicKeyPropsMixin.PublicKeyConfigProperty = {
callerReference: 'callerReference',
comment: 'comment',
encodedKey: 'encodedKey',
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| caller | string | A string included in the request to help make sure that the request can't be replayed. |
| comment? | string | A comment to describe the public key. |
| encoded | string | The public key that you can use with signed URLs and signed cookies , or with field-level encryption . |
| name? | string | A name to help identify the public key. |
callerReference?
Type:
string
(optional)
A string included in the request to help make sure that the request can't be replayed.
comment?
Type:
string
(optional)
A comment to describe the public key.
The comment cannot be longer than 128 characters.
encodedKey?
Type:
string
(optional)
The public key that you can use with signed URLs and signed cookies , or with field-level encryption .
name?
Type:
string
(optional)
A name to help identify the public key.

.NET
Go
Java
Python
TypeScript