Struct aws_sdk_rds::types::DbProxyTargetGroup
source · #[non_exhaustive]pub struct DbProxyTargetGroup {
pub db_proxy_name: Option<String>,
pub target_group_name: Option<String>,
pub target_group_arn: Option<String>,
pub is_default: Option<bool>,
pub status: Option<String>,
pub connection_pool_config: Option<ConnectionPoolConfigurationInfo>,
pub created_date: Option<DateTime>,
pub updated_date: Option<DateTime>,
}Expand description
Represents a set of RDS DB instances, Aurora DB clusters, or both that a proxy can connect to. Currently, each target group is associated with exactly one RDS DB instance or Aurora DB cluster.
This data type is used as a response element in the DescribeDBProxyTargetGroups action.
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 identifier for the RDS proxy associated with this target group.
target_group_name: Option<String>The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.
target_group_arn: Option<String>The Amazon Resource Name (ARN) representing the target group.
is_default: Option<bool>Indicates whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.
status: Option<String>The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.
connection_pool_config: Option<ConnectionPoolConfigurationInfo>The settings that determine the size and behavior of the connection pool for the target group.
created_date: Option<DateTime>The date and time when the target group was first created.
updated_date: Option<DateTime>The date and time when the target group was last updated.
Implementations§
source§impl DbProxyTargetGroup
impl DbProxyTargetGroup
sourcepub fn db_proxy_name(&self) -> Option<&str>
pub fn db_proxy_name(&self) -> Option<&str>
The identifier for the RDS proxy associated with this target group.
sourcepub fn target_group_name(&self) -> Option<&str>
pub fn target_group_name(&self) -> Option<&str>
The identifier for the target group. This name must be unique for all target groups owned by your Amazon Web Services account in the specified Amazon Web Services Region.
sourcepub fn target_group_arn(&self) -> Option<&str>
pub fn target_group_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) representing the target group.
sourcepub fn is_default(&self) -> Option<bool>
pub fn is_default(&self) -> Option<bool>
Indicates whether this target group is the first one used for connection requests by the associated proxy. Because each proxy is currently associated with a single target group, currently this setting is always true.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The current status of this target group. A status of available means the target group is correctly associated with a database. Other values indicate that you must wait for the target group to be ready, or take some action to resolve an issue.
sourcepub fn connection_pool_config(&self) -> Option<&ConnectionPoolConfigurationInfo>
pub fn connection_pool_config(&self) -> Option<&ConnectionPoolConfigurationInfo>
The settings that determine the size and behavior of the connection pool for the target group.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date and time when the target group was first created.
sourcepub fn updated_date(&self) -> Option<&DateTime>
pub fn updated_date(&self) -> Option<&DateTime>
The date and time when the target group was last updated.
source§impl DbProxyTargetGroup
impl DbProxyTargetGroup
sourcepub fn builder() -> DbProxyTargetGroupBuilder
pub fn builder() -> DbProxyTargetGroupBuilder
Creates a new builder-style object to manufacture DbProxyTargetGroup.
Trait Implementations§
source§impl Clone for DbProxyTargetGroup
impl Clone for DbProxyTargetGroup
source§fn clone(&self) -> DbProxyTargetGroup
fn clone(&self) -> DbProxyTargetGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbProxyTargetGroup
impl Debug for DbProxyTargetGroup
source§impl PartialEq for DbProxyTargetGroup
impl PartialEq for DbProxyTargetGroup
source§fn eq(&self, other: &DbProxyTargetGroup) -> bool
fn eq(&self, other: &DbProxyTargetGroup) -> bool
self and other values to be equal, and is used
by ==.