interface ManagedStorageConfiguration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ECS.ManagedStorageConfiguration |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#ManagedStorageConfiguration |
![]() | software.amazon.awscdk.services.ecs.ManagedStorageConfiguration |
![]() | aws_cdk.aws_ecs.ManagedStorageConfiguration |
![]() | aws-cdk-lib » aws_ecs » ManagedStorageConfiguration |
Kms Keys for encryption ECS managed storage.
Example
declare const key: kms.Key;
const cluster = new ecs.Cluster(this, 'Cluster', {
managedStorageConfiguration: {
fargateEphemeralStorageKmsKey: key,
kmsKey: key,
},
});
Properties
Name | Type | Description |
---|---|---|
fargate | IKey | Customer KMS Key used to encrypt ECS Fargate ephemeral Storage. |
kms | IKey | Customer KMS Key used to encrypt ECS managed Storage. |
fargateEphemeralStorageKmsKey?
Type:
IKey
(optional, default: 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.
kmsKey?
Type:
IKey
(optional, default: Encrypted using AWS-managed key)
Customer KMS Key used to encrypt ECS managed Storage.