DBInstanceProperties

Struct DBInstanceProperties 

Source
pub struct DBInstanceProperties {
Show 52 fields pub allocated_storage: Option<Value<String>>, pub allow_major_version_upgrade: Option<Value<bool>>, pub associated_roles: Option<ValueList<DBInstanceRole>>, pub auto_minor_version_upgrade: Option<Value<bool>>, pub availability_zone: Option<Value<String>>, pub backup_retention_period: Option<Value<u32>>, pub ca_certificate_identifier: Option<Value<String>>, pub character_set_name: Option<Value<String>>, pub copy_tags_to_snapshot: Option<Value<bool>>, pub db_cluster_identifier: Option<Value<String>>, pub db_instance_class: Value<String>, pub db_instance_identifier: Option<Value<String>>, pub db_name: Option<Value<String>>, pub db_parameter_group_name: Option<Value<String>>, pub db_security_groups: Option<ValueList<String>>, pub db_snapshot_identifier: Option<Value<String>>, pub db_subnet_group_name: Option<Value<String>>, pub delete_automated_backups: Option<Value<bool>>, pub deletion_protection: Option<Value<bool>>, pub domain: Option<Value<String>>, pub domain_iam_role_name: Option<Value<String>>, pub enable_cloudwatch_logs_exports: Option<ValueList<String>>, pub enable_iam_database_authentication: Option<Value<bool>>, pub enable_performance_insights: Option<Value<bool>>, pub engine: Option<Value<String>>, pub engine_version: Option<Value<String>>, pub iops: Option<Value<u32>>, pub kms_key_id: Option<Value<String>>, pub license_model: Option<Value<String>>, pub master_user_password: Option<Value<String>>, pub master_username: Option<Value<String>>, pub max_allocated_storage: Option<Value<u32>>, pub monitoring_interval: Option<Value<u32>>, pub monitoring_role_arn: Option<Value<String>>, pub multi_az: Option<Value<bool>>, pub option_group_name: Option<Value<String>>, pub performance_insights_kms_key_id: Option<Value<String>>, pub performance_insights_retention_period: Option<Value<u32>>, pub port: Option<Value<String>>, pub preferred_backup_window: Option<Value<String>>, pub preferred_maintenance_window: Option<Value<String>>, pub processor_features: Option<ValueList<ProcessorFeature>>, pub promotion_tier: Option<Value<u32>>, pub publicly_accessible: Option<Value<bool>>, pub source_db_instance_identifier: Option<Value<String>>, pub source_region: Option<Value<String>>, pub storage_encrypted: Option<Value<bool>>, pub storage_type: Option<Value<String>>, pub tags: Option<ValueList<Tag>>, pub timezone: Option<Value<String>>, pub use_default_processor_features: Option<Value<bool>>, pub vpc_security_groups: Option<ValueList<String>>,
}
Expand description

Properties for the DBInstance resource.

Fields§

§allocated_storage: Option<Value<String>>

Property AllocatedStorage.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§allow_major_version_upgrade: Option<Value<bool>>

Property AllowMajorVersionUpgrade.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§associated_roles: Option<ValueList<DBInstanceRole>>

Property AssociatedRoles.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§auto_minor_version_upgrade: Option<Value<bool>>

Property AutoMinorVersionUpgrade.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§availability_zone: Option<Value<String>>

Property AvailabilityZone.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§backup_retention_period: Option<Value<u32>>

Property BackupRetentionPeriod.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§ca_certificate_identifier: Option<Value<String>>

Property CACertificateIdentifier.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§character_set_name: Option<Value<String>>

Property CharacterSetName.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§copy_tags_to_snapshot: Option<Value<bool>>

Property CopyTagsToSnapshot.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§db_cluster_identifier: Option<Value<String>>

Property DBClusterIdentifier.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§db_instance_class: Value<String>

Property DBInstanceClass.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§db_instance_identifier: Option<Value<String>>

Property DBInstanceIdentifier.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§db_name: Option<Value<String>>

Property DBName.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§db_parameter_group_name: Option<Value<String>>

