@awboost/cfn-resource-types 0.1.175 → 0.1.176
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
6
|
+
*/
|
|
7
|
+
export type DMSDataMigrationProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* The property describes an ARN of the data migration.
|
|
10
|
+
* @minLength `1`
|
|
11
|
+
* @maxLength `300`
|
|
12
|
+
*/
|
|
13
|
+
DataMigrationIdentifier?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The property describes a name to identify the data migration.
|
|
16
|
+
* @minLength `1`
|
|
17
|
+
* @maxLength `300`
|
|
18
|
+
*/
|
|
19
|
+
DataMigrationName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The property describes the settings for the data migration.
|
|
22
|
+
*/
|
|
23
|
+
DataMigrationSettings?: DataMigrationSettings;
|
|
24
|
+
/**
|
|
25
|
+
* The property describes the type of migration.
|
|
26
|
+
*/
|
|
27
|
+
DataMigrationType: "full-load" | "cdc" | "full-load-and-cdc";
|
|
28
|
+
/**
|
|
29
|
+
* The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arn
|
|
30
|
+
* @minLength `1`
|
|
31
|
+
* @maxLength `255`
|
|
32
|
+
*/
|
|
33
|
+
MigrationProjectIdentifier: string;
|
|
34
|
+
/**
|
|
35
|
+
* The property describes Amazon Resource Name (ARN) of the service access role.
|
|
36
|
+
* @minLength `1`
|
|
37
|
+
* @maxLength `300`
|
|
38
|
+
*/
|
|
39
|
+
ServiceAccessRoleArn: string;
|
|
40
|
+
/**
|
|
41
|
+
* The property describes the settings for the data migration.
|
|
42
|
+
*/
|
|
43
|
+
SourceDataSettings?: SourceDataSettings[];
|
|
44
|
+
/**
|
|
45
|
+
* An array of key-value pairs to apply to this resource.
|
|
46
|
+
*/
|
|
47
|
+
Tags?: Tag[];
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Attribute type definition for `AWS::DMS::DataMigration`.
|
|
51
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#aws-resource-dms-datamigration-return-values}
|
|
52
|
+
*/
|
|
53
|
+
export type DMSDataMigrationAttributes = {
|
|
54
|
+
/**
|
|
55
|
+
* The property describes an ARN of the data migration.
|
|
56
|
+
* @minLength `1`
|
|
57
|
+
* @maxLength `300`
|
|
58
|
+
*/
|
|
59
|
+
DataMigrationArn: string;
|
|
60
|
+
/**
|
|
61
|
+
* The property describes the create time of the data migration.
|
|
62
|
+
* @minLength `1`
|
|
63
|
+
* @maxLength `40`
|
|
64
|
+
*/
|
|
65
|
+
DataMigrationCreateTime: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Type definition for `AWS::DMS::DataMigration.DataMigrationSettings`.
|
|
69
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html}
|
|
70
|
+
*/
|
|
71
|
+
export type DataMigrationSettings = {
|
|
72
|
+
/**
|
|
73
|
+
* The property specifies whether to enable the Cloudwatch log.
|
|
74
|
+
*/
|
|
75
|
+
CloudwatchLogsEnabled?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
|
|
78
|
+
* @min `1`
|
|
79
|
+
* @max `50`
|
|
80
|
+
*/
|
|
81
|
+
NumberOfJobs?: number;
|
|
82
|
+
/**
|
|
83
|
+
* The property specifies the rules of selecting objects for data migration.
|
|
84
|
+
*/
|
|
85
|
+
SelectionRules?: string;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::DMS::DataMigration.SourceDataSettings`.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html}
|
|
90
|
+
*/
|
|
91
|
+
export type SourceDataSettings = {
|
|
92
|
+
/**
|
|
93
|
+
* The property is a point in the database engine's log that defines a time where you can begin CDC.
|
|
94
|
+
* @maxLength `40`
|
|
95
|
+
*/
|
|
96
|
+
CDCStartPosition?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The property indicates the start time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
99
|
+
* @maxLength `40`
|
|
100
|
+
*/
|
|
101
|
+
CDCStartTime?: string;
|
|
102
|
+
/**
|
|
103
|
+
* The property indicates the stop time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
104
|
+
* @maxLength `40`
|
|
105
|
+
*/
|
|
106
|
+
CDCStopTime?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.
|
|
109
|
+
* @maxLength `255`
|
|
110
|
+
*/
|
|
111
|
+
SlotName?: string;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Type definition for `AWS::DMS::DataMigration.Tag`.
|
|
115
|
+
* A key-value pair to associate with a resource.
|
|
116
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-tag.html}
|
|
117
|
+
*/
|
|
118
|
+
export type Tag = {
|
|
119
|
+
/**
|
|
120
|
+
* The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
121
|
+
* @minLength `1`
|
|
122
|
+
* @maxLength `128`
|
|
123
|
+
*/
|
|
124
|
+
Key: string;
|
|
125
|
+
/**
|
|
126
|
+
* The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
|
|
127
|
+
* @minLength `0`
|
|
128
|
+
* @maxLength `256`
|
|
129
|
+
*/
|
|
130
|
+
Value: string;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
134
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
135
|
+
*/
|
|
136
|
+
export declare class DMSDataMigration extends $Resource<"AWS::DMS::DataMigration", DMSDataMigrationProperties, DMSDataMigrationAttributes> {
|
|
137
|
+
static readonly Type = "AWS::DMS::DataMigration";
|
|
138
|
+
constructor(logicalId: string, properties: DMSDataMigrationProperties, options?: $ResourceOptions);
|
|
139
|
+
}
|
|
140
|
+
//# sourceMappingURL=AWS-DMS-DataMigration.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* Resource schema for AWS::DMS::DataMigration.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html}
|
|
5
|
+
*/
|
|
6
|
+
export class DMSDataMigration extends $Resource {
|
|
7
|
+
static Type = "AWS::DMS::DataMigration";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, DMSDataMigration.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-DMS-DataMigration.js.map
|