aws-cdk-lib.aws_cloudfront.CfnKeyGroup.KeyGroupConfigProperty

interface KeyGroupConfigProperty

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

A key group configuration.

A key group contains a list of public keys that you can use with CloudFront signed URLs and signed cookies .

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 keyGroupConfigProperty: cloudfront.CfnKeyGroup.KeyGroupConfigProperty = {
  items: ['items'],
  name: 'name',

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

Properties

NameTypeDescription
itemsstring[]A list of the identifiers of the public keys in the key group.
namestringA name to identify the key group.
comment?stringA comment to describe the key group.

items

Type: string[]

A list of the identifiers of the public keys in the key group.


name

Type: string

A name to identify the key group.


comment?

Type: string (optional)

A comment to describe the key group.

The comment cannot be longer than 128 characters.