ManagedStorageConfiguration
- class aws_cdk.aws_ecs.ManagedStorageConfiguration(*, fargate_ephemeral_storage_kms_key=None)
Bases:
object
Kms Keys for encryption ECS managed storage.
- Parameters:
fargate_ephemeral_storage_kms_key (
Optional
[IKey
]) – 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. Default: No encryption will be applied- ExampleMetadata:
infused
Example:
# key: kms.Key cluster = ecs.Cluster(self, "Cluster", managed_storage_configuration=ecs.ManagedStorageConfiguration( fargate_ephemeral_storage_kms_key=key ) )
Attributes
- fargate_ephemeral_storage_kms_key
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.
- Default:
No encryption will be applied
- See:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html