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