aws-cdk-lib 2.162.1__py3-none-any.whl → 2.163.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.

Files changed (59) hide show
  1. aws_cdk/__init__.py +5 -7
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.162.1.jsii.tgz → aws-cdk-lib@2.163.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +7 -7
  5. aws_cdk/aws_appflow/__init__.py +30 -16
  6. aws_cdk/aws_appsync/__init__.py +11 -21
  7. aws_cdk/aws_autoscaling/__init__.py +123 -0
  8. aws_cdk/aws_b2bi/__init__.py +83 -57
  9. aws_cdk/aws_cloudformation/__init__.py +5 -7
  10. aws_cdk/aws_codebuild/__init__.py +19 -40
  11. aws_cdk/aws_codepipeline/__init__.py +88 -7
  12. aws_cdk/aws_cognito/__init__.py +282 -168
  13. aws_cdk/aws_dms/__init__.py +1076 -117
  14. aws_cdk/aws_docdb/__init__.py +19 -13
  15. aws_cdk/aws_dynamodb/__init__.py +43 -22
  16. aws_cdk/aws_ec2/__init__.py +1213 -38
  17. aws_cdk/aws_ecs/__init__.py +187 -18
  18. aws_cdk/aws_ecs_patterns/__init__.py +189 -27
  19. aws_cdk/aws_efs/__init__.py +56 -37
  20. aws_cdk/aws_eks/__init__.py +6 -2
  21. aws_cdk/aws_elasticache/__init__.py +118 -118
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +21 -1
  23. aws_cdk/aws_emr/__init__.py +124 -57
  24. aws_cdk/aws_events/__init__.py +40 -0
  25. aws_cdk/aws_fms/__init__.py +757 -8
  26. aws_cdk/aws_fsx/__init__.py +245 -10
  27. aws_cdk/aws_gamelift/__init__.py +121 -0
  28. aws_cdk/aws_glue/__init__.py +344 -61
  29. aws_cdk/aws_iam/__init__.py +44 -0
  30. aws_cdk/aws_identitystore/__init__.py +4 -2
  31. aws_cdk/aws_iot/__init__.py +40 -12
  32. aws_cdk/aws_kinesis/__init__.py +239 -0
  33. aws_cdk/aws_kms/__init__.py +92 -3
  34. aws_cdk/aws_lambda/__init__.py +2 -2
  35. aws_cdk/aws_mediapackagev2/__init__.py +26 -10
  36. aws_cdk/aws_memorydb/__init__.py +7 -7
  37. aws_cdk/aws_networkfirewall/__init__.py +89 -0
  38. aws_cdk/aws_qbusiness/__init__.py +51 -7
  39. aws_cdk/aws_quicksight/__init__.py +221 -87
  40. aws_cdk/aws_rds/__init__.py +376 -75
  41. aws_cdk/aws_redshift/__init__.py +493 -13
  42. aws_cdk/aws_route53profiles/__init__.py +4 -2
  43. aws_cdk/aws_route53resolver/__init__.py +26 -60
  44. aws_cdk/aws_s3/__init__.py +104 -4
  45. aws_cdk/aws_s3express/__init__.py +73 -13
  46. aws_cdk/aws_s3outposts/__init__.py +21 -12
  47. aws_cdk/aws_sagemaker/__init__.py +4 -44
  48. aws_cdk/aws_ssmquicksetup/__init__.py +2 -2
  49. aws_cdk/aws_stepfunctions/__init__.py +529 -156
  50. aws_cdk/aws_transfer/__init__.py +15 -4
  51. aws_cdk/aws_waf/__init__.py +11 -11
  52. aws_cdk/aws_wafregional/__init__.py +12 -12
  53. aws_cdk/aws_wisdom/__init__.py +710 -5
  54. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/METADATA +1 -1
  55. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/RECORD +59 -59
  56. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/LICENSE +0 -0
  57. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/NOTICE +0 -0
  58. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/WHEEL +0 -0
  59. {aws_cdk_lib-2.162.1.dist-info → aws_cdk_lib-2.163.0.dist-info}/top_level.txt +0 -0
