-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnDataSource_DataSourceVpcConfigurationProperty.go
36 lines (33 loc) · 1.63 KB
/
CfnDataSource_DataSourceVpcConfigurationProperty.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
package awskendra
// Provides the configuration information to connect to an Amazon VPC.
//
// 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"
//
// dataSourceVpcConfigurationProperty := &DataSourceVpcConfigurationProperty{
// SecurityGroupIds: []*string{
// jsii.String("securityGroupIds"),
// },
// SubnetIds: []*string{
// jsii.String("subnetIds"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html
//
type CfnDataSource_DataSourceVpcConfigurationProperty struct {
// A list of identifiers of security groups within your Amazon VPC.
//
// The security groups should enable Amazon Kendra to connect to the data source.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html#cfn-kendra-datasource-datasourcevpcconfiguration-securitygroupids
//
SecurityGroupIds *[]*string `field:"required" json:"securityGroupIds" yaml:"securityGroupIds"`
// A list of identifiers for subnets within your Amazon VPC.
//
// The subnets should be able to connect to each other in the VPC, and they should have outgoing access to the Internet through a NAT device.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-datasource-datasourcevpcconfiguration.html#cfn-kendra-datasource-datasourcevpcconfiguration-subnetids
//
SubnetIds *[]*string `field:"required" json:"subnetIds" yaml:"subnetIds"`
}