Struct rusoto_rds::CreateDBProxyRequest
source · [−]pub struct CreateDBProxyRequest {
pub auth: Vec<UserAuthConfig>,
pub db_proxy_name: String,
pub debug_logging: Option<bool>,
pub engine_family: String,
pub idle_client_timeout: Option<i64>,
pub require_tls: Option<bool>,
pub role_arn: String,
pub tags: Option<Vec<Tag>>,
pub vpc_security_group_ids: Option<Vec<String>>,
pub vpc_subnet_ids: Vec<String>,
}
Fields
auth: Vec<UserAuthConfig>
The authorization mechanism that the proxy uses.
db_proxy_name: String
The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
debug_logging: Option<bool>
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
engine_family: String
The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora.
idle_client_timeout: Option<i64>
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
require_tls: Option<bool>
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
role_arn: String
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in Amazon Web Services Secrets Manager.
An optional set of key-value pairs to associate arbitrary data of your choosing with the proxy.
vpc_security_group_ids: Option<Vec<String>>
One or more VPC security group IDs to associate with the new proxy.
vpc_subnet_ids: Vec<String>
One or more VPC subnet IDs to associate with the new proxy.
Trait Implementations
sourceimpl Clone for CreateDBProxyRequest
impl Clone for CreateDBProxyRequest
sourcefn clone(&self) -> CreateDBProxyRequest
fn clone(&self) -> CreateDBProxyRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDBProxyRequest
impl Debug for CreateDBProxyRequest
sourceimpl Default for CreateDBProxyRequest
impl Default for CreateDBProxyRequest
sourcefn default() -> CreateDBProxyRequest
fn default() -> CreateDBProxyRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateDBProxyRequest> for CreateDBProxyRequest
impl PartialEq<CreateDBProxyRequest> for CreateDBProxyRequest
sourcefn eq(&self, other: &CreateDBProxyRequest) -> bool
fn eq(&self, other: &CreateDBProxyRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDBProxyRequest) -> bool
fn ne(&self, other: &CreateDBProxyRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDBProxyRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateDBProxyRequest
impl Send for CreateDBProxyRequest
impl Sync for CreateDBProxyRequest
impl Unpin for CreateDBProxyRequest
impl UnwindSafe for CreateDBProxyRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more