@@ -326,6 +326,48 @@ class CfnDataProvider(
326
326
  data_provider_name="dataProviderName",
327
327
  description="description",
328
328
  exact_settings=False,
329
+ settings=dms.CfnDataProvider.SettingsProperty(
330
+ microsoft_sql_server_settings=dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty(
331
+ database_name="databaseName",
332
+ port=123,
333
+ server_name="serverName",
334
+ ssl_mode="sslMode",
335
+
336
+ # the properties below are optional
337
+ certificate_arn="certificateArn"
338
+ ),
339
+ my_sql_settings=dms.CfnDataProvider.MySqlSettingsProperty(
340
+ port=123,
341
+ server_name="serverName",
342
+ ssl_mode="sslMode",
343
+
344
+ # the properties below are optional
345
+ certificate_arn="certificateArn"
346
+ ),
347
+ oracle_settings=dms.CfnDataProvider.OracleSettingsProperty(
348
+ database_name="databaseName",
349
+ port=123,
350
+ server_name="serverName",
351
+ ssl_mode="sslMode",
352
+
353
+ # the properties below are optional
354
+ asm_server="asmServer",
355
+ certificate_arn="certificateArn",
356
+ secrets_manager_oracle_asm_access_role_arn="secretsManagerOracleAsmAccessRoleArn",
357
+ secrets_manager_oracle_asm_secret_id="secretsManagerOracleAsmSecretId",
358
+ secrets_manager_security_db_encryption_access_role_arn="secretsManagerSecurityDbEncryptionAccessRoleArn",
359
+ secrets_manager_security_db_encryption_secret_id="secretsManagerSecurityDbEncryptionSecretId"
360
+ ),
361
+ postgre_sql_settings=dms.CfnDataProvider.PostgreSqlSettingsProperty(
362
+ database_name="databaseName",
363
+ port=123,
364
+ server_name="serverName",
365
+ ssl_mode="sslMode",
366
+
367
+ # the properties below are optional
368
+ certificate_arn="certificateArn"
369
+ )
370
+ ),
329
371
  tags=[CfnTag(
330
372
  key="key",
331
373
  value="value"
@@ -343,6 +385,7 @@ class CfnDataProvider(
343
385
  data_provider_name: typing.Optional[builtins.str] = None,
344
386
  description: typing.Optional[builtins.str] = None,
345
387
  exact_settings: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
388
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProvider.SettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
346
389
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
347
390
  ) -> None:
348
391
  '''
@@ -353,6 +396,7 @@ class CfnDataProvider(
353
396
  :param data_provider_name: The name of the data provider.
354
397
  :param description: A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
355
398
  :param exact_settings: The property describes the exact settings which can be modified. Default: - false
399
+ :param settings: The settings in JSON format for a data provider.
356
400
  :param tags: An array of key-value pairs to apply to this resource.
357
401
  '''
358
402
  if __debug__:
@@ -365,6 +409,7 @@ class CfnDataProvider(
365
409
  data_provider_name=data_provider_name,
366
410
  description=description,
367
411
  exact_settings=exact_settings,
412
+ settings=settings,
368
413
  tags=tags,
369
414
  )
370
415
 
@@ -374,143 +419,889 @@ class CfnDataProvider(
374
419
  def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
375
420
  '''Examines the CloudFormation resource and discloses attributes.
376
421
 
377
- :param inspector: tree inspector to collect and process attributes.
378
- '''
379
- if __debug__:
380
- type_hints = typing.get_type_hints(_typecheckingstub__c1b19747788e548c485229450a0322a76649d72c3ccc24727e3a33db1fbdf372)
381
- check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
382
- return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
422
+ :param inspector: tree inspector to collect and process attributes.
423
+ '''
424
+ if __debug__:
425
+ type_hints = typing.get_type_hints(_typecheckingstub__c1b19747788e548c485229450a0322a76649d72c3ccc24727e3a33db1fbdf372)
426
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
427
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
428
+
429
+ @jsii.member(jsii_name="renderProperties")
430
+ def _render_properties(
431
+ self,
432
+ props: typing.Mapping[builtins.str, typing.Any],
433
+ ) -> typing.Mapping[builtins.str, typing.Any]:
434
+ '''
435
+ :param props: -
436
+ '''
437
+ if __debug__:
438
+ type_hints = typing.get_type_hints(_typecheckingstub__5f3e870b0edacc6af82460cb592fd3d971822bf9675e4fe90ee87e3566e0e6f4)
439
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
440
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
441
+
442
+ @jsii.python.classproperty
443
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
444
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
445
+ '''The CloudFormation resource type name for this resource class.'''
446
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
447
+
448
+ @builtins.property
449
+ @jsii.member(jsii_name="attrDataProviderArn")
450
+ def attr_data_provider_arn(self) -> builtins.str:
451
+ '''The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
452
+
453
+ :cloudformationAttribute: DataProviderArn
454
+ '''
455
+ return typing.cast(builtins.str, jsii.get(self, "attrDataProviderArn"))
456
+
457
+ @builtins.property
458
+ @jsii.member(jsii_name="attrDataProviderCreationTime")
459
+ def attr_data_provider_creation_time(self) -> builtins.str:
460
+ '''The time the data provider was created.
461
+
462
+ :cloudformationAttribute: DataProviderCreationTime
463
+ '''
464
+ return typing.cast(builtins.str, jsii.get(self, "attrDataProviderCreationTime"))
465
+
466
+ @builtins.property
467
+ @jsii.member(jsii_name="cdkTagManager")
468
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
469
+ '''Tag Manager which manages the tags for this resource.'''
470
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
471
+
472
+ @builtins.property
473
+ @jsii.member(jsii_name="cfnProperties")
474
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
475
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
476
+
477
+ @builtins.property
478
+ @jsii.member(jsii_name="engine")
479
+ def engine(self) -> builtins.str:
480
+ '''The type of database engine for the data provider.'''
481
+ return typing.cast(builtins.str, jsii.get(self, "engine"))
482
+
483
+ @engine.setter
484
+ def engine(self, value: builtins.str) -> None:
485
+ if __debug__:
486
+ type_hints = typing.get_type_hints(_typecheckingstub__020de7951d6d70bc9d3efa600e1210f388dcd2776433c31a4e92b6afe9782ff2)
487
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
488
+ jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
489
+
490
+ @builtins.property
491
+ @jsii.member(jsii_name="dataProviderIdentifier")
492
+ def data_provider_identifier(self) -> typing.Optional[builtins.str]:
493
+ '''The identifier of the data provider.'''
494
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataProviderIdentifier"))
495
+
496
+ @data_provider_identifier.setter
497
+ def data_provider_identifier(self, value: typing.Optional[builtins.str]) -> None:
498
+ if __debug__:
499
+ type_hints = typing.get_type_hints(_typecheckingstub__05caa8991d8aa025161e83d5ae88c03b5b1d3dc49c14071f0728788a968f2568)
500
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
501
+ jsii.set(self, "dataProviderIdentifier", value) # pyright: ignore[reportArgumentType]
502
+
503
+ @builtins.property
504
+ @jsii.member(jsii_name="dataProviderName")
505
+ def data_provider_name(self) -> typing.Optional[builtins.str]:
506
+ '''The name of the data provider.'''
507
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataProviderName"))
508
+
509
+ @data_provider_name.setter
510
+ def data_provider_name(self, value: typing.Optional[builtins.str]) -> None:
511
+ if __debug__:
512
+ type_hints = typing.get_type_hints(_typecheckingstub__454cfcd7845bc90fe7e1a58a73587247e646a6372c641c3514ea21f8d6f11777)
513
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
514
+ jsii.set(self, "dataProviderName", value) # pyright: ignore[reportArgumentType]
515
+
516
+ @builtins.property
517
+ @jsii.member(jsii_name="description")
518
+ def description(self) -> typing.Optional[builtins.str]:
519
+ '''A description of the data provider.'''
520
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
521
+
522
+ @description.setter
523
+ def description(self, value: typing.Optional[builtins.str]) -> None:
524
+ if __debug__:
525
+ type_hints = typing.get_type_hints(_typecheckingstub__ecadd16a9c7e49c8bf8e1b2e26f904f253dbd4bbefc352e35330e2788cb60915)
526
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
527
+ jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
528
+
529
+ @builtins.property
530
+ @jsii.member(jsii_name="exactSettings")
531
+ def exact_settings(
532
+ self,
533
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
534
+ '''The property describes the exact settings which can be modified.'''
535
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "exactSettings"))
536
+
537
+ @exact_settings.setter
538
+ def exact_settings(
539
+ self,
540
+ value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
541
+ ) -> None:
542
+ if __debug__:
543
+ type_hints = typing.get_type_hints(_typecheckingstub__f4d016d92a836fecec39275d37ba39e9b434aac43e0b8d6b9a644a15bfff4ef8)
544
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
545
+ jsii.set(self, "exactSettings", value) # pyright: ignore[reportArgumentType]
546
+
547
+ @builtins.property
548
+ @jsii.member(jsii_name="settings")
549
+ def settings(
550
+ self,
551
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.SettingsProperty"]]:
552
+ '''The settings in JSON format for a data provider.'''
553
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.SettingsProperty"]], jsii.get(self, "settings"))
554
+
555
+ @settings.setter
556
+ def settings(
557
+ self,
558
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.SettingsProperty"]],
559
+ ) -> None:
560
+ if __debug__:
561
+ type_hints = typing.get_type_hints(_typecheckingstub__e759668e5454c7b728515ac0c320d568f1fc6f406c7ed4f0c45e830f497f443e)
562
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
563
+ jsii.set(self, "settings", value) # pyright: ignore[reportArgumentType]
564
+
565
+ @builtins.property
566
+ @jsii.member(jsii_name="tags")
567
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
568
+ '''An array of key-value pairs to apply to this resource.'''
569
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
570
+
571
+ @tags.setter
572
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
573
+ if __debug__:
574
+ type_hints = typing.get_type_hints(_typecheckingstub__15d6e40a485e85376660625e14969b38fc293c419cb77e7880107c25ae376134)
575
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
576
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
577
+
578
+ @jsii.data_type(
579
+ jsii_type="aws-cdk-lib.aws_dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty",
580
+ jsii_struct_bases=[],
581
+ name_mapping={
582
+ "database_name": "databaseName",
583
+ "port": "port",
584
+ "server_name": "serverName",
585
+ "ssl_mode": "sslMode",
586
+ "certificate_arn": "certificateArn",
587
+ },
588
+ )
589
+ class MicrosoftSqlServerSettingsProperty:
590
+ def __init__(
591
+ self,
592
+ *,
593
+ database_name: builtins.str,
594
+ port: jsii.Number,
595
+ server_name: builtins.str,
596
+ ssl_mode: builtins.str,
597
+ certificate_arn: typing.Optional[builtins.str] = None,
598
+ ) -> None:
599
+ '''Provides information that defines a Microsoft SQL Server endpoint.
600
+
601
+ :param database_name: Database name for the endpoint.
602
+ :param port: Endpoint TCP port.
603
+ :param server_name: Fully qualified domain name of the endpoint. For an Amazon RDS SQL Server instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
604
+ :param ssl_mode:
605
+ :param certificate_arn:
606
+
607
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html
608
+ :exampleMetadata: fixture=_generated
609
+
610
+ Example::
611
+
612
+ # The code below shows an example of how to instantiate this type.
613
+ # The values are placeholders you should change.
614
+ from aws_cdk import aws_dms as dms
615
+
616
+ microsoft_sql_server_settings_property = dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty(
617
+ database_name="databaseName",
618
+ port=123,
619
+ server_name="serverName",
620
+ ssl_mode="sslMode",
621
+
622
+ # the properties below are optional
623
+ certificate_arn="certificateArn"
624
+ )
625
+ '''
626
+ if __debug__:
627
+ type_hints = typing.get_type_hints(_typecheckingstub__0dfa7fa5a3c635f1fb97ff68de16deda1fcd5749cf9b141cfd4bbe722c5d97f8)
628
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
629
+ check_type(argname="argument port", value=port, expected_type=type_hints["port"])
630
+ check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
631
+ check_type(argname="argument ssl_mode", value=ssl_mode, expected_type=type_hints["ssl_mode"])
632
+ check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
633
+ self._values: typing.Dict[builtins.str, typing.Any] = {
634
+ "database_name": database_name,
635
+ "port": port,
636
+ "server_name": server_name,
637
+ "ssl_mode": ssl_mode,
638
+ }
639
+ if certificate_arn is not None:
640
+ self._values["certificate_arn"] = certificate_arn
641
+
642
+ @builtins.property
643
+ def database_name(self) -> builtins.str:
644
+ '''Database name for the endpoint.
645
+
646
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html#cfn-dms-dataprovider-microsoftsqlserversettings-databasename
647
+ '''
648
+ result = self._values.get("database_name")
649
+ assert result is not None, "Required property 'database_name' is missing"
650
+ return typing.cast(builtins.str, result)
651
+
652
+ @builtins.property
653
+ def port(self) -> jsii.Number:
654
+ '''Endpoint TCP port.
655
+
656
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html#cfn-dms-dataprovider-microsoftsqlserversettings-port
657
+ '''
658
+ result = self._values.get("port")
659
+ assert result is not None, "Required property 'port' is missing"
660
+ return typing.cast(jsii.Number, result)
661
+
662
+ @builtins.property
663
+ def server_name(self) -> builtins.str:
664
+ '''Fully qualified domain name of the endpoint.
665
+
666
+ For an Amazon RDS SQL Server instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
667
+
668
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html#cfn-dms-dataprovider-microsoftsqlserversettings-servername
669
+ '''
670
+ result = self._values.get("server_name")
671
+ assert result is not None, "Required property 'server_name' is missing"
672
+ return typing.cast(builtins.str, result)
673
+
674
+ @builtins.property
675
+ def ssl_mode(self) -> builtins.str:
676
+ '''
677
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html#cfn-dms-dataprovider-microsoftsqlserversettings-sslmode
678
+ '''
679
+ result = self._values.get("ssl_mode")
680
+ assert result is not None, "Required property 'ssl_mode' is missing"
681
+ return typing.cast(builtins.str, result)
682
+
683
+ @builtins.property
684
+ def certificate_arn(self) -> typing.Optional[builtins.str]:
685
+ '''
686
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-microsoftsqlserversettings.html#cfn-dms-dataprovider-microsoftsqlserversettings-certificatearn
687
+ '''
688
+ result = self._values.get("certificate_arn")
689
+ return typing.cast(typing.Optional[builtins.str], result)
690
+
691
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
692
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
693
+
694
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
695
+ return not (rhs == self)
696
+
697
+ def __repr__(self) -> str:
698
+ return "MicrosoftSqlServerSettingsProperty(%s)" % ", ".join(
699
+ k + "=" + repr(v) for k, v in self._values.items()
700
+ )
701
+
702
+ @jsii.data_type(
703
+ jsii_type="aws-cdk-lib.aws_dms.CfnDataProvider.MySqlSettingsProperty",
704
+ jsii_struct_bases=[],
705
+ name_mapping={
706
+ "port": "port",
707
+ "server_name": "serverName",
708
+ "ssl_mode": "sslMode",
709
+ "certificate_arn": "certificateArn",
710
+ },
711
+ )
712
+ class MySqlSettingsProperty:
713
+ def __init__(
714
+ self,
715
+ *,
716
+ port: jsii.Number,
717
+ server_name: builtins.str,
718
+ ssl_mode: builtins.str,
719
+ certificate_arn: typing.Optional[builtins.str] = None,
720
+ ) -> None:
721
+ '''Provides information that defines a MySQL endpoint.
722
+
723
+ :param port: Endpoint TCP port.
724
+ :param server_name: The host name of the endpoint database. For an Amazon RDS MySQL instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field. For an Aurora MySQL instance, this is the output of `DescribeDBClusters <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html>`_ , in the ``Endpoint`` field.
725
+ :param ssl_mode:
726
+ :param certificate_arn:
727
+
728
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-mysqlsettings.html
729
+ :exampleMetadata: fixture=_generated
730
+
731
+ Example::
732
+
733
+ # The code below shows an example of how to instantiate this type.
734
+ # The values are placeholders you should change.
735
+ from aws_cdk import aws_dms as dms
736
+
737
+ my_sql_settings_property = dms.CfnDataProvider.MySqlSettingsProperty(
738
+ port=123,
739
+ server_name="serverName",
740
+ ssl_mode="sslMode",
741
+
742
+ # the properties below are optional
743
+ certificate_arn="certificateArn"
744
+ )
745
+ '''
746
+ if __debug__:
747
+ type_hints = typing.get_type_hints(_typecheckingstub__28a92398c22bb2d89f44278eeb8772aba7541e0dcdf28e72d3f025df01b87293)
748
+ check_type(argname="argument port", value=port, expected_type=type_hints["port"])
749
+ check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
750
+ check_type(argname="argument ssl_mode", value=ssl_mode, expected_type=type_hints["ssl_mode"])
751
+ check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
752
+ self._values: typing.Dict[builtins.str, typing.Any] = {
753
+ "port": port,
754
+ "server_name": server_name,
755
+ "ssl_mode": ssl_mode,
756
+ }
757
+ if certificate_arn is not None:
758
+ self._values["certificate_arn"] = certificate_arn
759
+
760
+ @builtins.property
761
+ def port(self) -> jsii.Number:
762
+ '''Endpoint TCP port.
763
+
764
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-mysqlsettings.html#cfn-dms-dataprovider-mysqlsettings-port
765
+ '''
766
+ result = self._values.get("port")
767
+ assert result is not None, "Required property 'port' is missing"
768
+ return typing.cast(jsii.Number, result)
769
+
770
+ @builtins.property
771
+ def server_name(self) -> builtins.str:
772
+ '''The host name of the endpoint database.
773
+
774
+ For an Amazon RDS MySQL instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
775
+
776
+ For an Aurora MySQL instance, this is the output of `DescribeDBClusters <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html>`_ , in the ``Endpoint`` field.
777
+
778
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-mysqlsettings.html#cfn-dms-dataprovider-mysqlsettings-servername
779
+ '''
780
+ result = self._values.get("server_name")
781
+ assert result is not None, "Required property 'server_name' is missing"
782
+ return typing.cast(builtins.str, result)
783
+
784
+ @builtins.property
785
+ def ssl_mode(self) -> builtins.str:
786
+ '''
787
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-mysqlsettings.html#cfn-dms-dataprovider-mysqlsettings-sslmode
788
+ '''
789
+ result = self._values.get("ssl_mode")
790
+ assert result is not None, "Required property 'ssl_mode' is missing"
791
+ return typing.cast(builtins.str, result)
792
+
793
+ @builtins.property
794
+ def certificate_arn(self) -> typing.Optional[builtins.str]:
795
+ '''
796
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-mysqlsettings.html#cfn-dms-dataprovider-mysqlsettings-certificatearn
797
+ '''
798
+ result = self._values.get("certificate_arn")
799
+ return typing.cast(typing.Optional[builtins.str], result)
800
+
801
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
802
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
803
+
804
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
805
+ return not (rhs == self)
806
+
807
+ def __repr__(self) -> str:
808
+ return "MySqlSettingsProperty(%s)" % ", ".join(
809
+ k + "=" + repr(v) for k, v in self._values.items()
810
+ )
811
+
812
+ @jsii.data_type(
813
+ jsii_type="aws-cdk-lib.aws_dms.CfnDataProvider.OracleSettingsProperty",
814
+ jsii_struct_bases=[],
815
+ name_mapping={
816
+ "database_name": "databaseName",
817
+ "port": "port",
818
+ "server_name": "serverName",
819
+ "ssl_mode": "sslMode",
820
+ "asm_server": "asmServer",
821
+ "certificate_arn": "certificateArn",
822
+ "secrets_manager_oracle_asm_access_role_arn": "secretsManagerOracleAsmAccessRoleArn",
823
+ "secrets_manager_oracle_asm_secret_id": "secretsManagerOracleAsmSecretId",
824
+ "secrets_manager_security_db_encryption_access_role_arn": "secretsManagerSecurityDbEncryptionAccessRoleArn",
825
+ "secrets_manager_security_db_encryption_secret_id": "secretsManagerSecurityDbEncryptionSecretId",
826
+ },
827
+ )
828
+ class OracleSettingsProperty:
829
+ def __init__(
830
+ self,
831
+ *,
832
+ database_name: builtins.str,
833
+ port: jsii.Number,
834
+ server_name: builtins.str,
835
+ ssl_mode: builtins.str,
836
+ asm_server: typing.Optional[builtins.str] = None,
837
+ certificate_arn: typing.Optional[builtins.str] = None,
838
+ secrets_manager_oracle_asm_access_role_arn: typing.Optional[builtins.str] = None,
839
+ secrets_manager_oracle_asm_secret_id: typing.Optional[builtins.str] = None,
840
+ secrets_manager_security_db_encryption_access_role_arn: typing.Optional[builtins.str] = None,
841
+ secrets_manager_security_db_encryption_secret_id: typing.Optional[builtins.str] = None,
842
+ ) -> None:
843
+ '''Provides information that defines an Oracle endpoint.
844
+
845
+ :param database_name: Database name for the endpoint.
846
+ :param port: Endpoint TCP port.
847
+ :param server_name: Fully qualified domain name of the endpoint. For an Amazon RDS Oracle instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
848
+ :param ssl_mode:
849
+ :param asm_server: For an Oracle source endpoint, your ASM server address. You can set this value from the ``asm_server`` value. You set ``asm_server`` as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see `Configuration for change data capture (CDC) on an Oracle source database <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration>`_ .
850
+ :param certificate_arn:
851
+ :param secrets_manager_oracle_asm_access_role_arn: Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the ``SecretsManagerOracleAsmSecret`` . This ``SecretsManagerOracleAsmSecret`` has the secret value that allows access to the Oracle ASM of the endpoint. .. epigraph:: You can specify one of two sets of values for these permissions. You can specify the values for this setting and ``SecretsManagerOracleAsmSecretId`` . Or you can specify clear-text values for ``AsmUser`` , ``AsmPassword`` , and ``AsmServerName`` . You can't specify both. For more information on creating this ``SecretsManagerOracleAsmSecret`` and the ``SecretsManagerOracleAsmAccessRoleArn`` and ``SecretsManagerOracleAsmSecretId`` required to access it, see `Using secrets to access AWS Database Migration Service resources <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager>`_ in the *AWS Database Migration Service User Guide* .
852
+ :param secrets_manager_oracle_asm_secret_id: Required only if your Oracle endpoint uses Automatic Storage Management (ASM). The full ARN, partial ARN, or friendly name of the ``SecretsManagerOracleAsmSecret`` that contains the Oracle ASM connection details for the Oracle endpoint.
853
+ :param secrets_manager_security_db_encryption_access_role_arn:
854
+ :param secrets_manager_security_db_encryption_secret_id:
855
+
856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html
857
+ :exampleMetadata: fixture=_generated
858
+
859
+ Example::
860
+
861
+ # The code below shows an example of how to instantiate this type.
862
+ # The values are placeholders you should change.
863
+ from aws_cdk import aws_dms as dms
864
+
865
+ oracle_settings_property = dms.CfnDataProvider.OracleSettingsProperty(
866
+ database_name="databaseName",
867
+ port=123,
868
+ server_name="serverName",
869
+ ssl_mode="sslMode",
870
+
871
+ # the properties below are optional
872
+ asm_server="asmServer",
873
+ certificate_arn="certificateArn",
874
+ secrets_manager_oracle_asm_access_role_arn="secretsManagerOracleAsmAccessRoleArn",
875
+ secrets_manager_oracle_asm_secret_id="secretsManagerOracleAsmSecretId",
876
+ secrets_manager_security_db_encryption_access_role_arn="secretsManagerSecurityDbEncryptionAccessRoleArn",
877
+ secrets_manager_security_db_encryption_secret_id="secretsManagerSecurityDbEncryptionSecretId"
878
+ )
879
+ '''
880
+ if __debug__:
881
+ type_hints = typing.get_type_hints(_typecheckingstub__68384bca638e71c68098cc2e318168648bed28f7843c3017fa4e663310432e68)
882
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
883
+ check_type(argname="argument port", value=port, expected_type=type_hints["port"])
884
+ check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
885
+ check_type(argname="argument ssl_mode", value=ssl_mode, expected_type=type_hints["ssl_mode"])
886
+ check_type(argname="argument asm_server", value=asm_server, expected_type=type_hints["asm_server"])
887
+ check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
888
+ check_type(argname="argument secrets_manager_oracle_asm_access_role_arn", value=secrets_manager_oracle_asm_access_role_arn, expected_type=type_hints["secrets_manager_oracle_asm_access_role_arn"])
889
+ check_type(argname="argument secrets_manager_oracle_asm_secret_id", value=secrets_manager_oracle_asm_secret_id, expected_type=type_hints["secrets_manager_oracle_asm_secret_id"])
890
+ check_type(argname="argument secrets_manager_security_db_encryption_access_role_arn", value=secrets_manager_security_db_encryption_access_role_arn, expected_type=type_hints["secrets_manager_security_db_encryption_access_role_arn"])
891
+ check_type(argname="argument secrets_manager_security_db_encryption_secret_id", value=secrets_manager_security_db_encryption_secret_id, expected_type=type_hints["secrets_manager_security_db_encryption_secret_id"])
892
+ self._values: typing.Dict[builtins.str, typing.Any] = {
893
+ "database_name": database_name,
894
+ "port": port,
895
+ "server_name": server_name,
896
+ "ssl_mode": ssl_mode,
897
+ }
898
+ if asm_server is not None:
899
+ self._values["asm_server"] = asm_server
900
+ if certificate_arn is not None:
901
+ self._values["certificate_arn"] = certificate_arn
902
+ if secrets_manager_oracle_asm_access_role_arn is not None:
903
+ self._values["secrets_manager_oracle_asm_access_role_arn"] = secrets_manager_oracle_asm_access_role_arn
904
+ if secrets_manager_oracle_asm_secret_id is not None:
905
+ self._values["secrets_manager_oracle_asm_secret_id"] = secrets_manager_oracle_asm_secret_id
906
+ if secrets_manager_security_db_encryption_access_role_arn is not None:
907
+ self._values["secrets_manager_security_db_encryption_access_role_arn"] = secrets_manager_security_db_encryption_access_role_arn
908
+ if secrets_manager_security_db_encryption_secret_id is not None:
909
+ self._values["secrets_manager_security_db_encryption_secret_id"] = secrets_manager_security_db_encryption_secret_id
910
+
911
+ @builtins.property
912
+ def database_name(self) -> builtins.str:
913
+ '''Database name for the endpoint.
914
+
915
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-databasename
916
+ '''
917
+ result = self._values.get("database_name")
918
+ assert result is not None, "Required property 'database_name' is missing"
919
+ return typing.cast(builtins.str, result)
920
+
921
+ @builtins.property
922
+ def port(self) -> jsii.Number:
923
+ '''Endpoint TCP port.
924
+
925
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-port
926
+ '''
927
+ result = self._values.get("port")
928
+ assert result is not None, "Required property 'port' is missing"
929
+ return typing.cast(jsii.Number, result)
930
+
931
+ @builtins.property
932
+ def server_name(self) -> builtins.str:
933
+ '''Fully qualified domain name of the endpoint.
934
+
935
+ For an Amazon RDS Oracle instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
936
+
937
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-servername
938
+ '''
939
+ result = self._values.get("server_name")
940
+ assert result is not None, "Required property 'server_name' is missing"
941
+ return typing.cast(builtins.str, result)
942
+
943
+ @builtins.property
944
+ def ssl_mode(self) -> builtins.str:
945
+ '''
946
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-sslmode
947
+ '''
948
+ result = self._values.get("ssl_mode")
949
+ assert result is not None, "Required property 'ssl_mode' is missing"
950
+ return typing.cast(builtins.str, result)
951
+
952
+ @builtins.property
953
+ def asm_server(self) -> typing.Optional[builtins.str]:
954
+ '''For an Oracle source endpoint, your ASM server address.
955
+
956
+ You can set this value from the ``asm_server`` value. You set ``asm_server`` as part of the extra connection attribute string to access an Oracle server with Binary Reader that uses ASM. For more information, see `Configuration for change data capture (CDC) on an Oracle source database <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.Oracle.html#dms/latest/userguide/CHAP_Source.Oracle.html#CHAP_Source.Oracle.CDC.Configuration>`_ .
957
+
958
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-asmserver
959
+ '''
960
+ result = self._values.get("asm_server")
961
+ return typing.cast(typing.Optional[builtins.str], result)
962
+
963
+ @builtins.property
964
+ def certificate_arn(self) -> typing.Optional[builtins.str]:
965
+ '''
966
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-certificatearn
967
+ '''
968
+ result = self._values.get("certificate_arn")
969
+ return typing.cast(typing.Optional[builtins.str], result)
970
+
971
+ @builtins.property
972
+ def secrets_manager_oracle_asm_access_role_arn(
973
+ self,
974
+ ) -> typing.Optional[builtins.str]:
975
+ '''Required only if your Oracle endpoint uses Automatic Storage Management (ASM).
976
+
977
+ The full ARN of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the ``SecretsManagerOracleAsmSecret`` . This ``SecretsManagerOracleAsmSecret`` has the secret value that allows access to the Oracle ASM of the endpoint.
978
+ .. epigraph::
979
+
980
+ You can specify one of two sets of values for these permissions. You can specify the values for this setting and ``SecretsManagerOracleAsmSecretId`` . Or you can specify clear-text values for ``AsmUser`` , ``AsmPassword`` , and ``AsmServerName`` . You can't specify both. For more information on creating this ``SecretsManagerOracleAsmSecret`` and the ``SecretsManagerOracleAsmAccessRoleArn`` and ``SecretsManagerOracleAsmSecretId`` required to access it, see `Using secrets to access AWS Database Migration Service resources <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#security-iam-secretsmanager>`_ in the *AWS Database Migration Service User Guide* .
981
+
982
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-secretsmanageroracleasmaccessrolearn
983
+ '''
984
+ result = self._values.get("secrets_manager_oracle_asm_access_role_arn")
985
+ return typing.cast(typing.Optional[builtins.str], result)
986
+
987
+ @builtins.property
988
+ def secrets_manager_oracle_asm_secret_id(self) -> typing.Optional[builtins.str]:
989
+ '''Required only if your Oracle endpoint uses Automatic Storage Management (ASM).
990
+
991
+ The full ARN, partial ARN, or friendly name of the ``SecretsManagerOracleAsmSecret`` that contains the Oracle ASM connection details for the Oracle endpoint.
992
+
993
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-secretsmanageroracleasmsecretid
994
+ '''
995
+ result = self._values.get("secrets_manager_oracle_asm_secret_id")
996
+ return typing.cast(typing.Optional[builtins.str], result)
997
+
998
+ @builtins.property
999
+ def secrets_manager_security_db_encryption_access_role_arn(
1000
+ self,
1001
+ ) -> typing.Optional[builtins.str]:
1002
+ '''
1003
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-secretsmanagersecuritydbencryptionaccessrolearn
1004
+ '''
1005
+ result = self._values.get("secrets_manager_security_db_encryption_access_role_arn")
1006
+ return typing.cast(typing.Optional[builtins.str], result)
1007
+
1008
+ @builtins.property
1009
+ def secrets_manager_security_db_encryption_secret_id(
1010
+ self,
1011
+ ) -> typing.Optional[builtins.str]:
1012
+ '''
1013
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-oraclesettings.html#cfn-dms-dataprovider-oraclesettings-secretsmanagersecuritydbencryptionsecretid
1014
+ '''
1015
+ result = self._values.get("secrets_manager_security_db_encryption_secret_id")
1016
+ return typing.cast(typing.Optional[builtins.str], result)
1017
+
1018
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1019
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
1020
+
1021
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1022
+ return not (rhs == self)
1023
+
1024
+ def __repr__(self) -> str:
1025
+ return "OracleSettingsProperty(%s)" % ", ".join(
1026
+ k + "=" + repr(v) for k, v in self._values.items()
1027
+ )
1028
+
1029
+ @jsii.data_type(
1030
+ jsii_type="aws-cdk-lib.aws_dms.CfnDataProvider.PostgreSqlSettingsProperty",
1031
+ jsii_struct_bases=[],
1032
+ name_mapping={
1033
+ "database_name": "databaseName",
1034
+ "port": "port",
1035
+ "server_name": "serverName",
1036
+ "ssl_mode": "sslMode",
1037
+ "certificate_arn": "certificateArn",
1038
+ },
1039
+ )
1040
+ class PostgreSqlSettingsProperty:
1041
+ def __init__(
1042
+ self,
1043
+ *,
1044
+ database_name: builtins.str,
1045
+ port: jsii.Number,
1046
+ server_name: builtins.str,
1047
+ ssl_mode: builtins.str,
1048
+ certificate_arn: typing.Optional[builtins.str] = None,
1049
+ ) -> None:
1050
+ '''Provides information that defines a PostgreSQL endpoint.
1051
+
1052
+ :param database_name: Database name for the endpoint.
1053
+ :param port: Endpoint TCP port. The default is 5432.
1054
+ :param server_name: The host name of the endpoint database. For an Amazon RDS PostgreSQL instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field. For an Aurora PostgreSQL instance, this is the output of `DescribeDBClusters <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html>`_ , in the ``Endpoint`` field.
1055
+ :param ssl_mode:
1056
+ :param certificate_arn:
1057
+
1058
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html
1059
+ :exampleMetadata: fixture=_generated
1060
+
1061
+ Example::
1062
+
1063
+ # The code below shows an example of how to instantiate this type.
1064
+ # The values are placeholders you should change.
1065
+ from aws_cdk import aws_dms as dms
1066
+
1067
+ postgre_sql_settings_property = dms.CfnDataProvider.PostgreSqlSettingsProperty(
1068
+ database_name="databaseName",
1069
+ port=123,
1070
+ server_name="serverName",
1071
+ ssl_mode="sslMode",
1072
+
1073
+ # the properties below are optional
1074
+ certificate_arn="certificateArn"
1075
+ )
1076
+ '''
1077
+ if __debug__:
1078
+ type_hints = typing.get_type_hints(_typecheckingstub__88794bb72ba79be958b7dded7052c25ff733fb78d91866206736f0b1effd3336)
1079
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
1080
+ check_type(argname="argument port", value=port, expected_type=type_hints["port"])
1081
+ check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
1082
+ check_type(argname="argument ssl_mode", value=ssl_mode, expected_type=type_hints["ssl_mode"])
1083
+ check_type(argname="argument certificate_arn", value=certificate_arn, expected_type=type_hints["certificate_arn"])
1084
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1085
+ "database_name": database_name,
1086
+ "port": port,
1087
+ "server_name": server_name,
1088
+ "ssl_mode": ssl_mode,
1089
+ }
1090
+ if certificate_arn is not None:
1091
+ self._values["certificate_arn"] = certificate_arn
1092
+
1093
+ @builtins.property
1094
+ def database_name(self) -> builtins.str:
1095
+ '''Database name for the endpoint.
1096
+
1097
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-databasename
1098
+ '''
1099
+ result = self._values.get("database_name")
1100
+ assert result is not None, "Required property 'database_name' is missing"
1101
+ return typing.cast(builtins.str, result)
1102
+
1103
+ @builtins.property
1104
+ def port(self) -> jsii.Number:
1105
+ '''Endpoint TCP port.
1106
+
1107
+ The default is 5432.
1108
+
1109
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-port
1110
+ '''
1111
+ result = self._values.get("port")
1112
+ assert result is not None, "Required property 'port' is missing"
1113
+ return typing.cast(jsii.Number, result)
1114
+
1115
+ @builtins.property
1116
+ def server_name(self) -> builtins.str:
1117
+ '''The host name of the endpoint database.
1118
+
1119
+ For an Amazon RDS PostgreSQL instance, this is the output of `DescribeDBInstances <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html>`_ , in the ``[Endpoint](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Endpoint.html) .Address`` field.
1120
+
1121
+ For an Aurora PostgreSQL instance, this is the output of `DescribeDBClusters <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html>`_ , in the ``Endpoint`` field.
1122
+
1123
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-servername
1124
+ '''
1125
+ result = self._values.get("server_name")
1126
+ assert result is not None, "Required property 'server_name' is missing"
1127
+ return typing.cast(builtins.str, result)
1128
+
1129
+ @builtins.property
1130
+ def ssl_mode(self) -> builtins.str:
1131
+ '''
1132
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-sslmode
1133
+ '''
1134
+ result = self._values.get("ssl_mode")
1135
+ assert result is not None, "Required property 'ssl_mode' is missing"
1136
+ return typing.cast(builtins.str, result)
383
1137
 
384
- @jsii.member(jsii_name="renderProperties")
385
- def _render_properties(
386
- self,
387
- props: typing.Mapping[builtins.str, typing.Any],
388
- ) -> typing.Mapping[builtins.str, typing.Any]:
389
- '''
390
- :param props: -
391
- '''
392
- if __debug__:
393
- type_hints = typing.get_type_hints(_typecheckingstub__5f3e870b0edacc6af82460cb592fd3d971822bf9675e4fe90ee87e3566e0e6f4)
394
- check_type(argname="argument props", value=props, expected_type=type_hints["props"])
395
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
1138
+ @builtins.property
1139
+ def certificate_arn(self) -> typing.Optional[builtins.str]:
1140
+ '''
1141
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-postgresqlsettings.html#cfn-dms-dataprovider-postgresqlsettings-certificatearn
1142
+ '''
1143
+ result = self._values.get("certificate_arn")
1144
+ return typing.cast(typing.Optional[builtins.str], result)
396
1145
 
397
- @jsii.python.classproperty
398
- @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
399
- def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
400
- '''The CloudFormation resource type name for this resource class.'''
401
- return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
1146
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1147
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
402
1148
 
403
- @builtins.property
404
- @jsii.member(jsii_name="attrDataProviderArn")
405
- def attr_data_provider_arn(self) -> builtins.str:
406
- '''The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
1149
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1150
+ return not (rhs == self)
407
1151
 
408
- :cloudformationAttribute: DataProviderArn
409
- '''
410
- return typing.cast(builtins.str, jsii.get(self, "attrDataProviderArn"))
1152
+ def __repr__(self) -> str:
1153
+ return "PostgreSqlSettingsProperty(%s)" % ", ".join(
1154
+ k + "=" + repr(v) for k, v in self._values.items()
1155
+ )
411
1156
 
412
- @builtins.property
413
- @jsii.member(jsii_name="attrDataProviderCreationTime")
414
- def attr_data_provider_creation_time(self) -> builtins.str:
415
- '''The time the data provider was created.
1157
+ @jsii.data_type(
1158
+ jsii_type="aws-cdk-lib.aws_dms.CfnDataProvider.SettingsProperty",
1159
+ jsii_struct_bases=[],
1160
+ name_mapping={
1161
+ "microsoft_sql_server_settings": "microsoftSqlServerSettings",
1162
+ "my_sql_settings": "mySqlSettings",
1163
+ "oracle_settings": "oracleSettings",
1164
+ "postgre_sql_settings": "postgreSqlSettings",
1165
+ },
1166
+ )
1167
+ class SettingsProperty:
1168
+ def __init__(
1169
+ self,
1170
+ *,
1171
+ microsoft_sql_server_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProvider.MicrosoftSqlServerSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1172
+ my_sql_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProvider.MySqlSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1173
+ oracle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProvider.OracleSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1174
+ postgre_sql_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnDataProvider.PostgreSqlSettingsProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
1175
+ ) -> None:
1176
+ '''The property identifies the exact type of settings for the data provider.
416
1177
 
417
- :cloudformationAttribute: DataProviderCreationTime
418
- '''
419
- return typing.cast(builtins.str, jsii.get(self, "attrDataProviderCreationTime"))
1178
+ :param microsoft_sql_server_settings: MicrosoftSqlServerSettings property identifier.
1179
+ :param my_sql_settings: MySqlSettings property identifier.
1180
+ :param oracle_settings: OracleSettings property identifier.
1181
+ :param postgre_sql_settings: PostgreSqlSettings property identifier.
420
1182
 
421
- @builtins.property
422
- @jsii.member(jsii_name="cdkTagManager")
423
- def cdk_tag_manager(self) -> _TagManager_0a598cb3:
424
- '''Tag Manager which manages the tags for this resource.'''
425
- return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
1183
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html
1184
+ :exampleMetadata: fixture=_generated
426
1185
 
427
- @builtins.property
428
- @jsii.member(jsii_name="cfnProperties")
429
- def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
430
- return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
1186
+ Example::
431
1187
 
432
- @builtins.property
433
- @jsii.member(jsii_name="engine")
434
- def engine(self) -> builtins.str:
435
- '''The type of database engine for the data provider.'''
436
- return typing.cast(builtins.str, jsii.get(self, "engine"))
1188
+ # The code below shows an example of how to instantiate this type.
1189
+ # The values are placeholders you should change.
1190
+ from aws_cdk import aws_dms as dms
1191
+
1192
+ settings_property = dms.CfnDataProvider.SettingsProperty(
1193
+ microsoft_sql_server_settings=dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty(
1194
+ database_name="databaseName",
1195
+ port=123,
1196
+ server_name="serverName",
1197
+ ssl_mode="sslMode",
1198
+
1199
+ # the properties below are optional
1200
+ certificate_arn="certificateArn"
1201
+ ),
1202
+ my_sql_settings=dms.CfnDataProvider.MySqlSettingsProperty(
1203
+ port=123,
1204
+ server_name="serverName",
1205
+ ssl_mode="sslMode",
1206
+
1207
+ # the properties below are optional
1208
+ certificate_arn="certificateArn"
1209
+ ),
1210
+ oracle_settings=dms.CfnDataProvider.OracleSettingsProperty(
1211
+ database_name="databaseName",
1212
+ port=123,
1213
+ server_name="serverName",
1214
+ ssl_mode="sslMode",
1215
+
1216
+ # the properties below are optional
1217
+ asm_server="asmServer",
1218
+ certificate_arn="certificateArn",
1219
+ secrets_manager_oracle_asm_access_role_arn="secretsManagerOracleAsmAccessRoleArn",
1220
+ secrets_manager_oracle_asm_secret_id="secretsManagerOracleAsmSecretId",
1221
+ secrets_manager_security_db_encryption_access_role_arn="secretsManagerSecurityDbEncryptionAccessRoleArn",
1222
+ secrets_manager_security_db_encryption_secret_id="secretsManagerSecurityDbEncryptionSecretId"
1223
+ ),
1224
+ postgre_sql_settings=dms.CfnDataProvider.PostgreSqlSettingsProperty(
1225
+ database_name="databaseName",
1226
+ port=123,
1227
+ server_name="serverName",
1228
+ ssl_mode="sslMode",
1229
+
1230
+ # the properties below are optional
1231
+ certificate_arn="certificateArn"
1232
+ )
1233
+ )
1234
+ '''
1235
+ if __debug__:
1236
+ type_hints = typing.get_type_hints(_typecheckingstub__48803eeb23a0ec3425b1499cb6eedd7b2e70bcf1cc89d7b2c483a13b031d79d8)
1237
+ check_type(argname="argument microsoft_sql_server_settings", value=microsoft_sql_server_settings, expected_type=type_hints["microsoft_sql_server_settings"])
1238
+ check_type(argname="argument my_sql_settings", value=my_sql_settings, expected_type=type_hints["my_sql_settings"])
1239
+ check_type(argname="argument oracle_settings", value=oracle_settings, expected_type=type_hints["oracle_settings"])
1240
+ check_type(argname="argument postgre_sql_settings", value=postgre_sql_settings, expected_type=type_hints["postgre_sql_settings"])
1241
+ self._values: typing.Dict[builtins.str, typing.Any] = {}
1242
+ if microsoft_sql_server_settings is not None:
1243
+ self._values["microsoft_sql_server_settings"] = microsoft_sql_server_settings
1244
+ if my_sql_settings is not None:
1245
+ self._values["my_sql_settings"] = my_sql_settings
1246
+ if oracle_settings is not None:
1247
+ self._values["oracle_settings"] = oracle_settings
1248
+ if postgre_sql_settings is not None:
1249
+ self._values["postgre_sql_settings"] = postgre_sql_settings
437
1250
 
438
- @engine.setter
439
- def engine(self, value: builtins.str) -> None:
440
- if __debug__:
441
- type_hints = typing.get_type_hints(_typecheckingstub__020de7951d6d70bc9d3efa600e1210f388dcd2776433c31a4e92b6afe9782ff2)
442
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
443
- jsii.set(self, "engine", value) # pyright: ignore[reportArgumentType]
1251
+ @builtins.property
1252
+ def microsoft_sql_server_settings(
1253
+ self,
1254
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.MicrosoftSqlServerSettingsProperty"]]:
1255
+ '''MicrosoftSqlServerSettings property identifier.
444
1256
 
445
- @builtins.property
446
- @jsii.member(jsii_name="dataProviderIdentifier")
447
- def data_provider_identifier(self) -> typing.Optional[builtins.str]:
448
- '''The identifier of the data provider.'''
449
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataProviderIdentifier"))
1257
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-microsoftsqlserversettings
1258
+ '''
1259
+ result = self._values.get("microsoft_sql_server_settings")
1260
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.MicrosoftSqlServerSettingsProperty"]], result)
450
1261
 
451
- @data_provider_identifier.setter
452
- def data_provider_identifier(self, value: typing.Optional[builtins.str]) -> None:
453
- if __debug__:
454
- type_hints = typing.get_type_hints(_typecheckingstub__05caa8991d8aa025161e83d5ae88c03b5b1d3dc49c14071f0728788a968f2568)
455
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
456
- jsii.set(self, "dataProviderIdentifier", value) # pyright: ignore[reportArgumentType]
1262
+ @builtins.property
1263
+ def my_sql_settings(
1264
+ self,
1265
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.MySqlSettingsProperty"]]:
1266
+ '''MySqlSettings property identifier.
457
1267
 
458
- @builtins.property
459
- @jsii.member(jsii_name="dataProviderName")
460
- def data_provider_name(self) -> typing.Optional[builtins.str]:
461
- '''The name of the data provider.'''
462
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dataProviderName"))
1268
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-mysqlsettings
1269
+ '''
1270
+ result = self._values.get("my_sql_settings")
1271
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.MySqlSettingsProperty"]], result)
463
1272
 
464
- @data_provider_name.setter
465
- def data_provider_name(self, value: typing.Optional[builtins.str]) -> None:
466
- if __debug__:
467
- type_hints = typing.get_type_hints(_typecheckingstub__454cfcd7845bc90fe7e1a58a73587247e646a6372c641c3514ea21f8d6f11777)
468
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
469
- jsii.set(self, "dataProviderName", value) # pyright: ignore[reportArgumentType]
1273
+ @builtins.property
1274
+ def oracle_settings(
1275
+ self,
1276
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.OracleSettingsProperty"]]:
1277
+ '''OracleSettings property identifier.
470
1278
 
471
- @builtins.property
472
- @jsii.member(jsii_name="description")
473
- def description(self) -> typing.Optional[builtins.str]:
474
- '''A description of the data provider.'''
475
- return typing.cast(typing.Optional[builtins.str], jsii.get(self, "description"))
1279
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-oraclesettings
1280
+ '''
1281
+ result = self._values.get("oracle_settings")
1282
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.OracleSettingsProperty"]], result)
476
1283
 
477
- @description.setter
478
- def description(self, value: typing.Optional[builtins.str]) -> None:
479
- if __debug__:
480
- type_hints = typing.get_type_hints(_typecheckingstub__ecadd16a9c7e49c8bf8e1b2e26f904f253dbd4bbefc352e35330e2788cb60915)
481
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
482
- jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
1284
+ @builtins.property
1285
+ def postgre_sql_settings(
1286
+ self,
1287
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.PostgreSqlSettingsProperty"]]:
1288
+ '''PostgreSqlSettings property identifier.
483
1289
 
484
- @builtins.property
485
- @jsii.member(jsii_name="exactSettings")
486
- def exact_settings(
487
- self,
488
- ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
489
- '''The property describes the exact settings which can be modified.'''
490
- return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "exactSettings"))
1290
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-dataprovider-settings.html#cfn-dms-dataprovider-settings-postgresqlsettings
1291
+ '''
1292
+ result = self._values.get("postgre_sql_settings")
1293
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnDataProvider.PostgreSqlSettingsProperty"]], result)
491
1294
 
492
- @exact_settings.setter
493
- def exact_settings(
494
- self,
495
- value: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]],
496
- ) -> None:
497
- if __debug__:
498
- type_hints = typing.get_type_hints(_typecheckingstub__f4d016d92a836fecec39275d37ba39e9b434aac43e0b8d6b9a644a15bfff4ef8)
499
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
500
- jsii.set(self, "exactSettings", value) # pyright: ignore[reportArgumentType]
1295
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
1296
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
501
1297
 
502
- @builtins.property
503
- @jsii.member(jsii_name="tags")
504
- def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
505
- '''An array of key-value pairs to apply to this resource.'''
506
- return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
1298
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
1299
+ return not (rhs == self)
507
1300
 
508
- @tags.setter
509
- def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
510
- if __debug__:
511
- type_hints = typing.get_type_hints(_typecheckingstub__15d6e40a485e85376660625e14969b38fc293c419cb77e7880107c25ae376134)
512
- check_type(argname="argument value", value=value, expected_type=type_hints["value"])
513
- jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
1301
+ def __repr__(self) -> str:
1302
+ return "SettingsProperty(%s)" % ", ".join(
1303
+ k + "=" + repr(v) for k, v in self._values.items()
1304
+ )
514
1305
 
515
1306
 
516
1307
  @jsii.data_type(
@@ -522,6 +1313,7 @@ class CfnDataProvider(
522
1313
  "data_provider_name": "dataProviderName",
523
1314
  "description": "description",
524
1315
  "exact_settings": "exactSettings",
1316
+ "settings": "settings",
525
1317
  "tags": "tags",
526
1318
  },
527
1319
  )
@@ -534,6 +1326,7 @@ class CfnDataProviderProps:
534
1326
  data_provider_name: typing.Optional[builtins.str] = None,
535
1327
  description: typing.Optional[builtins.str] = None,
536
1328
  exact_settings: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
1329
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.SettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
537
1330
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
538
1331
  ) -> None:
539
1332
  '''Properties for defining a ``CfnDataProvider``.
@@ -543,6 +1336,7 @@ class CfnDataProviderProps:
543
1336
  :param data_provider_name: The name of the data provider.
544
1337
  :param description: A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
545
1338
  :param exact_settings: The property describes the exact settings which can be modified. Default: - false
1339
+ :param settings: The settings in JSON format for a data provider.
546
1340
  :param tags: An array of key-value pairs to apply to this resource.
547
1341
 
548
1342
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html
@@ -562,6 +1356,48 @@ class CfnDataProviderProps:
562
1356
  data_provider_name="dataProviderName",
563
1357
  description="description",
564
1358
  exact_settings=False,
1359
+ settings=dms.CfnDataProvider.SettingsProperty(
1360
+ microsoft_sql_server_settings=dms.CfnDataProvider.MicrosoftSqlServerSettingsProperty(
1361
+ database_name="databaseName",
1362
+ port=123,
1363
+ server_name="serverName",
1364
+ ssl_mode="sslMode",
1365
+
1366
+ # the properties below are optional
1367
+ certificate_arn="certificateArn"
1368
+ ),
1369
+ my_sql_settings=dms.CfnDataProvider.MySqlSettingsProperty(
1370
+ port=123,
1371
+ server_name="serverName",
1372
+ ssl_mode="sslMode",
1373
+
1374
+ # the properties below are optional
1375
+ certificate_arn="certificateArn"
1376
+ ),
1377
+ oracle_settings=dms.CfnDataProvider.OracleSettingsProperty(
1378
+ database_name="databaseName",
1379
+ port=123,
1380
+ server_name="serverName",
1381
+ ssl_mode="sslMode",
1382
+
1383
+ # the properties below are optional
1384
+ asm_server="asmServer",
1385
+ certificate_arn="certificateArn",
1386
+ secrets_manager_oracle_asm_access_role_arn="secretsManagerOracleAsmAccessRoleArn",
1387
+ secrets_manager_oracle_asm_secret_id="secretsManagerOracleAsmSecretId",
1388
+ secrets_manager_security_db_encryption_access_role_arn="secretsManagerSecurityDbEncryptionAccessRoleArn",
1389
+ secrets_manager_security_db_encryption_secret_id="secretsManagerSecurityDbEncryptionSecretId"
1390
+ ),
1391
+ postgre_sql_settings=dms.CfnDataProvider.PostgreSqlSettingsProperty(
1392
+ database_name="databaseName",
1393
+ port=123,
1394
+ server_name="serverName",
1395
+ ssl_mode="sslMode",
1396
+
1397
+ # the properties below are optional
1398
+ certificate_arn="certificateArn"
1399
+ )
1400
+ ),
565
1401
  tags=[CfnTag(
566
1402
  key="key",
567
1403
  value="value"
@@ -575,6 +1411,7 @@ class CfnDataProviderProps:
575
1411
  check_type(argname="argument data_provider_name", value=data_provider_name, expected_type=type_hints["data_provider_name"])
576
1412
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
577
1413
  check_type(argname="argument exact_settings", value=exact_settings, expected_type=type_hints["exact_settings"])
1414
+ check_type(argname="argument settings", value=settings, expected_type=type_hints["settings"])
578
1415
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
579
1416
  self._values: typing.Dict[builtins.str, typing.Any] = {
580
1417
  "engine": engine,
@@ -587,6 +1424,8 @@ class CfnDataProviderProps:
587
1424
  self._values["description"] = description
588
1425
  if exact_settings is not None:
589
1426
  self._values["exact_settings"] = exact_settings
1427
+ if settings is not None:
1428
+ self._values["settings"] = settings
590
1429
  if tags is not None:
591
1430
  self._values["tags"] = tags
592
1431
 
@@ -646,6 +1485,17 @@ class CfnDataProviderProps:
646
1485
  result = self._values.get("exact_settings")
647
1486
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
648
1487
 
1488
+ @builtins.property
1489
+ def settings(
1490
+ self,
1491
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProvider.SettingsProperty]]:
1492
+ '''The settings in JSON format for a data provider.
1493
+
1494
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-dataprovider.html#cfn-dms-dataprovider-settings
1495
+ '''
1496
+ result = self._values.get("settings")
1497
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProvider.SettingsProperty]], result)
1498
+
649
1499
  @builtins.property
650
1500
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
651
1501
  '''An array of key-value pairs to apply to this resource.
@@ -10171,6 +11021,7 @@ class CfnReplicationInstance(
10171
11021
  engine_version="engineVersion",
10172
11022
  kms_key_id="kmsKeyId",
10173
11023
  multi_az=False,
11024
+ network_type="networkType",
10174
11025
  preferred_maintenance_window="preferredMaintenanceWindow",
10175
11026
  publicly_accessible=False,
10176
11027
  replication_instance_identifier="replicationInstanceIdentifier",
@@ -10197,6 +11048,7 @@ class CfnReplicationInstance(
10197
11048
  engine_version: typing.Optional[builtins.str] = None,
10198
11049
  kms_key_id: typing.Optional[builtins.str] = None,
10199
11050
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
11051
+ network_type: typing.Optional[builtins.str] = None,
10200
11052
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
10201
11053
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10202
11054
  replication_instance_identifier: typing.Optional[builtins.str] = None,
@@ -10216,6 +11068,7 @@ class CfnReplicationInstance(
10216
11068
  :param engine_version: The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
10217
11069
  :param kms_key_id: An AWS KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for the ``KmsKeyId`` parameter, AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
10218
11070
  :param multi_az: Specifies whether the replication instance is a Multi-AZ deployment. You can't set the ``AvailabilityZone`` parameter if the Multi-AZ parameter is set to ``true`` .
11071
+ :param network_type: The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
10219
11072
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in UTC. *Format* : ``ddd:hh24:mi-ddd:hh24:mi`` *Default* : A 30-minute window selected at random from an 8-hour block of time per AWS Region , occurring on a random day of the week. *Valid days* ( ``ddd`` ): ``Mon`` | ``Tue`` | ``Wed`` | ``Thu`` | ``Fri`` | ``Sat`` | ``Sun`` *Constraints* : Minimum 30-minute window.
10220
11073
  :param publicly_accessible: Specifies the accessibility options for the replication instance. A value of ``true`` represents an instance with a public IP address. A value of ``false`` represents an instance with a private IP address. The default value is ``true`` .
10221
11074
  :param replication_instance_identifier: The replication instance identifier. This parameter is stored as a lowercase string. Constraints: - Must contain 1-63 alphanumeric characters or hyphens. - First character must be a letter. - Can't end with a hyphen or contain two consecutive hyphens. Example: ``myrepinstance``
@@ -10237,6 +11090,7 @@ class CfnReplicationInstance(
10237
11090
  engine_version=engine_version,
10238
11091
  kms_key_id=kms_key_id,
10239
11092
  multi_az=multi_az,
11093
+ network_type=network_type,
10240
11094
  preferred_maintenance_window=preferred_maintenance_window,
10241
11095
  publicly_accessible=publicly_accessible,
10242
11096
  replication_instance_identifier=replication_instance_identifier,
@@ -10434,6 +11288,19 @@ class CfnReplicationInstance(
10434
11288
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10435
11289
  jsii.set(self, "multiAz", value) # pyright: ignore[reportArgumentType]
10436
11290
 
11291
+ @builtins.property
11292
+ @jsii.member(jsii_name="networkType")
11293
+ def network_type(self) -> typing.Optional[builtins.str]:
11294
+ '''The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing.'''
11295
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "networkType"))
11296
+
11297
+ @network_type.setter
11298
+ def network_type(self, value: typing.Optional[builtins.str]) -> None:
11299
+ if __debug__:
11300
+ type_hints = typing.get_type_hints(_typecheckingstub__c156c0d2c7aacfcdee523ba59334d2972e82568594c26f445fba88fa3d59bfed)
11301
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
11302
+ jsii.set(self, "networkType", value) # pyright: ignore[reportArgumentType]
11303
+
10437
11304
  @builtins.property
10438
11305
  @jsii.member(jsii_name="preferredMaintenanceWindow")
10439
11306
  def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
@@ -10558,6 +11425,7 @@ class CfnReplicationInstance(
10558
11425
  "engine_version": "engineVersion",
10559
11426
  "kms_key_id": "kmsKeyId",
10560
11427
  "multi_az": "multiAz",
11428
+ "network_type": "networkType",
10561
11429
  "preferred_maintenance_window": "preferredMaintenanceWindow",
10562
11430
  "publicly_accessible": "publiclyAccessible",
10563
11431
  "replication_instance_identifier": "replicationInstanceIdentifier",
@@ -10579,6 +11447,7 @@ class CfnReplicationInstanceProps:
10579
11447
  engine_version: typing.Optional[builtins.str] = None,
10580
11448
  kms_key_id: typing.Optional[builtins.str] = None,
10581
11449
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
11450
+ network_type: typing.Optional[builtins.str] = None,
10582
11451
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
10583
11452
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10584
11453
  replication_instance_identifier: typing.Optional[builtins.str] = None,
@@ -10597,6 +11466,7 @@ class CfnReplicationInstanceProps:
10597
11466
  :param engine_version: The engine version number of the replication instance. If an engine version number is not specified when a replication instance is created, the default is the latest engine version available.
10598
11467
  :param kms_key_id: An AWS KMS key identifier that is used to encrypt the data on the replication instance. If you don't specify a value for the ``KmsKeyId`` parameter, AWS DMS uses your default encryption key. AWS KMS creates the default encryption key for your AWS account . Your AWS account has a different default encryption key for each AWS Region .
10599
11468
  :param multi_az: Specifies whether the replication instance is a Multi-AZ deployment. You can't set the ``AvailabilityZone`` parameter if the Multi-AZ parameter is set to ``true`` .
11469
+ :param network_type: The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
10600
11470
  :param preferred_maintenance_window: The weekly time range during which system maintenance can occur, in UTC. *Format* : ``ddd:hh24:mi-ddd:hh24:mi`` *Default* : A 30-minute window selected at random from an 8-hour block of time per AWS Region , occurring on a random day of the week. *Valid days* ( ``ddd`` ): ``Mon`` | ``Tue`` | ``Wed`` | ``Thu`` | ``Fri`` | ``Sat`` | ``Sun`` *Constraints* : Minimum 30-minute window.
10601
11471
  :param publicly_accessible: Specifies the accessibility options for the replication instance. A value of ``true`` represents an instance with a public IP address. A value of ``false`` represents an instance with a private IP address. The default value is ``true`` .
10602
11472
  :param replication_instance_identifier: The replication instance identifier. This parameter is stored as a lowercase string. Constraints: - Must contain 1-63 alphanumeric characters or hyphens. - First character must be a letter. - Can't end with a hyphen or contain two consecutive hyphens. Example: ``myrepinstance``
@@ -10625,6 +11495,7 @@ class CfnReplicationInstanceProps:
10625
11495
  engine_version="engineVersion",
10626
11496
  kms_key_id="kmsKeyId",
10627
11497
  multi_az=False,
11498
+ network_type="networkType",
10628
11499
  preferred_maintenance_window="preferredMaintenanceWindow",
10629
11500
  publicly_accessible=False,
10630
11501
  replication_instance_identifier="replicationInstanceIdentifier",
@@ -10647,6 +11518,7 @@ class CfnReplicationInstanceProps:
10647
11518
  check_type(argname="argument engine_version", value=engine_version, expected_type=type_hints["engine_version"])
10648
11519
  check_type(argname="argument kms_key_id", value=kms_key_id, expected_type=type_hints["kms_key_id"])
10649
11520
  check_type(argname="argument multi_az", value=multi_az, expected_type=type_hints["multi_az"])
11521
+ check_type(argname="argument network_type", value=network_type, expected_type=type_hints["network_type"])
10650
11522
  check_type(argname="argument preferred_maintenance_window", value=preferred_maintenance_window, expected_type=type_hints["preferred_maintenance_window"])
10651
11523
  check_type(argname="argument publicly_accessible", value=publicly_accessible, expected_type=type_hints["publicly_accessible"])
10652
11524
  check_type(argname="argument replication_instance_identifier", value=replication_instance_identifier, expected_type=type_hints["replication_instance_identifier"])
@@ -10671,6 +11543,8 @@ class CfnReplicationInstanceProps:
10671
11543
  self._values["kms_key_id"] = kms_key_id
10672
11544
  if multi_az is not None:
10673
11545
  self._values["multi_az"] = multi_az
11546
+ if network_type is not None:
11547
+ self._values["network_type"] = network_type
10674
11548
  if preferred_maintenance_window is not None:
10675
11549
  self._values["preferred_maintenance_window"] = preferred_maintenance_window
10676
11550
  if publicly_accessible is not None:
@@ -10785,6 +11659,17 @@ class CfnReplicationInstanceProps:
10785
11659
  result = self._values.get("multi_az")
10786
11660
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
10787
11661
 
11662
+ @builtins.property
11663
+ def network_type(self) -> typing.Optional[builtins.str]:
11664
+ '''The type of IP address protocol used by a replication instance, such as IPv4 only or Dual-stack that supports both IPv4 and IPv6 addressing.
11665
+
11666
+ IPv6 only is not yet supported.
11667
+
11668
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html#cfn-dms-replicationinstance-networktype
11669
+ '''
11670
+ result = self._values.get("network_type")
11671
+ return typing.cast(typing.Optional[builtins.str], result)
11672
+
10788
11673
  @builtins.property
10789
11674
  def preferred_maintenance_window(self) -> typing.Optional[builtins.str]:
10790
11675
  '''The weekly time range during which system maintenance can occur, in UTC.
@@ -11864,6 +12749,7 @@ def _typecheckingstub__cf28699baa8f0b678c6576c66e1c53e33b16d9f9cc37b854d4edbc95b
11864
12749
  data_provider_name: typing.Optional[builtins.str] = None,
11865
12750
  description: typing.Optional[builtins.str] = None,
11866
12751
  exact_settings: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12752
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.SettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11867
12753
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
11868
12754
  ) -> None:
11869
12755
  """Type checking stubs"""
@@ -11911,12 +12797,76 @@ def _typecheckingstub__f4d016d92a836fecec39275d37ba39e9b434aac43e0b8d6b9a644a15b
11911
12797
  """Type checking stubs"""
11912
12798
  pass
11913
12799
 
12800
+ def _typecheckingstub__e759668e5454c7b728515ac0c320d568f1fc6f406c7ed4f0c45e830f497f443e(
12801
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnDataProvider.SettingsProperty]],
12802
+ ) -> None:
12803
+ """Type checking stubs"""
12804
+ pass
12805
+
11914
12806
  def _typecheckingstub__15d6e40a485e85376660625e14969b38fc293c419cb77e7880107c25ae376134(
11915
12807
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
11916
12808
  ) -> None:
