aws-cdk-lib 2.73.0__py3-none-any.whl → 2.76.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 (111) hide show
  1. aws_cdk/__init__.py +245 -259
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.73.0.jsii.tgz → aws-cdk-lib@2.76.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplifyuibuilder/__init__.py +182 -214
  5. aws_cdk/aws_apigateway/__init__.py +95 -148
  6. aws_cdk/aws_appconfig/__init__.py +8 -4
  7. aws_cdk/aws_appflow/__init__.py +27 -52
  8. aws_cdk/aws_appmesh/__init__.py +91 -200
  9. aws_cdk/aws_apprunner/__init__.py +4 -16
  10. aws_cdk/aws_appstream/__init__.py +18 -82
  11. aws_cdk/aws_athena/__init__.py +18 -32
  12. aws_cdk/aws_backup/__init__.py +48 -86
  13. aws_cdk/aws_batch/__init__.py +9 -2
  14. aws_cdk/aws_billingconductor/__init__.py +12 -7
  15. aws_cdk/aws_budgets/__init__.py +8 -17
  16. aws_cdk/aws_certificatemanager/__init__.py +7 -4
  17. aws_cdk/aws_cloudfront/__init__.py +14 -11
  18. aws_cdk/aws_cloudfront_origins/__init__.py +18 -8
  19. aws_cdk/aws_cloudtrail/__init__.py +7 -14
  20. aws_cdk/aws_cloudwatch/__init__.py +63 -35
  21. aws_cdk/aws_codebuild/__init__.py +10 -13
  22. aws_cdk/aws_codecommit/__init__.py +0 -1
  23. aws_cdk/aws_codedeploy/__init__.py +165 -162
  24. aws_cdk/aws_codegurureviewer/__init__.py +4 -4
  25. aws_cdk/aws_codepipeline/__init__.py +0 -4
  26. aws_cdk/aws_codepipeline_actions/__init__.py +16 -164
  27. aws_cdk/aws_cognito/__init__.py +195 -100
  28. aws_cdk/aws_config/__init__.py +28 -51
  29. aws_cdk/aws_connectcampaigns/__init__.py +5 -6
  30. aws_cdk/aws_databrew/__init__.py +5 -6
  31. aws_cdk/aws_dlm/__init__.py +33 -71
  32. aws_cdk/aws_docdb/__init__.py +20 -76
  33. aws_cdk/aws_dynamodb/__init__.py +29 -22
  34. aws_cdk/aws_ec2/__init__.py +2414 -603
  35. aws_cdk/aws_ecr/__init__.py +1 -2
  36. aws_cdk/aws_ecr_assets/__init__.py +27 -14
  37. aws_cdk/aws_ecs/__init__.py +458 -163
  38. aws_cdk/aws_ecs_patterns/__init__.py +13 -11
  39. aws_cdk/aws_eks/__init__.py +13 -8
  40. aws_cdk/aws_elasticloadbalancing/__init__.py +16 -9
  41. aws_cdk/aws_elasticloadbalancingv2/__init__.py +142 -82
  42. aws_cdk/aws_elasticloadbalancingv2_actions/__init__.py +126 -61
  43. aws_cdk/aws_elasticsearch/__init__.py +0 -7
  44. aws_cdk/aws_emr/__init__.py +7 -16
  45. aws_cdk/aws_emrserverless/__init__.py +14 -18
  46. aws_cdk/aws_events/__init__.py +33 -29
  47. aws_cdk/aws_events_targets/__init__.py +248 -89
  48. aws_cdk/aws_frauddetector/__init__.py +3 -4
  49. aws_cdk/aws_fsx/__init__.py +13 -7
  50. aws_cdk/aws_gamelift/__init__.py +11 -20
  51. aws_cdk/aws_grafana/__init__.py +4 -4
  52. aws_cdk/aws_iam/__init__.py +21 -25
  53. aws_cdk/aws_imagebuilder/__init__.py +58 -80
  54. aws_cdk/aws_internetmonitor/__init__.py +18 -10
  55. aws_cdk/aws_iot/__init__.py +16 -10
  56. aws_cdk/aws_iotcoredeviceadvisor/__init__.py +16 -26
  57. aws_cdk/aws_iotevents/__init__.py +6 -4
  58. aws_cdk/aws_iotfleetwise/__init__.py +27 -40
  59. aws_cdk/aws_iotsitewise/__init__.py +8 -5
  60. aws_cdk/aws_iotwireless/__init__.py +14 -9
  61. aws_cdk/aws_kinesisfirehose/__init__.py +21 -38
  62. aws_cdk/aws_lambda/__init__.py +76 -53
  63. aws_cdk/aws_lambda_event_sources/__init__.py +6 -21
  64. aws_cdk/aws_logs/__init__.py +5 -7
  65. aws_cdk/aws_macie/__init__.py +28 -23
  66. aws_cdk/aws_mediaconnect/__init__.py +5 -8
  67. aws_cdk/aws_mediaconvert/__init__.py +2 -2
  68. aws_cdk/aws_medialive/__init__.py +2 -4
  69. aws_cdk/aws_mediapackage/__init__.py +9 -18
  70. aws_cdk/aws_memorydb/__init__.py +5 -10
  71. aws_cdk/aws_mwaa/__init__.py +8 -4
  72. aws_cdk/aws_neptune/__init__.py +4 -4
  73. aws_cdk/aws_networkfirewall/__init__.py +8 -4
  74. aws_cdk/aws_networkmanager/__init__.py +4 -4
  75. aws_cdk/aws_nimblestudio/__init__.py +25 -45
  76. aws_cdk/aws_opensearchservice/__init__.py +0 -1
  77. aws_cdk/aws_panorama/__init__.py +11 -12
  78. aws_cdk/aws_personalize/__init__.py +46 -72
  79. aws_cdk/aws_pinpoint/__init__.py +36 -65
  80. aws_cdk/aws_quicksight/__init__.py +9972 -13374
  81. aws_cdk/aws_rds/__init__.py +53 -22
  82. aws_cdk/aws_route53/__init__.py +8 -16
  83. aws_cdk/aws_route53_targets/__init__.py +2 -4
  84. aws_cdk/aws_s3/__init__.py +41 -90
  85. aws_cdk/aws_s3_notifications/__init__.py +0 -3
  86. aws_cdk/aws_sagemaker/__init__.py +16 -10
  87. aws_cdk/aws_secretsmanager/__init__.py +17 -14
  88. aws_cdk/aws_servicecatalog/__init__.py +60 -83
  89. aws_cdk/aws_servicediscovery/__init__.py +4 -6
  90. aws_cdk/aws_ses/__init__.py +734 -28
  91. aws_cdk/aws_sns/__init__.py +4 -8
  92. aws_cdk/aws_ssm/__init__.py +19 -23
  93. aws_cdk/aws_ssmcontacts/__init__.py +10 -6
  94. aws_cdk/aws_ssmincidents/__init__.py +2 -1
  95. aws_cdk/aws_sso/__init__.py +4 -4
  96. aws_cdk/aws_stepfunctions/__init__.py +6 -15
  97. aws_cdk/aws_stepfunctions_tasks/__init__.py +51 -24
  98. aws_cdk/aws_timestream/__init__.py +22 -28
  99. aws_cdk/aws_transfer/__init__.py +188 -86
  100. aws_cdk/aws_wafv2/__init__.py +54 -38
  101. aws_cdk/aws_xray/__init__.py +15 -22
  102. aws_cdk/cloud_assembly_schema/__init__.py +14 -6
  103. aws_cdk/custom_resources/__init__.py +2 -3
  104. aws_cdk/pipelines/__init__.py +104 -134
  105. aws_cdk/triggers/__init__.py +46 -61
  106. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/METADATA +47 -92
  107. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/RECORD +111 -111
  108. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/LICENSE +0 -0
  109. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/NOTICE +0 -0
  110. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/WHEEL +0 -0
  111. {aws_cdk_lib-2.73.0.dist-info → aws_cdk_lib-2.76.0.dist-info}/top_level.txt +0 -0
