@Stability(value=Stable)
public static interface CfnDataSource.DataSourceVpcConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
DataSourceVpcConfigurationProperty dataSourceVpcConfigurationProperty = DataSourceVpcConfigurationProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.DataSourceVpcConfigurationProperty.Builder
A builder for
CfnDataSource.DataSourceVpcConfigurationProperty |
static class |
CfnDataSource.DataSourceVpcConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.DataSourceVpcConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.DataSourceVpcConfigurationProperty.Builder |
builder() |
List<String> |
getSecurityGroupIds()
A list of identifiers of security groups within your Amazon VPC.
|
List<String> |
getSubnetIds()
A list of identifiers for subnets within your Amazon VPC.
|
@Stability(value=Stable) @NotNull List<String> getSecurityGroupIds()
The security groups should enable Amazon Kendra to connect to the data source.
@Stability(value=Stable) @NotNull List<String> getSubnetIds()
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.
@Stability(value=Stable) static CfnDataSource.DataSourceVpcConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.