Show / Hide Table of Contents

Class ManagedStorageConfiguration

Kms Keys for encryption ECS managed storage.

Inheritance
object
ManagedStorageConfiguration
Implements
IManagedStorageConfiguration
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

IKey

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

See: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html

KmsKey

Customer KMS Key used to encrypt ECS managed Storage.

public IKey? KmsKey { get; set; }
Property Value

IKey

Remarks

Default: - Encrypted using AWS-managed key

See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-cluster-managedstorageconfiguration.html#cfn-ecs-cluster-managedstorageconfiguration-kmskeyid

Implements

IManagedStorageConfiguration
Back to top Generated by DocFX