@@ -224,7 +224,6 @@ table = dynamodb.Table(self, "Table",
224
224
  Alarms can be configured on the DynamoDB table to captured metric data
225
225
 
226
226
  ```python
227
- # Example automatically generated from non-compiling source. May contain errors.
228
227
  import aws_cdk.aws_cloudwatch as cloudwatch
229
228
 
230
229
 
@@ -237,7 +236,7 @@ metric = table.metric_throttled_requests_for_operations(
237
236
  period=Duration.minutes(1)
238
237
  )
239
238
 
240
- cloudwatch.Alarm(stack, "Alarm",
239
+ cloudwatch.Alarm(self, "Alarm",
241
240
  metric=metric,
242
241
  evaluation_periods=1,
243
242
  threshold=1
@@ -315,7 +314,6 @@ class Attribute:
315
314
 
316
315
  Example::
317
316
 
318
- # Example automatically generated from non-compiling source. May contain errors.
319
317
  import aws_cdk.aws_cloudwatch as cloudwatch
320
318
 
321
319
 
@@ -328,7 +326,7 @@ class Attribute:
328
326
  period=Duration.minutes(1)
329
327
  )
330
328
 
331
- cloudwatch.Alarm(stack, "Alarm",
329
+ cloudwatch.Alarm(self, "Alarm",
332
330
  metric=metric,
333
331
  evaluation_periods=1,
334
332
  threshold=1
@@ -378,7 +376,6 @@ class AttributeType(enum.Enum):
378
376
 
379
377
  Example::
380
378
 
381
- # Example automatically generated from non-compiling source. May contain errors.
382
379
  import aws_cdk.aws_cloudwatch as cloudwatch
383
380
 
384
381
 
@@ -391,7 +388,7 @@ class AttributeType(enum.Enum):
391
388
  period=Duration.minutes(1)
392
389
  )
393
390
 
394
- cloudwatch.Alarm(stack, "Alarm",
391
+ cloudwatch.Alarm(self, "Alarm",
395
392
  metric=metric,
396
393
  evaluation_periods=1,
397
394
  threshold=1
@@ -3358,7 +3355,7 @@ class CfnTable(
3358
3355
  :param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
3359
3356
  :param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to 5 local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes.
3360
3357
  :param point_in_time_recovery_specification: The settings used to enable point in time recovery.
3361
- :param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
3358
+ :param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
3362
3359
  :param sse_specification: Specifies the settings to enable server-side encryption.
3363
3360
  :param stream_specification: The settings for the DynamoDB table stream, which capture changes to items stored in the table.
3364
3361
  :param table_class: The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS`` .
@@ -3704,7 +3701,7 @@ class CfnTable(
3704
3701
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnTable.ProvisionedThroughputProperty"]]:
3705
3702
  '''Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` .
3706
3703
 
3707
- For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html>`_ .
3704
+ For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ .
3708
3705
 
3709
3706
  If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
3710
3707
 
@@ -4785,7 +4782,7 @@ class CfnTable(
4785
4782
  ) -> None:
4786
4783
  '''Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` .
4787
4784
 
4788
- For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html>`_ .
4785
+ For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ .
4789
4786
 
4790
4787
  :param read_capacity_units: The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ``ThrottlingException`` . For more information, see `Specifying Read and Write Requirements <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput>`_ in the *Amazon DynamoDB Developer Guide* . If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
4791
4788
  :param write_capacity_units: The maximum number of writes consumed per second before DynamoDB returns a ``ThrottlingException`` . For more information, see `Specifying Read and Write Requirements <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithTables.html#ProvisionedThroughput>`_ in the *Amazon DynamoDB Developer Guide* . If read/write capacity mode is ``PAY_PER_REQUEST`` the value is set to 0.
@@ -5236,7 +5233,7 @@ class CfnTableProps:
5236
5233
  :param kinesis_stream_specification: The Kinesis Data Streams configuration for the specified table.
5237
5234
  :param local_secondary_indexes: Local secondary indexes to be created on the table. You can create up to 5 local secondary indexes. Each index is scoped to a given hash key value. The size of each hash key can be up to 10 gigabytes.
5238
5235
  :param point_in_time_recovery_specification: The settings used to enable point in time recovery.
5239
- :param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
5236
+ :param provisioned_throughput: Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` . For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ . If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
5240
5237
  :param sse_specification: Specifies the settings to enable server-side encryption.
5241
5238
  :param stream_specification: The settings for the DynamoDB table stream, which capture changes to items stored in the table.
5242
5239
  :param table_class: The table class of the new table. Valid values are ``STANDARD`` and ``STANDARD_INFREQUENT_ACCESS`` .
@@ -5553,7 +5550,7 @@ class CfnTableProps:
5553
5550
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnTable.ProvisionedThroughputProperty]]:
5554
5551
  '''Throughput for the specified table, which consists of values for ``ReadCapacityUnits`` and ``WriteCapacityUnits`` .
5555
5552
 
5556
- For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-provisionedthroughput.html>`_ .
5553
+ For more information about the contents of a provisioned throughput structure, see `Amazon DynamoDB Table ProvisionedThroughput <https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ProvisionedThroughput.html>`_ .
5557
5554
 
5558
5555
  If you set ``BillingMode`` as ``PROVISIONED`` , you must specify this property. If you set ``BillingMode`` as ``PAY_PER_REQUEST`` , you cannot specify this property.
5559
5556
 
@@ -6736,7 +6733,6 @@ class Operation(enum.Enum):
6736
6733
 
6737
6734
  Example::
6738
6735
 
6739
- # Example automatically generated from non-compiling source. May contain errors.
6740
6736
  import aws_cdk.aws_cloudwatch as cloudwatch
6741
6737
 
6742
6738
 
@@ -6749,7 +6745,7 @@ class Operation(enum.Enum):
6749
6745
  period=Duration.minutes(1)
6750
6746
  )
