Struct aws_sdk_opensearch::types::VpcOptions
source · #[non_exhaustive]pub struct VpcOptions {
pub subnet_ids: Option<Vec<String>>,
pub security_group_ids: Option<Vec<String>>,
}
Expand description
Options to specify the subnets and security groups for an Amazon OpenSearch Service VPC endpoint. For more information, see Launching your Amazon OpenSearch Service domains using a 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: Option<Vec<String>>
A list of subnet IDs associated with the VPC endpoints for the domain. If your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.
security_group_ids: Option<Vec<String>>
The list of security group IDs associated with the VPC endpoints for the domain. If you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.
Implementations§
source§impl VpcOptions
impl VpcOptions
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 your domain uses multiple Availability Zones, you need to provide two subnet IDs, one per zone. Otherwise, provide only one.
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 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 you do not provide a security group ID, OpenSearch Service uses the default security group for the VPC.
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 VpcOptions
impl VpcOptions
sourcepub fn builder() -> VpcOptionsBuilder
pub fn builder() -> VpcOptionsBuilder
Creates a new builder-style object to manufacture VpcOptions
.
Trait Implementations§
source§impl Clone for VpcOptions
impl Clone for VpcOptions
source§fn clone(&self) -> VpcOptions
fn clone(&self) -> VpcOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcOptions
impl Debug for VpcOptions
source§impl PartialEq for VpcOptions
impl PartialEq for VpcOptions
source§fn eq(&self, other: &VpcOptions) -> bool
fn eq(&self, other: &VpcOptions) -> bool
self
and other
values to be equal, and is used
by ==
.