@Stability(value=Stable) public static final class CfnCanary.S3EncryptionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCanary.S3EncryptionProperty>
CfnCanary.S3EncryptionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCanary.S3EncryptionProperty |
build()
Builds the configured instance.
|
CfnCanary.S3EncryptionProperty.Builder |
encryptionMode(String encryptionMode)
Sets the value of
CfnCanary.S3EncryptionProperty.getEncryptionMode() |
CfnCanary.S3EncryptionProperty.Builder |
kmsKeyArn(String kmsKeyArn)
Sets the value of
CfnCanary.S3EncryptionProperty.getKmsKeyArn() |
@Stability(value=Stable) public CfnCanary.S3EncryptionProperty.Builder encryptionMode(String encryptionMode)
CfnCanary.S3EncryptionProperty.getEncryptionMode()encryptionMode - 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. 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.
this@Stability(value=Stable) public CfnCanary.S3EncryptionProperty.Builder kmsKeyArn(String kmsKeyArn)
CfnCanary.S3EncryptionProperty.getKmsKeyArn()kmsKeyArn - The ARN of the customer-managed AWS KMS key to use, if you specify `SSE-KMS` for `EncryptionMode`.this@Stability(value=Stable) public CfnCanary.S3EncryptionProperty build()
build in interface software.amazon.jsii.Builder<CfnCanary.S3EncryptionProperty>CfnCanary.S3EncryptionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.