-
Notifications
You must be signed in to change notification settings - Fork 17
/
ClientVpnRouteProps.go
44 lines (41 loc) · 1.57 KB
/
ClientVpnRouteProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package awsec2
// Properties for a ClientVpnRoute.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var clientVpnEndpoint clientVpnEndpoint
// var clientVpnRouteTarget clientVpnRouteTarget
//
// clientVpnRouteProps := &ClientVpnRouteProps{
// Cidr: jsii.String("cidr"),
// Target: clientVpnRouteTarget,
//
// // the properties below are optional
// ClientVpnEndpoint: clientVpnEndpoint,
// Description: jsii.String("description"),
// }
//
type ClientVpnRouteProps struct {
// 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
// - To add a route for the local network, enter the client CIDR range.
Cidr *string `field:"required" json:"cidr" yaml:"cidr"`
// The target for the route.
Target ClientVpnRouteTarget `field:"required" json:"target" yaml:"target"`
// A brief description of the authorization rule.
// Default: - no description.
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The client VPN endpoint to which to add the route.
// Default: clientVpnEndpoint is required.
//
ClientVpnEndpoint IClientVpnEndpoint `field:"optional" json:"clientVpnEndpoint" yaml:"clientVpnEndpoint"`
}