Skip to content
v2.273.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 ​

fargateEphemeralStorageKmsKeyIKeyfargate_ephemeral_storage_kms_keyIKeyfargateEphemeralStorageKmsKeyIKeyFargateEphemeralStorageKmsKeyIKeyFargateEphemeralStorageKmsKeyIKey= Encrypted using AWS-managed key#
Customer KMS Key used to encrypt ECS Fargate ephemeral Storage.

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

kmsKeyIKeyRefkms_keyIKeyRefkmsKeyIKeyRefKmsKeyIKeyRefKmsKeyIKeyRef= Encrypted using AWS-managed key#
Customer KMS Key used to encrypt ECS managed Storage.