11917
12809
  """Type checking stubs"""
11918
12810
  pass
11919
12811
 
12812
+ def _typecheckingstub__0dfa7fa5a3c635f1fb97ff68de16deda1fcd5749cf9b141cfd4bbe722c5d97f8(
12813
+ *,
12814
+ database_name: builtins.str,
12815
+ port: jsii.Number,
12816
+ server_name: builtins.str,
12817
+ ssl_mode: builtins.str,
12818
+ certificate_arn: typing.Optional[builtins.str] = None,
12819
+ ) -> None:
12820
+ """Type checking stubs"""
12821
+ pass
12822
+
12823
+ def _typecheckingstub__28a92398c22bb2d89f44278eeb8772aba7541e0dcdf28e72d3f025df01b87293(
12824
+ *,
12825
+ port: jsii.Number,
12826
+ server_name: builtins.str,
12827
+ ssl_mode: builtins.str,
12828
+ certificate_arn: typing.Optional[builtins.str] = None,
12829
+ ) -> None:
12830
+ """Type checking stubs"""
12831
+ pass
12832
+
12833
+ def _typecheckingstub__68384bca638e71c68098cc2e318168648bed28f7843c3017fa4e663310432e68(
12834
+ *,
12835
+ database_name: builtins.str,
12836
+ port: jsii.Number,
12837
+ server_name: builtins.str,
12838
+ ssl_mode: builtins.str,
12839
+ asm_server: typing.Optional[builtins.str] = None,
12840
+ certificate_arn: typing.Optional[builtins.str] = None,
12841
+ secrets_manager_oracle_asm_access_role_arn: typing.Optional[builtins.str] = None,
12842
+ secrets_manager_oracle_asm_secret_id: typing.Optional[builtins.str] = None,
12843
+ secrets_manager_security_db_encryption_access_role_arn: typing.Optional[builtins.str] = None,
12844
+ secrets_manager_security_db_encryption_secret_id: typing.Optional[builtins.str] = None,
12845
+ ) -> None:
12846
+ """Type checking stubs"""
12847
+ pass
12848
+
12849
+ def _typecheckingstub__88794bb72ba79be958b7dded7052c25ff733fb78d91866206736f0b1effd3336(
12850
+ *,
12851
+ database_name: builtins.str,
12852
+ port: jsii.Number,
12853
+ server_name: builtins.str,
12854
+ ssl_mode: builtins.str,
12855
+ certificate_arn: typing.Optional[builtins.str] = None,
12856
+ ) -> None:
12857
+ """Type checking stubs"""
12858
+ pass
12859
+
12860
+ def _typecheckingstub__48803eeb23a0ec3425b1499cb6eedd7b2e70bcf1cc89d7b2c483a13b031d79d8(
12861
+ *,
12862
+ microsoft_sql_server_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.MicrosoftSqlServerSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12863
+ my_sql_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.MySqlSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12864
+ oracle_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.OracleSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12865
+ postgre_sql_settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.PostgreSqlSettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
12866
+ ) -> None:
12867
+ """Type checking stubs"""
12868
+ pass
12869
+
11920
12870
  def _typecheckingstub__97cc3506a599073ab7e0ec6de0479e22078eea7f9108a8ff9c54e506d212555c(
11921
12871
  *,
11922
12872
  engine: builtins.str,
@@ -11924,6 +12874,7 @@ def _typecheckingstub__97cc3506a599073ab7e0ec6de0479e22078eea7f9108a8ff9c54e506d
11924
12874
  data_provider_name: typing.Optional[builtins.str] = None,
11925
12875
  description: typing.Optional[builtins.str] = None,
11926
12876
  exact_settings: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
12877
+ settings: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnDataProvider.SettingsProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
11927
12878
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
11928
12879
  ) -> None:
