-
Notifications
You must be signed in to change notification settings - Fork 17
/
awsec2_CfnTransitGatewayPeeringAttachmentProps.go
41 lines (38 loc) · 1.51 KB
/
awsec2_CfnTransitGatewayPeeringAttachmentProps.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
package awsec2
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnTransitGatewayPeeringAttachment`.
//
// 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"
//
// cfnTransitGatewayPeeringAttachmentProps := &cfnTransitGatewayPeeringAttachmentProps{
// peerAccountId: jsii.String("peerAccountId"),
// peerRegion: jsii.String("peerRegion"),
// peerTransitGatewayId: jsii.String("peerTransitGatewayId"),
// transitGatewayId: jsii.String("transitGatewayId"),
//
// // the properties below are optional
// tags: []cfnTag{
// &cfnTag{
// key: jsii.String("key"),
// value: jsii.String("value"),
// },
// },
// }
//
type CfnTransitGatewayPeeringAttachmentProps struct {
// The ID of the AWS account that owns the transit gateway.
PeerAccountId *string `field:"required" json:"peerAccountId" yaml:"peerAccountId"`
// The Region of the transit gateway.
PeerRegion *string `field:"required" json:"peerRegion" yaml:"peerRegion"`
// The ID of the transit gateway.
PeerTransitGatewayId *string `field:"required" json:"peerTransitGatewayId" yaml:"peerTransitGatewayId"`
// The ID of the transit gateway peering attachment.
TransitGatewayId *string `field:"required" json:"transitGatewayId" yaml:"transitGatewayId"`
// The tags for the transit gateway peering attachment.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}