Skip to content

SubscriptionJob2Props

Properties for defining a SubscriptionJob2.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dts-subscriptionjob2

Initializer

import { SubscriptionJob2Props } from '@alicloud/ros-cdk-dts'
const subscriptionJob2Props: SubscriptionJob2Props = { ... }

Properties

Name Type Description
dbList @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property dbList: The objects for which you want to track data changes.
dtsJobName string | @alicloud/ros-cdk-core.IResolvable Property dtsJobName: The name of the DTS instance.
sourceEndpoint @alicloud/ros-cdk-core.IResolvable | SourceEndpointProperty Property sourceEndpoint: Source instance configuration.
subscriptionInstance @alicloud/ros-cdk-core.IResolvable | SubscriptionInstanceProperty Property subscriptionInstance: Subscription instance configuration.
checkpoint string | @alicloud/ros-cdk-core.IResolvable Property checkpoint: The start offset of incremental data migration or synchronization.
dedicatedClusterId string | @alicloud/ros-cdk-core.IResolvable Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.
delayNotice boolean | @alicloud/ros-cdk-core.IResolvable Property delayNotice: Specifies whether to monitor the task latency.
delayPhone string | @alicloud/ros-cdk-core.IResolvable Property delayPhone: The mobile numbers that receive latency-related alerts.
delayRuleTime number | @alicloud/ros-cdk-core.IResolvable Property delayRuleTime: The threshold for latency alerts.
destPrimaryVswId string | @alicloud/ros-cdk-core.IResolvable Property destPrimaryVswId: The primary VSW ID at the destination end of the VPC NAT.
destSecondaryVswId string | @alicloud/ros-cdk-core.IResolvable Property destSecondaryVswId: The secondary VSW ID at the destination end of the VPC NAT.
dtsBisLabel string | @alicloud/ros-cdk-core.IResolvable Property dtsBisLabel: The environment tag of the DTS instance.
dtsInstanceId string | @alicloud/ros-cdk-core.IResolvable Property dtsInstanceId: The ID of the DTS instance.
dtsJobId string | @alicloud/ros-cdk-core.IResolvable Property dtsJobId: The ID of the DTS task.
errorNotice boolean | @alicloud/ros-cdk-core.IResolvable Property errorNotice: Specifies whether to monitor the task status.
errorPhone string | @alicloud/ros-cdk-core.IResolvable Property errorPhone: The mobile numbers that receive status-related alerts.
maxDu number | @alicloud/ros-cdk-core.IResolvable Property maxDu: The DU upper limit of the Serverless instance, with values being: 2, 4, 8, 16.
minDu number | @alicloud/ros-cdk-core.IResolvable Property minDu: The lower limit of DU for Serverless instances, with values being: 1, 2, 4, 8, 16.
reserve @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} Property reserve: The reserved parameter of DTS.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ID of the resource group.
srcPrimaryVswId string | @alicloud/ros-cdk-core.IResolvable Property srcPrimaryVswId: The primary VSW ID at the source end of the VPC NAT.
srcSecondaryVswId string | @alicloud/ros-cdk-core.IResolvable Property srcSecondaryVswId: The secondary VSW ID at the source end of the VPC NAT.
status string | @alicloud/ros-cdk-core.IResolvable Property status: The status of the resource.
subscriptionDataType @alicloud/ros-cdk-core.IResolvable | SubscriptionDataTypeProperty Property subscriptionDataType: Subscription data type.

dbListRequired

public readonly dbList: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property dbList: The objects for which you want to track data changes.


dtsJobNameRequired

public readonly dtsJobName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dtsJobName: The name of the DTS instance.


sourceEndpointRequired

public readonly sourceEndpoint: IResolvable | SourceEndpointProperty;

Property sourceEndpoint: Source instance configuration.


subscriptionInstanceRequired

public readonly subscriptionInstance: IResolvable | SubscriptionInstanceProperty;

Property subscriptionInstance: Subscription instance configuration.


checkpointOptional

public readonly checkpoint: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property checkpoint: The start offset of incremental data migration or synchronization.

This value is a UNIX timestamp representing the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC.


dedicatedClusterIdOptional

public readonly dedicatedClusterId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dedicatedClusterId: The ID of the DTS dedicated cluster on which the task runs.


delayNoticeOptional

public readonly delayNotice: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property delayNotice: Specifies whether to monitor the task latency.

Valid values: true and false


delayPhoneOptional

public readonly delayPhone: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property delayPhone: The mobile numbers that receive latency-related alerts.

Separate multiple mobile numbers with commas (,). You can specify up to 10 mobile numbers. Note: You can also configure alert rules for DTS tasks in the CloudMonitor console.This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers.


delayRuleTimeOptional

public readonly delayRuleTime: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property delayRuleTime: The threshold for latency alerts.

Unit: seconds. The value must be an integer. You can set the threshold based on your business requirements. To prevent unstable latency caused by network and database overloads, we recommend that you set the threshold to more than 10 seconds.

If DelayNotice is set to true, this parameter is required.


destPrimaryVswIdOptional

public readonly destPrimaryVswId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property destPrimaryVswId: The primary VSW ID at the destination end of the VPC NAT.


destSecondaryVswIdOptional

public readonly destSecondaryVswId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property destSecondaryVswId: The secondary VSW ID at the destination end of the VPC NAT.


dtsBisLabelOptional

public readonly dtsBisLabel: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dtsBisLabel: The environment tag of the DTS instance.

Valid values: normal and online.


dtsInstanceIdOptional

public readonly dtsInstanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dtsInstanceId: The ID of the DTS instance.


dtsJobIdOptional

public readonly dtsJobId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property dtsJobId: The ID of the DTS task.


errorNoticeOptional

public readonly errorNotice: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property errorNotice: Specifies whether to monitor the task status.

Valid values: true and false.


errorPhoneOptional

public readonly errorPhone: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property errorPhone: The mobile numbers that receive status-related alerts.

Separate multiple mobile numbers with commas (,). You can specify up to 10 mobile numbers. Note: You can also configure alert rules for DTS tasks in the CloudMonitor console.This parameter is available only for users of the China site (aliyun.com). Only mobile numbers in the Chinese mainland are supported. Users of the international site (alibabacloud.com) cannot receive alerts by using mobile numbers.


maxDuOptional

public readonly maxDu: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property maxDu: The DU upper limit of the Serverless instance, with values being: 2, 4, 8, 16.

Currently, this feature is not supported, please do not pass in parameters.


minDuOptional

public readonly minDu: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property minDu: The lower limit of DU for Serverless instances, with values being: 1, 2, 4, 8, 16.

This feature is currently not supported, please do not pass in parameters.


reserveOptional

public readonly reserve: IResolvable | {[ key: string ]: any};
  • Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}

Property reserve: The reserved parameter of DTS.

The value is a JSON string. You can specify this parameter to add more configurations of the source or destination instance to the DTS task. For example, you can specify the data storage format of the destination Kafka database and the CEN instance ID.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ID of the resource group.


srcPrimaryVswIdOptional

public readonly srcPrimaryVswId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property srcPrimaryVswId: The primary VSW ID at the source end of the VPC NAT.


srcSecondaryVswIdOptional

public readonly srcSecondaryVswId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property srcSecondaryVswId: The secondary VSW ID at the source end of the VPC NAT.


statusOptional

public readonly status: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property status: The status of the resource.

Valid values: - Subscribing: Start the task. - Suspending: Suspend the task. - Stopping: Stop the task.


subscriptionDataTypeOptional

public readonly subscriptionDataType: IResolvable | SubscriptionDataTypeProperty;

Property subscriptionDataType: Subscription data type.