Struct aws_sdk_rds::types::DbClusterRole
source · #[non_exhaustive]pub struct DbClusterRole {
pub role_arn: Option<String>,
pub status: Option<String>,
pub feature_name: Option<String>,
}
Expand description
Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB 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.role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
status: Option<String>
Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:
-
ACTIVE
- the IAM role ARN is associated with the DB cluster and can be used to access other Amazon Web Services on your behalf. -
PENDING
- the IAM role ARN is being associated with the DB cluster. -
INVALID
- the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other Amazon Web Services on your behalf.
feature_name: Option<String>
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion
.
Implementations§
source§impl DbClusterRole
impl DbClusterRole
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role that is associated with the DB cluster.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
Describes the state of association between the IAM role and the DB cluster. The Status property returns one of the following values:
-
ACTIVE
- the IAM role ARN is associated with the DB cluster and can be used to access other Amazon Web Services on your behalf. -
PENDING
- the IAM role ARN is being associated with the DB cluster. -
INVALID
- the IAM role ARN is associated with the DB cluster, but the DB cluster is unable to assume the IAM role in order to access other Amazon Web Services on your behalf.
sourcepub fn feature_name(&self) -> Option<&str>
pub fn feature_name(&self) -> Option<&str>
The name of the feature associated with the Amazon Web Services Identity and Access Management (IAM) role. For information about supported feature names, see DBEngineVersion
.
source§impl DbClusterRole
impl DbClusterRole
sourcepub fn builder() -> DbClusterRoleBuilder
pub fn builder() -> DbClusterRoleBuilder
Creates a new builder-style object to manufacture DbClusterRole
.
Trait Implementations§
source§impl Clone for DbClusterRole
impl Clone for DbClusterRole
source§fn clone(&self) -> DbClusterRole
fn clone(&self) -> DbClusterRole
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbClusterRole
impl Debug for DbClusterRole
source§impl PartialEq for DbClusterRole
impl PartialEq for DbClusterRole
source§fn eq(&self, other: &DbClusterRole) -> bool
fn eq(&self, other: &DbClusterRole) -> bool
self
and other
values to be equal, and is used
by ==
.