-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnTransitGatewayConnectProps.go
47 lines (44 loc) · 1.84 KB
/
CfnTransitGatewayConnectProps.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
package awsec2
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnTransitGatewayConnect`.
//
// 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"
//
// cfnTransitGatewayConnectProps := &CfnTransitGatewayConnectProps{
// Options: &TransitGatewayConnectOptionsProperty{
// Protocol: jsii.String("protocol"),
// },
// TransportTransitGatewayAttachmentId: jsii.String("transportTransitGatewayAttachmentId"),
//
// // the properties below are optional
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html
//
type CfnTransitGatewayConnectProps struct {
// The Connect attachment options.
//
// - protocol (gre).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html#cfn-ec2-transitgatewayconnect-options
//
Options interface{} `field:"required" json:"options" yaml:"options"`
// The ID of the attachment from which the Connect attachment was created.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html#cfn-ec2-transitgatewayconnect-transporttransitgatewayattachmentid
//
TransportTransitGatewayAttachmentId *string `field:"required" json:"transportTransitGatewayAttachmentId" yaml:"transportTransitGatewayAttachmentId"`
// The tags for the attachment.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html#cfn-ec2-transitgatewayconnect-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}