AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CloudFront::KeyGroup

CfnKeyGroup

A key group. A key group contains a list of public keys that you can use with [CloudFront signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) .

Import

import { CfnKeyGroup } from 'aws-cdk-lib/aws-cloudfront';

Or use the module namespace:

import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
// cloudfront.CfnKeyGroup

Properties

Configuration passed to the constructor as CfnKeyGroupProps.

keyGroupConfigRequired
IResolvable | KeyGroupConfigProperty

The key group configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon CloudFront Cheat Sheet

Everything you need to know about Amazon CloudFront on one page. HD quality, print-friendly.

Download Free Infographic