Interface PublicKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublicKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:06.613Z")
@Stability(Stable)
public interface PublicKeyProps
extends software.amazon.jsii.JsiiSerializable
Properties for creating a Public Key.
Example:
// Create a key group to use with CloudFront signed URLs and signed cookies.
// Create a key group to use with CloudFront signed URLs and signed cookies.
KeyGroup.Builder.create(this, "MyKeyGroup")
.items(List.of(
PublicKey.Builder.create(this, "MyPublicKey")
.encodedKey("...")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPublicKeyPropsstatic final classAn implementation forPublicKeyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic PublicKeyProps.Builderbuilder()default StringA comment to describe the public key.The public key that you can use with signed URLs and signed cookies, or with field-level encryption.default StringA name to identify the public key.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncodedKey
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.The
encodedKeyparameter must include-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----lines.- See Also:
-
getComment
A comment to describe the public key.Default: - no comment
-
getPublicKeyName
A name to identify the public key.Default: - generated from the `id`
-
builder
- Returns:
- a
PublicKeyProps.BuilderofPublicKeyProps
-