CfnDataMigrationProps
- class aws_cdk.aws_dms.CfnDataMigrationProps(*, data_migration_type, migration_project_identifier, service_access_role_arn, data_migration_identifier=None, data_migration_name=None, data_migration_settings=None, source_data_settings=None, tags=None)
Bases:
object
Properties for defining a
CfnDataMigration
.- Parameters:
data_migration_type (
str
) – Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.migration_project_identifier (
str
) – The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arnservice_access_role_arn (
str
) – The IAM role that the data migration uses to access AWS resources.data_migration_identifier (
Optional
[str
]) – The property describes an ARN of the data migration.data_migration_name (
Optional
[str
]) – The user-friendly name for the data migration.data_migration_settings (
Union
[IResolvable
,DataMigrationSettingsProperty
,Dict
[str
,Any
],None
]) – Specifies CloudWatch settings and selection rules for the data migration.source_data_settings (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,SourceDataSettingsProperty
,Dict
[str
,Any
]]],None
]) – Specifies information about the data migration’s source data provider.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – An array of key-value pairs to apply to this resource.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_dms as dms cfn_data_migration_props = dms.CfnDataMigrationProps( data_migration_type="dataMigrationType", migration_project_identifier="migrationProjectIdentifier", service_access_role_arn="serviceAccessRoleArn", # the properties below are optional data_migration_identifier="dataMigrationIdentifier", data_migration_name="dataMigrationName", data_migration_settings=dms.CfnDataMigration.DataMigrationSettingsProperty( cloudwatch_logs_enabled=False, number_of_jobs=123, selection_rules="selectionRules" ), source_data_settings=[dms.CfnDataMigration.SourceDataSettingsProperty( cdc_start_position="cdcStartPosition", cdc_start_time="cdcStartTime", cdc_stop_time="cdcStopTime", slot_name="slotName" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- data_migration_identifier
The property describes an ARN of the data migration.
- data_migration_name
The user-friendly name for the data migration.
- data_migration_settings
Specifies CloudWatch settings and selection rules for the data migration.
- data_migration_type
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
- migration_project_identifier
The property describes an identifier for the migration project.
It is used for describing/deleting/modifying can be name/arn
- service_access_role_arn
The IAM role that the data migration uses to access AWS resources.
- source_data_settings
Specifies information about the data migration’s source data provider.
- tags
An array of key-value pairs to apply to this resource.