aws-cdk-lib 2.142.1__py3-none-any.whl → 2.143.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 (49) hide show
  1. aws_cdk/_jsii/__init__.py +1 -1
  2. aws_cdk/_jsii/{aws-cdk-lib@2.142.1.jsii.tgz → aws-cdk-lib@2.143.1.jsii.tgz} +0 -0
  3. aws_cdk/aws_amplify/__init__.py +12 -5
  4. aws_cdk/aws_backup/__init__.py +3 -3
  5. aws_cdk/aws_batch/__init__.py +237 -0
  6. aws_cdk/aws_bedrock/__init__.py +700 -16
  7. aws_cdk/aws_budgets/__init__.py +282 -3
  8. aws_cdk/aws_cloudtrail/__init__.py +12 -2
  9. aws_cdk/aws_codebuild/__init__.py +44 -0
  10. aws_cdk/aws_codepipeline/__init__.py +91 -4
  11. aws_cdk/aws_cognito/__init__.py +75 -0
  12. aws_cdk/aws_datazone/__init__.py +1743 -448
  13. aws_cdk/aws_dynamodb/__init__.py +60 -25
  14. aws_cdk/aws_ec2/__init__.py +112 -39
  15. aws_cdk/aws_ecs/__init__.py +3 -3
  16. aws_cdk/aws_ecs_patterns/__init__.py +106 -0
  17. aws_cdk/aws_eks/__init__.py +13 -10
  18. aws_cdk/aws_elasticache/__init__.py +9 -0
  19. aws_cdk/aws_events/__init__.py +219 -14
  20. aws_cdk/aws_events_targets/__init__.py +140 -3
  21. aws_cdk/aws_fms/__init__.py +42 -43
  22. aws_cdk/aws_fsx/__init__.py +3 -3
  23. aws_cdk/aws_identitystore/__init__.py +11 -11
  24. aws_cdk/aws_lambda/__init__.py +45 -0
  25. aws_cdk/aws_lambda_nodejs/__init__.py +16 -6
  26. aws_cdk/aws_lightsail/__init__.py +9 -0
  27. aws_cdk/aws_location/__init__.py +8 -4
  28. aws_cdk/aws_mediaconnect/__init__.py +1789 -39
  29. aws_cdk/aws_mediatailor/__init__.py +21 -1
  30. aws_cdk/aws_mwaa/__init__.py +82 -0
  31. aws_cdk/aws_neptune/__init__.py +374 -0
  32. aws_cdk/aws_personalize/__init__.py +9 -3
  33. aws_cdk/aws_pipes/__init__.py +7 -7
  34. aws_cdk/aws_quicksight/__init__.py +684 -156
  35. aws_cdk/aws_rds/__init__.py +88 -24
  36. aws_cdk/aws_redshift/__init__.py +0 -46
  37. aws_cdk/aws_route53resolver/__init__.py +23 -0
  38. aws_cdk/aws_s3/__init__.py +4 -4
  39. aws_cdk/aws_sagemaker/__init__.py +185 -4
  40. aws_cdk/aws_securityhub/__init__.py +387 -1
  41. aws_cdk/aws_ssm/__init__.py +14 -6
  42. aws_cdk/aws_sso/__init__.py +1243 -34
  43. aws_cdk/cx_api/__init__.py +16 -0
  44. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/METADATA +1 -1
  45. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.142.1.dist-info → aws_cdk_lib-2.143.1.dist-info}/top_level.txt +0 -0
