Skip to main content

AwsRdsDbInstanceDetails

Struct AwsRdsDbInstanceDetails 

Source
pub struct AwsRdsDbInstanceDetails {
Show 19 fields pub associated_roles: Option<Vec<AwsRdsDbInstanceAssociatedRole>>, pub ca_certificate_identifier: Option<String>, pub db_cluster_identifier: Option<String>, pub db_instance_class: Option<String>, pub db_instance_identifier: Option<String>, pub db_name: Option<String>, pub db_instance_port: Option<i64>, pub dbi_resource_id: Option<String>, pub deletion_protection: Option<bool>, pub endpoint: Option<AwsRdsDbInstanceEndpoint>, pub engine: Option<String>, pub engine_version: Option<String>, pub iam_database_authentication_enabled: Option<bool>, pub instance_create_time: Option<String>, pub kms_key_id: Option<String>, pub publicly_accessible: Option<bool>, pub storage_encrypted: Option<bool>, pub tde_credential_arn: Option<String>, pub vpc_security_groups: Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>,
}
Expand description

Contains the details of an Amazon RDS DB instance.

Fields§

§associated_roles: Option<Vec<AwsRdsDbInstanceAssociatedRole>>

The AWS Identity and Access Management (IAM) roles associated with the DB instance.

§ca_certificate_identifier: Option<String>

The identifier of the CA certificate for this DB instance.

§db_cluster_identifier: Option<String>

If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.

§db_instance_class: Option<String>

Contains the name of the compute and memory capacity class of the DB instance.

§db_instance_identifier: Option<String>

Contains a user-supplied database identifier. This identifier is the unique key that identifies a DB instance.

§db_name: Option<String>

The meaning of this parameter differs according to the database engine you use.

MySQL, MariaDB, SQL Server, PostgreSQL

Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.

Oracle

Contains the Oracle System ID (SID) of the created DB instance. Not shown when the returned parameters do not apply to an Oracle DB instance.

§db_instance_port: Option<i64>

Specifies the port that the DB instance listens on. If the DB instance is part of a DB cluster, this can be a different port than the DB cluster port.

§dbi_resource_id: Option<String>

The AWS Region-unique, immutable identifier for the DB instance. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.

§deletion_protection: Option<bool>

Indicates whether the DB instance has deletion protection enabled.

When deletion protection is enabled, the database cannot be deleted.

§endpoint: Option<AwsRdsDbInstanceEndpoint>

Specifies the connection endpoint.

§engine: Option<String>

Provides the name of the database engine to use for this DB instance.

§engine_version: Option<String>

Indicates the database engine version.

§iam_database_authentication_enabled: Option<bool>

True if mapping of AWS Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

IAM database authentication can be enabled for the following database engines.

  • For MySQL 5.6, minor version 5.6.34 or higher

  • For MySQL 5.7, minor version 5.7.16 or higher

  • Aurora 5.6 or higher

§instance_create_time: Option<String>

Provides the date and time the DB instance was created.

§kms_key_id: Option<String>

If StorageEncrypted is true, the AWS KMS key identifier for the encrypted DB instance.

§publicly_accessible: Option<bool>

Specifies the accessibility options for the DB instance.

A value of true specifies an Internet-facing instance with a publicly resolvable DNS name, which resolves to a public IP address.

A value of false specifies an internal instance with a DNS name that resolves to a private IP address.

§storage_encrypted: Option<bool>

Specifies whether the DB instance is encrypted.

§tde_credential_arn: Option<String>

The ARN from the key store with which the instance is associated for TDE encryption.

§vpc_security_groups: Option<Vec<AwsRdsDbInstanceVpcSecurityGroup>>

A list of VPC security groups that the DB instance belongs to.

Trait Implementations§

Source§

impl Clone for AwsRdsDbInstanceDetails

Source§

fn clone(&self) -> AwsRdsDbInstanceDetails

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AwsRdsDbInstanceDetails

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for AwsRdsDbInstanceDetails

Source§

fn default() -> AwsRdsDbInstanceDetails

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for AwsRdsDbInstanceDetails

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for AwsRdsDbInstanceDetails

Source§

fn eq(&self, other: &AwsRdsDbInstanceDetails) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for AwsRdsDbInstanceDetails

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for AwsRdsDbInstanceDetails

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more