Struct aws_sdk_databasemigration::input::CreateReplicationInstanceInput [−][src]
#[non_exhaustive]pub struct CreateReplicationInstanceInput {Show 15 fields
pub replication_instance_identifier: Option<String>,
pub allocated_storage: Option<i32>,
pub replication_instance_class: Option<String>,
pub vpc_security_group_ids: Option<Vec<String>>,
pub availability_zone: Option<String>,
pub replication_subnet_group_identifier: Option<String>,
pub preferred_maintenance_window: Option<String>,
pub multi_az: Option<bool>,
pub engine_version: Option<String>,
pub auto_minor_version_upgrade: Option<bool>,
pub tags: Option<Vec<Tag>>,
pub kms_key_id: Option<String>,
pub publicly_accessible: Option<bool>,
pub dns_name_servers: Option<String>,
pub resource_identifier: Option<String>,
}
Expand description
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.replication_instance_identifier: Option<String>
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
allocated_storage: Option<i32>
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
replication_instance_class: Option<String>
The compute and memory capacity of the replication instance as defined for the specified
replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
vpc_security_group_ids: Option<Vec<String>>
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
availability_zone: Option<String>
The Availability Zone where the replication instance will be created. The default
value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, for
example: us-east-1d
replication_subnet_group_identifier: Option<String>
A subnet group to associate with the replication instance.
preferred_maintenance_window: Option<String>
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region, occurring on a random day of the week.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
multi_az: Option<bool>
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to
true
.
engine_version: Option<String>
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
auto_minor_version_upgrade: Option<bool>
A value that indicates whether minor engine upgrades are applied automatically to the
replication instance during the maintenance window. This parameter defaults to
true
.
Default: true
One or more tags to be assigned to the replication instance.
kms_key_id: Option<String>
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the KmsKeyId
parameter, then
DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
publicly_accessible: Option<bool>
Specifies the accessibility options for the replication instance. A value of
true
represents an instance with a public IP address. A value of
false
represents an instance with a private IP address. The default value
is true
.
dns_name_servers: Option<String>
A list of custom DNS name servers supported for the replication instance to access your
on-premise source or target database. This list overrides the default name servers
supported by the replication instance. You can specify a comma-separated list of internet
addresses for up to four on-premise DNS name servers. For example:
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
resource_identifier: Option<String>
A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is returned in the created Endpoint
object. The value
for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,
and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,
and can only begin with a letter, such as Example-App-ARN1
. For example, this
value might result in the EndpointArn
value
arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't
specify a ResourceIdentifier
value, DMS generates a default identifier
value for the end of EndpointArn
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReplicationInstance, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateReplicationInstance, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateReplicationInstance
>
Creates a new builder-style object to manufacture CreateReplicationInstanceInput
The replication instance identifier. This parameter is stored as a lowercase string.
Constraints:
-
Must contain 1-63 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example: myrepinstance
The amount of storage (in gigabytes) to be initially allocated for the replication instance.
The compute and memory capacity of the replication instance as defined for the specified
replication instance class. For example to specify the instance class dms.c4.large, set this parameter to "dms.c4.large"
.
For more information on the settings and capacities for the available replication instance classes, see Selecting the right DMS replication instance for your migration.
Specifies the VPC security group to be used with the replication instance. The VPC security group must work with the VPC containing the replication instance.
The Availability Zone where the replication instance will be created. The default
value is a random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region, for
example: us-east-1d
A subnet group to associate with the replication instance.
The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
Default: A 30-minute window selected at random from an 8-hour block of time per Amazon Web Services Region, occurring on a random day of the week.
Valid Days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
Specifies whether the replication instance is a Multi-AZ deployment. You can't set the
AvailabilityZone
parameter if the Multi-AZ parameter is set to
true
.
The engine version number of the replication instance.
If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
A value that indicates whether minor engine upgrades are applied automatically to the
replication instance during the maintenance window. This parameter defaults to
true
.
Default: true
One or more tags to be assigned to the replication instance.
An KMS key identifier that is used to encrypt the data on the replication instance.
If you don't specify a value for the KmsKeyId
parameter, then
DMS uses your default encryption key.
KMS creates the default encryption key for your Amazon Web Services account. Your Amazon Web Services account has a different default encryption key for each Amazon Web Services Region.
Specifies the accessibility options for the replication instance. A value of
true
represents an instance with a public IP address. A value of
false
represents an instance with a private IP address. The default value
is true
.
A list of custom DNS name servers supported for the replication instance to access your
on-premise source or target database. This list overrides the default name servers
supported by the replication instance. You can specify a comma-separated list of internet
addresses for up to four on-premise DNS name servers. For example:
"1.1.1.1,2.2.2.2,3.3.3.3,4.4.4.4"
A friendly name for the resource identifier at the end of the EndpointArn
response parameter that is returned in the created Endpoint
object. The value
for this parameter can have up to 31 characters. It can contain only ASCII letters, digits,
and hyphen ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens,
and can only begin with a letter, such as Example-App-ARN1
. For example, this
value might result in the EndpointArn
value
arn:aws:dms:eu-west-1:012345678901:rep:Example-App-ARN1
. If you don't
specify a ResourceIdentifier
value, DMS generates a default identifier
value for the end of EndpointArn
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateReplicationInstanceInput
impl Sync for CreateReplicationInstanceInput
impl Unpin for CreateReplicationInstanceInput
impl UnwindSafe for CreateReplicationInstanceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more