@@ -90,7 +90,7 @@ class CfnGroup(
90
90
  '''
91
91
  :param scope: Scope in which this resource is defined.
92
92
  :param id: Construct identifier for this resource (unique in its scope).
93
- :param display_name: A string containing the name of the group. This value is commonly displayed when the group is referenced.
93
+ :param display_name: The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
94
94
  :param identity_store_id: The globally unique identifier for the identity store.
95
95
  :param description: A string containing the description of the group.
96
96
  '''
@@ -153,7 +153,7 @@ class CfnGroup(
153
153
  @builtins.property
154
154
  @jsii.member(jsii_name="displayName")
155
155
  def display_name(self) -> builtins.str:
156
- '''A string containing the name of the group.'''
156
+ '''The display name value for the group.'''
157
157
  return typing.cast(builtins.str, jsii.get(self, "displayName"))
158
158
 
159
159
  @display_name.setter
@@ -229,7 +229,7 @@ class CfnGroupMembership(
229
229
  '''
230
230
  :param scope: Scope in which this resource is defined.
231
231
  :param id: Construct identifier for this resource (unique in its scope).
232
- :param group_id: The unique identifier for a group in the identity store.
232
+ :param group_id: The identifier for a group in the identity store.
233
233
  :param identity_store_id: The globally unique identifier for the identity store.
234
234
  :param member_id: An object containing the identifier of a group member. Setting ``MemberId`` 's ``UserId`` field to a specific User's ID indicates we should consider that User as a group member.
235
235
  '''
@@ -290,7 +290,7 @@ class CfnGroupMembership(
290
290
  @builtins.property
291
291
  @jsii.member(jsii_name="groupId")
292
292
  def group_id(self) -> builtins.str:
293
- '''The unique identifier for a group in the identity store.'''
293
+ '''The identifier for a group in the identity store.'''
294
294
  return typing.cast(builtins.str, jsii.get(self, "groupId"))
295
295
 
296
296
  @group_id.setter
@@ -342,7 +342,7 @@ class CfnGroupMembership(
342
342
 
343
343
  Setting the ``UserID`` field to the specific identifier for a user indicates that the user is a member of the group.
344
344
 
345
- :param user_id: The identifier for a user in the identity store.
345
+ :param user_id: An object containing the identifiers of resources that can be members.
346
346
 
347
347
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html
348
348
  :exampleMetadata: fixture=_generated
@@ -366,7 +366,7 @@ class CfnGroupMembership(
366
366
 
367
367
  @builtins.property
368
368
  def user_id(self) -> builtins.str:
369
- '''The identifier for a user in the identity store.
369
+ '''An object containing the identifiers of resources that can be members.
370
370
 
371
371
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html#cfn-identitystore-groupmembership-memberid-userid
372
372
  '''
@@ -405,7 +405,7 @@ class CfnGroupMembershipProps:
405
405
  ) -> None:
406
406
  '''Properties for defining a ``CfnGroupMembership``.
407
407
 
408
- :param group_id: The unique identifier for a group in the identity store.
408
+ :param group_id: The identifier for a group in the identity store.
409
409
  :param identity_store_id: The globally unique identifier for the identity store.
410
410
  :param member_id: An object containing the identifier of a group member. Setting ``MemberId`` 's ``UserId`` field to a specific User's ID indicates we should consider that User as a group member.
411
411
 
@@ -439,7 +439,7 @@ class CfnGroupMembershipProps:
439
439
 
440
440
  @builtins.property
441
441
  def group_id(self) -> builtins.str:
442
- '''The unique identifier for a group in the identity store.
442
+ '''The identifier for a group in the identity store.
443
443
 
444
444
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html#cfn-identitystore-groupmembership-groupid
445
445
  '''
@@ -502,7 +502,7 @@ class CfnGroupProps:
502
502
  ) -> None:
503
503
  '''Properties for defining a ``CfnGroup``.
504
504
 
505
- :param display_name: A string containing the name of the group. This value is commonly displayed when the group is referenced.
505
+ :param display_name: The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
506
506
  :param identity_store_id: The globally unique identifier for the identity store.
507
507
  :param description: A string containing the description of the group.
508
508
 
@@ -537,9 +537,9 @@ class CfnGroupProps:
537
537
 
538
538
  @builtins.property
539
539
  def display_name(self) -> builtins.str:
540
- '''A string containing the name of the group.
540
+ '''The display name value for the group.
541
541
 
542
- This value is commonly displayed when the group is referenced.
542
+ The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
543
543
 
544
544
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html#cfn-identitystore-group-displayname
545
545
  '''
@@ -9935,12 +9935,15 @@ class CfnVersion(
9935
9935
  # The values are placeholders you should change.
9936
9936
  from aws_cdk import aws_lambda as lambda_
9937
9937
 
9938
+ # policy: Any
9939
+
9938
9940
  cfn_version = lambda_.CfnVersion(self, "MyCfnVersion",
9939
9941
  function_name="functionName",
9940
9942
 
9941
9943
  # the properties below are optional
9942
9944
  code_sha256="codeSha256",
9943
9945
  description="description",
9946
+ policy=policy,
9944
9947
  provisioned_concurrency_config=lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty(
9945
9948
  provisioned_concurrent_executions=123
9946
9949
  ),
@@ -9961,6 +9964,7 @@ class CfnVersion(
9961
9964
  function_name: builtins.str,
9962
9965
  code_sha256: typing.Optional[builtins.str] = None,
9963
9966
  description: typing.Optional[builtins.str] = None,
9967
+ policy: typing.Any = None,
9964
9968
  provisioned_concurrency_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnVersion.ProvisionedConcurrencyConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9965
9969
  runtime_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnVersion.RuntimePolicyProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9966
9970
  ) -> None:
@@ -9970,6 +9974,7 @@ class CfnVersion(
9970
9974
  :param function_name: The name or ARN of the Lambda function. **Name formats** - *Function name* - ``MyFunction`` . - *Function ARN* - ``arn:aws:lambda:us-west-2:123456789012:function:MyFunction`` . - *Partial ARN* - ``123456789012:function:MyFunction`` . The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
9971
9975
  :param code_sha256: Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.
9972
9976
  :param description: A description for the version to override the description in the function configuration. Updates are not supported for this property.
9977
+ :param policy: The resource policy of your function.
9973
9978
  :param provisioned_concurrency_config: Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
9974
9979
  :param runtime_policy: Runtime Management Config of a function.
9975
9980
  '''
@@ -9981,6 +9986,7 @@ class CfnVersion(
9981
9986
  function_name=function_name,
9982
9987
  code_sha256=code_sha256,
9983
9988
  description=description,
9989
+ policy=policy,
9984
9990
  provisioned_concurrency_config=provisioned_concurrency_config,
9985
9991
  runtime_policy=runtime_policy,
9986
9992
  )
@@ -10079,6 +10085,19 @@ class CfnVersion(
10079
10085
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10080
10086
  jsii.set(self, "description", value)
10081
10087
 
10088
+ @builtins.property
10089
+ @jsii.member(jsii_name="policy")
10090
+ def policy(self) -> typing.Any:
10091
+ '''The resource policy of your function.'''
10092
+ return typing.cast(typing.Any, jsii.get(self, "policy"))
10093
+
10094
+ @policy.setter
10095
+ def policy(self, value: typing.Any) -> None:
10096
+ if __debug__:
10097
+ type_hints = typing.get_type_hints(_typecheckingstub__ca802d0cfdb44c8f362bdb1d342a752f1a5ebd921d11a7b2fd0806cca5d9200a)
10098
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
10099
+ jsii.set(self, "policy", value)
10100
+
10082
10101
  @builtins.property
10083
10102
  @jsii.member(jsii_name="provisionedConcurrencyConfig")
10084
10103
  def provisioned_concurrency_config(
@@ -10255,6 +10274,7 @@ class CfnVersion(
10255
10274
  "function_name": "functionName",
10256
10275
  "code_sha256": "codeSha256",
10257
10276
  "description": "description",
10277
+ "policy": "policy",
10258
10278
  "provisioned_concurrency_config": "provisionedConcurrencyConfig",
10259
10279
  "runtime_policy": "runtimePolicy",
10260
10280
  },
@@ -10266,6 +10286,7 @@ class CfnVersionProps:
10266
10286
  function_name: builtins.str,
10267
10287
  code_sha256: typing.Optional[builtins.str] = None,
10268
10288
  description: typing.Optional[builtins.str] = None,
10289
+ policy: typing.Any = None,
10269
10290
  provisioned_concurrency_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.ProvisionedConcurrencyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10270
10291
  runtime_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.RuntimePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
10271
10292
  ) -> None:
@@ -10274,6 +10295,7 @@ class CfnVersionProps:
10274
10295
  :param function_name: The name or ARN of the Lambda function. **Name formats** - *Function name* - ``MyFunction`` . - *Function ARN* - ``arn:aws:lambda:us-west-2:123456789012:function:MyFunction`` . - *Partial ARN* - ``123456789012:function:MyFunction`` . The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
10275
10296
  :param code_sha256: Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. Updates are not supported for this property.
10276
10297
  :param description: A description for the version to override the description in the function configuration. Updates are not supported for this property.
10298
+ :param policy: The resource policy of your function.
10277
10299
  :param provisioned_concurrency_config: Specifies a provisioned concurrency configuration for a function's version. Updates are not supported for this property.
10278
10300
  :param runtime_policy: Runtime Management Config of a function.
10279
10301
 
@@ -10286,12 +10308,15 @@ class CfnVersionProps:
10286
10308
  # The values are placeholders you should change.
10287
10309
  from aws_cdk import aws_lambda as lambda_
10288
10310
 
10311
+ # policy: Any
10312
+
10289
10313
  cfn_version_props = lambda.CfnVersionProps(
10290
10314
  function_name="functionName",
10291
10315
 
10292
10316
  # the properties below are optional
10293
10317
  code_sha256="codeSha256",
10294
10318
  description="description",
10319
+ policy=policy,
10295
10320
  provisioned_concurrency_config=lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty(
10296
10321
  provisioned_concurrent_executions=123
10297
10322
  ),
@@ -10308,6 +10333,7 @@ class CfnVersionProps:
10308
10333
  check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
10309
10334
  check_type(argname="argument code_sha256", value=code_sha256, expected_type=type_hints["code_sha256"])
10310
10335
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
10336
+ check_type(argname="argument policy", value=policy, expected_type=type_hints["policy"])
10311
10337
  check_type(argname="argument provisioned_concurrency_config", value=provisioned_concurrency_config, expected_type=type_hints["provisioned_concurrency_config"])
10312
10338
  check_type(argname="argument runtime_policy", value=runtime_policy, expected_type=type_hints["runtime_policy"])
10313
10339
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -10317,6 +10343,8 @@ class CfnVersionProps:
10317
10343
  self._values["code_sha256"] = code_sha256
10318
10344
  if description is not None:
10319
10345
  self._values["description"] = description
10346
+ if policy is not None:
10347
+ self._values["policy"] = policy
10320
10348
  if provisioned_concurrency_config is not None:
10321
10349
  self._values["provisioned_concurrency_config"] = provisioned_concurrency_config
10322
10350
  if runtime_policy is not None:
@@ -10361,6 +10389,15 @@ class CfnVersionProps:
10361
10389
  result = self._values.get("description")
10362
10390
  return typing.cast(typing.Optional[builtins.str], result)
10363
10391
 
10392
+ @builtins.property
10393
+ def policy(self) -> typing.Any:
10394
+ '''The resource policy of your function.
10395
+
10396
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html#cfn-lambda-version-policy
10397
+ '''
10398
+ result = self._values.get("policy")
10399
+ return typing.cast(typing.Any, result)
10400
+
10364
10401
  @builtins.property
10365
10402
  def provisioned_concurrency_config(
10366
10403
  self,
@@ -28077,6 +28114,7 @@ def _typecheckingstub__1d4b3bf8a38fd246db911713fe99ad93f55dc635dbdaae114631921a1
28077
28114
  function_name: builtins.str,
28078
28115
  code_sha256: typing.Optional[builtins.str] = None,
28079
28116
  description: typing.Optional[builtins.str] = None,
28117
+ policy: typing.Any = None,
28080
28118
  provisioned_concurrency_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.ProvisionedConcurrencyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28081
28119
  runtime_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.RuntimePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28082
28120
  ) -> None:
@@ -28113,6 +28151,12 @@ def _typecheckingstub__f00e141771e43b8312d6a22399ba2d956886a5861db2296d1a2f16f8b
28113
28151
  """Type checking stubs"""
28114
28152
  pass
28115
28153
 
28154
+ def _typecheckingstub__ca802d0cfdb44c8f362bdb1d342a752f1a5ebd921d11a7b2fd0806cca5d9200a(
28155
+ value: typing.Any,
28156
+ ) -> None:
28157
+ """Type checking stubs"""
28158
+ pass
28159
+
28116
28160
  def _typecheckingstub__e46534e1d83b58a93edc70a851ca891701ea58cfe9a3fc7dc106915c1a475fa6(
28117
28161
  value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnVersion.ProvisionedConcurrencyConfigurationProperty]],
28118
28162
  ) -> None:
@@ -28145,6 +28189,7 @@ def _typecheckingstub__63ba63c43bc52bb365203cebb308fd393d4c03a8aee52a0336a139696
28145
28189
  function_name: builtins.str,
28146
28190
  code_sha256: typing.Optional[builtins.str] = None,
28147
28191
  description: typing.Optional[builtins.str] = None,
28192
+ policy: typing.Any = None,
28148
28193
  provisioned_concurrency_config: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.ProvisionedConcurrencyConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28149
28194
  runtime_policy: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnVersion.RuntimePolicyProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28150
28195
  ) -> None:
@@ -79,7 +79,9 @@ All properties of `lambda.Function` can be used to customize the underlying `lam
79
79
  See also the [AWS Lambda construct library](https://github.com/aws/aws-cdk/tree/main/packages/aws-cdk-lib/aws-lambda).
80
80
 
81
81
  The `NodejsFunction` construct automatically [reuses existing connections](https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.html)
82
- when working with the AWS SDK for JavaScript. Set the `awsSdkConnectionReuse` prop to `false` to disable it.
82
+ when working with the AWS SDK v2 for JavaScript. Set the `awsSdkConnectionReuse` prop to `false` to disable it.
83
+
84
+ The AWS SDK v3 for JavaScript does not include the environment variable set by `awsSdkConnectionReuse`. See [this guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-reusing-connections.html) for information about reusing connections. Therefore, for runtimes >= Node 18, which include SDK v3, the prop defaults to `false`, and must be explicitly set to `true` in order for the environment variable to be set.
83
85
 
84
86
  ## Runtime
85
87
 
@@ -1535,7 +1537,7 @@ class NodejsFunction(
1535
1537
  '''
1536
1538
  :param scope: -
1537
1539
  :param id: -
1538
- :param aws_sdk_connection_reuse: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: true
1540
+ :param aws_sdk_connection_reuse: The ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable does not exist in the AWS SDK for JavaScript v3. This prop will be deprecated when the Lambda Node16 runtime is deprecated on June 12, 2024. See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy Info for Node 16 runtimes / SDK v2 users: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript v2. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: - false (obsolete) for runtimes >= Node 18, true for runtimes <= Node 16.
1539
1541
  :param bundling: Bundling options. Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.
1540
1542
  :param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml`` or ``package-lock.json`` file
1541
1543
  :param entry: Path to the entry file (JavaScript or TypeScript). Default: - Derived from the name of the defining file and the construct's id. If the ``NodejsFunction`` is defined in ``stack.ts`` with ``my-handler`` as id (``new NodejsFunction(this, 'my-handler')``), the construct will look at ``stack.my-handler.ts`` and ``stack.my-handler.js``.
@@ -1812,7 +1814,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
1812
1814
  :param tracing: Enable AWS X-Ray Tracing for Lambda Function. Default: Tracing.Disabled
1813
1815
  :param vpc: VPC network to place Lambda network interfaces. Specify this if the Lambda function needs to access resources in a VPC. This is required when ``vpcSubnets`` is specified. Default: - Function is not placed within a VPC.
1814
1816
  :param vpc_subnets: Where to place the network interfaces within the VPC. This requires ``vpc`` to be specified in order for interfaces to actually be placed in the subnets. If ``vpc`` is not specify, this will raise an error. Note: Internet access for Lambda Functions requires a NAT Gateway, so picking public subnets is not allowed (unless ``allowPublicSubnet`` is set to ``true``). Default: - the Vpc default strategy if not specified
1815
- :param aws_sdk_connection_reuse: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: true
1817
+ :param aws_sdk_connection_reuse: The ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable does not exist in the AWS SDK for JavaScript v3. This prop will be deprecated when the Lambda Node16 runtime is deprecated on June 12, 2024. See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy Info for Node 16 runtimes / SDK v2 users: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript v2. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: - false (obsolete) for runtimes >= Node 18, true for runtimes <= Node 16.
1816
1818
  :param bundling: Bundling options. Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.
1817
1819
  :param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml`` or ``package-lock.json`` file
1818
1820
  :param entry: Path to the entry file (JavaScript or TypeScript). Default: - Derived from the name of the defining file and the construct's id. If the ``NodejsFunction`` is defined in ``stack.ts`` with ``my-handler`` as id (``new NodejsFunction(this, 'my-handler')``), the construct will look at ``stack.my-handler.ts`` and ``stack.my-handler.js``.
@@ -2545,14 +2547,22 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
2545
2547
 
2546
2548
  @builtins.property
2547
2549
  def aws_sdk_connection_reuse(self) -> typing.Optional[builtins.bool]:
2548
- '''Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript.
2550
+ '''The ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable does not exist in the AWS SDK for JavaScript v3.
2551
+
2552
+ This prop will be deprecated when the Lambda Node16 runtime is deprecated on June 12, 2024.
2553
+ See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy
2554
+
2555
+ Info for Node 16 runtimes / SDK v2 users:
2556
+
2557
+ Whether to automatically reuse TCP connections when working with the AWS
2558
+ SDK for JavaScript v2.
2549
2559
 
2550
2560
  This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable
2551
2561
  to ``1``.
2552
2562
 
2553
- :default: true
2563
+ :default: - false (obsolete) for runtimes >= Node 18, true for runtimes <= Node 16.
2554
2564
 
2555
- :see: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-reusing-connections.html
2565
+ :see: https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-reusing-connections.html
2556
2566
  '''
2557
2567
  result = self._values.get("aws_sdk_connection_reuse")
2558
2568
  return typing.cast(typing.Optional[builtins.bool], result)
@@ -5956,6 +5956,15 @@ class CfnInstance(
5956
5956
  '''
5957
5957
  return typing.cast(builtins.str, jsii.get(self, "attrInstanceArn"))
5958
5958
 
5959
+ @builtins.property
5960
+ @jsii.member(jsii_name="attrIpv6Addresses")
5961
+ def attr_ipv6_addresses(self) -> typing.List[builtins.str]:
5962
+ '''IPv6 addresses of the instance.
5963
+
5964
+ :cloudformationAttribute: Ipv6Addresses
5965
+ '''
5966
+ return typing.cast(typing.List[builtins.str], jsii.get(self, "attrIpv6Addresses"))
5967
+
5959
5968
  @builtins.property
5960
5969
  @jsii.member(jsii_name="attrIsStaticIp")
5961
5970
  def attr_is_static_ip(self) -> _IResolvable_da3f097b:
@@ -2565,7 +2565,7 @@ class CfnTracker(
2565
2565
  :param kms_key_id: A key identifier for an `AWS KMS customer managed key <https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html>`_ . Enter a key ID, key ARN, alias name, or alias ARN.
2566
2566
  :param position_filtering: Specifies the position filtering for the tracker resource. Valid values: - ``TimeBased`` - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID. - ``DistanceBased`` - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map. - ``AccuracyBased`` - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations. This field is optional. If not specified, the default value is ``TimeBased`` .
2567
2567
  :param pricing_plan:
2568
- :param pricing_plan_data_source:
2568
+ :param pricing_plan_data_source: (deprecated) This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
2569
2569
  :param tags: An array of key-value pairs to apply to this resource.
2570
2570
  '''
2571
2571
  if __debug__:
@@ -2777,7 +2777,8 @@ class CfnTracker(
2777
2777
  @builtins.property
2778
2778
  @jsii.member(jsii_name="pricingPlanDataSource")
2779
2779
  def pricing_plan_data_source(self) -> typing.Optional[builtins.str]:
2780
- '''
2780
+ '''(deprecated) This shape is deprecated since 2022-02-01: Deprecated.
2781
+
2781
2782
  :deprecated: this property has been deprecated
2782
2783
 
2783
2784
  :stability: deprecated
@@ -3040,7 +3041,7 @@ class CfnTrackerProps:
3040
3041
  :param kms_key_id: A key identifier for an `AWS KMS customer managed key <https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html>`_ . Enter a key ID, key ARN, alias name, or alias ARN.
3041
3042
  :param position_filtering: Specifies the position filtering for the tracker resource. Valid values: - ``TimeBased`` - Location updates are evaluated against linked geofence collections, but not every location update is stored. If your update frequency is more often than 30 seconds, only one update per 30 seconds is stored for each unique device ID. - ``DistanceBased`` - If the device has moved less than 30 m (98.4 ft), location updates are ignored. Location updates within this area are neither evaluated against linked geofence collections, nor stored. This helps control costs by reducing the number of geofence evaluations and historical device positions to paginate through. Distance-based filtering can also reduce the effects of GPS noise when displaying device trajectories on a map. - ``AccuracyBased`` - If the device has moved less than the measured accuracy, location updates are ignored. For example, if two consecutive updates from a device have a horizontal accuracy of 5 m and 10 m, the second update is ignored if the device has moved less than 15 m. Ignored location updates are neither evaluated against linked geofence collections, nor stored. This can reduce the effects of GPS noise when displaying device trajectories on a map, and can help control your costs by reducing the number of geofence evaluations. This field is optional. If not specified, the default value is ``TimeBased`` .
3042
3043
  :param pricing_plan:
3043
- :param pricing_plan_data_source:
3044
+ :param pricing_plan_data_source: (deprecated) This shape is deprecated since 2022-02-01: Deprecated. No longer allowed.
3044
3045
  :param tags: An array of key-value pairs to apply to this resource.
3045
3046
 
3046
3047
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html
@@ -3184,7 +3185,10 @@ class CfnTrackerProps:
3184
3185
 
3185
3186
  @builtins.property
3186
3187
  def pricing_plan_data_source(self) -> typing.Optional[builtins.str]:
3187
- '''
3188
+ '''(deprecated) This shape is deprecated since 2022-02-01: Deprecated.
3189
+
3190
+ No longer allowed.
3191
+
3188
3192
  :deprecated: this property has been deprecated
3189
3193
 
3190
3194
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html#cfn-location-tracker-pricingplandatasource