-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnVPCPeeringConnectionProps.go
52 lines (49 loc) · 1.89 KB
/
CfnVPCPeeringConnectionProps.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
49
50
51
package awsec2
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnVPCPeeringConnection`.
//
// 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"
//
// cfnVPCPeeringConnectionProps := &CfnVPCPeeringConnectionProps{
// PeerVpcId: jsii.String("peerVpcId"),
// VpcId: jsii.String("vpcId"),
//
// // the properties below are optional
// PeerOwnerId: jsii.String("peerOwnerId"),
// PeerRegion: jsii.String("peerRegion"),
// PeerRoleArn: jsii.String("peerRoleArn"),
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
type CfnVPCPeeringConnectionProps struct {
// The ID of the VPC with which you are creating the VPC peering connection.
//
// You must specify this parameter in the request.
PeerVpcId *string `field:"required" json:"peerVpcId" yaml:"peerVpcId"`
// The ID of the VPC.
VpcId *string `field:"required" json:"vpcId" yaml:"vpcId"`
// The AWS account ID of the owner of the accepter VPC.
//
// Default: Your AWS account ID.
PeerOwnerId *string `field:"optional" json:"peerOwnerId" yaml:"peerOwnerId"`
// The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request.
//
// Default: The Region in which you make the request.
PeerRegion *string `field:"optional" json:"peerRegion" yaml:"peerRegion"`
// The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account.
//
// This is required when you are peering a VPC in a different AWS account.
PeerRoleArn *string `field:"optional" json:"peerRoleArn" yaml:"peerRoleArn"`
// Any tags assigned to the resource.
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}