-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnClientVpnRouteProps.go
49 lines (46 loc) · 2.45 KB
/
CfnClientVpnRouteProps.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
44
45
46
47
48
package awsec2
// Properties for defining a `CfnClientVpnRoute`.
//
// 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"
//
// cfnClientVpnRouteProps := &CfnClientVpnRouteProps{
// ClientVpnEndpointId: jsii.String("clientVpnEndpointId"),
// DestinationCidrBlock: jsii.String("destinationCidrBlock"),
// TargetVpcSubnetId: jsii.String("targetVpcSubnetId"),
//
// // the properties below are optional
// Description: jsii.String("description"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html
//
type CfnClientVpnRouteProps struct {
// The ID of the Client VPN endpoint to which to add the route.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-clientvpnendpointid
//
ClientVpnEndpointId *string `field:"required" json:"clientVpnEndpointId" yaml:"clientVpnEndpointId"`
// 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.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-destinationcidrblock
//
DestinationCidrBlock *string `field:"required" json:"destinationCidrBlock" yaml:"destinationCidrBlock"`
// 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.
//
// Alternatively, if you're adding a route for the local network, specify `local` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-targetvpcsubnetid
//
TargetVpcSubnetId *string `field:"required" json:"targetVpcSubnetId" yaml:"targetVpcSubnetId"`
// A brief description of the route.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html#cfn-ec2-clientvpnroute-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
}