Struct aws_sdk_opensearch::types::VpcDerivedInfo
source · #[non_exhaustive]pub struct VpcDerivedInfo {
pub vpc_id: Option<String>,
pub subnet_ids: Option<Vec<String>>,
pub availability_zones: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
}
Expand description
Information about the subnets and security groups for an Amazon OpenSearch Service domain provisioned within a virtual private cloud (VPC). For more information, see Launching your Amazon OpenSearch Service domains using a VPC. This information only exists if the domain was created with VPCOptions
.
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.vpc_id: Option<String>
The ID for your VPC. Amazon VPC generates this value when you create a VPC.
subnet_ids: Option<Vec<String>>
A list of subnet IDs associated with the VPC endpoints for the domain.
availability_zones: Option<Vec<String>>
The list of Availability Zones associated with the VPC subnets.
security_group_ids: Option<Vec<String>>
The list of security group IDs associated with the VPC endpoints for the domain.
Implementations§
source§impl VpcDerivedInfo
impl VpcDerivedInfo
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID for your VPC. Amazon VPC generates this value when you create a VPC.
sourcepub fn subnet_ids(&self) -> &[String]
pub fn subnet_ids(&self) -> &[String]
A list of subnet IDs associated with the VPC endpoints for the domain.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
sourcepub fn availability_zones(&self) -> &[String]
pub fn availability_zones(&self) -> &[String]
The list of Availability Zones associated with the VPC subnets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The list of security group IDs associated with the VPC endpoints for the domain.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
source§impl VpcDerivedInfo
impl VpcDerivedInfo
sourcepub fn builder() -> VpcDerivedInfoBuilder
pub fn builder() -> VpcDerivedInfoBuilder
Creates a new builder-style object to manufacture VpcDerivedInfo
.
Trait Implementations§
source§impl Clone for VpcDerivedInfo
impl Clone for VpcDerivedInfo
source§fn clone(&self) -> VpcDerivedInfo
fn clone(&self) -> VpcDerivedInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcDerivedInfo
impl Debug for VpcDerivedInfo
source§impl PartialEq for VpcDerivedInfo
impl PartialEq for VpcDerivedInfo
source§fn eq(&self, other: &VpcDerivedInfo) -> bool
fn eq(&self, other: &VpcDerivedInfo) -> bool
self
and other
values to be equal, and is used
by ==
.