Skip to content

Commit d0802de

Browse files
authored
docs(ecs): correct comment documentation for NetworkMode (#17841)
Reflect correct case of ecs.NetworkMode constants. No functional change, documentation only. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1947d7c commit d0802de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@aws-cdk/aws-ecs/lib/ec2/ec2-task-definition.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export interface Ec2TaskDefinitionProps extends CommonTaskDefinitionProps {
2020
/**
2121
* The Docker networking mode to use for the containers in the task.
2222
*
23-
* The valid values are none, bridge, awsvpc, and host.
23+
* The valid values are NONE, BRIDGE, AWS_VPC, and HOST.
2424
*
25-
* @default - NetworkMode.Bridge for EC2 tasks, AwsVpc for Fargate tasks.
25+
* @default - NetworkMode.BRIDGE for EC2 tasks, AWS_VPC for Fargate tasks.
2626
*/
2727
readonly networkMode?: NetworkMode;
2828

0 commit comments

Comments
 (0)