aws-cdk-lib 2.96.2__py3-none-any.whl → 2.97.1__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 (53) hide show
  1. aws_cdk/__init__.py +246 -62
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.96.2.jsii.tgz → aws-cdk-lib@2.97.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +1 -1
  5. aws_cdk/aws_appflow/__init__.py +205 -7
  6. aws_cdk/aws_appstream/__init__.py +33 -28
  7. aws_cdk/aws_appsync/__init__.py +555 -71
  8. aws_cdk/aws_autoscaling/__init__.py +5 -11
  9. aws_cdk/aws_billingconductor/__init__.py +145 -1
  10. aws_cdk/aws_cleanrooms/__init__.py +1198 -86
  11. aws_cdk/aws_cloudformation/__init__.py +221 -55
  12. aws_cdk/aws_cloudwatch/__init__.py +325 -2
  13. aws_cdk/aws_cognito/__init__.py +9 -13
  14. aws_cdk/aws_config/__init__.py +68 -73
  15. aws_cdk/aws_connect/__init__.py +909 -164
  16. aws_cdk/aws_customerprofiles/__init__.py +44 -0
  17. aws_cdk/aws_dms/__init__.py +198 -0
  18. aws_cdk/aws_ec2/__init__.py +593 -73
  19. aws_cdk/aws_ecr/__init__.py +7 -2
  20. aws_cdk/aws_ecs/__init__.py +2 -2
  21. aws_cdk/aws_efs/__init__.py +237 -0
  22. aws_cdk/aws_emr/__init__.py +232 -0
  23. aws_cdk/aws_entityresolution/__init__.py +1702 -0
  24. aws_cdk/aws_events/__init__.py +13 -18
  25. aws_cdk/aws_fms/__init__.py +3 -3
  26. aws_cdk/aws_gamelift/__init__.py +10 -15
  27. aws_cdk/aws_grafana/__init__.py +9 -5
  28. aws_cdk/aws_guardduty/__init__.py +272 -205
  29. aws_cdk/aws_iam/__init__.py +20 -18
  30. aws_cdk/aws_iotwireless/__init__.py +38 -54
  31. aws_cdk/aws_lakeformation/__init__.py +18 -6
  32. aws_cdk/aws_lambda/__init__.py +1 -1
  33. aws_cdk/aws_lightsail/__init__.py +225 -0
  34. aws_cdk/aws_lookoutequipment/__init__.py +4 -4
  35. aws_cdk/aws_macie/__init__.py +5 -3
  36. aws_cdk/aws_mediapackagev2/__init__.py +3227 -0
  37. aws_cdk/aws_pcaconnectorad/__init__.py +6785 -0
  38. aws_cdk/aws_quicksight/__init__.py +189 -116
  39. aws_cdk/aws_rds/__init__.py +316 -9
  40. aws_cdk/aws_resiliencehub/__init__.py +38 -21
  41. aws_cdk/aws_route53resolver/__init__.py +429 -0
  42. aws_cdk/aws_sagemaker/__init__.py +34 -34
  43. aws_cdk/aws_stepfunctions/__init__.py +111 -14
  44. aws_cdk/aws_transfer/__init__.py +2 -2
  45. aws_cdk/aws_vpclattice/__init__.py +128 -120
  46. aws_cdk/aws_workspacesweb/__init__.py +3790 -0
  47. aws_cdk/region_info/__init__.py +49 -0
  48. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/METADATA +2 -2
  49. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/RECORD +53 -49
  50. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/LICENSE +0 -0
  51. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/NOTICE +0 -0
  52. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/WHEEL +0 -0
  53. {aws_cdk_lib-2.96.2.dist-info → aws_cdk_lib-2.97.1.dist-info}/top_level.txt +0 -0
@@ -3749,6 +3749,7 @@ class CfnObjectType(
3749
3749
  )]
3750
3750
  )],
3751
3751
  object_type_name="objectTypeName",
