Try AWS Native preview for resources not in the classic version.
aws.dms.ReplicationConfig
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a DMS Serverless replication config resource.
NOTE: Changing most arguments will stop the replication if it is running. You can set
start_replication
to resume the replication afterwards.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const name = new aws.dms.ReplicationConfig("name", {
replicationConfigIdentifier: "test-dms-serverless-replication-tf",
resourceIdentifier: "test-dms-serverless-replication-tf",
replicationType: "cdc",
sourceEndpointArn: source.endpointArn,
targetEndpointArn: target.endpointArn,
tableMappings: ` {
"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
}
`,
startReplication: true,
computeConfig: {
replicationSubnetGroupId: _default.replicationSubnetGroupId,
maxCapacityUnits: 64,
minCapacityUnits: 2,
preferredMaintenanceWindow: "sun:23:45-mon:00:30",
},
});
import pulumi
import pulumi_aws as aws
name = aws.dms.ReplicationConfig("name",
replication_config_identifier="test-dms-serverless-replication-tf",
resource_identifier="test-dms-serverless-replication-tf",
replication_type="cdc",
source_endpoint_arn=source["endpointArn"],
target_endpoint_arn=target["endpointArn"],
table_mappings=""" {
"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
}
""",
start_replication=True,
compute_config={
"replicationSubnetGroupId": default["replicationSubnetGroupId"],
"maxCapacityUnits": 64,
"minCapacityUnits": 2,
"preferredMaintenanceWindow": "sun:23:45-mon:00:30",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/dms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dms.NewReplicationConfig(ctx, "name", &dms.ReplicationConfigArgs{
ReplicationConfigIdentifier: pulumi.String("test-dms-serverless-replication-tf"),
ResourceIdentifier: pulumi.String("test-dms-serverless-replication-tf"),
ReplicationType: pulumi.String("cdc"),
SourceEndpointArn: pulumi.Any(source.EndpointArn),
TargetEndpointArn: pulumi.Any(target.EndpointArn),
TableMappings: pulumi.String(" {\n \"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"rule-action\":\"include\",\"object-locator\":{\"schema-name\":\"%%\",\"table-name\":\"%%\"}}]\n }\n"),
StartReplication: pulumi.Bool(true),
ComputeConfig: &dms.ReplicationConfigComputeConfigArgs{
ReplicationSubnetGroupId: pulumi.Any(_default.ReplicationSubnetGroupId),
MaxCapacityUnits: pulumi.Int(64),
MinCapacityUnits: pulumi.Int(2),
PreferredMaintenanceWindow: pulumi.String("sun:23:45-mon:00:30"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var name = new Aws.Dms.ReplicationConfig("name", new()
{
ReplicationConfigIdentifier = "test-dms-serverless-replication-tf",
ResourceIdentifier = "test-dms-serverless-replication-tf",
ReplicationType = "cdc",
SourceEndpointArn = source.EndpointArn,
TargetEndpointArn = target.EndpointArn,
TableMappings = @" {
""rules"":[{""rule-type"":""selection"",""rule-id"":""1"",""rule-name"":""1"",""rule-action"":""include"",""object-locator"":{""schema-name"":""%%"",""table-name"":""%%""}}]
}
",
StartReplication = true,
ComputeConfig = new Aws.Dms.Inputs.ReplicationConfigComputeConfigArgs
{
ReplicationSubnetGroupId = @default.ReplicationSubnetGroupId,
MaxCapacityUnits = 64,
MinCapacityUnits = 2,
PreferredMaintenanceWindow = "sun:23:45-mon:00:30",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.dms.ReplicationConfig;
import com.pulumi.aws.dms.ReplicationConfigArgs;
import com.pulumi.aws.dms.inputs.ReplicationConfigComputeConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var name = new ReplicationConfig("name", ReplicationConfigArgs.builder()
.replicationConfigIdentifier("test-dms-serverless-replication-tf")
.resourceIdentifier("test-dms-serverless-replication-tf")
.replicationType("cdc")
.sourceEndpointArn(source.endpointArn())
.targetEndpointArn(target.endpointArn())
.tableMappings("""
{
"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
}
""")
.startReplication(true)
.computeConfig(ReplicationConfigComputeConfigArgs.builder()
.replicationSubnetGroupId(default_.replicationSubnetGroupId())
.maxCapacityUnits("64")
.minCapacityUnits("2")
.preferredMaintenanceWindow("sun:23:45-mon:00:30")
.build())
.build());
}
}
resources:
name:
type: aws:dms:ReplicationConfig
properties:
replicationConfigIdentifier: test-dms-serverless-replication-tf
resourceIdentifier: test-dms-serverless-replication-tf
replicationType: cdc
sourceEndpointArn: ${source.endpointArn}
targetEndpointArn: ${target.endpointArn}
tableMappings: |2
{
"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","rule-action":"include","object-locator":{"schema-name":"%%","table-name":"%%"}}]
}
startReplication: true
computeConfig:
replicationSubnetGroupId: ${default.replicationSubnetGroupId}
maxCapacityUnits: '64'
minCapacityUnits: '2'
preferredMaintenanceWindow: sun:23:45-mon:00:30
Create ReplicationConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReplicationConfig(name: string, args: ReplicationConfigArgs, opts?: CustomResourceOptions);
@overload
def ReplicationConfig(resource_name: str,
args: ReplicationConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReplicationConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_config: Optional[ReplicationConfigComputeConfigArgs] = None,
replication_config_identifier: Optional[str] = None,
replication_type: Optional[str] = None,
source_endpoint_arn: Optional[str] = None,
table_mappings: Optional[str] = None,
target_endpoint_arn: Optional[str] = None,
replication_settings: Optional[str] = None,
resource_identifier: Optional[str] = None,
start_replication: Optional[bool] = None,
supplemental_settings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewReplicationConfig(ctx *Context, name string, args ReplicationConfigArgs, opts ...ResourceOption) (*ReplicationConfig, error)
public ReplicationConfig(string name, ReplicationConfigArgs args, CustomResourceOptions? opts = null)
public ReplicationConfig(String name, ReplicationConfigArgs args)
public ReplicationConfig(String name, ReplicationConfigArgs args, CustomResourceOptions options)
type: aws:dms:ReplicationConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ReplicationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var replicationConfigResource = new Aws.Dms.ReplicationConfig("replicationConfigResource", new()
{
ComputeConfig = new Aws.Dms.Inputs.ReplicationConfigComputeConfigArgs
{
ReplicationSubnetGroupId = "string",
AvailabilityZone = "string",
DnsNameServers = "string",
KmsKeyId = "string",
MaxCapacityUnits = 0,
MinCapacityUnits = 0,
MultiAz = false,
PreferredMaintenanceWindow = "string",
VpcSecurityGroupIds = new[]
{
"string",
},
},
ReplicationConfigIdentifier = "string",
ReplicationType = "string",
SourceEndpointArn = "string",
TableMappings = "string",
TargetEndpointArn = "string",
ReplicationSettings = "string",
ResourceIdentifier = "string",
StartReplication = false,
SupplementalSettings = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := dms.NewReplicationConfig(ctx, "replicationConfigResource", &dms.ReplicationConfigArgs{
ComputeConfig: &dms.ReplicationConfigComputeConfigArgs{
ReplicationSubnetGroupId: pulumi.String("string"),
AvailabilityZone: pulumi.String("string"),
DnsNameServers: pulumi.String("string"),
KmsKeyId: pulumi.String("string"),
MaxCapacityUnits: pulumi.Int(0),
MinCapacityUnits: pulumi.Int(0),
MultiAz: pulumi.Bool(false),
PreferredMaintenanceWindow: pulumi.String("string"),
VpcSecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
},
ReplicationConfigIdentifier: pulumi.String("string"),
ReplicationType: pulumi.String("string"),
SourceEndpointArn: pulumi.String("string"),
TableMappings: pulumi.String("string"),
TargetEndpointArn: pulumi.String("string"),
ReplicationSettings: pulumi.String("string"),
ResourceIdentifier: pulumi.String("string"),
StartReplication: pulumi.Bool(false),
SupplementalSettings: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var replicationConfigResource = new ReplicationConfig("replicationConfigResource", ReplicationConfigArgs.builder()
.computeConfig(ReplicationConfigComputeConfigArgs.builder()
.replicationSubnetGroupId("string")
.availabilityZone("string")
.dnsNameServers("string")
.kmsKeyId("string")
.maxCapacityUnits(0)
.minCapacityUnits(0)
.multiAz(false)
.preferredMaintenanceWindow("string")
.vpcSecurityGroupIds("string")
.build())
.replicationConfigIdentifier("string")
.replicationType("string")
.sourceEndpointArn("string")
.tableMappings("string")
.targetEndpointArn("string")
.replicationSettings("string")
.resourceIdentifier("string")
.startReplication(false)
.supplementalSettings("string")
.tags(Map.of("string", "string"))
.build());
replication_config_resource = aws.dms.ReplicationConfig("replicationConfigResource",
compute_config={
"replicationSubnetGroupId": "string",
"availabilityZone": "string",
"dnsNameServers": "string",
"kmsKeyId": "string",
"maxCapacityUnits": 0,
"minCapacityUnits": 0,
"multiAz": False,
"preferredMaintenanceWindow": "string",
"vpcSecurityGroupIds": ["string"],
},
replication_config_identifier="string",
replication_type="string",
source_endpoint_arn="string",
table_mappings="string",
target_endpoint_arn="string",
replication_settings="string",
resource_identifier="string",
start_replication=False,
supplemental_settings="string",
tags={
"string": "string",
})
const replicationConfigResource = new aws.dms.ReplicationConfig("replicationConfigResource", {
computeConfig: {
replicationSubnetGroupId: "string",
availabilityZone: "string",
dnsNameServers: "string",
kmsKeyId: "string",
maxCapacityUnits: 0,
minCapacityUnits: 0,
multiAz: false,
preferredMaintenanceWindow: "string",
vpcSecurityGroupIds: ["string"],
},
replicationConfigIdentifier: "string",
replicationType: "string",
sourceEndpointArn: "string",
tableMappings: "string",
targetEndpointArn: "string",
replicationSettings: "string",
resourceIdentifier: "string",
startReplication: false,
supplementalSettings: "string",
tags: {
string: "string",
},
});
type: aws:dms:ReplicationConfig
properties:
computeConfig:
availabilityZone: string
dnsNameServers: string
kmsKeyId: string
maxCapacityUnits: 0
minCapacityUnits: 0
multiAz: false
preferredMaintenanceWindow: string
replicationSubnetGroupId: string
vpcSecurityGroupIds:
- string
replicationConfigIdentifier: string
replicationSettings: string
replicationType: string
resourceIdentifier: string
sourceEndpointArn: string
startReplication: false
supplementalSettings: string
tableMappings: string
tags:
string: string
targetEndpointArn: string
ReplicationConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ReplicationConfig resource accepts the following input properties:
- Compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- Replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- Replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - Source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- Resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- Start
Replication bool - Whether to run or stop the serverless replication, default is false.
- Supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Compute
Config ReplicationConfig Compute Config Args - Configuration block for provisioning an DMS Serverless replication.
- Replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- Replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - Source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- Resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- Start
Replication bool - Whether to run or stop the serverless replication, default is false.
- Supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- replication
Config StringIdentifier - Unique identifier that you want to use to create the config.
- replication
Type String - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - source
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings String - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- replication
Settings String - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- resource
Identifier String - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- start
Replication Boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings String - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- start
Replication boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- compute_
config ReplicationConfig Compute Config Args - Configuration block for provisioning an DMS Serverless replication.
- replication_
config_ stridentifier - Unique identifier that you want to use to create the config.
- replication_
type str - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - source_
endpoint_ strarn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table_
mappings str - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target_
endpoint_ strarn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- replication_
settings str - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- resource_
identifier str - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- start_
replication bool - Whether to run or stop the serverless replication, default is false.
- supplemental_
settings str - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- compute
Config Property Map - Configuration block for provisioning an DMS Serverless replication.
- replication
Config StringIdentifier - Unique identifier that you want to use to create the config.
- replication
Type String - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - source
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings String - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- replication
Settings String - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- resource
Identifier String - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- start
Replication Boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings String - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReplicationConfig resource produces the following output properties:
Look up Existing ReplicationConfig Resource
Get an existing ReplicationConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReplicationConfigState, opts?: CustomResourceOptions): ReplicationConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
compute_config: Optional[ReplicationConfigComputeConfigArgs] = None,
replication_config_identifier: Optional[str] = None,
replication_settings: Optional[str] = None,
replication_type: Optional[str] = None,
resource_identifier: Optional[str] = None,
source_endpoint_arn: Optional[str] = None,
start_replication: Optional[bool] = None,
supplemental_settings: Optional[str] = None,
table_mappings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
target_endpoint_arn: Optional[str] = None) -> ReplicationConfig
func GetReplicationConfig(ctx *Context, name string, id IDInput, state *ReplicationConfigState, opts ...ResourceOption) (*ReplicationConfig, error)
public static ReplicationConfig Get(string name, Input<string> id, ReplicationConfigState? state, CustomResourceOptions? opts = null)
public static ReplicationConfig get(String name, Output<String> id, ReplicationConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- The Amazon Resource Name (ARN) for the serverless replication config.
- Compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- Replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- Replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- Replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - Resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- Source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Start
Replication bool - Whether to run or stop the serverless replication, default is false.
- Supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Dictionary<string, string>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Arn string
- The Amazon Resource Name (ARN) for the serverless replication config.
- Compute
Config ReplicationConfig Compute Config Args - Configuration block for provisioning an DMS Serverless replication.
- Replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- Replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- Replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - Resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- Source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Start
Replication bool - Whether to run or stop the serverless replication, default is false.
- Supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- Table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- map[string]string
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- arn String
- The Amazon Resource Name (ARN) for the serverless replication config.
- compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- replication
Config StringIdentifier - Unique identifier that you want to use to create the config.
- replication
Settings String - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- replication
Type String - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - resource
Identifier String - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- source
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication Boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings String - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- table
Mappings String - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Map<String,String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - target
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- arn string
- The Amazon Resource Name (ARN) for the serverless replication config.
- compute
Config ReplicationConfig Compute Config - Configuration block for provisioning an DMS Serverless replication.
- replication
Config stringIdentifier - Unique identifier that you want to use to create the config.
- replication
Settings string - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- replication
Type string - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - resource
Identifier string - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- source
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings string - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- table
Mappings string - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- {[key: string]: string}
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - target
Endpoint stringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- arn str
- The Amazon Resource Name (ARN) for the serverless replication config.
- compute_
config ReplicationConfig Compute Config Args - Configuration block for provisioning an DMS Serverless replication.
- replication_
config_ stridentifier - Unique identifier that you want to use to create the config.
- replication_
settings str - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- replication_
type str - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - resource_
identifier str - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- source_
endpoint_ strarn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start_
replication bool - Whether to run or stop the serverless replication, default is false.
- supplemental_
settings str - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- table_
mappings str - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Mapping[str, str]
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - target_
endpoint_ strarn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- arn String
- The Amazon Resource Name (ARN) for the serverless replication config.
- compute
Config Property Map - Configuration block for provisioning an DMS Serverless replication.
- replication
Config StringIdentifier - Unique identifier that you want to use to create the config.
- replication
Settings String - An escaped JSON string that are used to provision this replication configuration. For example, Change processing tuning settings
- replication
Type String - The migration type. Can be one of
full-load | cdc | full-load-and-cdc
. - resource
Identifier String - Unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see Fine-grained access control using resource names and tags
- source
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication Boolean - Whether to run or stop the serverless replication, default is false.
- supplemental
Settings String - JSON settings for specifying supplemental data. For more information see Specifying supplemental data for task settings
- table
Mappings String - An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Map<String>
- A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - target
Endpoint StringArn - The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
Supporting Types
ReplicationConfigComputeConfig, ReplicationConfigComputeConfigArgs
- Replication
Subnet stringGroup Id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- Availability
Zone string - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- Dns
Name stringServers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- Kms
Key stringId - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- Max
Capacity intUnits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- Min
Capacity intUnits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- Multi
Az bool - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - Preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- Vpc
Security List<string>Group Ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
- Replication
Subnet stringGroup Id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- Availability
Zone string - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- Dns
Name stringServers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- Kms
Key stringId - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- Max
Capacity intUnits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- Min
Capacity intUnits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- Multi
Az bool - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - Preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- Vpc
Security []stringGroup Ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
- replication
Subnet StringGroup Id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- availability
Zone String - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- dns
Name StringServers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- kms
Key StringId - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- max
Capacity IntegerUnits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- min
Capacity IntegerUnits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- multi
Az Boolean - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - preferred
Maintenance StringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- vpc
Security List<String>Group Ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
- replication
Subnet stringGroup Id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- availability
Zone string - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- dns
Name stringServers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- kms
Key stringId - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- max
Capacity numberUnits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- min
Capacity numberUnits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- multi
Az boolean - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - preferred
Maintenance stringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- vpc
Security string[]Group Ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
- replication_
subnet_ strgroup_ id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- availability_
zone str - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- dns_
name_ strservers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- kms_
key_ strid - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- max_
capacity_ intunits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- min_
capacity_ intunits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- multi_
az bool - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - preferred_
maintenance_ strwindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- vpc_
security_ Sequence[str]group_ ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
- replication
Subnet StringGroup Id - Specifies a subnet group identifier to associate with the DMS Serverless replication.
- availability
Zone String - The Availability Zone where the DMS Serverless replication using this configuration will run. The default value is a random.
- dns
Name StringServers - A list of custom DNS name servers supported for the DMS Serverless replication to access your source or target database.
- kms
Key StringId - An Key Management Service (KMS) key Amazon Resource Name (ARN) that is used to encrypt the data during DMS Serverless replication. If you don't specify a value for the KmsKeyId parameter, DMS uses your default encryption key.
- max
Capacity NumberUnits - Specifies the maximum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. A single DCU is 2GB of RAM, with 2 DCUs as the minimum value allowed. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384.
- min
Capacity NumberUnits - Specifies the minimum value of the DMS capacity units (DCUs) for which a given DMS Serverless replication can be provisioned. The list of valid DCU values includes 2, 4, 8, 16, 32, 64, 128, 192, 256, and 384. If this value isn't set DMS scans the current activity of available source tables to identify an optimum setting for this parameter.
- multi
Az Boolean - Specifies if the replication instance is a multi-az deployment. You cannot set the
availability_zone
parameter if themulti_az
parameter is set totrue
. - preferred
Maintenance StringWindow - The weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
- Default: A 30-minute window selected at random from an 8-hour block of time per region, occurring on a random day of the week.
- Format:
ddd:hh24:mi-ddd:hh24:mi
- Valid Days:
mon, tue, wed, thu, fri, sat, sun
- Constraints: Minimum 30-minute window.
- vpc
Security List<String>Group Ids - Specifies the virtual private cloud (VPC) security group to use with the DMS Serverless replication. The VPC security group must work with the VPC containing the replication.
Import
Using pulumi import
, import a replication config using the arn
. For example:
$ pulumi import aws:dms/replicationConfig:ReplicationConfig example arn:aws:dms:us-east-1:123456789012:replication-config:UX6OL6MHMMJKFFOXE3H7LLJCMEKBDUG4ZV7DRSI
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.