Default Public Route 

First, we need to specify a default public route. The following code block shows us how: 

    letsPollVPCDefaultPublicRoute:      Type: AWS::EC2::Route      Properties:        RouteTableId:          Ref: letsPollVPCPublicRouteTable        DestinationCidrBlock: 0.0.0.0/0        GatewayId:          Ref: letsPollIGW

Get Hands-On Serverless Applications with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.