@Stability(value=Stable)
public static interface CfnPublicKey.PublicKeyConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
PublicKeyConfigProperty publicKeyConfigProperty = PublicKeyConfigProperty.builder()
.callerReference("callerReference")
.encodedKey("encodedKey")
.name("name")
// the properties below are optional
.comment("comment")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnPublicKey.PublicKeyConfigProperty.Builder
A builder for
CfnPublicKey.PublicKeyConfigProperty |
static class |
CfnPublicKey.PublicKeyConfigProperty.Jsii$Proxy
An implementation for
CfnPublicKey.PublicKeyConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnPublicKey.PublicKeyConfigProperty.Builder |
builder() |
String |
getCallerReference()
A string included in the request to help make sure that the request can’t be replayed.
|
default String |
getComment()
A comment to describe the public key.
|
String |
getEncodedKey()
The public key that you can use with [signed URLs and signed cookies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) , or with [field-level encryption](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html) .
|
String |
getName()
A name to help identify the public key.
|
@Stability(value=Stable) @NotNull String getCallerReference()
@Stability(value=Stable) @NotNull String getEncodedKey()
@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 CfnPublicKey.PublicKeyConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.