-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnVpcEndpointProps.go
44 lines (41 loc) · 2.02 KB
/
CfnVpcEndpointProps.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
package awsopensearchserverless
// Properties for defining a `CfnVpcEndpoint`.
//
// 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"
//
// cfnVpcEndpointProps := &CfnVpcEndpointProps{
// Name: jsii.String("name"),
// SubnetIds: []*string{
// jsii.String("subnetIds"),
// },
// VpcId: jsii.String("vpcId"),
//
// // the properties below are optional
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html
//
type CfnVpcEndpointProps struct {
// The name of the endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The ID of the subnets from which you access OpenSearch Serverless.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-subnetids
//
SubnetIds *[]*string `field:"required" json:"subnetIds" yaml:"subnetIds"`
// The ID of the VPC from which you access OpenSearch Serverless.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-vpcid
//
VpcId *string `field:"required" json:"vpcId" yaml:"vpcId"`
// The unique identifiers of the security groups that define the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-opensearchserverless-vpcendpoint.html#cfn-opensearchserverless-vpcendpoint-securitygroupids
//
SecurityGroupIds *[]*string `field:"optional" json:"securityGroupIds" yaml:"securityGroupIds"`
}