-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTransitGatewayRouteProps.go
30 lines (27 loc) · 1.27 KB
/
CfnTransitGatewayRouteProps.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
package awsec2
// Properties for defining a `CfnTransitGatewayRoute`.
//
// 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"
//
// cfnTransitGatewayRouteProps := &CfnTransitGatewayRouteProps{
// TransitGatewayRouteTableId: jsii.String("transitGatewayRouteTableId"),
//
// // the properties below are optional
// Blackhole: jsii.Boolean(false),
// DestinationCidrBlock: jsii.String("destinationCidrBlock"),
// TransitGatewayAttachmentId: jsii.String("transitGatewayAttachmentId"),
// }
//
type CfnTransitGatewayRouteProps struct {
// The ID of the transit gateway route table.
TransitGatewayRouteTableId *string `field:"required" json:"transitGatewayRouteTableId" yaml:"transitGatewayRouteTableId"`
// Indicates whether to drop traffic that matches this route.
Blackhole interface{} `field:"optional" json:"blackhole" yaml:"blackhole"`
// The CIDR block used for destination matches.
DestinationCidrBlock *string `field:"optional" json:"destinationCidrBlock" yaml:"destinationCidrBlock"`
// The ID of the attachment.
TransitGatewayAttachmentId *string `field:"optional" json:"transitGatewayAttachmentId" yaml:"transitGatewayAttachmentId"`
}