Property DBParameterGroupName.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§db_security_groups: Option<ValueList<String>>

Property DBSecurityGroups.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§db_snapshot_identifier: Option<Value<String>>

Property DBSnapshotIdentifier.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§db_subnet_group_name: Option<Value<String>>

Property DBSubnetGroupName.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§delete_automated_backups: Option<Value<bool>>

Property DeleteAutomatedBackups.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§deletion_protection: Option<Value<bool>>

Property DeletionProtection.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§domain: Option<Value<String>>

Property Domain.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§domain_iam_role_name: Option<Value<String>>

Property DomainIAMRoleName.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§enable_cloudwatch_logs_exports: Option<ValueList<String>>

Property EnableCloudwatchLogsExports.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§enable_iam_database_authentication: Option<Value<bool>>

Property EnableIAMDatabaseAuthentication.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§enable_performance_insights: Option<Value<bool>>

Property EnablePerformanceInsights.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§engine: Option<Value<String>>

Property Engine.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§engine_version: Option<Value<String>>

Property EngineVersion.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§iops: Option<Value<u32>>

Property Iops.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§kms_key_id: Option<Value<String>>

Property KmsKeyId.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§license_model: Option<Value<String>>

Property LicenseModel.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§master_user_password: Option<Value<String>>

Property MasterUserPassword.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§master_username: Option<Value<String>>

Property MasterUsername.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§max_allocated_storage: Option<Value<u32>>

Property MaxAllocatedStorage.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§monitoring_interval: Option<Value<u32>>

Property MonitoringInterval.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§monitoring_role_arn: Option<Value<String>>

Property MonitoringRoleArn.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§multi_az: Option<Value<bool>>

Property MultiAZ.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§option_group_name: Option<Value<String>>

Property OptionGroupName.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§performance_insights_kms_key_id: Option<Value<String>>

Property PerformanceInsightsKMSKeyId.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§performance_insights_retention_period: Option<Value<u32>>

Property PerformanceInsightsRetentionPeriod.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§port: Option<Value<String>>

Property Port.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§preferred_backup_window: Option<Value<String>>

Property PreferredBackupWindow.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§preferred_maintenance_window: Option<Value<String>>

Property PreferredMaintenanceWindow.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§processor_features: Option<ValueList<ProcessorFeature>>

Property ProcessorFeatures.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§promotion_tier: Option<Value<u32>>

Property PromotionTier.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§publicly_accessible: Option<Value<bool>>

Property PubliclyAccessible.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§source_db_instance_identifier: Option<Value<String>>

Property SourceDBInstanceIdentifier.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§source_region: Option<Value<String>>

Property SourceRegion.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§storage_encrypted: Option<Value<bool>>

Property StorageEncrypted.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§storage_type: Option<Value<String>>

Property StorageType.

Update type: Conditional. Conditional updates can be mutable or immutable, depending on, for example, which other properties you updated. For more information, see the relevant resource type documentation.

§tags: Option<ValueList<Tag>>

Property Tags.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§timezone: Option<Value<String>>

Property Timezone.

Update type: Immutable. AWS CloudFormation replaces the resource when you change this property.

§use_default_processor_features: Option<Value<bool>>

Property UseDefaultProcessorFeatures.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§vpc_security_groups: Option<ValueList<String>>

Property VPCSecurityGroups.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

Trait Implementations§

Source§

impl Debug for DBInstanceProperties

Source§

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

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

impl Default for DBInstanceProperties

Source§

fn default() -> DBInstanceProperties

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

impl<'de> Deserialize<'de> for DBInstanceProperties

Source§

fn deserialize<D: Deserializer<'de>>( d: D, ) -> Result<DBInstanceProperties, D::Error>

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

impl From<DBInstanceProperties> for DBInstance

Source§

fn from(properties: DBInstanceProperties) -> DBInstance

Converts to this type from the input type.
Source§

impl Serialize for DBInstanceProperties

Source§

fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>

Serialize this value into the given Serde serializer. Read more

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> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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, 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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,