Struct aws_sdk_docdb::types::DbClusterRole
source · #[non_exhaustive]pub struct DbClusterRole {
pub role_arn: Option<String>,
pub status: Option<String>,
}
Expand description
Describes an Identity and Access Management (IAM) role that is associated with a 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 IAMrole that is associated with the DB cluster.
status: Option<String>
Describes the state of association between the IAMrole and the cluster. The Status
property returns one of the following values:
-
ACTIVE
- The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf. -
PENDING
- The IAMrole ARN is being associated with the cluster. -
INVALID
- The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.
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 IAMrole 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 IAMrole and the cluster. The Status
property returns one of the following values:
-
ACTIVE
- The IAMrole ARN is associated with the cluster and can be used to access other Amazon Web Services services on your behalf. -
PENDING
- The IAMrole ARN is being associated with the cluster. -
INVALID
- The IAMrole ARN is associated with the cluster, but the cluster cannot assume the IAMrole to access other Amazon Web Services services on your behalf.
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 ==
.