@Stability(value=Stable)
public static interface CfnCanary.S3EncryptionProperty
extends software.amazon.jsii.JsiiSerializable
Artifact encryption functionality is available only for canaries that use Synthetics runtime version syn-nodejs-puppeteer-3.3 or later. For more information, see Encrypting canary artifacts .
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.synthetics.*;
S3EncryptionProperty s3EncryptionProperty = S3EncryptionProperty.builder()
.encryptionMode("encryptionMode")
.kmsKeyArn("kmsKeyArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnCanary.S3EncryptionProperty.Builder
A builder for
CfnCanary.S3EncryptionProperty |
static class |
CfnCanary.S3EncryptionProperty.Jsii$Proxy
An implementation for
CfnCanary.S3EncryptionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnCanary.S3EncryptionProperty.Builder |
builder() |
default String |
getEncryptionMode()
The encryption method to use for artifacts created by this canary.
|
default String |
getKmsKeyArn()
The ARN of the customer-managed AWS KMS key to use, if you specify `SSE-KMS` for `EncryptionMode`.
|
@Stability(value=Stable) @Nullable default String getEncryptionMode()
Specify SSE_S3 to use server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use server-side encryption with a customer-managed AWS KMS key.
If you omit this parameter, an AWS -managed AWS KMS key is used.
@Stability(value=Stable) @Nullable default String getKmsKeyArn()
@Stability(value=Stable) static CfnCanary.S3EncryptionProperty.Builder builder()
Copyright © 2022. All rights reserved.