Interface S3Encryption

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
S3Encryption.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:42.590Z") @Stability(Experimental) public interface S3Encryption extends software.amazon.jsii.JsiiSerializable
(experimental) S3 encryption configuration.

Example:

 SecurityConfiguration.Builder.create(this, "MySecurityConfiguration")
         .securityConfigurationName("name")
         .cloudWatchEncryption(CloudWatchEncryption.builder()
                 .mode(CloudWatchEncryptionMode.KMS)
                 .build())
         .jobBookmarksEncryption(JobBookmarksEncryption.builder()
                 .mode(JobBookmarksEncryptionMode.CLIENT_SIDE_KMS)
                 .build())
         .s3Encryption(S3Encryption.builder()
                 .mode(S3EncryptionMode.KMS)
                 .build())
         .build();
 
  • Method Details

    • getMode

      @Stability(Experimental) @NotNull S3EncryptionMode getMode()
      (experimental) Encryption mode.
    • getKmsKey

      @Stability(Experimental) @Nullable default IKey getKmsKey()
      (experimental) The KMS key to be used to encrypt the data.

      Default: no kms key if mode = S3_MANAGED. A key will be created if one is not provided and mode = KMS.

    • builder

      @Stability(Experimental) static S3Encryption.Builder builder()
      Returns:
      a S3Encryption.Builder of S3Encryption