Class CfnVPNGatewayRoutePropagation.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPNGatewayRoutePropagation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPNGatewayRoutePropagation>
- Enclosing class:
CfnVPNGatewayRoutePropagation
@Stability(Stable)
public static final class CfnVPNGatewayRoutePropagation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPNGatewayRoutePropagation>
A fluent builder for
CfnVPNGatewayRoutePropagation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
routeTableIds
(List<String> routeTableIds) The ID of the route table.vpnGatewayId
(String vpnGatewayId) The ID of the virtual private gateway that is attached to a VPC.
-
Method Details
-
create
@Stability(Stable) public static CfnVPNGatewayRoutePropagation.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnVPNGatewayRoutePropagation.Builder
.
-
routeTableIds
@Stability(Stable) public CfnVPNGatewayRoutePropagation.Builder routeTableIds(List<String> routeTableIds) The ID of the route table.The routing table must be associated with the same VPC that the virtual private gateway is attached to.
- Parameters:
routeTableIds
- The ID of the route table. This parameter is required.- Returns:
this
-
vpnGatewayId
The ID of the virtual private gateway that is attached to a VPC.The virtual private gateway must be attached to the same VPC that the routing tables are associated with.
- Parameters:
vpnGatewayId
- The ID of the virtual private gateway that is attached to a VPC. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPNGatewayRoutePropagation>
- Returns:
- a newly built instance of
CfnVPNGatewayRoutePropagation
.
-