Interface CfnCanary.S3EncryptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCanary.S3EncryptionProperty.Jsii$Proxy
- Enclosing class:
CfnCanary
@Stability(Stable)
public static interface CfnCanary.S3EncryptionProperty
extends software.amazon.jsii.JsiiSerializable
A structure that contains the configuration of the encryption-at-rest settings for artifacts that the canary uploads to Amazon S3 .
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCanary.S3EncryptionProperty
static final class
An implementation forCfnCanary.S3EncryptionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEncryptionMode
The encryption method to use for artifacts created by this canary.Specify
SSE_S3
to use server-side encryption (SSE) with an Amazon S3-managed key. SpecifySSE-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.
- See Also:
-
getKmsKeyArn
The ARN of the customer-managed AWS KMS key to use, if you specifySSE-KMS
forEncryptionMode
.- See Also:
-
builder
-