Struct aws_sdk_kendra::types::DataSourceVpcConfiguration
source · #[non_exhaustive]pub struct DataSourceVpcConfiguration {
pub subnet_ids: Vec<String>,
pub security_group_ids: Vec<String>,
}Expand description
Provides the configuration information to connect to an Amazon VPC.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.subnet_ids: Vec<String>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.
security_group_ids: Vec<String>A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.
Implementations§
source§impl DataSourceVpcConfiguration
impl DataSourceVpcConfiguration
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
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.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
A list of identifiers of security groups within your Amazon VPC. The security groups should enable Amazon Kendra to connect to the data source.
source§impl DataSourceVpcConfiguration
impl DataSourceVpcConfiguration
sourcepub fn builder() -> DataSourceVpcConfigurationBuilder
pub fn builder() -> DataSourceVpcConfigurationBuilder
Creates a new builder-style object to manufacture DataSourceVpcConfiguration.
Trait Implementations§
source§impl Clone for DataSourceVpcConfiguration
impl Clone for DataSourceVpcConfiguration
source§fn clone(&self) -> DataSourceVpcConfiguration
fn clone(&self) -> DataSourceVpcConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DataSourceVpcConfiguration
impl Debug for DataSourceVpcConfiguration
source§impl PartialEq for DataSourceVpcConfiguration
impl PartialEq for DataSourceVpcConfiguration
source§fn eq(&self, other: &DataSourceVpcConfiguration) -> bool
fn eq(&self, other: &DataSourceVpcConfiguration) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataSourceVpcConfiguration
Auto Trait Implementations§
impl Freeze for DataSourceVpcConfiguration
impl RefUnwindSafe for DataSourceVpcConfiguration
impl Send for DataSourceVpcConfiguration
impl Sync for DataSourceVpcConfiguration
impl Unpin for DataSourceVpcConfiguration
impl UnwindSafe for DataSourceVpcConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more