Struct aws_sdk_rds::model::DbInstanceRole
source · [−]#[non_exhaustive]pub struct DbInstanceRole { /* private fields */ }Expand description
Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB instance.
Implementations
sourceimpl 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>
Describes 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.
sourceimpl DbInstanceRole
impl DbInstanceRole
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DbInstanceRole.
Trait Implementations
sourceimpl Clone for DbInstanceRole
impl Clone for DbInstanceRole
sourcefn clone(&self) -> DbInstanceRole
fn clone(&self) -> DbInstanceRole
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more