Class ManagedStorageConfiguration
Kms Keys for encryption ECS managed storage.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ManagedStorageConfiguration : IManagedStorageConfiguration
Syntax (vb)
Public Class ManagedStorageConfiguration Implements IManagedStorageConfiguration
Remarks
ExampleMetadata: infused
Examples
Key key;
var cluster = new Cluster(this, "Cluster", new ClusterProps {
ManagedStorageConfiguration = new ManagedStorageConfiguration {
FargateEphemeralStorageKmsKey = key,
KmsKey = key
}
});
Synopsis
Constructors
ManagedStorageConfiguration() | Kms Keys for encryption ECS managed storage. |
Properties
FargateEphemeralStorageKmsKey | Customer KMS Key used to encrypt ECS Fargate ephemeral Storage. |
KmsKey | Customer KMS Key used to encrypt ECS managed Storage. |
Constructors
ManagedStorageConfiguration()
Kms Keys for encryption ECS managed storage.
public ManagedStorageConfiguration()
Remarks
ExampleMetadata: infused
Examples
Key key;
var cluster = new Cluster(this, "Cluster", new ClusterProps {
ManagedStorageConfiguration = new ManagedStorageConfiguration {
FargateEphemeralStorageKmsKey = key,
KmsKey = key
}
});
Properties
FargateEphemeralStorageKmsKey
Customer KMS Key used to encrypt ECS Fargate ephemeral Storage.
public IKey? FargateEphemeralStorageKmsKey { get; set; }
Property Value
Remarks
The configured KMS Key's policy will be modified to allow ECS to use the Key to encrypt the ephemeral Storage for this cluster.
Default: - Encrypted using AWS-managed key
KmsKey
Customer KMS Key used to encrypt ECS managed Storage.
public IKey? KmsKey { get; set; }