aws-cdk-lib 2.195.0__py3-none-any.whl → 2.196.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 (100) hide show
  1. aws_cdk/__init__.py +433 -20
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.196.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +1 -1
  5. aws_cdk/aws_amazonmq/__init__.py +2 -2
  6. aws_cdk/aws_apigateway/__init__.py +148 -69
  7. aws_cdk/aws_apigatewayv2/__init__.py +155 -24
  8. aws_cdk/aws_appconfig/__init__.py +24 -0
  9. aws_cdk/aws_applicationautoscaling/__init__.py +6 -0
  10. aws_cdk/aws_appmesh/__init__.py +42 -0
  11. aws_cdk/aws_appsync/__init__.py +92 -20
  12. aws_cdk/aws_autoscaling/__init__.py +24 -0
  13. aws_cdk/aws_backup/__init__.py +53 -14
  14. aws_cdk/aws_batch/__init__.py +72 -0
  15. aws_cdk/aws_bedrock/__init__.py +620 -14
  16. aws_cdk/aws_budgets/__init__.py +569 -0
  17. aws_cdk/aws_certificatemanager/__init__.py +21 -0
  18. aws_cdk/aws_chatbot/__init__.py +6 -0
  19. aws_cdk/aws_cloudfront/__init__.py +87 -0
  20. aws_cdk/aws_cloudfront/experimental/__init__.py +6 -0
  21. aws_cdk/aws_cloudtrail/__init__.py +6 -0
  22. aws_cdk/aws_cloudwatch/__init__.py +18 -0
  23. aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
  24. aws_cdk/aws_codebuild/__init__.py +48 -0
  25. aws_cdk/aws_codecommit/__init__.py +6 -0
  26. aws_cdk/aws_codedeploy/__init__.py +63 -0
  27. aws_cdk/aws_codeguruprofiler/__init__.py +6 -0
  28. aws_cdk/aws_codepipeline/__init__.py +6 -0
  29. aws_cdk/aws_codepipeline_actions/__init__.py +4 -4
  30. aws_cdk/aws_codestarnotifications/__init__.py +6 -0
  31. aws_cdk/aws_cognito/__init__.py +91 -12
  32. aws_cdk/aws_cognito_identitypool/__init__.py +6 -0
  33. aws_cdk/aws_config/__init__.py +36 -0
  34. aws_cdk/aws_datazone/__init__.py +557 -14
  35. aws_cdk/aws_docdb/__init__.py +27 -3
  36. aws_cdk/aws_dsql/__init__.py +21 -13
  37. aws_cdk/aws_dynamodb/__init__.py +20 -8
  38. aws_cdk/aws_ec2/__init__.py +282 -21
  39. aws_cdk/aws_ecr/__init__.py +6 -0
  40. aws_cdk/aws_ecr_assets/__init__.py +6 -0
  41. aws_cdk/aws_ecs/__init__.py +112 -19
  42. aws_cdk/aws_ecs_patterns/__init__.py +58 -0
  43. aws_cdk/aws_efs/__init__.py +12 -0
  44. aws_cdk/aws_eks/__init__.py +42 -0
  45. aws_cdk/aws_elasticloadbalancing/__init__.py +6 -0
  46. aws_cdk/aws_elasticloadbalancingv2/__init__.py +112 -9
  47. aws_cdk/aws_elasticsearch/__init__.py +9 -0
  48. aws_cdk/aws_events/__init__.py +36 -0
  49. aws_cdk/aws_events_targets/__init__.py +10 -10
  50. aws_cdk/aws_fsx/__init__.py +6 -0
  51. aws_cdk/aws_globalaccelerator/__init__.py +18 -0
  52. aws_cdk/aws_iam/__init__.py +66 -0
  53. aws_cdk/aws_imagebuilder/__init__.py +21 -16
  54. aws_cdk/aws_inspector/__init__.py +6 -0
  55. aws_cdk/aws_kinesis/__init__.py +19 -1
  56. aws_cdk/aws_kinesisanalytics/__init__.py +9 -11
  57. aws_cdk/aws_kinesisanalyticsv2/__init__.py +9 -11
  58. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  59. aws_cdk/aws_kms/__init__.py +16 -4
  60. aws_cdk/aws_lambda/__init__.py +76 -6
  61. aws_cdk/aws_lambda_nodejs/__init__.py +6 -0
  62. aws_cdk/aws_logs/__init__.py +155 -12
  63. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  64. aws_cdk/aws_quicksight/__init__.py +22 -22
  65. aws_cdk/aws_rds/__init__.py +306 -30
  66. aws_cdk/aws_redshiftserverless/__init__.py +7 -7
  67. aws_cdk/aws_route53/__init__.py +723 -25
  68. aws_cdk/aws_s3/__init__.py +37 -10
  69. aws_cdk/aws_s3_deployment/__init__.py +6 -0
  70. aws_cdk/aws_sagemaker/__init__.py +199 -4
  71. aws_cdk/aws_scheduler/__init__.py +12 -0
  72. aws_cdk/aws_secretsmanager/__init__.py +24 -0
  73. aws_cdk/aws_servicecatalog/__init__.py +24 -0
  74. aws_cdk/aws_servicediscovery/__init__.py +48 -0
  75. aws_cdk/aws_ses/__init__.py +133 -33
  76. aws_cdk/aws_signer/__init__.py +6 -0
  77. aws_cdk/aws_sns/__init__.py +18 -0
  78. aws_cdk/aws_sns_subscriptions/__init__.py +6 -0
  79. aws_cdk/aws_sqs/__init__.py +12 -0
  80. aws_cdk/aws_ssm/__init__.py +12 -0
  81. aws_cdk/aws_ssmcontacts/__init__.py +53 -2
  82. aws_cdk/aws_ssmguiconnect/__init__.py +7 -7
  83. aws_cdk/aws_stepfunctions/__init__.py +153 -7
  84. aws_cdk/aws_stepfunctions_tasks/__init__.py +46 -10
  85. aws_cdk/aws_synthetics/__init__.py +32 -0
  86. aws_cdk/aws_verifiedpermissions/__init__.py +168 -3
  87. aws_cdk/aws_vpclattice/__init__.py +3 -1
  88. aws_cdk/aws_wisdom/__init__.py +6 -4
  89. aws_cdk/custom_resources/__init__.py +18 -0
  90. aws_cdk/cx_api/__init__.py +33 -0
  91. aws_cdk/lambda_layer_awscli/__init__.py +6 -0
  92. aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
  93. aws_cdk/pipelines/__init__.py +10 -10
  94. aws_cdk/triggers/__init__.py +6 -0
  95. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/METADATA +83 -5
  96. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/RECORD +100 -100
  97. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/LICENSE +0 -0
  98. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/NOTICE +0 -0
  99. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/WHEEL +0 -0
  100. {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.196.0.dist-info}/top_level.txt +0 -0