3752
+ source_last_updated_timestamp_format="sourceLastUpdatedTimestampFormat",
3752
3753
  tags=[CfnTag(
3753
3754
  key="key",
3754
3755
  value="value"
@@ -3770,6 +3771,7 @@ class CfnObjectType(
3770
3771
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnObjectType.FieldMapProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3771
3772
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnObjectType.KeyMapProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
3772
3773
  object_type_name: typing.Optional[builtins.str] = None,
3774
+ source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
3773
3775
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3774
3776
  template_id: typing.Optional[builtins.str] = None,
3775
3777
  ) -> None:
@@ -3784,6 +3786,7 @@ class CfnObjectType(
3784
3786
  :param fields: A list of field definitions for the object type mapping.
3785
3787
  :param keys: A list of keys that can be used to map data to the profile or search for the profile.
3786
3788
  :param object_type_name: The name of the profile object type.
3789
+ :param source_last_updated_timestamp_format: The format of your sourceLastUpdatedTimestamp that was previously set up.
3787
3790
  :param tags: The tags used to organize, track, or control access for this resource.
3788
3791
  :param template_id: A unique identifier for the template mapping. This can be used instead of specifying the Keys and Fields properties directly.
3789
3792
  '''
@@ -3800,6 +3803,7 @@ class CfnObjectType(
3800
3803
  fields=fields,
3801
3804
  keys=keys,
3802
3805
  object_type_name=object_type_name,
3806
+ source_last_updated_timestamp_format=source_last_updated_timestamp_format,
3803
3807
  tags=tags,
3804
3808
  template_id=template_id,
3805
3809
  )
@@ -3984,6 +3988,22 @@ class CfnObjectType(
3984
3988
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3985
3989
  jsii.set(self, "objectTypeName", value)
3986
3990
 
3991
+ @builtins.property
3992
+ @jsii.member(jsii_name="sourceLastUpdatedTimestampFormat")
3993
+ def source_last_updated_timestamp_format(self) -> typing.Optional[builtins.str]:
3994
+ '''The format of your sourceLastUpdatedTimestamp that was previously set up.'''
3995
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceLastUpdatedTimestampFormat"))
3996
+
3997
+ @source_last_updated_timestamp_format.setter
3998
+ def source_last_updated_timestamp_format(
3999
+ self,
4000
+ value: typing.Optional[builtins.str],
4001
+ ) -> None:
4002
+ if __debug__:
4003
+ type_hints = typing.get_type_hints(_typecheckingstub__bc577e5c0fd1bd47194e04599a6df995f066e809b7c98cb3b2e9ef839eaca0bc)
4004
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4005
+ jsii.set(self, "sourceLastUpdatedTimestampFormat", value)
4006
+
3987
4007
  @builtins.property
3988
4008
  @jsii.member(jsii_name="tagsRaw")
3989
4009
  def tags_raw(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
@@ -4346,6 +4366,7 @@ class CfnObjectType(
4346
4366
  "fields": "fields",
4347
4367
  "keys": "keys",
4348
4368
  "object_type_name": "objectTypeName",
4369
+ "source_last_updated_timestamp_format": "sourceLastUpdatedTimestampFormat",
4349
4370
  "tags": "tags",
4350
4371
  "template_id": "templateId",
4351
4372
  },
@@ -4362,6 +4383,7 @@ class CfnObjectTypeProps:
4362
4383
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
4363
4384
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
4364
4385
  object_type_name: typing.Optional[builtins.str] = None,
4386
+ source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
4365
4387
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4366
4388
  template_id: typing.Optional[builtins.str] = None,
4367
4389
  ) -> None:
@@ -4375,6 +4397,7 @@ class CfnObjectTypeProps:
4375
4397
  :param fields: A list of field definitions for the object type mapping.
4376
4398
  :param keys: A list of keys that can be used to map data to the profile or search for the profile.
4377
4399
  :param object_type_name: The name of the profile object type.
4400
+ :param source_last_updated_timestamp_format: The format of your sourceLastUpdatedTimestamp that was previously set up.
4378
4401
  :param tags: The tags used to organize, track, or control access for this resource.
4379
4402
  :param template_id: A unique identifier for the template mapping. This can be used instead of specifying the Keys and Fields properties directly.
4380
4403
 
@@ -4411,6 +4434,7 @@ class CfnObjectTypeProps:
4411
4434
  )]
4412
4435
  )],
4413
4436
  object_type_name="objectTypeName",
4437
+ source_last_updated_timestamp_format="sourceLastUpdatedTimestampFormat",
4414
4438
  tags=[CfnTag(
4415
4439
  key="key",
4416
4440
  value="value"
@@ -4428,6 +4452,7 @@ class CfnObjectTypeProps:
4428
4452
  check_type(argname="argument fields", value=fields, expected_type=type_hints["fields"])
4429
4453
  check_type(argname="argument keys", value=keys, expected_type=type_hints["keys"])
4430
4454
  check_type(argname="argument object_type_name", value=object_type_name, expected_type=type_hints["object_type_name"])
4455
+ check_type(argname="argument source_last_updated_timestamp_format", value=source_last_updated_timestamp_format, expected_type=type_hints["source_last_updated_timestamp_format"])
4431
4456
  check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
4432
4457
  check_type(argname="argument template_id", value=template_id, expected_type=type_hints["template_id"])
4433
4458
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -4447,6 +4472,8 @@ class CfnObjectTypeProps:
4447
4472
  self._values["keys"] = keys
4448
4473
  if object_type_name is not None:
4449
4474
  self._values["object_type_name"] = object_type_name
4475
+ if source_last_updated_timestamp_format is not None:
4476
+ self._values["source_last_updated_timestamp_format"] = source_last_updated_timestamp_format
4450
4477
  if tags is not None:
4451
4478
  self._values["tags"] = tags
4452
4479
  if template_id is not None:
@@ -4535,6 +4562,15 @@ class CfnObjectTypeProps:
4535
4562
  result = self._values.get("object_type_name")
4536
4563
  return typing.cast(typing.Optional[builtins.str], result)
4537
4564
 
4565
+ @builtins.property
4566
+ def source_last_updated_timestamp_format(self) -> typing.Optional[builtins.str]:
4567
+ '''The format of your sourceLastUpdatedTimestamp that was previously set up.
4568
+
4569
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-customerprofiles-objecttype.html#cfn-customerprofiles-objecttype-sourcelastupdatedtimestampformat
4570
+ '''
4571
+ result = self._values.get("source_last_updated_timestamp_format")
4572
+ return typing.cast(typing.Optional[builtins.str], result)
4573
+
4538
4574
  @builtins.property
4539
4575
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
4540
4576
  '''The tags used to organize, track, or control access for this resource.
@@ -5074,6 +5110,7 @@ def _typecheckingstub__e58419cb0a7694b5c554275a8721df95dc40489e742a23c76f7830ca5
5074
5110
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5075
5111
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5076
5112
  object_type_name: typing.Optional[builtins.str] = None,
5113
+ source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
5077
5114
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5078
5115
  template_id: typing.Optional[builtins.str] = None,
5079
5116
  ) -> None:
@@ -5140,6 +5177,12 @@ def _typecheckingstub__19dbd5a494e7060e32b7c4cc781d4cee2093bd041be3baf6d8b03e5f6
5140
5177
  """Type checking stubs"""
5141
5178
  pass
5142
5179
 
5180
+ def _typecheckingstub__bc577e5c0fd1bd47194e04599a6df995f066e809b7c98cb3b2e9ef839eaca0bc(
5181
+ value: typing.Optional[builtins.str],
5182
+ ) -> None:
5183
+ """Type checking stubs"""
5184
+ pass
5185
+
5143
5186
  def _typecheckingstub__034fbef34b9c45ddeef371cddf129b147eb3c6d5cb089d2a874dec871d849617(
5144
5187
  value: typing.Optional[typing.List[_CfnTag_f6864754]],
5145
5188
  ) -> None:
@@ -5195,6 +5238,7 @@ def _typecheckingstub__674aff1f8e16a6059ac0e56bfd831b21c20b3b3358878f53ea82ff2ee
5195
5238
  fields: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.FieldMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5196
5239
  keys: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnObjectType.KeyMapProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5197
5240
  object_type_name: typing.Optional[builtins.str] = None,
5241
+ source_last_updated_timestamp_format: typing.Optional[builtins.str] = None,
5198
5242
  tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5199
5243
  template_id: typing.Optional[builtins.str] = None,
5200
5244
  ) -> None:
@@ -382,12 +382,20 @@ class CfnEndpoint(
382
382
  microsoft_sql_server_settings=dms.CfnEndpoint.MicrosoftSqlServerSettingsProperty(
383
383
  bcp_packet_size=123,
384
384
  control_tables_file_group="controlTablesFileGroup",
385
+ database_name="databaseName",
386
+ force_lob_lookup=False,
387
+ password="password",
388
+ port=123,
385
389
  query_single_always_on_node=False,
386
390
  read_backup_only=False,
387
391
  safeguard_policy="safeguardPolicy",
388
392
  secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
389
393
  secrets_manager_secret_id="secretsManagerSecretId",
394
+ server_name="serverName",
395
+ tlog_access_mode="tlogAccessMode",
396
+ trim_space_in_char=False,
390
397
  use_bcp_full_load=False,
398
+ username="username",
391
399
  use_third_party_backup_device=False
392
400
  ),
393
401
  mongo_db_settings=dms.CfnEndpoint.MongoDbSettingsProperty(
@@ -466,7 +474,9 @@ class CfnEndpoint(
466
474
  port=123,
467
475
  postgre_sql_settings=dms.CfnEndpoint.PostgreSqlSettingsProperty(
468
476
  after_connect_script="afterConnectScript",
477
+ babelfish_database_name="babelfishDatabaseName",
469
478
  capture_ddls=False,
479
+ database_mode="databaseMode",
470
480
  ddl_artifacts_schema="ddlArtifactsSchema",
471
481
  execute_timeout=123,
472
482
  fail_tasks_on_lob_truncation=False,
@@ -2570,12 +2580,20 @@ class CfnEndpoint(
2570
2580
  name_mapping={
2571
2581
  "bcp_packet_size": "bcpPacketSize",
2572
2582
  "control_tables_file_group": "controlTablesFileGroup",
2583
+ "database_name": "databaseName",
2584
+ "force_lob_lookup": "forceLobLookup",
2585
+ "password": "password",
2586
+ "port": "port",
2573
2587
  "query_single_always_on_node": "querySingleAlwaysOnNode",
2574
2588
  "read_backup_only": "readBackupOnly",
2575
2589
  "safeguard_policy": "safeguardPolicy",
2576
2590
  "secrets_manager_access_role_arn": "secretsManagerAccessRoleArn",
2577
2591
  "secrets_manager_secret_id": "secretsManagerSecretId",
2592
+ "server_name": "serverName",
2593
+ "tlog_access_mode": "tlogAccessMode",
2594
+ "trim_space_in_char": "trimSpaceInChar",
2578
2595
  "use_bcp_full_load": "useBcpFullLoad",
2596
+ "username": "username",
2579
2597
  "use_third_party_backup_device": "useThirdPartyBackupDevice",
2580
2598
  },
2581
2599
  )
@@ -2585,12 +2603,20 @@ class CfnEndpoint(
2585
2603
  *,
2586
2604
  bcp_packet_size: typing.Optional[jsii.Number] = None,
2587
2605
  control_tables_file_group: typing.Optional[builtins.str] = None,
2606
+ database_name: typing.Optional[builtins.str] = None,
2607
+ force_lob_lookup: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2608
+ password: typing.Optional[builtins.str] = None,
2609
+ port: typing.Optional[jsii.Number] = None,
2588
2610
  query_single_always_on_node: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2589
2611
  read_backup_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2590
2612
  safeguard_policy: typing.Optional[builtins.str] = None,
2591
2613
  secrets_manager_access_role_arn: typing.Optional[builtins.str] = None,
2592
2614
  secrets_manager_secret_id: typing.Optional[builtins.str] = None,
2615
+ server_name: typing.Optional[builtins.str] = None,
2616
+ tlog_access_mode: typing.Optional[builtins.str] = None,
2617
+ trim_space_in_char: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2593
2618
  use_bcp_full_load: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2619
+ username: typing.Optional[builtins.str] = None,
2594
2620
  use_third_party_backup_device: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2595
2621
  ) -> None:
2596
2622
  '''Provides information that defines a Microsoft SQL Server endpoint.
@@ -2599,12 +2625,20 @@ class CfnEndpoint(
2599
2625
 
2600
2626
  :param bcp_packet_size: The maximum size of the packets (in bytes) used to transfer data using BCP.
2601
2627
  :param control_tables_file_group: Specifies a file group for the AWS DMS internal tables. When the replication task starts, all the internal AWS DMS control tables (awsdms_ apply_exception, awsdms_apply, awsdms_changes) are created for the specified file group.
2628
+ :param database_name: Database name for the endpoint.
2629
+ :param force_lob_lookup: Forces LOB lookup on inline LOB.
2630
+ :param password: Endpoint connection password.
2631
+ :param port: Endpoint TCP port.
2602
2632
  :param query_single_always_on_node: Cleans and recreates table metadata information on the replication instance when a mismatch occurs. An example is a situation where running an alter DDL statement on a table might result in different information about the table cached in the replication instance.
2603
2633
  :param read_backup_only: When this attribute is set to ``Y`` , AWS DMS only reads changes from transaction log backups and doesn't read from the active transaction log file during ongoing replication. Setting this parameter to ``Y`` enables you to control active transaction log file growth during full load and ongoing replication tasks. However, it can add some source latency to ongoing replication.
2604
2634
  :param safeguard_policy: Use this attribute to minimize the need to access the backup log and enable AWS DMS to prevent truncation using one of the following two methods. *Start transactions in the database:* This is the default method. When this method is used, AWS DMS prevents TLOG truncation by mimicking a transaction in the database. As long as such a transaction is open, changes that appear after the transaction started aren't truncated. If you need Microsoft Replication to be enabled in your database, then you must choose this method. *Exclusively use sp_repldone within a single task* : When this method is used, AWS DMS reads the changes and then uses sp_repldone to mark the TLOG transactions as ready for truncation. Although this method doesn't involve any transactional activities, it can only be used when Microsoft Replication isn't running. Also, when using this method, only one AWS DMS task can access the database at any given time. Therefore, if you need to run parallel AWS DMS tasks against the same database, use the default method.
2605
2635
  :param secrets_manager_access_role_arn: The full Amazon Resource Name (ARN) of the IAM role that specifies AWS DMS as the trusted entity and grants the required permissions to access the value in ``SecretsManagerSecret`` . The role must allow the ``iam:PassRole`` action. ``SecretsManagerSecret`` has the value of the AWS Secrets Manager secret that allows access to the SQL Server endpoint. .. epigraph:: You can specify one of two sets of values for these permissions. You can specify the values for this setting and ``SecretsManagerSecretId`` . Or you can specify clear-text values for ``UserName`` , ``Password`` , ``ServerName`` , and ``Port`` . You can't specify both. For more information on creating this ``SecretsManagerSecret`` , the corresponding ``SecretsManagerAccessRoleArn`` , and the ``SecretsManagerSecretId`` that is 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* .
2606
2636
  :param secrets_manager_secret_id: The full ARN, partial ARN, or display name of the ``SecretsManagerSecret`` that contains the MicrosoftSQLServer endpoint connection details.
2637
+ :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.
2638
+ :param tlog_access_mode: Indicates the mode used to fetch CDC data.
2639
+ :param trim_space_in_char: Use the ``TrimSpaceInChar`` source endpoint setting to right-trim data on CHAR and NCHAR data types during migration. Setting ``TrimSpaceInChar`` does not left-trim data. The default value is ``true`` .
2607
2640
  :param use_bcp_full_load: Use this to attribute to transfer data for full-load operations using BCP. When the target table contains an identity column that does not exist in the source table, you must disable the use BCP for loading table option.
2641
+ :param username: Endpoint connection user name.
2608
2642
  :param use_third_party_backup_device: When this attribute is set to ``Y`` , DMS processes third-party transaction log backups if they are created in native format.
2609
2643
 
2610
2644
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html
@@ -2619,12 +2653,20 @@ class CfnEndpoint(
2619
2653
  microsoft_sql_server_settings_property = dms.CfnEndpoint.MicrosoftSqlServerSettingsProperty(
2620
2654
  bcp_packet_size=123,
2621
2655
  control_tables_file_group="controlTablesFileGroup",
2656
+ database_name="databaseName",
2657
+ force_lob_lookup=False,
2658
+ password="password",
2659
+ port=123,
2622
2660
  query_single_always_on_node=False,
2623
2661
  read_backup_only=False,
2624
2662
  safeguard_policy="safeguardPolicy",
2625
2663
  secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
2626
2664
  secrets_manager_secret_id="secretsManagerSecretId",
2665
+ server_name="serverName",
2666
+ tlog_access_mode="tlogAccessMode",
2667
+ trim_space_in_char=False,
2627
2668
  use_bcp_full_load=False,
2669
+ username="username",
2628
2670
  use_third_party_backup_device=False
2629
2671
  )
2630
2672
  '''
@@ -2632,18 +2674,34 @@ class CfnEndpoint(
2632
2674
  type_hints = typing.get_type_hints(_typecheckingstub__200804814bec4b3dcdc4d865d66320326f539657f293b56ba530cb6a08841175)
2633
2675
  check_type(argname="argument bcp_packet_size", value=bcp_packet_size, expected_type=type_hints["bcp_packet_size"])
2634
2676
  check_type(argname="argument control_tables_file_group", value=control_tables_file_group, expected_type=type_hints["control_tables_file_group"])
2677
+ check_type(argname="argument database_name", value=database_name, expected_type=type_hints["database_name"])
2678
+ check_type(argname="argument force_lob_lookup", value=force_lob_lookup, expected_type=type_hints["force_lob_lookup"])
2679
+ check_type(argname="argument password", value=password, expected_type=type_hints["password"])
2680
+ check_type(argname="argument port", value=port, expected_type=type_hints["port"])
2635
2681
  check_type(argname="argument query_single_always_on_node", value=query_single_always_on_node, expected_type=type_hints["query_single_always_on_node"])
2636
2682
  check_type(argname="argument read_backup_only", value=read_backup_only, expected_type=type_hints["read_backup_only"])
2637
2683
  check_type(argname="argument safeguard_policy", value=safeguard_policy, expected_type=type_hints["safeguard_policy"])
2638
2684
  check_type(argname="argument secrets_manager_access_role_arn", value=secrets_manager_access_role_arn, expected_type=type_hints["secrets_manager_access_role_arn"])
2639
2685
  check_type(argname="argument secrets_manager_secret_id", value=secrets_manager_secret_id, expected_type=type_hints["secrets_manager_secret_id"])
2686
+ check_type(argname="argument server_name", value=server_name, expected_type=type_hints["server_name"])
2687
+ check_type(argname="argument tlog_access_mode", value=tlog_access_mode, expected_type=type_hints["tlog_access_mode"])
2688
+ check_type(argname="argument trim_space_in_char", value=trim_space_in_char, expected_type=type_hints["trim_space_in_char"])
2640
2689
  check_type(argname="argument use_bcp_full_load", value=use_bcp_full_load, expected_type=type_hints["use_bcp_full_load"])
2690
+ check_type(argname="argument username", value=username, expected_type=type_hints["username"])
2641
2691
  check_type(argname="argument use_third_party_backup_device", value=use_third_party_backup_device, expected_type=type_hints["use_third_party_backup_device"])
2642
2692
  self._values: typing.Dict[builtins.str, typing.Any] = {}
2643
2693
  if bcp_packet_size is not None:
2644
2694
  self._values["bcp_packet_size"] = bcp_packet_size
2645
2695
  if control_tables_file_group is not None:
2646
2696
  self._values["control_tables_file_group"] = control_tables_file_group
2697
+ if database_name is not None:
2698
+ self._values["database_name"] = database_name
2699
+ if force_lob_lookup is not None:
2700
+ self._values["force_lob_lookup"] = force_lob_lookup
2701
+ if password is not None:
2702
+ self._values["password"] = password
2703
+ if port is not None:
2704
+ self._values["port"] = port
2647
2705
  if query_single_always_on_node is not None:
2648
2706
  self._values["query_single_always_on_node"] = query_single_always_on_node
2649
2707
  if read_backup_only is not None:
@@ -2654,8 +2712,16 @@ class CfnEndpoint(
2654
2712
  self._values["secrets_manager_access_role_arn"] = secrets_manager_access_role_arn
2655
2713
  if secrets_manager_secret_id is not None:
2656
2714
  self._values["secrets_manager_secret_id"] = secrets_manager_secret_id
2715
+ if server_name is not None:
2716
+ self._values["server_name"] = server_name
2717
+ if tlog_access_mode is not None:
2718
+ self._values["tlog_access_mode"] = tlog_access_mode
2719
+ if trim_space_in_char is not None:
2720
+ self._values["trim_space_in_char"] = trim_space_in_char
2657
2721
  if use_bcp_full_load is not None:
2658
2722
  self._values["use_bcp_full_load"] = use_bcp_full_load
2723
+ if username is not None:
2724
+ self._values["username"] = username
2659
2725
  if use_third_party_backup_device is not None:
2660
2726
  self._values["use_third_party_backup_device"] = use_third_party_backup_device
2661
2727
 
@@ -2679,6 +2745,44 @@ class CfnEndpoint(
2679
2745
  result = self._values.get("control_tables_file_group")
2680
2746
  return typing.cast(typing.Optional[builtins.str], result)
2681
2747
 
2748
+ @builtins.property
2749
+ def database_name(self) -> typing.Optional[builtins.str]:
2750
+ '''Database name for the endpoint.
2751
+
2752
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-databasename
2753
+ '''
2754
+ result = self._values.get("database_name")
2755
+ return typing.cast(typing.Optional[builtins.str], result)
2756
+
2757
+ @builtins.property
2758
+ def force_lob_lookup(
2759
+ self,
2760
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2761
+ '''Forces LOB lookup on inline LOB.
2762
+
2763
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-forceloblookup
2764
+ '''
2765
+ result = self._values.get("force_lob_lookup")
2766
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2767
+
2768
+ @builtins.property
2769
+ def password(self) -> typing.Optional[builtins.str]:
2770
+ '''Endpoint connection password.
2771
+
2772
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-password
2773
+ '''
2774
+ result = self._values.get("password")
2775
+ return typing.cast(typing.Optional[builtins.str], result)
2776
+
2777
+ @builtins.property
2778
+ def port(self) -> typing.Optional[jsii.Number]:
2779
+ '''Endpoint TCP port.
2780
+
2781
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-port
2782
+ '''
2783
+ result = self._values.get("port")
2784
+ return typing.cast(typing.Optional[jsii.Number], result)
2785
+
2682
2786
  @builtins.property
2683
2787
  def query_single_always_on_node(
2684
2788
  self,
@@ -2743,6 +2847,39 @@ class CfnEndpoint(
2743
2847
  result = self._values.get("secrets_manager_secret_id")
2744
2848
  return typing.cast(typing.Optional[builtins.str], result)
2745
2849
 
2850
+ @builtins.property
2851
+ def server_name(self) -> typing.Optional[builtins.str]:
2852
+ '''Fully qualified domain name of the endpoint.
2853
+
2854
+ 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.
2855
+
2856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-servername
2857
+ '''
2858
+ result = self._values.get("server_name")
2859
+ return typing.cast(typing.Optional[builtins.str], result)
2860
+
2861
+ @builtins.property
2862
+ def tlog_access_mode(self) -> typing.Optional[builtins.str]:
2863
+ '''Indicates the mode used to fetch CDC data.
2864
+
2865
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-tlogaccessmode
2866
+ '''
2867
+ result = self._values.get("tlog_access_mode")
2868
+ return typing.cast(typing.Optional[builtins.str], result)
2869
+
2870
+ @builtins.property
2871
+ def trim_space_in_char(
2872
+ self,
2873
+ ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
2874
+ '''Use the ``TrimSpaceInChar`` source endpoint setting to right-trim data on CHAR and NCHAR data types during migration.
2875
+
2876
+ Setting ``TrimSpaceInChar`` does not left-trim data. The default value is ``true`` .
2877
+
2878
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-trimspaceinchar
2879
+ '''
2880
+ result = self._values.get("trim_space_in_char")
2881
+ return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2882
+
2746
2883
  @builtins.property
2747
2884
  def use_bcp_full_load(
2748
2885
  self,
@@ -2756,6 +2893,15 @@ class CfnEndpoint(
2756
2893
  result = self._values.get("use_bcp_full_load")
2757
2894
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
2758
2895
 
2896
+ @builtins.property
2897
+ def username(self) -> typing.Optional[builtins.str]:
2898
+ '''Endpoint connection user name.
2899
+
2900
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-microsoftsqlserversettings.html#cfn-dms-endpoint-microsoftsqlserversettings-username
2901
+ '''
2902
+ result = self._values.get("username")
2903
+ return typing.cast(typing.Optional[builtins.str], result)
2904
+
2759
2905
  @builtins.property
2760
2906
  def use_third_party_backup_device(
2761
2907
  self,
@@ -4171,7 +4317,9 @@ class CfnEndpoint(
4171
4317
  jsii_struct_bases=[],
4172
4318
  name_mapping={
4173
4319
  "after_connect_script": "afterConnectScript",
4320
+ "babelfish_database_name": "babelfishDatabaseName",
4174
4321
  "capture_ddls": "captureDdls",
4322
+ "database_mode": "databaseMode",
4175
4323
  "ddl_artifacts_schema": "ddlArtifactsSchema",
4176
4324
  "execute_timeout": "executeTimeout",
4177
4325
  "fail_tasks_on_lob_truncation": "failTasksOnLobTruncation",
@@ -4191,7 +4339,9 @@ class CfnEndpoint(
4191
4339
  self,
4192
4340
  *,
4193
4341
  after_connect_script: typing.Optional[builtins.str] = None,
4342
+ babelfish_database_name: typing.Optional[builtins.str] = None,
4194
4343
  capture_ddls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
4344
+ database_mode: typing.Optional[builtins.str] = None,
4195
4345
  ddl_artifacts_schema: typing.Optional[builtins.str] = None,
4196
4346
  execute_timeout: typing.Optional[jsii.Number] = None,
4197
4347
  fail_tasks_on_lob_truncation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
@@ -4210,7 +4360,9 @@ class CfnEndpoint(
4210
4360
  This information includes the output format of records applied to the endpoint and details of transaction and control table data information. For information about other available settings, see `Extra connection attributes when using PostgreSQL as a source for AWS DMS <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Source.PostgreSQL.html#CHAP_Source.PostgreSQL.ConnectionAttrib>`_ and `Extra connection attributes when using PostgreSQL as a target for AWS DMS <https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Target.PostgreSQL.html#CHAP_Target.PostgreSQL.ConnectionAttrib>`_ in the *AWS Database Migration Service User Guide* .
4211
4361
 
4212
4362
  :param after_connect_script: For use with change data capture (CDC) only, this attribute has AWS DMS bypass foreign keys and user triggers to reduce the time it takes to bulk load data. Example: ``afterConnectScript=SET session_replication_role='replica'``
4363
+ :param babelfish_database_name: The Babelfish for Aurora PostgreSQL database name for the endpoint.
4213
4364
  :param capture_ddls: To capture DDL events, AWS DMS creates various artifacts in the PostgreSQL database when the task starts. You can later remove these artifacts. If this value is set to ``N`` , you don't have to create tables or triggers on the source database.
4365
+ :param database_mode: Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
4214
4366
  :param ddl_artifacts_schema: The schema in which the operational DDL database artifacts are created. Example: ``ddlArtifactsSchema=xyzddlschema;``
4215
4367
  :param execute_timeout: Sets the client statement timeout for the PostgreSQL instance, in seconds. The default value is 60 seconds. Example: ``executeTimeout=100;``
4216
4368
  :param fail_tasks_on_lob_truncation: When set to ``true`` , this value causes a task to fail if the actual size of a LOB column is greater than the specified ``LobMaxSize`` . If task is set to Limited LOB mode and this option is set to true, the task fails instead of truncating the LOB data.
@@ -4235,7 +4387,9 @@ class CfnEndpoint(
4235
4387
 
4236
4388
  postgre_sql_settings_property = dms.CfnEndpoint.PostgreSqlSettingsProperty(
4237
4389
  after_connect_script="afterConnectScript",
4390
+ babelfish_database_name="babelfishDatabaseName",
4238
4391
  capture_ddls=False,
4392
+ database_mode="databaseMode",
4239
4393
  ddl_artifacts_schema="ddlArtifactsSchema",
4240
4394
  execute_timeout=123,
4241
4395
  fail_tasks_on_lob_truncation=False,
@@ -4253,7 +4407,9 @@ class CfnEndpoint(
4253
4407
  if __debug__:
4254
4408
  type_hints = typing.get_type_hints(_typecheckingstub__f006252c94d67f9b7da655f75e078cda6ee89974586c55a2d16ba2775091e058)
4255
4409
  check_type(argname="argument after_connect_script", value=after_connect_script, expected_type=type_hints["after_connect_script"])
4410
+ check_type(argname="argument babelfish_database_name", value=babelfish_database_name, expected_type=type_hints["babelfish_database_name"])
4256
4411
  check_type(argname="argument capture_ddls", value=capture_ddls, expected_type=type_hints["capture_ddls"])
4412
+ check_type(argname="argument database_mode", value=database_mode, expected_type=type_hints["database_mode"])
4257
4413
  check_type(argname="argument ddl_artifacts_schema", value=ddl_artifacts_schema, expected_type=type_hints["ddl_artifacts_schema"])
4258
4414
  check_type(argname="argument execute_timeout", value=execute_timeout, expected_type=type_hints["execute_timeout"])
4259
4415
  check_type(argname="argument fail_tasks_on_lob_truncation", value=fail_tasks_on_lob_truncation, expected_type=type_hints["fail_tasks_on_lob_truncation"])
@@ -4269,8 +4425,12 @@ class CfnEndpoint(
4269
4425
  self._values: typing.Dict[builtins.str, typing.Any] = {}
4270
4426
  if after_connect_script is not None:
4271
4427
  self._values["after_connect_script"] = after_connect_script
4428
+ if babelfish_database_name is not None:
4429
+ self._values["babelfish_database_name"] = babelfish_database_name
4272
4430
  if capture_ddls is not None:
4273
4431
  self._values["capture_ddls"] = capture_ddls
4432
+ if database_mode is not None:
4433
+ self._values["database_mode"] = database_mode
4274
4434
  if ddl_artifacts_schema is not None:
4275
4435
  self._values["ddl_artifacts_schema"] = ddl_artifacts_schema
4276
4436
  if execute_timeout is not None:
@@ -4307,6 +4467,15 @@ class CfnEndpoint(
4307
4467
  result = self._values.get("after_connect_script")
4308
4468
  return typing.cast(typing.Optional[builtins.str], result)
4309
4469
 
4470
+ @builtins.property
4471
+ def babelfish_database_name(self) -> typing.Optional[builtins.str]:
4472
+ '''The Babelfish for Aurora PostgreSQL database name for the endpoint.
4473
+
4474
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-babelfishdatabasename
4475
+ '''
4476
+ result = self._values.get("babelfish_database_name")
4477
+ return typing.cast(typing.Optional[builtins.str], result)
4478
+
4310
4479
  @builtins.property
4311
4480
  def capture_ddls(
4312
4481
  self,
@@ -4322,6 +4491,15 @@ class CfnEndpoint(
4322
4491
  result = self._values.get("capture_ddls")
4323
4492
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], result)
4324
4493
 
4494
+ @builtins.property
4495
+ def database_mode(self) -> typing.Optional[builtins.str]:
4496
+ '''Specifies the default behavior of the replication's handling of PostgreSQL- compatible endpoints that require some additional configuration, such as Babelfish endpoints.
4497
+
4498
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-databasemode
4499
+ '''
4500
+ result = self._values.get("database_mode")
4501
+ return typing.cast(typing.Optional[builtins.str], result)
4502
+
4325
4503
  @builtins.property
4326
4504
  def ddl_artifacts_schema(self) -> typing.Optional[builtins.str]:
4327
4505
  '''The schema in which the operational DDL database artifacts are created.
@@ -6288,12 +6466,20 @@ class CfnEndpointProps:
6288
6466
  microsoft_sql_server_settings=dms.CfnEndpoint.MicrosoftSqlServerSettingsProperty(
6289
6467
  bcp_packet_size=123,
6290
6468
  control_tables_file_group="controlTablesFileGroup",
6469
+ database_name="databaseName",
6470
+ force_lob_lookup=False,
6471
+ password="password",
6472
+ port=123,
6291
6473
  query_single_always_on_node=False,
6292
6474
  read_backup_only=False,
6293
6475
  safeguard_policy="safeguardPolicy",
6294
6476
  secrets_manager_access_role_arn="secretsManagerAccessRoleArn",
6295
6477
  secrets_manager_secret_id="secretsManagerSecretId",
6478
+ server_name="serverName",
6479
+ tlog_access_mode="tlogAccessMode",
6480
+ trim_space_in_char=False,
6296
6481
  use_bcp_full_load=False,
6482
+ username="username",
6297
6483
  use_third_party_backup_device=False
6298
6484
  ),
6299
6485
  mongo_db_settings=dms.CfnEndpoint.MongoDbSettingsProperty(
@@ -6372,7 +6558,9 @@ class CfnEndpointProps:
6372
6558
  port=123,
6373
6559
  postgre_sql_settings=dms.CfnEndpoint.PostgreSqlSettingsProperty(
6374
6560
  after_connect_script="afterConnectScript",
6561
+ babelfish_database_name="babelfishDatabaseName",
6375
6562
  capture_ddls=False,
6563
+ database_mode="databaseMode",
6376
6564
  ddl_artifacts_schema="ddlArtifactsSchema",
6377
6565
  execute_timeout=123,
6378
6566
  fail_tasks_on_lob_truncation=False,
@@ -10171,12 +10359,20 @@ def _typecheckingstub__200804814bec4b3dcdc4d865d66320326f539657f293b56ba530cb6a0
10171
10359
  *,
10172
10360
  bcp_packet_size: typing.Optional[jsii.Number] = None,
10173
10361
  control_tables_file_group: typing.Optional[builtins.str] = None,
10362
+ database_name: typing.Optional[builtins.str] = None,
10363
+ force_lob_lookup: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10364
+ password: typing.Optional[builtins.str] = None,
10365
+ port: typing.Optional[jsii.Number] = None,
10174
10366
  query_single_always_on_node: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10175
10367
  read_backup_only: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10176
10368
  safeguard_policy: typing.Optional[builtins.str] = None,
10177
10369
  secrets_manager_access_role_arn: typing.Optional[builtins.str] = None,
10178
10370
  secrets_manager_secret_id: typing.Optional[builtins.str] = None,
10371
+ server_name: typing.Optional[builtins.str] = None,
10372
+ tlog_access_mode: typing.Optional[builtins.str] = None,
10373
+ trim_space_in_char: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10179
10374
  use_bcp_full_load: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10375
+ username: typing.Optional[builtins.str] = None,
10180
10376
  use_third_party_backup_device: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10181
10377
  ) -> None:
10182
10378
  """Type checking stubs"""
@@ -10273,7 +10469,9 @@ def _typecheckingstub__d7cce1496a9f9494141ae407b9fa752179dcdfea2913cf1fd3d74b79d
10273
10469
  def _typecheckingstub__f006252c94d67f9b7da655f75e078cda6ee89974586c55a2d16ba2775091e058(
10274
10470
  *,
10275
10471
  after_connect_script: typing.Optional[builtins.str] = None,
10472
+ babelfish_database_name: typing.Optional[builtins.str] = None,
10276
10473
  capture_ddls: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
10474
+ database_mode: typing.Optional[builtins.str] = None,
10277
10475
  ddl_artifacts_schema: typing.Optional[builtins.str] = None,
10278
10476
  execute_timeout: typing.Optional[jsii.Number] = None,
10279
10477
  fail_tasks_on_lob_truncation: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,