RouteState constructor
Creates a new RouteState.
clientVpnEndpointId The ID of the Client VPN endpoint.
description A brief description of the route.
destinationCidrBlock The IPv4 or IPv6 address range, in CIDR notation, of the route destination.
origin Indicates how the Client VPN route was added. Will be add-route for routes created by this resource.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
targetVpcSubnetId The ID of the Subnet to route the traffic through. It must already be attached to the Client VPN. Required for VPC-based Client VPN endpoints. Not applicable for Transit Gateway-based Client VPN endpoints.
transitGatewayAttachmentId The ID of the Transit Gateway attachment, if the route targets a Transit Gateway-based Client VPN endpoint.
type The type of the route.
Implementation
const RouteState({
this.clientVpnEndpointId,
this.description,
this.destinationCidrBlock,
this.origin,
this.region,
this.targetVpcSubnetId,
this.transitGatewayAttachmentId,
this.type,
});