CreateClientVpnRouteRequest
public struct CreateClientVpnRouteRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Declaration
Swift
public let clientToken: String?
-
The ID of the Client VPN endpoint to which to add the route.
Declaration
Swift
public let clientVpnEndpointId: String
-
A brief description of the route.
Declaration
Swift
public let description: String?
-
The IPv4 address range, in CIDR notation, of the route destination. For example: To add a route for Internet access, enter 0.0.0.0/0 To add a route for a peered VPC, enter the peered VPC’s IPv4 CIDR range To add a route for an on-premises network, enter the AWS Site-to-Site VPN connection’s IPv4 CIDR range Route address ranges cannot overlap with the CIDR range specified for client allocation.
Declaration
Swift
public let destinationCidrBlock: String
-
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Declaration
Swift
public let dryRun: Bool?
-
The ID of the subnet through which you want to route traffic. The specified subnet must be an existing target network of the Client VPN endpoint.
Declaration
Swift
public let targetVpcSubnetId: String
-
Undocumented
Declaration
Swift
public init(clientToken: String? = CreateClientVpnRouteRequest.idempotencyToken(), clientVpnEndpointId: String, description: String? = nil, destinationCidrBlock: String, dryRun: Bool? = nil, targetVpcSubnetId: String)