Skip to content
v2.273.0

VersionConsistency Enum ​

State of the container version consistency feature.

Example ​

ts
const taskDefinition = new ecs.Ec2TaskDefinition(this, 'TaskDef');
taskDefinition.addContainer('TheContainer', {
  image: ecs.ContainerImage.fromRegistry('example-image'),
  versionConsistency: ecs.VersionConsistency.DISABLED,
});

Members ​

MemberDescription
ENABLEDThe version consistency feature is enabled for this container.
DISABLEDThe version consistency feature is disabled for this container.

Referenced by ​