VersionConsistency
- class aws_cdk.aws_ecs.VersionConsistency(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
State of the container version consistency feature.
- See:
- ExampleMetadata:
infused
Example:
task_definition = ecs.Ec2TaskDefinition(self, "TaskDef") task_definition.add_container("TheContainer", image=ecs.ContainerImage.from_registry("example-image"), version_consistency=ecs.VersionConsistency.DISABLED )
Attributes
- DISABLED
The version consistency feature is disabled for this container.
- ENABLED
The version consistency feature is enabled for this container.