KeyGroupConfigProperty Struct
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
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront
key_group_config_property = cloudfront.CfnKeyGroup.KeyGroupConfigProperty(
items=["items"],
name="name",
# the properties below are optional
comment="comment"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudfront.*;
KeyGroupConfigProperty keyGroupConfigProperty = KeyGroupConfigProperty.builder()
.items(List.of("items"))
.name("name")
// the properties below are optional
.comment("comment")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CloudFront;
var keyGroupConfigProperty = new KeyGroupConfigProperty {
Items = new [] { "items" },
Name = "name",
// the properties below are optional
Comment = "comment"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
keyGroupConfigProperty := &KeyGroupConfigProperty{
Items: []*string{
jsii.String("items"),
},
Name: jsii.String("name"),
// the properties below are optional
Comment: jsii.String("comment"),
}
Properties
commentoptionalstringcommentoptionalstrcommentoptionalStringCommentoptionalstringCommentoptional*string#A comment to describe the key group.
The comment cannot be longer than 128 characters.
A list of the identifiers of the public keys in the key group.
A name to identify the key group.