6751
6747
 
6752
- cloudwatch.Alarm(stack, "Alarm",
6748
+ cloudwatch.Alarm(self, "Alarm",
6753
6749
  metric=metric,
6754
6750
  evaluation_periods=1,
6755
6751
  threshold=1
@@ -7236,7 +7232,6 @@ class Table(
7236
7232
 
7237
7233
  Example::
7238
7234
 
7239
- # Example automatically generated from non-compiling source. May contain errors.
7240
7235
  import aws_cdk.aws_cloudwatch as cloudwatch
7241
7236
 
7242
7237
 
@@ -7249,7 +7244,7 @@ class Table(
7249
7244
  period=Duration.minutes(1)
7250
7245
  )
7251
7246
 
7252
- cloudwatch.Alarm(stack, "Alarm",
7247
+ cloudwatch.Alarm(self, "Alarm",
7253
7248
  metric=metric,
7254
7249
  evaluation_periods=1,
7255
7250
  threshold=1
@@ -7299,7 +7294,7 @@ class Table(
7299
7294
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
7300
7295
  :param table_class: Specify the table class. Default: STANDARD
7301
7296
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
7302
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. Default: true
7297
+ :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
7303
7298
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
7304
7299
  :param partition_key: Partition key attribute definition.
7305
7300
  :param sort_key: Sort key attribute definition. Default: no sort key
@@ -8467,7 +8462,7 @@ class TableOptions(SchemaOptions):
8467
8462
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
8468
8463
  :param table_class: Specify the table class. Default: STANDARD
8469
8464
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
8470
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. Default: true
8465
+ :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
8471
8466
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
8472
8467
 
8473
8468
  :exampleMetadata: fixture=_generated
@@ -8732,11 +8727,18 @@ class TableOptions(SchemaOptions):
8732
8727
  created and replication will be completed asynchronously. This property is
8733
8728
  ignored if replicationRegions property is not set.
8734
8729
 
8730
+ WARNING:
8735
8731
  DO NOT UNSET this property if adding/removing multiple replicationRegions
8736
8732
  in one deployment, as CloudFormation only supports one region replication
8737
8733
  at a time. CDK overcomes this limitation by waiting for replication to
8738
8734
  finish before starting new replicationRegion.
8739
8735
 
8736
+ If the custom resource which handles replication has a physical resource
8737
+ ID with the format ``region`` instead of ``tablename-region`` (this would happen
8738
+ if the custom resource hasn't received an event since v1.91.0), DO NOT SET
8739
+ this property to false without making a change to the table name.
8740
+ This will cause the existing replicas to be deleted.
8741
+
8740
8742
  :default: true
8741
8743
 
8742
8744
  :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas
@@ -8836,7 +8838,7 @@ class TableProps(TableOptions):
8836
8838
  :param stream: When an item in the table is modified, StreamViewType determines what information is written to the stream for this table. Default: - streams are disabled unless ``replicationRegions`` is specified
8837
8839
  :param table_class: Specify the table class. Default: STANDARD
8838
8840
  :param time_to_live_attribute: The name of TTL attribute. Default: - TTL is disabled
8839
- :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. Default: true
8841
+ :param wait_for_replication_to_finish: Indicates whether CloudFormation stack waits for replication to finish. If set to false, the CloudFormation resource will mark the resource as created and replication will be completed asynchronously. This property is ignored if replicationRegions property is not set. WARNING: DO NOT UNSET this property if adding/removing multiple replicationRegions in one deployment, as CloudFormation only supports one region replication at a time. CDK overcomes this limitation by waiting for replication to finish before starting new replicationRegion. If the custom resource which handles replication has a physical resource ID with the format ``region`` instead of ``tablename-region`` (this would happen if the custom resource hasn't received an event since v1.91.0), DO NOT SET this property to false without making a change to the table name. This will cause the existing replicas to be deleted. Default: true
8840
8842
  :param write_capacity: The write capacity for the table. Careful if you add Global Secondary Indexes, as those will share the table's provisioned throughput. Can only be provided if billingMode is Provisioned. Default: 5
8841
8843
  :param kinesis_stream: Kinesis Data Stream to capture item-level changes for the table. Default: - no Kinesis Data Stream
8842
8844
  :param table_name: Enforces a particular physical table name. Default:
@@ -8845,7 +8847,6 @@ class TableProps(TableOptions):
8845
8847
 
8846
8848
  Example::
8847
8849
 
8848
- # Example automatically generated from non-compiling source. May contain errors.
8849
8850
  import aws_cdk.aws_cloudwatch as cloudwatch
8850
8851
 
8851
8852
 
@@ -8858,7 +8859,7 @@ class TableProps(TableOptions):
8858
8859
  period=Duration.minutes(1)
8859
8860
  )
8860
8861
 
8861
- cloudwatch.Alarm(stack, "Alarm",
8862
+ cloudwatch.Alarm(self, "Alarm",
8862
8863
  metric=metric,
8863
8864
  evaluation_periods=1,
8864
8865
  threshold=1
@@ -9092,11 +9093,18 @@ class TableProps(TableOptions):
9092
9093
  created and replication will be completed asynchronously. This property is
9093
9094
  ignored if replicationRegions property is not set.
9094
9095
 
9096
+ WARNING:
9095
9097
  DO NOT UNSET this property if adding/removing multiple replicationRegions
9096
9098
  in one deployment, as CloudFormation only supports one region replication
9097
9099
  at a time. CDK overcomes this limitation by waiting for replication to
9098
9100
  finish before starting new replicationRegion.
9099
9101
 
9102
+ If the custom resource which handles replication has a physical resource
9103
+ ID with the format ``region`` instead of ``tablename-region`` (this would happen
9104
+ if the custom resource hasn't received an event since v1.91.0), DO NOT SET
9105
+ this property to false without making a change to the table name.
9106
+ This will cause the existing replicas to be deleted.
9107
+
9100
9108
  :default: true
9101
9109
 
9102
9110
  :see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html#cfn-dynamodb-globaltable-replicas
@@ -9601,7 +9609,6 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
9601
9609
 
9602
9610
  Example::
9603
9611
 
9604
- # Example automatically generated from non-compiling source. May contain errors.
9605
9612
  import aws_cdk.aws_cloudwatch as cloudwatch
9606
9613
 
9607
9614
 
@@ -9614,7 +9621,7 @@ class OperationsMetricOptions(SystemErrorsForOperationsMetricOptions):
9614
9621
  period=Duration.minutes(1)
9615
9622
  )
9616
9623
 
9617
- cloudwatch.Alarm(stack, "Alarm",
9624
+ cloudwatch.Alarm(self, "Alarm",
9618
9625
  metric=metric,
9619
9626
  evaluation_periods=1,
9620
9627
  threshold=1