@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:36:57.091Z")
public interface KeyGroupProps
Example:
// Validating signed URLs or signed cookies with Trusted Key Groups // public key in PEM format String publicKey; PublicKey pubKey = PublicKey.Builder.create(this, "MyPubKey") .encodedKey(publicKey) .build(); KeyGroup keyGroup = KeyGroup.Builder.create(this, "MyKeyGroup") .items(List.of(pubKey)) .build(); Distribution.Builder.create(this, "Dist") .defaultBehavior(BehaviorOptions.builder() .origin(new HttpOrigin("www.example.com")) .trustedKeyGroups(List.of(keyGroup)) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
KeyGroupProps.Builder
A builder for
KeyGroupProps |
static class |
KeyGroupProps.Jsii$Proxy
An implementation for
KeyGroupProps |
Modifier and Type | Method and Description |
---|---|
static KeyGroupProps.Builder |
builder() |
default java.lang.String |
getComment()
A comment to describe the key group.
|
java.util.List<IPublicKey> |
getItems()
A list of public keys to add to the key group.
|
default java.lang.String |
getKeyGroupName()
A name to identify the key group.
|
java.util.List<IPublicKey> getItems()
default java.lang.String getComment()
Default: - no comment
default java.lang.String getKeyGroupName()
Default: - generated from the `id`
static KeyGroupProps.Builder builder()
KeyGroupProps.Builder
of KeyGroupProps