#[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 ==
.