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
impl StructuralPartialEq for DbInstanceRole
Auto Trait Implementations§
impl Freeze for DbInstanceRole
impl RefUnwindSafe for DbInstanceRole
impl Send for DbInstanceRole
impl Sync for DbInstanceRole
impl Unpin for DbInstanceRole
impl UnwindSafe for DbInstanceRole
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more