#[non_exhaustive]pub struct CreateDbProxyEndpointInput {
pub db_proxy_name: Option<String>,
pub db_proxy_endpoint_name: Option<String>,
pub vpc_subnet_ids: Option<Vec<String>>,
pub vpc_security_group_ids: Option<Vec<String>>,
pub target_role: Option<DbProxyEndpointTargetRole>,
pub tags: Option<Vec<Tag>>,
}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.db_proxy_name: Option<String>The name of the DB proxy associated with the DB proxy endpoint that you create.
db_proxy_endpoint_name: Option<String>The name of the DB proxy endpoint to create.
vpc_subnet_ids: Option<Vec<String>>The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
vpc_security_group_ids: Option<Vec<String>>The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is the default security group for the VPC.
target_role: Option<DbProxyEndpointTargetRole>The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default is READ_WRITE. The only role that proxies for RDS for Microsoft SQL Server support is READ_WRITE.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
Implementations§
source§impl CreateDbProxyEndpointInput
impl CreateDbProxyEndpointInput
sourcepub fn db_proxy_name(&self) -> Option<&str>
pub fn db_proxy_name(&self) -> Option<&str>
The name of the DB proxy associated with the DB proxy endpoint that you create.
sourcepub fn db_proxy_endpoint_name(&self) -> Option<&str>
pub fn db_proxy_endpoint_name(&self) -> Option<&str>
The name of the DB proxy endpoint to create.
sourcepub fn vpc_subnet_ids(&self) -> &[String]
pub fn vpc_subnet_ids(&self) -> &[String]
The VPC subnet IDs for the DB proxy endpoint that you create. You can specify a different set of subnet IDs than for the original DB proxy.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_subnet_ids.is_none().
sourcepub fn vpc_security_group_ids(&self) -> &[String]
pub fn vpc_security_group_ids(&self) -> &[String]
The VPC security group IDs for the DB proxy endpoint that you create. You can specify a different set of security group IDs than for the original DB proxy. The default is 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 .vpc_security_group_ids.is_none().
sourcepub fn target_role(&self) -> Option<&DbProxyEndpointTargetRole>
pub fn target_role(&self) -> Option<&DbProxyEndpointTargetRole>
The role of the DB proxy endpoint. The role determines whether the endpoint can be used for read/write or only read operations. The default is READ_WRITE. The only role that proxies for RDS for Microsoft SQL Server support is READ_WRITE.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateDbProxyEndpointInput
impl CreateDbProxyEndpointInput
sourcepub fn builder() -> CreateDbProxyEndpointInputBuilder
pub fn builder() -> CreateDbProxyEndpointInputBuilder
Creates a new builder-style object to manufacture CreateDbProxyEndpointInput.
Trait Implementations§
source§impl Clone for CreateDbProxyEndpointInput
impl Clone for CreateDbProxyEndpointInput
source§fn clone(&self) -> CreateDbProxyEndpointInput
fn clone(&self) -> CreateDbProxyEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateDbProxyEndpointInput
impl Debug for CreateDbProxyEndpointInput
source§impl PartialEq for CreateDbProxyEndpointInput
impl PartialEq for CreateDbProxyEndpointInput
source§fn eq(&self, other: &CreateDbProxyEndpointInput) -> bool
fn eq(&self, other: &CreateDbProxyEndpointInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateDbProxyEndpointInput
Auto Trait Implementations§
impl Freeze for CreateDbProxyEndpointInput
impl RefUnwindSafe for CreateDbProxyEndpointInput
impl Send for CreateDbProxyEndpointInput
impl Sync for CreateDbProxyEndpointInput
impl Unpin for CreateDbProxyEndpointInput
impl UnwindSafe for CreateDbProxyEndpointInput
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