Interface PublicKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PublicKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.112.0 (build de1bc80)",
date="2025-07-16T11:43:11.126Z")
@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 class
A builder forPublicKeyProps
static final class
An implementation forPublicKeyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic PublicKeyProps.Builder
builder()
default String
A 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 String
A 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
encodedKey
parameter 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.Builder
ofPublicKeyProps
-