#[non_exhaustive]pub struct DataSourceVpcConfiguration {
pub subnet_ids: Vec<String>,
pub security_group_ids: Vec<String>,
}Expand description
Provides configuration information needed to connect to an Amazon VPC (Virtual Private Cloud).
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 Q 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 Q 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 ==.