Class CfnDataMigration
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.dms.CfnDataMigration
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:29.199Z")
@Stability(Stable)
public class CfnDataMigration
extends CfnResource
implements IInspectable, ITaggableV2
This object provides information about a AWS DMS data migration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.dms.*; CfnDataMigration cfnDataMigration = CfnDataMigration.Builder.create(this, "MyCfnDataMigration") .dataMigrationType("dataMigrationType") .migrationProjectIdentifier("migrationProjectIdentifier") .serviceAccessRoleArn("serviceAccessRoleArn") // the properties below are optional .dataMigrationIdentifier("dataMigrationIdentifier") .dataMigrationName("dataMigrationName") .dataMigrationSettings(DataMigrationSettingsProperty.builder() .cloudwatchLogsEnabled(false) .numberOfJobs(123) .selectionRules("selectionRules") .build()) .sourceDataSettings(List.of(SourceDataSettingsProperty.builder() .cdcStartPosition("cdcStartPosition") .cdcStartTime("cdcStartTime") .cdcStopTime("cdcStopTime") .slotName("slotName") .build())) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnDataMigration
.static interface
Options for configuring a data migration, including whether to enable CloudWatch logs, and the selection rules to use to include or exclude database objects from the migration.static interface
Example:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnDataMigration
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnDataMigration
(software.amazon.jsii.JsiiObjectRef objRef) CfnDataMigration
(software.constructs.Construct scope, String id, CfnDataMigrationProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) that identifies this replication.The UTC time when DMS created the data migration.Tag Manager which manages the tags for this resource.The property describes an ARN of the data migration.The user-friendly name for the data migration.Specifies CloudWatch settings and selection rules for the data migration.Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.The property describes an identifier for the migration project.The IAM role that the data migration uses to access AWS resources.Specifies information about the data migration's source data provider.getTags()
An array of key-value pairs to apply to this resource.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDataMigrationIdentifier
(String value) The property describes an ARN of the data migration.void
setDataMigrationName
(String value) The user-friendly name for the data migration.void
Specifies CloudWatch settings and selection rules for the data migration.void
Specifies CloudWatch settings and selection rules for the data migration.void
setDataMigrationType
(String value) Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.void
The property describes an identifier for the migration project.void
setServiceAccessRoleArn
(String value) The IAM role that the data migration uses to access AWS resources.void
setSourceDataSettings
(List<Object> value) Specifies information about the data migration's source data provider.void
setSourceDataSettings
(IResolvable value) Specifies information about the data migration's source data provider.void
An array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDataMigration
protected CfnDataMigration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDataMigration
protected CfnDataMigration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDataMigration
@Stability(Stable) public CfnDataMigration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDataMigrationProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrDataMigrationArn
The Amazon Resource Name (ARN) that identifies this replication. -
getAttrDataMigrationCreateTime
The UTC time when DMS created the data migration. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getDataMigrationType
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC. -
setDataMigrationType
Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC. -
getMigrationProjectIdentifier
The property describes an identifier for the migration project. -
setMigrationProjectIdentifier
The property describes an identifier for the migration project. -
getServiceAccessRoleArn
The IAM role that the data migration uses to access AWS resources. -
setServiceAccessRoleArn
The IAM role that the data migration uses to access AWS resources. -
getDataMigrationIdentifier
The property describes an ARN of the data migration. -
setDataMigrationIdentifier
The property describes an ARN of the data migration. -
getDataMigrationName
The user-friendly name for the data migration. -
setDataMigrationName
The user-friendly name for the data migration. -
getDataMigrationSettings
Specifies CloudWatch settings and selection rules for the data migration. -
setDataMigrationSettings
Specifies CloudWatch settings and selection rules for the data migration. -
setDataMigrationSettings
@Stability(Stable) public void setDataMigrationSettings(@Nullable CfnDataMigration.DataMigrationSettingsProperty value) Specifies CloudWatch settings and selection rules for the data migration. -
getSourceDataSettings
Specifies information about the data migration's source data provider. -
setSourceDataSettings
Specifies information about the data migration's source data provider. -
setSourceDataSettings
Specifies information about the data migration's source data provider. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-