pub struct Builder { /* private fields */ }
Expand description

A builder for DbProxy.

Implementations

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.

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.

The Amazon Resource Name (ARN) for the proxy.

The Amazon Resource Name (ARN) for the proxy.

The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.

The current status of this proxy. A status of available means the proxy is ready to handle requests. Other values indicate that you must wait for the proxy to be ready, or take some action to resolve an issue.

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. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases.

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. MYSQL supports Aurora MySQL, RDS for MariaDB, and RDS for MySQL databases. POSTGRESQL supports Aurora PostgreSQL and RDS for PostgreSQL databases.

Provides the VPC ID of the DB proxy.

Provides the VPC ID of the DB proxy.

Appends an item to vpc_security_group_ids.

To override the contents of this collection use set_vpc_security_group_ids.

Provides a list of VPC security groups that the proxy belongs to.

Provides a list of VPC security groups that the proxy belongs to.

Appends an item to vpc_subnet_ids.

To override the contents of this collection use set_vpc_subnet_ids.

The EC2 subnet IDs for the proxy.

The EC2 subnet IDs for the proxy.

Appends an item to auth.

To override the contents of this collection use set_auth.

One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.

One or more data structures specifying the authorization mechanism to connect to the associated RDS DB instance or Aurora DB cluster.

The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.

The Amazon Resource Name (ARN) for the IAM role that the proxy uses to access Amazon Secrets Manager.

The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

The endpoint that you can use to connect to the DB proxy. You include the endpoint value in the connection string for a database client application.

Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

Indicates whether Transport Layer Security (TLS) encryption is required for connections to the proxy.

The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.

Default: 1800 (30 minutes)

Constraints: 1 to 28,800

The number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. The proxy keeps the underlying database connection open and puts it back into the connection pool for reuse by later connection requests.

Default: 1800 (30 minutes)

Constraints: 1 to 28,800

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.

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.

The date and time when the proxy was first created.

The date and time when the proxy was first created.

The date and time when the proxy was last updated.

The date and time when the proxy was last updated.

Consumes the builder and constructs a DbProxy.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more