11929
12880
  """Type checking stubs"""
@@ -13000,6 +13951,7 @@ def _typecheckingstub__77ad0bed39c8ffa41b7998189a1d03defd3bc9e64d11468a83ada78f3
13000
13951
  engine_version: typing.Optional[builtins.str] = None,
13001
13952
  kms_key_id: typing.Optional[builtins.str] = None,
13002
13953
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13954
+ network_type: typing.Optional[builtins.str] = None,
13003
13955
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
13004
13956
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13005
13957
  replication_instance_identifier: typing.Optional[builtins.str] = None,
@@ -13071,6 +14023,12 @@ def _typecheckingstub__15cd762d24a89b64d936fd024f99a77b04a531719743e2b8fc0fe1101
13071
14023
  """Type checking stubs"""
13072
14024
  pass
13073
14025
 
14026
+ def _typecheckingstub__c156c0d2c7aacfcdee523ba59334d2972e82568594c26f445fba88fa3d59bfed(
14027
+ value: typing.Optional[builtins.str],
14028
+ ) -> None:
14029
+ """Type checking stubs"""
14030
+ pass
14031
+
13074
14032
  def _typecheckingstub__fb3624de443f0642843ae64062943a44b0b37d9aaf7365263558a992066fa413(
13075
14033
  value: typing.Optional[builtins.str],
13076
14034
  ) -> None:
@@ -13123,6 +14081,7 @@ def _typecheckingstub__c195b8dd61348ff1d9f7bd70b0a5b897ad23028c6c9ea122bf051cb2a
13123
14081
  engine_version: typing.Optional[builtins.str] = None,
13124
14082
  kms_key_id: typing.Optional[builtins.str] = None,
13125
14083
  multi_az: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
14084
+ network_type: typing.Optional[builtins.str] = None,
13126
14085
  preferred_maintenance_window: typing.Optional[builtins.str] = None,
13127
14086
  publicly_accessible: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
13128
14087
  replication_instance_identifier: typing.Optional[builtins.str] = None,