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 ==
.impl StructuralPartialEq for VpcDerivedInfo
Auto Trait Implementations§
impl Freeze for VpcDerivedInfo
impl RefUnwindSafe for VpcDerivedInfo
impl Send for VpcDerivedInfo
impl Sync for VpcDerivedInfo
impl Unpin for VpcDerivedInfo
impl UnwindSafe for VpcDerivedInfo
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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