Class CfnStorageLens.EncryptionProperty
This resource contains the type of server-side encryption used to encrypt an Amazon S3 Storage Lens metrics export.
Inheritance
System.Object
CfnStorageLens.EncryptionProperty
Implements
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.AWS.S3.dll
Syntax (csharp)
public class EncryptionProperty : Object, CfnStorageLens.IEncryptionProperty
Syntax (vb)
Public Class EncryptionProperty
Inherits Object
Implements CfnStorageLens.IEncryptionProperty
Remarks
For valid values, see the StorageLensDataExportEncryption in the Amazon S3 API Reference .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var sses3;
var encryptionProperty = new EncryptionProperty {
Ssekms = new SSEKMSProperty {
KeyId = "keyId"
},
Sses3 = sses3
};
Synopsis
Constructors
EncryptionProperty() |
Properties
Ssekms | Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file. |
Sses3 | Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file. |
Constructors
EncryptionProperty()
public EncryptionProperty()
Properties
Ssekms
Specifies the use of AWS Key Management Service keys (SSE-KMS) to encrypt the S3 Storage Lens metrics export file.
public object Ssekms { get; set; }
Property Value
System.Object
Remarks
Sses3
Specifies the use of an Amazon S3-managed key (SSE-S3) to encrypt the S3 Storage Lens metrics export file.
public object Sses3 { get; set; }
Property Value
System.Object