#[non_exhaustive]pub struct CreateDbInstanceInput {Show 15 fields
pub name: Option<String>,
pub username: Option<String>,
pub password: Option<String>,
pub organization: Option<String>,
pub bucket: Option<String>,
pub db_instance_type: Option<DbInstanceType>,
pub vpc_subnet_ids: Option<Vec<String>>,
pub vpc_security_group_ids: Option<Vec<String>>,
pub publicly_accessible: Option<bool>,
pub db_storage_type: Option<DbStorageType>,
pub allocated_storage: Option<i32>,
pub db_parameter_group_identifier: Option<String>,
pub deployment_type: Option<DeploymentType>,
pub log_delivery_configuration: Option<LogDeliveryConfiguration>,
pub tags: Option<HashMap<String, String>>,
}
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.name: Option<String>
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region.
username: Option<String>
The username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. For example, my-user1. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in Amazon Secrets Manager in your account.
password: Option<String>
The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in AWS SecretManager in your account.
organization: Option<String>
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
bucket: Option<String>
The name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization.
db_instance_type: Option<DbInstanceType>
The Timestream for InfluxDB DB instance type to run InfluxDB on.
vpc_subnet_ids: Option<Vec<String>>
A list of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
vpc_security_group_ids: Option<Vec<String>>
A list of VPC security group IDs to associate with the DB instance.
publicly_accessible: Option<bool>
Configures the DB instance with a public IP to facilitate access.
db_storage_type: Option<DbStorageType>
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements:
-
Influx IO Included 3000 IOPS
-
Influx IO Included 12000 IOPS
-
Influx IO Included 16000 IOPS
allocated_storage: Option<i32>
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
db_parameter_group_identifier: Option<String>
The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
deployment_type: Option<DeploymentType>
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
log_delivery_configuration: Option<LogDeliveryConfiguration>
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
A list of key-value pairs to associate with the DB instance.
Implementations§
source§impl CreateDbInstanceInput
impl CreateDbInstanceInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name that uniquely identifies the DB instance when interacting with the Amazon Timestream for InfluxDB API and CLI commands. This name will also be a prefix included in the endpoint. DB instance names must be unique per customer and per region.
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&str>
The username of the initial admin user created in InfluxDB. Must start with a letter and can't end with a hyphen or contain two consecutive hyphens. For example, my-user1. This username will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in Amazon Secrets Manager in your account.
sourcepub fn password(&self) -> Option<&str>
pub fn password(&self) -> Option<&str>
The password of the initial admin user created in InfluxDB. This password will allow you to access the InfluxDB UI to perform various administrative tasks and also use the InfluxDB CLI to create an operator token. These attributes will be stored in a Secret created in AWS SecretManager in your account.
sourcepub fn organization(&self) -> Option<&str>
pub fn organization(&self) -> Option<&str>
The name of the initial organization for the initial admin user in InfluxDB. An InfluxDB organization is a workspace for a group of users.
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the initial InfluxDB bucket. All InfluxDB data is stored in a bucket. A bucket combines the concept of a database and a retention period (the duration of time that each data point persists). A bucket belongs to an organization.
sourcepub fn db_instance_type(&self) -> Option<&DbInstanceType>
pub fn db_instance_type(&self) -> Option<&DbInstanceType>
The Timestream for InfluxDB DB instance type to run InfluxDB on.
sourcepub fn vpc_subnet_ids(&self) -> &[String]
pub fn vpc_subnet_ids(&self) -> &[String]
A list of VPC subnet IDs to associate with the DB instance. Provide at least two VPC subnet IDs in different availability zones when deploying with a Multi-AZ standby.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_subnet_ids.is_none()
.
sourcepub fn vpc_security_group_ids(&self) -> &[String]
pub fn vpc_security_group_ids(&self) -> &[String]
A list of VPC security group IDs to associate with the DB instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .vpc_security_group_ids.is_none()
.
sourcepub fn publicly_accessible(&self) -> Option<bool>
pub fn publicly_accessible(&self) -> Option<bool>
Configures the DB instance with a public IP to facilitate access.
sourcepub fn db_storage_type(&self) -> Option<&DbStorageType>
pub fn db_storage_type(&self) -> Option<&DbStorageType>
The Timestream for InfluxDB DB storage type to read and write InfluxDB data.
You can choose between 3 different types of provisioned Influx IOPS included storage according to your workloads requirements:
-
Influx IO Included 3000 IOPS
-
Influx IO Included 12000 IOPS
-
Influx IO Included 16000 IOPS
sourcepub fn allocated_storage(&self) -> Option<i32>
pub fn allocated_storage(&self) -> Option<i32>
The amount of storage to allocate for your DB storage type in GiB (gibibytes).
sourcepub fn db_parameter_group_identifier(&self) -> Option<&str>
pub fn db_parameter_group_identifier(&self) -> Option<&str>
The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.
sourcepub fn deployment_type(&self) -> Option<&DeploymentType>
pub fn deployment_type(&self) -> Option<&DeploymentType>
Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.
sourcepub fn log_delivery_configuration(&self) -> Option<&LogDeliveryConfiguration>
pub fn log_delivery_configuration(&self) -> Option<&LogDeliveryConfiguration>
Configuration for sending InfluxDB engine logs to a specified S3 bucket.
A list of key-value pairs to associate with the DB instance.
source§impl CreateDbInstanceInput
impl CreateDbInstanceInput
sourcepub fn builder() -> CreateDbInstanceInputBuilder
pub fn builder() -> CreateDbInstanceInputBuilder
Creates a new builder-style object to manufacture CreateDbInstanceInput
.
Trait Implementations§
source§impl Clone for CreateDbInstanceInput
impl Clone for CreateDbInstanceInput
source§fn clone(&self) -> CreateDbInstanceInput
fn clone(&self) -> CreateDbInstanceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDbInstanceInput
impl Debug for CreateDbInstanceInput
source§impl PartialEq for CreateDbInstanceInput
impl PartialEq for CreateDbInstanceInput
source§fn eq(&self, other: &CreateDbInstanceInput) -> bool
fn eq(&self, other: &CreateDbInstanceInput) -> bool
self
and other
values to be equal, and is used
by ==
.