Struct aws_sdk_databasemigration::model::RedisSettings
source · #[non_exhaustive]pub struct RedisSettings { /* private fields */ }
Expand description
Provides information that defines a Redis target endpoint.
Implementations§
source§impl RedisSettings
impl RedisSettings
sourcepub fn server_name(&self) -> Option<&str>
pub fn server_name(&self) -> Option<&str>
Fully qualified domain name of the endpoint.
sourcepub fn ssl_security_protocol(&self) -> Option<&SslSecurityProtocolValue>
pub fn ssl_security_protocol(&self) -> Option<&SslSecurityProtocolValue>
The connection to a Redis target endpoint using Transport Layer Security (TLS). Valid values include plaintext
and ssl-encryption
. The default is ssl-encryption
. The ssl-encryption
option makes an encrypted connection. Optionally, you can identify an Amazon Resource Name (ARN) for an SSL certificate authority (CA) using the SslCaCertificateArn
setting. If an ARN isn't given for a CA, DMS uses the Amazon root CA.
The plaintext
option doesn't provide Transport Layer Security (TLS) encryption for traffic between endpoint and database.
sourcepub fn auth_type(&self) -> Option<&RedisAuthTypeValue>
pub fn auth_type(&self) -> Option<&RedisAuthTypeValue>
The type of authentication to perform when connecting to a Redis target. Options include none
, auth-token
, and auth-role
. The auth-token
option requires an AuthPassword
value to be provided. The auth-role
option requires AuthUserName
and AuthPassword
values to be provided.
sourcepub fn auth_user_name(&self) -> Option<&str>
pub fn auth_user_name(&self) -> Option<&str>
The user name provided with the auth-role
option of the AuthType
setting for a Redis target endpoint.
sourcepub fn auth_password(&self) -> Option<&str>
pub fn auth_password(&self) -> Option<&str>
The password provided with the auth-role
and auth-token
options of the AuthType
setting for a Redis target endpoint.
sourcepub fn ssl_ca_certificate_arn(&self) -> Option<&str>
pub fn ssl_ca_certificate_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the certificate authority (CA) that DMS uses to connect to your Redis target endpoint.
source§impl RedisSettings
impl RedisSettings
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RedisSettings
.
Trait Implementations§
source§impl Clone for RedisSettings
impl Clone for RedisSettings
source§fn clone(&self) -> RedisSettings
fn clone(&self) -> RedisSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RedisSettings
impl Debug for RedisSettings
source§impl PartialEq<RedisSettings> for RedisSettings
impl PartialEq<RedisSettings> for RedisSettings
source§fn eq(&self, other: &RedisSettings) -> bool
fn eq(&self, other: &RedisSettings) -> bool
self
and other
values to be equal, and is used
by ==
.