-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnVpcConnectorProps.go
62 lines (59 loc) · 2.59 KB
/
CfnVpcConnectorProps.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
52
53
54
55
56
57
58
59
60
61
package awsapprunner
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnVpcConnector`.
//
// 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"
//
// cfnVpcConnectorProps := &CfnVpcConnectorProps{
// Subnets: []*string{
// jsii.String("subnets"),
// },
//
// // the properties below are optional
// SecurityGroups: []*string{
// jsii.String("securityGroups"),
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// VpcConnectorName: jsii.String("vpcConnectorName"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html
//
type CfnVpcConnectorProps struct {
// A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.
//
// Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
//
// > App Runner currently only provides support for IPv4.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html#cfn-apprunner-vpcconnector-subnets
//
Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"`
// A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.
//
// If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html#cfn-apprunner-vpcconnector-securitygroups
//
SecurityGroups *[]*string `field:"optional" json:"securityGroups" yaml:"securityGroups"`
// A list of metadata items that you can associate with your VPC connector resource.
//
// A tag is a key-value pair.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html#cfn-apprunner-vpcconnector-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
// A name for the VPC connector.
//
// If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apprunner-vpcconnector.html#cfn-apprunner-vpcconnector-vpcconnectorname
//
VpcConnectorName *string `field:"optional" json:"vpcConnectorName" yaml:"vpcConnectorName"`
}