Skip to content
v2.275.0

ManagedStorageConfiguration Struct ​

Kms Keys for encryption ECS managed storage.

Example ​

ts
declare const key: kms.Key;

const cluster = new ecs.Cluster(this, 'Cluster', {
  managedStorageConfiguration: {
    fargateEphemeralStorageKmsKey: key,
    kmsKey: key,
  },
});

Properties ​

fargateEphemeralStorageKmsKeyoptionalIKeyfargate_ephemeral_storage_kms_keyoptionalIKeyfargateEphemeralStorageKmsKeyoptionalIKeyFargateEphemeralStorageKmsKeyoptionalIKeyFargateEphemeralStorageKmsKeyoptionalIKey#
Customer KMS Key used to encrypt ECS Fargate ephemeral Storage.

Default: Encrypted using AWS-managed key

The configured KMS Key's policy will be modified to allow ECS to use the Key to encrypt the ephemeral Storage for this cluster.

kmsKeyoptionalIKeyRefkms_keyoptionalIKeyRefkmsKeyoptionalIKeyRefKmsKeyoptionalIKeyRefKmsKeyoptionalIKeyRef#
Customer KMS Key used to encrypt ECS managed Storage.

Default: Encrypted using AWS-managed key