Skip to content

Commit

Permalink
docs: added import statement to clarify using elbv2 in example code (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Doug-AWS authored and Elad Ben-Israel committed Nov 13, 2018
1 parent 5726c45 commit bb952e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@aws-cdk/aws-ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ const service = new ecs.FargateService(this, 'Service', {
balancers:

```ts
import elbv2 = require('@aws-cdk/aws-elasticloadbalancingv2');

const service = new ecs.FargateService(this, 'Service', { /* ... */ });

const lb = new elbv2.ApplicationLoadBalancer(this, 'LB', { vpc, internetFacing: true });
Expand Down

0 comments on commit bb952e7

Please sign in to comment.