AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ModifyReplicationInstance operation. Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request.

Some settings are applied during the maintenance window.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.ModifyReplicationInstanceRequest

Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public class ModifyReplicationInstanceRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The ModifyReplicationInstanceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AllocatedStorage System.Int32

Gets and sets the property AllocatedStorage.

The amount of storage (in gigabytes) to be allocated for the replication instance.

Public Property AllowMajorVersionUpgrade System.Boolean

Gets and sets the property AllowMajorVersionUpgrade.

Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.

Constraints: This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the replication instance's current version.

Public Property ApplyImmediately System.Boolean

Gets and sets the property ApplyImmediately.

Indicates whether the changes should be applied immediately or during the next maintenance window.

Public Property AutoMinorVersionUpgrade System.Boolean

Gets and sets the property AutoMinorVersionUpgrade.

Indicates that minor version upgrades will be applied automatically to the replication instance during the maintenance window. Changing this parameter does not result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to true during the maintenance window, and a newer minor version is available, and AWS DMS has enabled auto patching for that engine version.

Public Property EngineVersion System.String

Gets and sets the property EngineVersion.

The engine version number of the replication instance.

Public Property MultiAZ System.Boolean

Gets and sets the property MultiAZ.

Specifies if the replication instance is a Multi-AZ deployment. You cannot set the AvailabilityZone parameter if the Multi-AZ parameter is set to true.

Public Property PreferredMaintenanceWindow System.String

Gets and sets the property PreferredMaintenanceWindow.

The weekly time range (in UTC) during which system maintenance can occur, which might result in an outage. Changing this parameter does not result in an outage, except in the following situation, and the change is asynchronously applied as soon as possible. If moving this window to the current time, there must be at least 30 minutes between the current time and end of the window to ensure pending changes are applied.

Default: Uses existing setting

Format: ddd:hh24:mi-ddd:hh24:mi

Valid Days: Mon | Tue | Wed | Thu | Fri | Sat | Sun

Constraints: Must be at least 30 minutes

Public Property ReplicationInstanceArn System.String

Gets and sets the property ReplicationInstanceArn.

The Amazon Resource Name (ARN) of the replication instance.

Public Property ReplicationInstanceClass System.String

Gets and sets the property ReplicationInstanceClass.

The compute and memory capacity of the replication instance.

Valid Values:

dms.t2.micro | dms.t2.small | dms.t2.medium | dms.t2.large |
            dms.c4.large | dms.c4.xlarge | dms.c4.2xlarge | dms.c4.4xlarge 

Public Property ReplicationInstanceIdentifier System.String

Gets and sets the property ReplicationInstanceIdentifier.

The replication instance identifier. This parameter is stored as a lowercase string.

Public Property VpcSecurityGroupIds System.Collections.Generic.List<System.String>

Gets and sets the property VpcSecurityGroupIds.

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.

Examples

Modifies the replication instance to apply new settings. You can change one or more parameters by specifying these parameters and the new values in the request. Some settings are applied during the maintenance window.

Modify replication instance


var response = client.ModifyReplicationInstance(new ModifyReplicationInstanceRequest 
{
    AllocatedStorage = 123,
    AllowMajorVersionUpgrade = true,
    ApplyImmediately = true,
    AutoMinorVersionUpgrade = true,
    EngineVersion = "1.5.0",
    MultiAZ = true,
    PreferredMaintenanceWindow = "sun:06:00-sun:14:00",
    ReplicationInstanceArn = "arn:aws:dms:us-east-1:123456789012:rep:6UTDJGBOUS3VI3SUWA66XFJCJQ",
    ReplicationInstanceClass = "dms.t2.micro",
    ReplicationInstanceIdentifier = "test-rep-1",
    VpcSecurityGroupIds = new List {
                    
    }
});

ReplicationInstance replicationInstance = response.ReplicationInstance;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms