Interface IPublicKeyProps
Properties for creating a Public Key.
Namespace: Amazon.CDK.AWS.CloudFront
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPublicKeyProps
Syntax (vb)
Public Interface IPublicKeyProps
Remarks
ExampleMetadata: infused
Examples
// 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.
new KeyGroup(this, "MyKeyGroup", new KeyGroupProps {
Items = new [] {
new PublicKey(this, "MyPublicKey", new PublicKeyProps {
EncodedKey = "..."
}) }
});
Synopsis
Properties
| Comment | A comment to describe the public key. |
| EncodedKey | The public key that you can use with signed URLs and signed cookies, or with field-level encryption. |
| PublicKeyName | A name to identify the public key. |
Properties
Comment
A comment to describe the public key.
string? Comment { get; }
Property Value
Remarks
Default: - no comment
EncodedKey
The public key that you can use with signed URLs and signed cookies, or with field-level encryption.
string EncodedKey { get; }
Property Value
Remarks
The encodedKey parameter must include -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines.
See: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html
PublicKeyName
A name to identify the public key.
string? PublicKeyName { get; }
Property Value
Remarks
Default: - generated from the id