Struct rusoto_neptune::CreateDBInstanceMessage
source · [−]pub struct CreateDBInstanceMessage {Show 42 fields
pub allocated_storage: Option<i64>,
pub auto_minor_version_upgrade: Option<bool>,
pub availability_zone: Option<String>,
pub backup_retention_period: Option<i64>,
pub character_set_name: Option<String>,
pub copy_tags_to_snapshot: Option<bool>,
pub db_cluster_identifier: Option<String>,
pub db_instance_class: String,
pub db_instance_identifier: String,
pub db_name: Option<String>,
pub db_parameter_group_name: Option<String>,
pub db_security_groups: Option<Vec<String>>,
pub db_subnet_group_name: Option<String>,
pub deletion_protection: Option<bool>,
pub domain: Option<String>,
pub domain_iam_role_name: Option<String>,
pub enable_cloudwatch_logs_exports: Option<Vec<String>>,
pub enable_iam_database_authentication: Option<bool>,
pub enable_performance_insights: Option<bool>,
pub engine: String,
pub engine_version: Option<String>,
pub iops: Option<i64>,
pub kms_key_id: Option<String>,
pub license_model: Option<String>,
pub master_user_password: Option<String>,
pub master_username: Option<String>,
pub monitoring_interval: Option<i64>,
pub monitoring_role_arn: Option<String>,
pub multi_az: Option<bool>,
pub option_group_name: Option<String>,
pub performance_insights_kms_key_id: Option<String>,
pub port: Option<i64>,
pub preferred_backup_window: Option<String>,
pub preferred_maintenance_window: Option<String>,
pub promotion_tier: Option<i64>,
pub storage_encrypted: Option<bool>,
pub storage_type: Option<String>,
pub tags: Option<Vec<Tag>>,
pub tde_credential_arn: Option<String>,
pub tde_credential_password: Option<String>,
pub timezone: Option<String>,
pub vpc_security_group_ids: Option<Vec<String>>,
}
Fields
allocated_storage: Option<i64>
Not supported by Neptune.
auto_minor_version_upgrade: Option<bool>
Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.
Default: true
availability_zone: Option<String>
The EC2 Availability Zone that the DB instance is created in
Default: A random, system-chosen Availability Zone in the endpoint's Amazon Region.
Example: us-east-1d
Constraint: The AvailabilityZone parameter can't be specified if the MultiAZ parameter is set to true
. The specified Availability Zone must be in the same Amazon Region as the current endpoint.
backup_retention_period: Option<i64>
The number of days for which automated backups are retained.
Not applicable. The retention period for automated backups is managed by the DB cluster. For more information, see CreateDBCluster.
Default: 1
Constraints:
-
Must be a value from 0 to 35
-
Cannot be set to 0 if the DB instance is a source to Read Replicas
character_set_name: Option<String>
(Not supported by Neptune)
True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.
db_cluster_identifier: Option<String>
The identifier of the DB cluster that the instance will belong to.
For information on creating a DB cluster, see CreateDBCluster.
Type: String
db_instance_class: String
The compute and memory capacity of the DB instance, for example, db.m4.large
. Not all DB instance classes are available in all Amazon Regions.
db_instance_identifier: String
The DB instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
db_name: Option<String>
Not supported.
db_parameter_group_name: Option<String>
The name of the DB parameter group to associate with this DB instance. If this argument is omitted, the default DBParameterGroup for the specified engine is used.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Cannot end with a hyphen or contain two consecutive hyphens
db_security_groups: Option<Vec<String>>
A list of DB security groups to associate with this DB instance.
Default: The default DB security group for the database engine.
db_subnet_group_name: Option<String>
A DB subnet group to associate with this DB instance.
If there is no DB subnet group, then it is a non-VPC DB instance.
deletion_protection: Option<bool>
A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See Deleting a DB Instance.
DB instances in a DB cluster can be deleted even when deletion protection is enabled in their parent DB cluster.
domain: Option<String>
Specify the Active Directory Domain to create the instance in.
domain_iam_role_name: Option<String>
Specify the name of the IAM role to be used when making API calls to the Directory Service.
enable_cloudwatch_logs_exports: Option<Vec<String>>
The list of log types that need to be enabled for exporting to CloudWatch Logs.
enable_iam_database_authentication: Option<bool>
Not supported by Neptune (ignored).
enable_performance_insights: Option<bool>
(Not supported by Neptune)
engine: String
The name of the database engine to be used for this instance.
Valid Values: neptune
engine_version: Option<String>
The version number of the database engine to use. Currently, setting this parameter has no effect.
iops: Option<i64>
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for the DB instance.
kms_key_id: Option<String>
The Amazon KMS key identifier for an encrypted DB instance.
The KMS key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you are creating a DB instance with the same Amazon account that owns the KMS encryption key used to encrypt the new DB instance, then you can use the KMS key alias instead of the ARN for the KM encryption key.
Not applicable. The KMS key identifier is managed by the DB cluster. For more information, see CreateDBCluster.
If the StorageEncrypted
parameter is true, and you do not specify a value for the KmsKeyId
parameter, then Amazon Neptune will use your default encryption key. Amazon KMS creates the default encryption key for your Amazon account. Your Amazon account has a different default encryption key for each Amazon Region.
license_model: Option<String>
License model information for this DB instance.
Valid values: license-included
| bring-your-own-license
| general-public-license
master_user_password: Option<String>
Not supported by Neptune.
master_username: Option<String>
Not supported by Neptune.
monitoring_interval: Option<i64>
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0.
If MonitoringRoleArn
is specified, then you must also set MonitoringInterval
to a value other than 0.
Valid Values: 0, 1, 5, 10, 15, 30, 60
monitoring_role_arn: Option<String>
The ARN for the IAM role that permits Neptune to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess
.
If MonitoringInterval
is set to a value other than 0, then you must supply a MonitoringRoleArn
value.
multi_az: Option<bool>
Specifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.
option_group_name: Option<String>
(Not supported by Neptune)
performance_insights_kms_key_id: Option<String>
(Not supported by Neptune)
port: Option<i64>
The port number on which the database accepts connections.
Not applicable. The port is managed by the DB cluster. For more information, see CreateDBCluster.
Default: 8182
Type: Integer
preferred_backup_window: Option<String>
The daily time range during which automated backups are created.
Not applicable. The daily time range for creating automated backups is managed by the DB cluster. For more information, see CreateDBCluster.
preferred_maintenance_window: Option<String>
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Region, occurring on a random day of the week.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
Constraints: Minimum 30-minute window.
promotion_tier: Option<i64>
A value that specifies the order in which an Read Replica is promoted to the primary instance after a failure of the existing primary instance.
Default: 1
Valid Values: 0 - 15
storage_encrypted: Option<bool>
Specifies whether the DB instance is encrypted.
Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see CreateDBCluster.
Default: false
storage_type: Option<String>
Specifies the storage type to be associated with the DB instance.
Not applicable. Storage is managed by the DB Cluster.
The tags to assign to the new instance.
tde_credential_arn: Option<String>
The ARN from the key store with which to associate the instance for TDE encryption.
tde_credential_password: Option<String>
The password for the given ARN from the key store in order to access the device.
timezone: Option<String>
The time zone of the DB instance.
vpc_security_group_ids: Option<Vec<String>>
A list of EC2 VPC security groups to associate with this DB instance.
Not applicable. The associated list of EC2 VPC security groups is managed by the DB cluster. For more information, see CreateDBCluster.
Default: The default EC2 VPC security group for the DB subnet group's VPC.
Trait Implementations
sourceimpl Clone for CreateDBInstanceMessage
impl Clone for CreateDBInstanceMessage
sourcefn clone(&self) -> CreateDBInstanceMessage
fn clone(&self) -> CreateDBInstanceMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateDBInstanceMessage
impl Debug for CreateDBInstanceMessage
sourceimpl Default for CreateDBInstanceMessage
impl Default for CreateDBInstanceMessage
sourcefn default() -> CreateDBInstanceMessage
fn default() -> CreateDBInstanceMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateDBInstanceMessage> for CreateDBInstanceMessage
impl PartialEq<CreateDBInstanceMessage> for CreateDBInstanceMessage
sourcefn eq(&self, other: &CreateDBInstanceMessage) -> bool
fn eq(&self, other: &CreateDBInstanceMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDBInstanceMessage) -> bool
fn ne(&self, other: &CreateDBInstanceMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDBInstanceMessage
Auto Trait Implementations
impl RefUnwindSafe for CreateDBInstanceMessage
impl Send for CreateDBInstanceMessage
impl Sync for CreateDBInstanceMessage
impl Unpin for CreateDBInstanceMessage
impl UnwindSafe for CreateDBInstanceMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more