Struct aws_sdk_appsync::types::RdsDataApiConfig
source · #[non_exhaustive]pub struct RdsDataApiConfig {
pub resource_arn: String,
pub secret_arn: String,
pub database_name: String,
}
Expand description
Contains the metadata required to introspect the RDS cluster.
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.resource_arn: String
The resource ARN of the RDS cluster.
secret_arn: String
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
database_name: String
The name of the database in the cluster.
Implementations§
source§impl RdsDataApiConfig
impl RdsDataApiConfig
sourcepub fn resource_arn(&self) -> &str
pub fn resource_arn(&self) -> &str
The resource ARN of the RDS cluster.
sourcepub fn secret_arn(&self) -> &str
pub fn secret_arn(&self) -> &str
The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
sourcepub fn database_name(&self) -> &str
pub fn database_name(&self) -> &str
The name of the database in the cluster.
source§impl RdsDataApiConfig
impl RdsDataApiConfig
sourcepub fn builder() -> RdsDataApiConfigBuilder
pub fn builder() -> RdsDataApiConfigBuilder
Creates a new builder-style object to manufacture RdsDataApiConfig
.
Trait Implementations§
source§impl Clone for RdsDataApiConfig
impl Clone for RdsDataApiConfig
source§fn clone(&self) -> RdsDataApiConfig
fn clone(&self) -> RdsDataApiConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RdsDataApiConfig
impl Debug for RdsDataApiConfig
source§impl PartialEq for RdsDataApiConfig
impl PartialEq for RdsDataApiConfig
source§fn eq(&self, other: &RdsDataApiConfig) -> bool
fn eq(&self, other: &RdsDataApiConfig) -> bool
self
and other
values to be equal, and is used
by ==
.