aws-cdk-lib 2.165.0__py3-none-any.whl → 2.167.0__py3-none-any.whl
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.
Potentially problematic release.
This version of aws-cdk-lib might be problematic. Click here for more details.
- aws_cdk/__init__.py +1 -1
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.165.0.jsii.tgz → aws-cdk-lib@2.167.0.jsii.tgz} +0 -0
- aws_cdk/aws_apigateway/__init__.py +9 -0
- aws_cdk/aws_appsync/__init__.py +2271 -359
- aws_cdk/aws_backup/__init__.py +57 -31
- aws_cdk/aws_bedrock/__init__.py +994 -197
- aws_cdk/aws_cleanrooms/__init__.py +66 -5
- aws_cdk/aws_cloudfront/__init__.py +21 -3
- aws_cdk/aws_cloudfront/experimental/__init__.py +3 -3
- aws_cdk/aws_codebuild/__init__.py +59 -29
- aws_cdk/aws_codepipeline/__init__.py +98 -5
- aws_cdk/aws_codestar/__init__.py +1 -1
- aws_cdk/aws_cognito/__init__.py +0 -8
- aws_cdk/aws_connect/__init__.py +1 -1
- aws_cdk/aws_datasync/__init__.py +60 -7
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_dms/__init__.py +762 -0
- aws_cdk/aws_dynamodb/__init__.py +13 -8
- aws_cdk/aws_ec2/__init__.py +316 -11
- aws_cdk/aws_ecs/__init__.py +20 -7
- aws_cdk/aws_elasticache/__init__.py +16 -9
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +73 -46
- aws_cdk/aws_emrserverless/__init__.py +35 -33
- aws_cdk/aws_events/__init__.py +25 -30
- aws_cdk/aws_gamelift/__init__.py +52 -40
- aws_cdk/aws_inspectorv2/__init__.py +6 -12
- aws_cdk/aws_kinesis/__init__.py +297 -1
- aws_cdk/aws_kms/__init__.py +2 -0
- aws_cdk/aws_lambda/__init__.py +339 -22
- aws_cdk/aws_lambda_nodejs/__init__.py +3 -3
- aws_cdk/aws_logs/__init__.py +214 -0
- aws_cdk/aws_m2/__init__.py +58 -58
- aws_cdk/aws_mediapackagev2/__init__.py +191 -0
- aws_cdk/aws_networkfirewall/__init__.py +14 -5
- aws_cdk/aws_nimblestudio/__init__.py +6 -103
- aws_cdk/aws_opensearchservice/__init__.py +969 -0
- aws_cdk/aws_pipes/__init__.py +1 -1
- aws_cdk/aws_qbusiness/__init__.py +2 -0
- aws_cdk/aws_quicksight/__init__.py +481 -10
- aws_cdk/aws_rds/__init__.py +667 -16
- aws_cdk/aws_route53/__init__.py +38 -12
- aws_cdk/aws_s3_assets/__init__.py +37 -0
- aws_cdk/aws_s3_deployment/__init__.py +18 -7
- aws_cdk/aws_sagemaker/__init__.py +61 -25
- aws_cdk/aws_secretsmanager/__init__.py +2 -1
- aws_cdk/aws_servicecatalog/__init__.py +52 -4
- aws_cdk/aws_ses/__init__.py +22 -1
- aws_cdk/aws_sqs/__init__.py +12 -9
- aws_cdk/aws_stepfunctions/__init__.py +8 -0
- aws_cdk/aws_synthetics/__init__.py +133 -1
- aws_cdk/aws_timestream/__init__.py +41 -0
- aws_cdk/aws_wisdom/__init__.py +2348 -54
- aws_cdk/triggers/__init__.py +3 -3
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/RECORD +60 -60
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/WHEEL +1 -1
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.165.0.dist-info → aws_cdk_lib-2.167.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_dms/__init__.py
CHANGED
|
@@ -300,6 +300,657 @@ class CfnCertificateProps:
|
|
|
300
300
|
)
|
|
301
301
|
|
|
302
302
|
|
|
303
|
+
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
304
|
+
class CfnDataMigration(
|
|
305
|
+
_CfnResource_9df397a6,
|
|
306
|
+
metaclass=jsii.JSIIMeta,
|
|
307
|
+
jsii_type="aws-cdk-lib.aws_dms.CfnDataMigration",
|
|
308
|
+
):
|
|
309
|
+
'''This object provides information about a AWS DMS data migration.
|
|
310
|
+
|
|
311
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html
|
|
312
|
+
:cloudformationResource: AWS::DMS::DataMigration
|
|
313
|
+
:exampleMetadata: fixture=_generated
|
|
314
|
+
|
|
315
|
+
Example::
|
|
316
|
+
|
|
317
|
+
# The code below shows an example of how to instantiate this type.
|
|
318
|
+
# The values are placeholders you should change.
|
|
319
|
+
from aws_cdk import aws_dms as dms
|
|
320
|
+
|
|
321
|
+
cfn_data_migration = dms.CfnDataMigration(self, "MyCfnDataMigration",
|
|
322
|
+
data_migration_type="dataMigrationType",
|
|
323
|
+
migration_project_identifier="migrationProjectIdentifier",
|
|
324
|
+
service_access_role_arn="serviceAccessRoleArn",
|
|
325
|
+
|
|
326
|
+
# the properties below are optional
|
|
327
|
+
data_migration_identifier="dataMigrationIdentifier",
|
|
328
|
+
data_migration_name="dataMigrationName",
|
|
329
|
+
data_migration_settings=dms.CfnDataMigration.DataMigrationSettingsProperty(
|
|
330
|
+
cloudwatch_logs_enabled=False,
|
|
331
|
+
number_of_jobs=123,
|
|
332
|
+
selection_rules="selectionRules"
|
|
333
|
+
),
|
|
334
|
+
source_data_settings=[dms.CfnDataMigration.SourceDataSettingsProperty(
|
|
335
|
+
cdc_start_position="cdcStartPosition",
|
|
336
|
+
cdc_start_time="cdcStartTime",
|
|
337
|
+
cdc_stop_time="cdcStopTime",
|
|
338
|
+
slot_name="slotName"
|
|
339
|
+
)],
|
|
340
|
+
tags=[CfnTag(
|
|
341
|
+
key="key",
|
|
342
|
+
value="value"
|
|
343
|
+
)]
|
|
344
|
+
)
|
|
345
|
+
'''
|
|
346
|
+
|
|
347
|
+
def __init__(
|
|
348
|
+
self,
|
|
349
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
350
|
+
id: builtins.str,
|
|
351
|
+
*,
|
|
352
|
+
data_migration_type: builtins.str,
|
|
353
|
+
migration_project_identifier: builtins.str,
|
|
354
|
+
service_access_role_arn: builtins.str,
|
|
355
|
+
data_migration_identifier: typing.Optional[builtins.str] = None,
|
|
356
|
+
data_migration_name: typing.Optional[builtins.str] = None,
|
|
357
|
+
data_migration_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataMigration.DataMigrationSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
358
|
+
source_data_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataMigration.SourceDataSettingsProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
359
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
360
|
+
) -> None:
|
|
361
|
+
'''
|
|
362
|
+
:param scope: Scope in which this resource is defined.
|
|
363
|
+
:param id: Construct identifier for this resource (unique in its scope).
|
|
364
|
+
:param data_migration_type: Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
|
|
365
|
+
:param migration_project_identifier: The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arn
|
|
366
|
+
:param service_access_role_arn: The IAM role that the data migration uses to access AWS resources.
|
|
367
|
+
:param data_migration_identifier: The property describes an ARN of the data migration.
|
|
368
|
+
:param data_migration_name: The user-friendly name for the data migration.
|
|
369
|
+
:param data_migration_settings: Specifies CloudWatch settings and selection rules for the data migration.
|
|
370
|
+
:param source_data_settings: Specifies information about the data migration's source data provider.
|
|
371
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
372
|
+
'''
|
|
373
|
+
if __debug__:
|
|
374
|
+
type_hints = typing.get_type_hints(_typecheckingstub__64c0e21ad134546b496f96ef4ca0fab25a87ff24faf22f3329fac7bdace07c4b)
|
|
375
|
+
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
376
|
+
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
377
|
+
props = CfnDataMigrationProps(
|
|
378
|
+
data_migration_type=data_migration_type,
|
|
379
|
+
migration_project_identifier=migration_project_identifier,
|
|
380
|
+
service_access_role_arn=service_access_role_arn,
|
|
381
|
+
data_migration_identifier=data_migration_identifier,
|
|
382
|
+
data_migration_name=data_migration_name,
|
|
383
|
+
data_migration_settings=data_migration_settings,
|
|
384
|
+
source_data_settings=source_data_settings,
|
|
385
|
+
tags=tags,
|
|
386
|
+
)
|
|
387
|
+
|
|
388
|
+
jsii.create(self.__class__, self, [scope, id, props])
|
|
389
|
+
|
|
390
|
+
@jsii.member(jsii_name="inspect")
|
|
391
|
+
def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
|
|
392
|
+
'''Examines the CloudFormation resource and discloses attributes.
|
|
393
|
+
|
|
394
|
+
:param inspector: tree inspector to collect and process attributes.
|
|
395
|
+
'''
|
|
396
|
+
if __debug__:
|
|
397
|
+
type_hints = typing.get_type_hints(_typecheckingstub__279de1151f163cf559e12c46cb6e613ca074cda536a270ae301f5355d87f74e2)
|
|
398
|
+
check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
|
|
399
|
+
return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
|
|
400
|
+
|
|
401
|
+
@jsii.member(jsii_name="renderProperties")
|
|
402
|
+
def _render_properties(
|
|
403
|
+
self,
|
|
404
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
405
|
+
) -> typing.Mapping[builtins.str, typing.Any]:
|
|
406
|
+
'''
|
|
407
|
+
:param props: -
|
|
408
|
+
'''
|
|
409
|
+
if __debug__:
|
|
410
|
+
type_hints = typing.get_type_hints(_typecheckingstub__de8453c93346b45e1168da2a110b2d36f1cb199d80f946dfed013b1dd692c0eb)
|
|
411
|
+
check_type(argname="argument props", value=props, expected_type=type_hints["props"])
|
|
412
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
|
|
413
|
+
|
|
414
|
+
@jsii.python.classproperty
|
|
415
|
+
@jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
|
|
416
|
+
def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
|
|
417
|
+
'''The CloudFormation resource type name for this resource class.'''
|
|
418
|
+
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
419
|
+
|
|
420
|
+
@builtins.property
|
|
421
|
+
@jsii.member(jsii_name="attrDataMigrationArn")
|
|
422
|
+
def attr_data_migration_arn(self) -> builtins.str:
|
|
423
|
+
'''The Amazon Resource Name (ARN) that identifies this replication.
|
|
424
|
+
|
|
425
|
+
:cloudformationAttribute: DataMigrationArn
|
|
426
|
+
'''
|
|
427
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDataMigrationArn"))
|
|
428
|
+
|
|
429
|
+
@builtins.property
|
|
430
|
+
@jsii.member(jsii_name="attrDataMigrationCreateTime")
|
|
431
|
+
def attr_data_migration_create_time(self) -> builtins.str:
|
|
432
|
+
'''The UTC time when DMS created the data migration.
|
|
433
|
+
|
|
434
|
+
:cloudformationAttribute: DataMigrationCreateTime
|
|
435
|
+
'''
|
|
436
|
+
return typing.cast(builtins.str, jsii.get(self, "attrDataMigrationCreateTime"))
|
|
437
|
+
|
|
438
|
+
@builtins.property
|
|
439
|
+
@jsii.member(jsii_name="cdkTagManager")
|
|
440
|
+
def cdk_tag_manager(self) -> _TagManager_0a598cb3:
|
|
441
|
+
'''Tag Manager which manages the tags for this resource.'''
|
|
442
|
+
return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
|
|
443
|
+
|
|
444
|
+
@builtins.property
|
|
445
|
+
@jsii.member(jsii_name="cfnProperties")
|
|
446
|
+
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
447
|
+
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
448
|
+
|
|
449
|
+
@builtins.property
|
|
450
|
+
@jsii.member(jsii_name="dataMigrationType")
|
|
451
|
+
def data_migration_type(self) -> builtins.str:
|
|
452
|
+
'''Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.'''
|
|
453
|
+
return typing.cast(builtins.str, jsii.get(self, "dataMigrationType"))
|
|
454
|
+
|
|
455
|
+
@data_migration_type.setter
|
|
456
|
+
def data_migration_type(self, value: builtins.str) -> None:
|
|
457
|
+
if __debug__:
|
|
458
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6cdebd761d31ff46846d302632c429aafce15c69a5ad8d78b96b27ba2f41038a)
|
|
459
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
460
|
+
jsii.set(self, "dataMigrationType", value) # pyright: ignore[reportArgumentType]
|
|
461
|
+
|
|
462
|
+
@builtins.property
|
|
463
|
+
@jsii.member(jsii_name="migrationProjectIdentifier")
|
|
464
|
+
def migration_project_identifier(self) -> builtins.str:
|
|
465
|
+
'''The property describes an identifier for the migration project.'''
|
|
466
|
+
return typing.cast(builtins.str, jsii.get(self, "migrationProjectIdentifier"))
|
|
467
|
+
|
|
468
|
+
@migration_project_identifier.setter
|
|
469
|
+
def migration_project_identifier(self, value: builtins.str) -> None:
|
|
470
|
+
if __debug__:
|
|
471
|
+
type_hints = typing.get_type_hints(_typecheckingstub__44914c399a38a9059efa76909781ca93097615e91f3a98ea6b3486083d638b08)
|
|
472
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
473
|
+
jsii.set(self, "migrationProjectIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
474
|
+
|
|
475
|
+
@builtins.property
|
|
476
|
+
@jsii.member(jsii_name="serviceAccessRoleArn")
|
|
477
|
+
def service_access_role_arn(self) -> builtins.str:
|
|
478
|
+
'''The IAM role that the data migration uses to access AWS resources.'''
|
|
479
|
+
return typing.cast(builtins.str, jsii.get(self, "serviceAccessRoleArn"))
|
|
480
|
+
|
|
481
|
+
@service_access_role_arn.setter
|
|
482
|
+
def service_access_role_arn(self, value: builtins.str) -> None:
|
|
483
|
+
if __debug__:
|
|
484
|
+
type_hints = typing.get_type_hints(_typecheckingstub__381af8ebd4cb1bd29bbaab5eafd72e9317efe30e27c1dbe7c79fb9e7589ddf8b)
|
|
485
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
486
|
+
jsii.set(self, "serviceAccessRoleArn", value) # pyright: ignore[reportArgumentType]
|
|
487
|
+
|
|
488
|
+
@builtins.property
|
|
489
|
+
@jsii.member(jsii_name="dataMigrationIdentifier")
|
|
490
|
+
def data_migration_identifier(self) -> typing.Optional[builtins.str]:
|
|
491
|
+
'''The property describes an ARN of the data migration.'''
|
|
492
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataMigrationIdentifier"))
|
|
493
|
+
|
|
494
|
+
@data_migration_identifier.setter
|
|
495
|
+
def data_migration_identifier(self, value: typing.Optional[builtins.str]) -> None:
|
|
496
|
+
if __debug__:
|
|
497
|
+
type_hints = typing.get_type_hints(_typecheckingstub__6a0dc7f9305f39d73b3f3a7fef7bd2632ccbc6cdee7988cf93286428a95d9cb1)
|
|
498
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
499
|
+
jsii.set(self, "dataMigrationIdentifier", value) # pyright: ignore[reportArgumentType]
|
|
500
|
+
|
|
501
|
+
@builtins.property
|
|
502
|
+
@jsii.member(jsii_name="dataMigrationName")
|
|
503
|
+
def data_migration_name(self) -> typing.Optional[builtins.str]:
|
|
504
|
+
'''The user-friendly name for the data migration.'''
|
|
505
|
+
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataMigrationName"))
|
|
506
|
+
|
|
507
|
+
@data_migration_name.setter
|
|
508
|
+
def data_migration_name(self, value: typing.Optional[builtins.str]) -> None:
|
|
509
|
+
if __debug__:
|
|
510
|
+
type_hints = typing.get_type_hints(_typecheckingstub__566d6dd37c139912bd32866d690cf487a5cd9524fc363cf6f596508077bb07b2)
|
|
511
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
512
|
+
jsii.set(self, "dataMigrationName", value) # pyright: ignore[reportArgumentType]
|
|
513
|
+
|
|
514
|
+
@builtins.property
|
|
515
|
+
@jsii.member(jsii_name="dataMigrationSettings")
|
|
516
|
+
def data_migration_settings(
|
|
517
|
+
self,
|
|
518
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.DataMigrationSettingsProperty"]]:
|
|
519
|
+
'''Specifies CloudWatch settings and selection rules for the data migration.'''
|
|
520
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.DataMigrationSettingsProperty"]], jsii.get(self, "dataMigrationSettings"))
|
|
521
|
+
|
|
522
|
+
@data_migration_settings.setter
|
|
523
|
+
def data_migration_settings(
|
|
524
|
+
self,
|
|
525
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.DataMigrationSettingsProperty"]],
|
|
526
|
+
) -> None:
|
|
527
|
+
if __debug__:
|
|
528
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8963c8356a27c7982ca33e6c61a728ed5628c22df8d37124d8007103f7a2e57f)
|
|
529
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
530
|
+
jsii.set(self, "dataMigrationSettings", value) # pyright: ignore[reportArgumentType]
|
|
531
|
+
|
|
532
|
+
@builtins.property
|
|
533
|
+
@jsii.member(jsii_name="sourceDataSettings")
|
|
534
|
+
def source_data_settings(
|
|
535
|
+
self,
|
|
536
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.SourceDataSettingsProperty"]]]]:
|
|
537
|
+
'''Specifies information about the data migration's source data provider.'''
|
|
538
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.SourceDataSettingsProperty"]]]], jsii.get(self, "sourceDataSettings"))
|
|
539
|
+
|
|
540
|
+
@source_data_settings.setter
|
|
541
|
+
def source_data_settings(
|
|
542
|
+
self,
|
|
543
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnDataMigration.SourceDataSettingsProperty"]]]],
|
|
544
|
+
) -> None:
|
|
545
|
+
if __debug__:
|
|
546
|
+
type_hints = typing.get_type_hints(_typecheckingstub__8edddc5cd2d125d456740b8fb13a6358f11fe2a40c4307f5c82a16f3ccf8a0b7)
|
|
547
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
548
|
+
jsii.set(self, "sourceDataSettings", value) # pyright: ignore[reportArgumentType]
|
|
549
|
+
|
|
550
|
+
@builtins.property
|
|
551
|
+
@jsii.member(jsii_name="tags")
|
|
552
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
553
|
+
'''An array of key-value pairs to apply to this resource.'''
|
|
554
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
|
|
555
|
+
|
|
556
|
+
@tags.setter
|
|
557
|
+
def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
|
|
558
|
+
if __debug__:
|
|
559
|
+
type_hints = typing.get_type_hints(_typecheckingstub__0950ec3898888a28762ad7e52f4cb398a8e6388944b4239f9863d6eb7a1dfbfb)
|
|
560
|
+
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
561
|
+
jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
|
|
562
|
+
|
|
563
|
+
@jsii.data_type(
|
|
564
|
+
jsii_type="aws-cdk-lib.aws_dms.CfnDataMigration.DataMigrationSettingsProperty",
|
|
565
|
+
jsii_struct_bases=[],
|
|
566
|
+
name_mapping={
|
|
567
|
+
"cloudwatch_logs_enabled": "cloudwatchLogsEnabled",
|
|
568
|
+
"number_of_jobs": "numberOfJobs",
|
|
569
|
+
"selection_rules": "selectionRules",
|
|
570
|
+
},
|
|
571
|
+
)
|
|
572
|
+
class DataMigrationSettingsProperty:
|
|
573
|
+
def __init__(
|
|
574
|
+
self,
|
|
575
|
+
*,
|
|
576
|
+
cloudwatch_logs_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
577
|
+
number_of_jobs: typing.Optional[jsii.Number] = None,
|
|
578
|
+
selection_rules: typing.Optional[builtins.str] = None,
|
|
579
|
+
) -> None:
|
|
580
|
+
'''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.
|
|
581
|
+
|
|
582
|
+
:param cloudwatch_logs_enabled: Whether to enable CloudWatch logging for the data migration.
|
|
583
|
+
:param number_of_jobs: The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
|
|
584
|
+
:param selection_rules: A JSON-formatted string that defines what objects to include and exclude from the migration.
|
|
585
|
+
|
|
586
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html
|
|
587
|
+
:exampleMetadata: fixture=_generated
|
|
588
|
+
|
|
589
|
+
Example::
|
|
590
|
+
|
|
591
|
+
# The code below shows an example of how to instantiate this type.
|
|
592
|
+
# The values are placeholders you should change.
|
|
593
|
+
from aws_cdk import aws_dms as dms
|
|
594
|
+
|
|
595
|
+
data_migration_settings_property = dms.CfnDataMigration.DataMigrationSettingsProperty(
|
|
596
|
+
cloudwatch_logs_enabled=False,
|
|
597
|
+
number_of_jobs=123,
|
|
598
|
+
selection_rules="selectionRules"
|
|
599
|
+
)
|
|
600
|
+
'''
|
|
601
|
+
if __debug__:
|
|
602
|
+
type_hints = typing.get_type_hints(_typecheckingstub__5889f73c511a59df7ace53b70a41949d6168243b08773f23a8b2d9d93e8649b3)
|
|
603
|
+
check_type(argname="argument cloudwatch_logs_enabled", value=cloudwatch_logs_enabled, expected_type=type_hints["cloudwatch_logs_enabled"])
|
|
604
|
+
check_type(argname="argument number_of_jobs", value=number_of_jobs, expected_type=type_hints["number_of_jobs"])
|
|
605
|
+
check_type(argname="argument selection_rules", value=selection_rules, expected_type=type_hints["selection_rules"])
|
|
606
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
607
|
+
if cloudwatch_logs_enabled is not None:
|
|
608
|
+
self._values["cloudwatch_logs_enabled"] = cloudwatch_logs_enabled
|
|
609
|
+
if number_of_jobs is not None:
|
|
610
|
+
self._values["number_of_jobs"] = number_of_jobs
|
|
611
|
+
if selection_rules is not None:
|
|
612
|
+
self._values["selection_rules"] = selection_rules
|
|
613
|
+
|
|
614
|
+
@builtins.property
|
|
615
|
+
def cloudwatch_logs_enabled(
|
|
616
|
+
self,
|
|
617
|
+
) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
|
|
618
|
+
'''Whether to enable CloudWatch logging for the data migration.
|
|
619
|
+
|
|
620
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html#cfn-dms-datamigration-datamigrationsettings-cloudwatchlogsenabled
|
|
621
|
+
'''
|
|
622
|
+
result = self._values.get("cloudwatch_logs_enabled")
|
|
623
|
+
return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
|
|
624
|
+
|
|
625
|
+
@builtins.property
|
|
626
|
+
def number_of_jobs(self) -> typing.Optional[jsii.Number]:
|
|
627
|
+
'''The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
|
|
628
|
+
|
|
629
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html#cfn-dms-datamigration-datamigrationsettings-numberofjobs
|
|
630
|
+
'''
|
|
631
|
+
result = self._values.get("number_of_jobs")
|
|
632
|
+
return typing.cast(typing.Optional[jsii.Number], result)
|
|
633
|
+
|
|
634
|
+
@builtins.property
|
|
635
|
+
def selection_rules(self) -> typing.Optional[builtins.str]:
|
|
636
|
+
'''A JSON-formatted string that defines what objects to include and exclude from the migration.
|
|
637
|
+
|
|
638
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-datamigrationsettings.html#cfn-dms-datamigration-datamigrationsettings-selectionrules
|
|
639
|
+
'''
|
|
640
|
+
result = self._values.get("selection_rules")
|
|
641
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
642
|
+
|
|
643
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
644
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
645
|
+
|
|
646
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
647
|
+
return not (rhs == self)
|
|
648
|
+
|
|
649
|
+
def __repr__(self) -> str:
|
|
650
|
+
return "DataMigrationSettingsProperty(%s)" % ", ".join(
|
|
651
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
652
|
+
)
|
|
653
|
+
|
|
654
|
+
@jsii.data_type(
|
|
655
|
+
jsii_type="aws-cdk-lib.aws_dms.CfnDataMigration.SourceDataSettingsProperty",
|
|
656
|
+
jsii_struct_bases=[],
|
|
657
|
+
name_mapping={
|
|
658
|
+
"cdc_start_position": "cdcStartPosition",
|
|
659
|
+
"cdc_start_time": "cdcStartTime",
|
|
660
|
+
"cdc_stop_time": "cdcStopTime",
|
|
661
|
+
"slot_name": "slotName",
|
|
662
|
+
},
|
|
663
|
+
)
|
|
664
|
+
class SourceDataSettingsProperty:
|
|
665
|
+
def __init__(
|
|
666
|
+
self,
|
|
667
|
+
*,
|
|
668
|
+
cdc_start_position: typing.Optional[builtins.str] = None,
|
|
669
|
+
cdc_start_time: typing.Optional[builtins.str] = None,
|
|
670
|
+
cdc_stop_time: typing.Optional[builtins.str] = None,
|
|
671
|
+
slot_name: typing.Optional[builtins.str] = None,
|
|
672
|
+
) -> None:
|
|
673
|
+
'''
|
|
674
|
+
:param cdc_start_position: The property is a point in the database engine's log that defines a time where you can begin CDC.
|
|
675
|
+
:param cdc_start_time: The property indicates the start time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
676
|
+
:param cdc_stop_time: The property indicates the stop time for a change data capture (CDC) operation. The value is server time in UTC format.
|
|
677
|
+
:param slot_name: The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.
|
|
678
|
+
|
|
679
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html
|
|
680
|
+
:exampleMetadata: fixture=_generated
|
|
681
|
+
|
|
682
|
+
Example::
|
|
683
|
+
|
|
684
|
+
# The code below shows an example of how to instantiate this type.
|
|
685
|
+
# The values are placeholders you should change.
|
|
686
|
+
from aws_cdk import aws_dms as dms
|
|
687
|
+
|
|
688
|
+
source_data_settings_property = dms.CfnDataMigration.SourceDataSettingsProperty(
|
|
689
|
+
cdc_start_position="cdcStartPosition",
|
|
690
|
+
cdc_start_time="cdcStartTime",
|
|
691
|
+
cdc_stop_time="cdcStopTime",
|
|
692
|
+
slot_name="slotName"
|
|
693
|
+
)
|
|
694
|
+
'''
|
|
695
|
+
if __debug__:
|
|
696
|
+
type_hints = typing.get_type_hints(_typecheckingstub__db1b57aeabc331fa2a3aede2f3e4205147cbb53748fbc11debe0391a5b193133)
|
|
697
|
+
check_type(argname="argument cdc_start_position", value=cdc_start_position, expected_type=type_hints["cdc_start_position"])
|
|
698
|
+
check_type(argname="argument cdc_start_time", value=cdc_start_time, expected_type=type_hints["cdc_start_time"])
|
|
699
|
+
check_type(argname="argument cdc_stop_time", value=cdc_stop_time, expected_type=type_hints["cdc_stop_time"])
|
|
700
|
+
check_type(argname="argument slot_name", value=slot_name, expected_type=type_hints["slot_name"])
|
|
701
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
702
|
+
if cdc_start_position is not None:
|
|
703
|
+
self._values["cdc_start_position"] = cdc_start_position
|
|
704
|
+
if cdc_start_time is not None:
|
|
705
|
+
self._values["cdc_start_time"] = cdc_start_time
|
|
706
|
+
if cdc_stop_time is not None:
|
|
707
|
+
self._values["cdc_stop_time"] = cdc_stop_time
|
|
708
|
+
if slot_name is not None:
|
|
709
|
+
self._values["slot_name"] = slot_name
|
|
710
|
+
|
|
711
|
+
@builtins.property
|
|
712
|
+
def cdc_start_position(self) -> typing.Optional[builtins.str]:
|
|
713
|
+
'''The property is a point in the database engine's log that defines a time where you can begin CDC.
|
|
714
|
+
|
|
715
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html#cfn-dms-datamigration-sourcedatasettings-cdcstartposition
|
|
716
|
+
'''
|
|
717
|
+
result = self._values.get("cdc_start_position")
|
|
718
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
719
|
+
|
|
720
|
+
@builtins.property
|
|
721
|
+
def cdc_start_time(self) -> typing.Optional[builtins.str]:
|
|
722
|
+
'''The property indicates the start time for a change data capture (CDC) operation.
|
|
723
|
+
|
|
724
|
+
The value is server time in UTC format.
|
|
725
|
+
|
|
726
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html#cfn-dms-datamigration-sourcedatasettings-cdcstarttime
|
|
727
|
+
'''
|
|
728
|
+
result = self._values.get("cdc_start_time")
|
|
729
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
730
|
+
|
|
731
|
+
@builtins.property
|
|
732
|
+
def cdc_stop_time(self) -> typing.Optional[builtins.str]:
|
|
733
|
+
'''The property indicates the stop time for a change data capture (CDC) operation.
|
|
734
|
+
|
|
735
|
+
The value is server time in UTC format.
|
|
736
|
+
|
|
737
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html#cfn-dms-datamigration-sourcedatasettings-cdcstoptime
|
|
738
|
+
'''
|
|
739
|
+
result = self._values.get("cdc_stop_time")
|
|
740
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
741
|
+
|
|
742
|
+
@builtins.property
|
|
743
|
+
def slot_name(self) -> typing.Optional[builtins.str]:
|
|
744
|
+
'''The property sets the name of a previously created logical replication slot for a change data capture (CDC) load of the source instance.
|
|
745
|
+
|
|
746
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-datamigration-sourcedatasettings.html#cfn-dms-datamigration-sourcedatasettings-slotname
|
|
747
|
+
'''
|
|
748
|
+
result = self._values.get("slot_name")
|
|
749
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
750
|
+
|
|
751
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
752
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
753
|
+
|
|
754
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
755
|
+
return not (rhs == self)
|
|
756
|
+
|
|
757
|
+
def __repr__(self) -> str:
|
|
758
|
+
return "SourceDataSettingsProperty(%s)" % ", ".join(
|
|
759
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
760
|
+
)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
@jsii.data_type(
|
|
764
|
+
jsii_type="aws-cdk-lib.aws_dms.CfnDataMigrationProps",
|
|
765
|
+
jsii_struct_bases=[],
|
|
766
|
+
name_mapping={
|
|
767
|
+
"data_migration_type": "dataMigrationType",
|
|
768
|
+
"migration_project_identifier": "migrationProjectIdentifier",
|
|
769
|
+
"service_access_role_arn": "serviceAccessRoleArn",
|
|
770
|
+
"data_migration_identifier": "dataMigrationIdentifier",
|
|
771
|
+
"data_migration_name": "dataMigrationName",
|
|
772
|
+
"data_migration_settings": "dataMigrationSettings",
|
|
773
|
+
"source_data_settings": "sourceDataSettings",
|
|
774
|
+
"tags": "tags",
|
|
775
|
+
},
|
|
776
|
+
)
|
|
777
|
+
class CfnDataMigrationProps:
|
|
778
|
+
def __init__(
|
|
779
|
+
self,
|
|
780
|
+
*,
|
|
781
|
+
data_migration_type: builtins.str,
|
|
782
|
+
migration_project_identifier: builtins.str,
|
|
783
|
+
service_access_role_arn: builtins.str,
|
|
784
|
+
data_migration_identifier: typing.Optional[builtins.str] = None,
|
|
785
|
+
data_migration_name: typing.Optional[builtins.str] = None,
|
|
786
|
+
data_migration_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.DataMigrationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
787
|
+
source_data_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.SourceDataSettingsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
788
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
789
|
+
) -> None:
|
|
790
|
+
'''Properties for defining a ``CfnDataMigration``.
|
|
791
|
+
|
|
792
|
+
:param data_migration_type: Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
|
|
793
|
+
:param migration_project_identifier: The property describes an identifier for the migration project. It is used for describing/deleting/modifying can be name/arn
|
|
794
|
+
:param service_access_role_arn: The IAM role that the data migration uses to access AWS resources.
|
|
795
|
+
:param data_migration_identifier: The property describes an ARN of the data migration.
|
|
796
|
+
:param data_migration_name: The user-friendly name for the data migration.
|
|
797
|
+
:param data_migration_settings: Specifies CloudWatch settings and selection rules for the data migration.
|
|
798
|
+
:param source_data_settings: Specifies information about the data migration's source data provider.
|
|
799
|
+
:param tags: An array of key-value pairs to apply to this resource.
|
|
800
|
+
|
|
801
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html
|
|
802
|
+
:exampleMetadata: fixture=_generated
|
|
803
|
+
|
|
804
|
+
Example::
|
|
805
|
+
|
|
806
|
+
# The code below shows an example of how to instantiate this type.
|
|
807
|
+
# The values are placeholders you should change.
|
|
808
|
+
from aws_cdk import aws_dms as dms
|
|
809
|
+
|
|
810
|
+
cfn_data_migration_props = dms.CfnDataMigrationProps(
|
|
811
|
+
data_migration_type="dataMigrationType",
|
|
812
|
+
migration_project_identifier="migrationProjectIdentifier",
|
|
813
|
+
service_access_role_arn="serviceAccessRoleArn",
|
|
814
|
+
|
|
815
|
+
# the properties below are optional
|
|
816
|
+
data_migration_identifier="dataMigrationIdentifier",
|
|
817
|
+
data_migration_name="dataMigrationName",
|
|
818
|
+
data_migration_settings=dms.CfnDataMigration.DataMigrationSettingsProperty(
|
|
819
|
+
cloudwatch_logs_enabled=False,
|
|
820
|
+
number_of_jobs=123,
|
|
821
|
+
selection_rules="selectionRules"
|
|
822
|
+
),
|
|
823
|
+
source_data_settings=[dms.CfnDataMigration.SourceDataSettingsProperty(
|
|
824
|
+
cdc_start_position="cdcStartPosition",
|
|
825
|
+
cdc_start_time="cdcStartTime",
|
|
826
|
+
cdc_stop_time="cdcStopTime",
|
|
827
|
+
slot_name="slotName"
|
|
828
|
+
)],
|
|
829
|
+
tags=[CfnTag(
|
|
830
|
+
key="key",
|
|
831
|
+
value="value"
|
|
832
|
+
)]
|
|
833
|
+
)
|
|
834
|
+
'''
|
|
835
|
+
if __debug__:
|
|
836
|
+
type_hints = typing.get_type_hints(_typecheckingstub__ce4f0495b1cbb322717399394700fafde1a57462a5e81a17f37360ae322c2f0b)
|
|
837
|
+
check_type(argname="argument data_migration_type", value=data_migration_type, expected_type=type_hints["data_migration_type"])
|
|
838
|
+
check_type(argname="argument migration_project_identifier", value=migration_project_identifier, expected_type=type_hints["migration_project_identifier"])
|
|
839
|
+
check_type(argname="argument service_access_role_arn", value=service_access_role_arn, expected_type=type_hints["service_access_role_arn"])
|
|
840
|
+
check_type(argname="argument data_migration_identifier", value=data_migration_identifier, expected_type=type_hints["data_migration_identifier"])
|
|
841
|
+
check_type(argname="argument data_migration_name", value=data_migration_name, expected_type=type_hints["data_migration_name"])
|
|
842
|
+
check_type(argname="argument data_migration_settings", value=data_migration_settings, expected_type=type_hints["data_migration_settings"])
|
|
843
|
+
check_type(argname="argument source_data_settings", value=source_data_settings, expected_type=type_hints["source_data_settings"])
|
|
844
|
+
check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
|
|
845
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
846
|
+
"data_migration_type": data_migration_type,
|
|
847
|
+
"migration_project_identifier": migration_project_identifier,
|
|
848
|
+
"service_access_role_arn": service_access_role_arn,
|
|
849
|
+
}
|
|
850
|
+
if data_migration_identifier is not None:
|
|
851
|
+
self._values["data_migration_identifier"] = data_migration_identifier
|
|
852
|
+
if data_migration_name is not None:
|
|
853
|
+
self._values["data_migration_name"] = data_migration_name
|
|
854
|
+
if data_migration_settings is not None:
|
|
855
|
+
self._values["data_migration_settings"] = data_migration_settings
|
|
856
|
+
if source_data_settings is not None:
|
|
857
|
+
self._values["source_data_settings"] = source_data_settings
|
|
858
|
+
if tags is not None:
|
|
859
|
+
self._values["tags"] = tags
|
|
860
|
+
|
|
861
|
+
@builtins.property
|
|
862
|
+
def data_migration_type(self) -> builtins.str:
|
|
863
|
+
'''Specifies whether the data migration is full-load only, change data capture (CDC) only, or full-load and CDC.
|
|
864
|
+
|
|
865
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-datamigrationtype
|
|
866
|
+
'''
|
|
867
|
+
result = self._values.get("data_migration_type")
|
|
868
|
+
assert result is not None, "Required property 'data_migration_type' is missing"
|
|
869
|
+
return typing.cast(builtins.str, result)
|
|
870
|
+
|
|
871
|
+
@builtins.property
|
|
872
|
+
def migration_project_identifier(self) -> builtins.str:
|
|
873
|
+
'''The property describes an identifier for the migration project.
|
|
874
|
+
|
|
875
|
+
It is used for describing/deleting/modifying can be name/arn
|
|
876
|
+
|
|
877
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-migrationprojectidentifier
|
|
878
|
+
'''
|
|
879
|
+
result = self._values.get("migration_project_identifier")
|
|
880
|
+
assert result is not None, "Required property 'migration_project_identifier' is missing"
|
|
881
|
+
return typing.cast(builtins.str, result)
|
|
882
|
+
|
|
883
|
+
@builtins.property
|
|
884
|
+
def service_access_role_arn(self) -> builtins.str:
|
|
885
|
+
'''The IAM role that the data migration uses to access AWS resources.
|
|
886
|
+
|
|
887
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-serviceaccessrolearn
|
|
888
|
+
'''
|
|
889
|
+
result = self._values.get("service_access_role_arn")
|
|
890
|
+
assert result is not None, "Required property 'service_access_role_arn' is missing"
|
|
891
|
+
return typing.cast(builtins.str, result)
|
|
892
|
+
|
|
893
|
+
@builtins.property
|
|
894
|
+
def data_migration_identifier(self) -> typing.Optional[builtins.str]:
|
|
895
|
+
'''The property describes an ARN of the data migration.
|
|
896
|
+
|
|
897
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-datamigrationidentifier
|
|
898
|
+
'''
|
|
899
|
+
result = self._values.get("data_migration_identifier")
|
|
900
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
901
|
+
|
|
902
|
+
@builtins.property
|
|
903
|
+
def data_migration_name(self) -> typing.Optional[builtins.str]:
|
|
904
|
+
'''The user-friendly name for the data migration.
|
|
905
|
+
|
|
906
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-datamigrationname
|
|
907
|
+
'''
|
|
908
|
+
result = self._values.get("data_migration_name")
|
|
909
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
910
|
+
|
|
911
|
+
@builtins.property
|
|
912
|
+
def data_migration_settings(
|
|
913
|
+
self,
|
|
914
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataMigration.DataMigrationSettingsProperty]]:
|
|
915
|
+
'''Specifies CloudWatch settings and selection rules for the data migration.
|
|
916
|
+
|
|
917
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-datamigrationsettings
|
|
918
|
+
'''
|
|
919
|
+
result = self._values.get("data_migration_settings")
|
|
920
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataMigration.DataMigrationSettingsProperty]], result)
|
|
921
|
+
|
|
922
|
+
@builtins.property
|
|
923
|
+
def source_data_settings(
|
|
924
|
+
self,
|
|
925
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDataMigration.SourceDataSettingsProperty]]]]:
|
|
926
|
+
'''Specifies information about the data migration's source data provider.
|
|
927
|
+
|
|
928
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-sourcedatasettings
|
|
929
|
+
'''
|
|
930
|
+
result = self._values.get("source_data_settings")
|
|
931
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDataMigration.SourceDataSettingsProperty]]]], result)
|
|
932
|
+
|
|
933
|
+
@builtins.property
|
|
934
|
+
def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
|
|
935
|
+
'''An array of key-value pairs to apply to this resource.
|
|
936
|
+
|
|
937
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-datamigration.html#cfn-dms-datamigration-tags
|
|
938
|
+
'''
|
|
939
|
+
result = self._values.get("tags")
|
|
940
|
+
return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
|
|
941
|
+
|
|
942
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
943
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
944
|
+
|
|
945
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
946
|
+
return not (rhs == self)
|
|
947
|
+
|
|
948
|
+
def __repr__(self) -> str:
|
|
949
|
+
return "CfnDataMigrationProps(%s)" % ", ".join(
|
|
950
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
951
|
+
)
|
|
952
|
+
|
|
953
|
+
|
|
303
954
|
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
304
955
|
class CfnDataProvider(
|
|
305
956
|
_CfnResource_9df397a6,
|
|
@@ -12668,6 +13319,8 @@ class CfnReplicationTaskProps:
|
|
|
12668
13319
|
__all__ = [
|
|
12669
13320
|
"CfnCertificate",
|
|
12670
13321
|
"CfnCertificateProps",
|
|
13322
|
+
"CfnDataMigration",
|
|
13323
|
+
"CfnDataMigrationProps",
|
|
12671
13324
|
"CfnDataProvider",
|
|
12672
13325
|
"CfnDataProviderProps",
|
|
12673
13326
|
"CfnEndpoint",
|
|
@@ -12740,6 +13393,115 @@ def _typecheckingstub__70c99920ee84fe825d1d27715d21a77c22d5de3f61e54de6d53339777
|
|
|
12740
13393
|
"""Type checking stubs"""
|
|
12741
13394
|
pass
|
|
12742
13395
|
|
|
13396
|
+
def _typecheckingstub__64c0e21ad134546b496f96ef4ca0fab25a87ff24faf22f3329fac7bdace07c4b(
|
|
13397
|
+
scope: _constructs_77d1e7e8.Construct,
|
|
13398
|
+
id: builtins.str,
|
|
13399
|
+
*,
|
|
13400
|
+
data_migration_type: builtins.str,
|
|
13401
|
+
migration_project_identifier: builtins.str,
|
|
13402
|
+
service_access_role_arn: builtins.str,
|
|
13403
|
+
data_migration_identifier: typing.Optional[builtins.str] = None,
|
|
13404
|
+
data_migration_name: typing.Optional[builtins.str] = None,
|
|
13405
|
+
data_migration_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.DataMigrationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13406
|
+
source_data_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.SourceDataSettingsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
13407
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13408
|
+
) -> None:
|
|
13409
|
+
"""Type checking stubs"""
|
|
13410
|
+
pass
|
|
13411
|
+
|
|
13412
|
+
def _typecheckingstub__279de1151f163cf559e12c46cb6e613ca074cda536a270ae301f5355d87f74e2(
|
|
13413
|
+
inspector: _TreeInspector_488e0dd5,
|
|
13414
|
+
) -> None:
|
|
13415
|
+
"""Type checking stubs"""
|
|
13416
|
+
pass
|
|
13417
|
+
|
|
13418
|
+
def _typecheckingstub__de8453c93346b45e1168da2a110b2d36f1cb199d80f946dfed013b1dd692c0eb(
|
|
13419
|
+
props: typing.Mapping[builtins.str, typing.Any],
|
|
13420
|
+
) -> None:
|
|
13421
|
+
"""Type checking stubs"""
|
|
13422
|
+
pass
|
|
13423
|
+
|
|
13424
|
+
def _typecheckingstub__6cdebd761d31ff46846d302632c429aafce15c69a5ad8d78b96b27ba2f41038a(
|
|
13425
|
+
value: builtins.str,
|
|
13426
|
+
) -> None:
|
|
13427
|
+
"""Type checking stubs"""
|
|
13428
|
+
pass
|
|
13429
|
+
|
|
13430
|
+
def _typecheckingstub__44914c399a38a9059efa76909781ca93097615e91f3a98ea6b3486083d638b08(
|
|
13431
|
+
value: builtins.str,
|
|
13432
|
+
) -> None:
|
|
13433
|
+
"""Type checking stubs"""
|
|
13434
|
+
pass
|
|
13435
|
+
|
|
13436
|
+
def _typecheckingstub__381af8ebd4cb1bd29bbaab5eafd72e9317efe30e27c1dbe7c79fb9e7589ddf8b(
|
|
13437
|
+
value: builtins.str,
|
|
13438
|
+
) -> None:
|
|
13439
|
+
"""Type checking stubs"""
|
|
13440
|
+
pass
|
|
13441
|
+
|
|
13442
|
+
def _typecheckingstub__6a0dc7f9305f39d73b3f3a7fef7bd2632ccbc6cdee7988cf93286428a95d9cb1(
|
|
13443
|
+
value: typing.Optional[builtins.str],
|
|
13444
|
+
) -> None:
|
|
13445
|
+
"""Type checking stubs"""
|
|
13446
|
+
pass
|
|
13447
|
+
|
|
13448
|
+
def _typecheckingstub__566d6dd37c139912bd32866d690cf487a5cd9524fc363cf6f596508077bb07b2(
|
|
13449
|
+
value: typing.Optional[builtins.str],
|
|
13450
|
+
) -> None:
|
|
13451
|
+
"""Type checking stubs"""
|
|
13452
|
+
pass
|
|
13453
|
+
|
|
13454
|
+
def _typecheckingstub__8963c8356a27c7982ca33e6c61a728ed5628c22df8d37124d8007103f7a2e57f(
|
|
13455
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataMigration.DataMigrationSettingsProperty]],
|
|
13456
|
+
) -> None:
|
|
13457
|
+
"""Type checking stubs"""
|
|
13458
|
+
pass
|
|
13459
|
+
|
|
13460
|
+
def _typecheckingstub__8edddc5cd2d125d456740b8fb13a6358f11fe2a40c4307f5c82a16f3ccf8a0b7(
|
|
13461
|
+
value: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, CfnDataMigration.SourceDataSettingsProperty]]]],
|
|
13462
|
+
) -> None:
|
|
13463
|
+
"""Type checking stubs"""
|
|
13464
|
+
pass
|
|
13465
|
+
|
|
13466
|
+
def _typecheckingstub__0950ec3898888a28762ad7e52f4cb398a8e6388944b4239f9863d6eb7a1dfbfb(
|
|
13467
|
+
value: typing.Optional[typing.List[_CfnTag_f6864754]],
|
|
13468
|
+
) -> None:
|
|
13469
|
+
"""Type checking stubs"""
|
|
13470
|
+
pass
|
|
13471
|
+
|
|
13472
|
+
def _typecheckingstub__5889f73c511a59df7ace53b70a41949d6168243b08773f23a8b2d9d93e8649b3(
|
|
13473
|
+
*,
|
|
13474
|
+
cloudwatch_logs_enabled: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
|
|
13475
|
+
number_of_jobs: typing.Optional[jsii.Number] = None,
|
|
13476
|
+
selection_rules: typing.Optional[builtins.str] = None,
|
|
13477
|
+
) -> None:
|
|
13478
|
+
"""Type checking stubs"""
|
|
13479
|
+
pass
|
|
13480
|
+
|
|
13481
|
+
def _typecheckingstub__db1b57aeabc331fa2a3aede2f3e4205147cbb53748fbc11debe0391a5b193133(
|
|
13482
|
+
*,
|
|
13483
|
+
cdc_start_position: typing.Optional[builtins.str] = None,
|
|
13484
|
+
cdc_start_time: typing.Optional[builtins.str] = None,
|
|
13485
|
+
cdc_stop_time: typing.Optional[builtins.str] = None,
|
|
13486
|
+
slot_name: typing.Optional[builtins.str] = None,
|
|
13487
|
+
) -> None:
|
|
13488
|
+
"""Type checking stubs"""
|
|
13489
|
+
pass
|
|
13490
|
+
|
|
13491
|
+
def _typecheckingstub__ce4f0495b1cbb322717399394700fafde1a57462a5e81a17f37360ae322c2f0b(
|
|
13492
|
+
*,
|
|
13493
|
+
data_migration_type: builtins.str,
|
|
13494
|
+
migration_project_identifier: builtins.str,
|
|
13495
|
+
service_access_role_arn: builtins.str,
|
|
13496
|
+
data_migration_identifier: typing.Optional[builtins.str] = None,
|
|
13497
|
+
data_migration_name: typing.Optional[builtins.str] = None,
|
|
13498
|
+
data_migration_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.DataMigrationSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13499
|
+
source_data_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataMigration.SourceDataSettingsProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
13500
|
+
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
13501
|
+
) -> None:
|
|
13502
|
+
"""Type checking stubs"""
|
|
13503
|
+
pass
|
|
13504
|
+
|
|
12743
13505
|
def _typecheckingstub__cf28699baa8f0b678c6576c66e1c53e33b16d9f9cc37b854d4edbc95bf024780(
|
|
12744
13506
|
scope: _constructs_77d1e7e8.Construct,
|
|
12745
13507
|
id: builtins.str,
|