@Stability(value=Stable)
public static interface CfnKeyGroup.KeyGroupConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.cloudfront.*;
KeyGroupConfigProperty keyGroupConfigProperty = KeyGroupConfigProperty.builder()
.items(List.of("items"))
.name("name")
// the properties below are optional
.comment("comment")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnKeyGroup.KeyGroupConfigProperty.Builder
A builder for
CfnKeyGroup.KeyGroupConfigProperty |
static class |
CfnKeyGroup.KeyGroupConfigProperty.Jsii$Proxy
An implementation for
CfnKeyGroup.KeyGroupConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnKeyGroup.KeyGroupConfigProperty.Builder |
builder() |
default String |
getComment()
A comment to describe the key group.
|
List<String> |
getItems()
A list of the identifiers of the public keys in the key group.
|
String |
getName()
A name to identify the key group.
|
@Stability(value=Stable) @NotNull List<String> getItems()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getComment()
The comment cannot be longer than 128 characters.
@Stability(value=Stable) static CfnKeyGroup.KeyGroupConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.