Interface CfnStorageLens.EncryptionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnStorageLens.EncryptionProperty.Jsii$Proxy
- Enclosing class:
CfnStorageLens
@Stability(Stable)
public static interface CfnStorageLens.EncryptionProperty
extends software.amazon.jsii.JsiiSerializable
This resource contains the type of server-side encryption used to encrypt an Amazon S3 Storage Lens metrics export.
For valid values, see the StorageLensDataExportEncryption in the Amazon S3 API Reference .
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.s3.*; Object sses3; EncryptionProperty encryptionProperty = EncryptionProperty.builder() .ssekms(SSEKMSProperty.builder() .keyId("keyId") .build()) .sses3(sses3) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnStorageLens.EncryptionProperty
static final class
An implementation forCfnStorageLens.EncryptionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.default Object
getSses3()
Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSsekms
Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file. -
getSses3
Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file. -
builder
-