@@ -639,7 +639,7 @@ class CfnDBCluster(
639
639
  :param db_subnet_group_name: A subnet group to associate with this cluster. Constraints: Must match the name of an existing ``DBSubnetGroup`` . Must not be default. Example: ``mySubnetgroup``
640
640
  :param deletion_protection: Protects clusters from being accidentally deleted. If enabled, the cluster cannot be deleted unless it is modified and ``DeletionProtection`` is disabled.
641
641
  :param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see `Auditing Amazon DocumentDB Events <https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html>`_ and `Profiling Amazon DocumentDB Operations <https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html>`_ .
642
- :param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. Changing the ``EngineVersion`` will start an in-place engine version upgrade. Note that in-place engine version upgrade will cause downtime in the cluster. See `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ before starting an in-place engine version upgrade.
642
+ :param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. If you intend to trigger an in-place upgrade, please refer to `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ . Note that for an in-place engine version upgrade, you need to remove other cluster properties changes (e.g. SecurityGroupId) from the CFN template.
643
643
  :param kms_key_id: The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in ``KmsKeyId`` : - If the ``StorageEncrypted`` parameter is ``true`` , Amazon DocumentDB 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 Regions .
644
644
  :param manage_master_user_password: Specifies whether to manage the master user password with Amazon Web Services Secrets Manager. Constraint: You can't manage the master user password with Amazon Web Services Secrets Manager if ``MasterUserPassword`` is specified.
645
645
  :param master_username: The name of the master user for the cluster. Constraints: - Must be from 1 to 63 letters or numbers. - The first character must be a letter. - Cannot be a reserved word for the chosen database engine.
@@ -1694,7 +1694,7 @@ class CfnDBClusterProps:
1694
1694
  :param db_subnet_group_name: A subnet group to associate with this cluster. Constraints: Must match the name of an existing ``DBSubnetGroup`` . Must not be default. Example: ``mySubnetgroup``
1695
1695
  :param deletion_protection: Protects clusters from being accidentally deleted. If enabled, the cluster cannot be deleted unless it is modified and ``DeletionProtection`` is disabled.
1696
1696
  :param enable_cloudwatch_logs_exports: The list of log types that need to be enabled for exporting to Amazon CloudWatch Logs. You can enable audit logs or profiler logs. For more information, see `Auditing Amazon DocumentDB Events <https://docs.aws.amazon.com/documentdb/latest/developerguide/event-auditing.html>`_ and `Profiling Amazon DocumentDB Operations <https://docs.aws.amazon.com/documentdb/latest/developerguide/profiling.html>`_ .
1697
- :param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. Changing the ``EngineVersion`` will start an in-place engine version upgrade. Note that in-place engine version upgrade will cause downtime in the cluster. See `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ before starting an in-place engine version upgrade.
1697
+ :param engine_version: The version number of the database engine to use. The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version. If you intend to trigger an in-place upgrade, please refer to `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ . Note that for an in-place engine version upgrade, you need to remove other cluster properties changes (e.g. SecurityGroupId) from the CFN template.
1698
1698
  :param kms_key_id: The AWS KMS key identifier for an encrypted cluster. The AWS KMS key identifier is the Amazon Resource Name (ARN) for the AWS KMS encryption key. If you are creating a cluster using the same AWS account that owns the AWS KMS encryption key that is used to encrypt the new cluster, you can use the AWS KMS key alias instead of the ARN for the AWS KMS encryption key. If an encryption key is not specified in ``KmsKeyId`` : - If the ``StorageEncrypted`` parameter is ``true`` , Amazon DocumentDB 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 Regions .
1699
1699
  :param manage_master_user_password: Specifies whether to manage the master user password with Amazon Web Services Secrets Manager. Constraint: You can't manage the master user password with Amazon Web Services Secrets Manager if ``MasterUserPassword`` is specified.
1700
1700
  :param master_username: The name of the master user for the cluster. Constraints: - Must be from 1 to 63 letters or numbers. - The first character must be a letter. - Cannot be a reserved word for the chosen database engine.
@@ -1957,7 +1957,7 @@ class CfnDBClusterProps:
1957
1957
 
1958
1958
  The ``--engine-version`` will default to the latest major engine version. For production workloads, we recommend explicitly declaring this parameter with the intended major engine version.
1959
1959
 
1960
- Changing the ``EngineVersion`` will start an in-place engine version upgrade. Note that in-place engine version upgrade will cause downtime in the cluster. See `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ before starting an in-place engine version upgrade.
1960
+ If you intend to trigger an in-place upgrade, please refer to `Amazon DocumentDB in-place major version upgrade <https://docs.aws.amazon.com/documentdb/latest/developerguide/docdb-mvu.html>`_ . Note that for an in-place engine version upgrade, you need to remove other cluster properties changes (e.g. SecurityGroupId) from the CFN template.
1961
1961
 
1962
1962
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-docdb-dbcluster.html#cfn-docdb-dbcluster-engineversion
1963
1963
  '''
@@ -4578,6 +4578,12 @@ class DatabaseSecret(
4578
4578
 
4579
4579
  jsii.create(self.__class__, self, [scope, id, props])
4580
4580
 
4581
+ @jsii.python.classproperty
4582
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
4583
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
4584
+ '''Uniquely identifies this class.'''
4585
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
4586
+
4581
4587
 
4582
4588
  @jsii.data_type(
4583
4589
  jsii_type="aws-cdk-lib.aws_docdb.DatabaseSecretProps",
@@ -5299,6 +5305,12 @@ class ClusterParameterGroup(
5299
5305
  check_type(argname="argument parameter_group_name", value=parameter_group_name, expected_type=type_hints["parameter_group_name"])
5300
5306
  return typing.cast(IClusterParameterGroup, jsii.sinvoke(cls, "fromParameterGroupName", [scope, id, parameter_group_name]))
5301
5307
 
5308
+ @jsii.python.classproperty
5309
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
5310
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
5311
+ '''Uniquely identifies this class.'''
5312
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
5313
+
5302
5314
  @builtins.property
5303
5315
  @jsii.member(jsii_name="parameterGroupName")
5304
5316
  def parameter_group_name(self) -> builtins.str:
@@ -5543,6 +5555,12 @@ class DatabaseCluster(
5543
5555
  '''The default port Document DB listens on.'''
5544
5556
  return typing.cast(jsii.Number, jsii.sget(cls, "DEFAULT_PORT"))
5545
5557
 
5558
+ @jsii.python.classproperty
5559
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
5560
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
5561
+ '''Uniquely identifies this class.'''
5562
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
5563
+
5546
5564
  @builtins.property
5547
5565
  @jsii.member(jsii_name="clusterEndpoint")
5548
5566
  def cluster_endpoint(self) -> Endpoint:
@@ -5720,6 +5738,12 @@ class DatabaseInstance(
5720
5738
 
5721
5739
  return typing.cast(IDatabaseInstance, jsii.sinvoke(cls, "fromDatabaseInstanceAttributes", [scope, id, attrs]))
5722
5740
 
5741
+ @jsii.python.classproperty
5742
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
5743
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
5744
+ '''Uniquely identifies this class.'''
5745
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
5746
+
5723
5747
  @builtins.property
5724
5748
  @jsii.member(jsii_name="cluster")
5725
5749
  def cluster(self) -> IDatabaseCluster:
@@ -85,7 +85,7 @@ class CfnCluster(
85
85
  metaclass=jsii.JSIIMeta,
86
86
  jsii_type="aws-cdk-lib.aws_dsql.CfnCluster",
87
87
  ):
88
- '''Resource Type definition for AWS::DSQL::Cluster.
88
+ '''Creates a cluster in Amazon Aurora DSQL.
89
89
 
90
90
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
91
91
  :cloudformationResource: AWS::DSQL::Cluster
@@ -117,8 +117,8 @@ class CfnCluster(
117
117
  '''
118
118
  :param scope: Scope in which this resource is defined.
119
119
  :param id: Construct identifier for this resource (unique in its scope).
120
- :param deletion_protection_enabled: Whether deletion protection is enabled in this cluster.
121
- :param tags:
120
+ :param deletion_protection_enabled: Whether deletion protection is enabled on this cluster.
121
+ :param tags: A map of key and value pairs this cluster is tagged with.
122
122
  '''
123
123
  if __debug__:
124
124
  type_hints = typing.get_type_hints(_typecheckingstub__b82b76673b1942e60f823768c857e13a61b0491cdd1ca21c1f2a574e980d253e)
@@ -163,7 +163,7 @@ class CfnCluster(
163
163
  @builtins.property
164
164
  @jsii.member(jsii_name="attrCreationTime")
165
165
  def attr_creation_time(self) -> builtins.str:
166
- '''The time of when the cluster was created in ISO-8601 format.
166
+ '''The timestamp when the cluster was created, in ISO 8601 format.
167
167
 
168
168
  :cloudformationAttribute: CreationTime
169
169
  '''
@@ -172,7 +172,7 @@ class CfnCluster(
172
172
  @builtins.property
173
173
  @jsii.member(jsii_name="attrIdentifier")
174
174
  def attr_identifier(self) -> builtins.str:
175
- '''The ID of the created cluster.
175
+ '''The unique identifier assigned to the cluster upon creation.
176
176
 
177
177
  :cloudformationAttribute: Identifier
178
178
  '''
@@ -181,7 +181,9 @@ class CfnCluster(
181
181
  @builtins.property
182
182
  @jsii.member(jsii_name="attrResourceArn")
183
183
  def attr_resource_arn(self) -> builtins.str:
184
- '''The Amazon Resource Name (ARN) for the cluster.
184
+ '''The Amazon Resource Name (ARN) of the cluster.
185
+
186
+ Used for IAM permissions and resource identification.
185
187
 
186
188
  :cloudformationAttribute: ResourceArn
187
189
  '''
@@ -190,7 +192,9 @@ class CfnCluster(
190
192
  @builtins.property
191
193
  @jsii.member(jsii_name="attrStatus")
192
194
  def attr_status(self) -> builtins.str:
193
- '''The status of the cluster.
195
+ '''The current status of the cluster.
196
+
197
+ Possible values include: CREATING, ACTIVE, DELETING, FAILED.
194
198
 
195
199
  :cloudformationAttribute: Status
196
200
  '''
@@ -199,7 +203,9 @@ class CfnCluster(
199
203
  @builtins.property
200
204
  @jsii.member(jsii_name="attrVpcEndpointServiceName")
201
205
  def attr_vpc_endpoint_service_name(self) -> builtins.str:
202
- '''The VPC endpoint service name.
206
+ '''The VPC Endpoint Service name for the cluster.
207
+
208
+ This can be used to create a VPC endpoint to connect to the cluster from within a VPC.
203
209
 
204
210
  :cloudformationAttribute: VpcEndpointServiceName
205
211
  '''
@@ -221,7 +227,7 @@ class CfnCluster(
221
227
  def deletion_protection_enabled(
222
228
  self,
223
229
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
224
- '''Whether deletion protection is enabled in this cluster.'''
230
+ '''Whether deletion protection is enabled on this cluster.'''
225
231
  return typing.cast(typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]], jsii.get(self, "deletionProtectionEnabled"))
226
232
 
227
233
  @deletion_protection_enabled.setter
@@ -237,6 +243,7 @@ class CfnCluster(
237
243
  @builtins.property
238
244
  @jsii.member(jsii_name="tags")
239
245
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
246
+ '''A map of key and value pairs this cluster is tagged with.'''
240
247
  return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
241
248
 
242
249
  @tags.setter
@@ -264,8 +271,8 @@ class CfnClusterProps:
264
271
  ) -> None:
265
272
  '''Properties for defining a ``CfnCluster``.
266
273
 
267
- :param deletion_protection_enabled: Whether deletion protection is enabled in this cluster.
268
- :param tags:
274
+ :param deletion_protection_enabled: Whether deletion protection is enabled on this cluster.
275
+ :param tags: A map of key and value pairs this cluster is tagged with.
269
276
 
270
277
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html
271
278
  :exampleMetadata: fixture=_generated
@@ -298,7 +305,7 @@ class CfnClusterProps:
298
305
  def deletion_protection_enabled(
299
306
  self,
300
307
  ) -> typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]]:
301
- '''Whether deletion protection is enabled in this cluster.
308
+ '''Whether deletion protection is enabled on this cluster.
302
309
 
303
310
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html#cfn-dsql-cluster-deletionprotectionenabled
304
311
  '''
@@ -307,7 +314,8 @@ class CfnClusterProps:
307
314
 
308
315
  @builtins.property
309
316
  def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
310
- '''
317
+ '''A map of key and value pairs this cluster is tagged with.
318
+
311
319
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-cluster.html#cfn-dsql-cluster-tags
312
320
  '''
313
321
  result = self._values.get("tags")
@@ -114,8 +114,8 @@ import aws_cdk as cdk
114
114
 
115
115
  class FooStack(cdk.Stack):
116
116
 
117
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
118
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
117
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
118
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
119
119
 
120
120
  self.global_table = dynamodb.TableV2(self, "GlobalTable",
121
121
  partition_key=dynamodb.Attribute(name="pk", type=dynamodb.AttributeType.STRING),
@@ -124,8 +124,8 @@ class FooStack(cdk.Stack):
124
124
  )
125
125
 
126
126
  class BarStack(cdk.Stack):
127
- def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
128
- super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
127
+ def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
128
+ super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
129
129
 
130
130
  # user is given grantWriteData permissions to replica in us-east-1
131
131
  replica_table.grant_write_data(user)
@@ -810,8 +810,8 @@ import aws_cdk.aws_cloudwatch as cloudwatch
810
810
 
811
811
  class FooStack(cdk.Stack):
812
812
 
813
- def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
814
- super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
813
+ def __init__(self, scope, id, *, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
814
+ super().__init__(scope, id, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
815
815
 
816
816
  self.global_table = dynamodb.TableV2(self, "GlobalTable",
817
817
  partition_key=dynamodb.Attribute(name="pk", type=dynamodb.AttributeType.STRING),
@@ -820,8 +820,8 @@ class FooStack(cdk.Stack):
820
820
  )
821
821
 
822
822
  class BarStack(cdk.Stack):
823
- def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None):
824
- super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation)
823
+ def __init__(self, scope, id, *, replicaTable, description=None, env=None, stackName=None, tags=None, notificationArns=None, synthesizer=None, terminationProtection=None, analyticsReporting=None, crossRegionReferences=None, permissionsBoundary=None, suppressTemplateIndentation=None, propertyInjectors=None):
824
+ super().__init__(scope, id, replicaTable=replicaTable, description=description, env=env, stackName=stackName, tags=tags, notificationArns=notificationArns, synthesizer=synthesizer, terminationProtection=terminationProtection, analyticsReporting=analyticsReporting, crossRegionReferences=crossRegionReferences, permissionsBoundary=permissionsBoundary, suppressTemplateIndentation=suppressTemplateIndentation, propertyInjectors=propertyInjectors)
825
825
 
826
826
  # metric is only for the table in us-east-1
827
827
  metric = replica_table.metric_consumed_read_capacity_units()
@@ -14229,6 +14229,12 @@ class TableV2(
14229
14229
  check_type(argname="argument region", value=region, expected_type=type_hints["region"])
14230
14230
  return typing.cast(ITableV2, jsii.invoke(self, "replica", [region]))
14231
14231
 
14232
+ @jsii.python.classproperty
14233
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
14234
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
14235
+ '''Uniquely identifies this class.'''
14236
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
14237
+
14232
14238
  @builtins.property
14233
14239
  @jsii.member(jsii_name="hasIndex")
14234
14240
  def _has_index(self) -> builtins.bool:
@@ -16009,6 +16015,12 @@ class Table(
16009
16015
  check_type(argname="argument index_name", value=index_name, expected_type=type_hints["index_name"])
16010
16016
  return typing.cast(SchemaOptions, jsii.invoke(self, "schema", [index_name]))
16011
16017
 
16018
+ @jsii.python.classproperty
16019
+ @jsii.member(jsii_name="PROPERTY_INJECTION_ID")
16020
+ def PROPERTY_INJECTION_ID(cls) -> builtins.str:
16021
+ '''Uniquely identifies this class.'''
16022
+ return typing.cast(builtins.str, jsii.sget(cls, "PROPERTY_INJECTION_ID"))
16023
+
16012
16024
  @builtins.property
16013
16025
  @jsii.member(jsii_name="hasIndex")
16014
16026
  def _has_index(self) -> builtins.bool: