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"` }