Skip to content

Commit

Permalink
docs(ecs): correct comment documentation for NetworkMode (#17841)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
jeffb4 committed Feb 1, 2022
1 parent 1947d7c commit d0802de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-ecs/lib/ec2/ec2-task-definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export interface Ec2TaskDefinitionProps extends CommonTaskDefinitionProps {
/**
* The Docker networking mode to use for the containers in the task.
*
* The valid values are none, bridge, awsvpc, and host.
* The valid values are NONE, BRIDGE, AWS_VPC, and HOST.
*
* @default - NetworkMode.Bridge for EC2 tasks, AwsVpc for Fargate tasks.
* @default - NetworkMode.BRIDGE for EC2 tasks, AWS_VPC for Fargate tasks.
*/
readonly networkMode?: NetworkMode;

Expand Down

0 comments on commit d0802de

Please sign in to comment.