Пример #1
0
 public MyStack()
 {
     var example = new Aws.Ec2TransitGateway.Route("example", new Aws.Ec2TransitGateway.RouteArgs
     {
         DestinationCidrBlock       = "0.0.0.0/0",
         TransitGatewayAttachmentId = aws_ec2_transit_gateway_vpc_attachment.Example.Id,
         TransitGatewayRouteTableId = aws_ec2_transit_gateway.Example.Association_default_route_table_id,
     });
 }
Пример #2
0
 public MyStack()
 {
     var example = new Aws.Ec2TransitGateway.Route("example", new Aws.Ec2TransitGateway.RouteArgs
     {
         Blackhole                  = true,
         DestinationCidrBlock       = "0.0.0.0/0",
         TransitGatewayRouteTableId = aws_ec2_transit_gateway.Example.Association_default_route_table_id,
     });
 }