aws-cdk-lib 2.201.0__py3-none-any.whl → 2.203.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 (69) hide show
  1. aws_cdk/__init__.py +70 -71
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.201.0.jsii.tgz → aws-cdk-lib@2.203.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_accessanalyzer/__init__.py +310 -4
  5. aws_cdk/aws_aiops/__init__.py +964 -0
  6. aws_cdk/aws_amplify/__init__.py +127 -0
  7. aws_cdk/aws_arczonalshift/__init__.py +8 -8
  8. aws_cdk/aws_athena/__init__.py +12 -11
  9. aws_cdk/aws_b2bi/__init__.py +782 -3
  10. aws_cdk/aws_backup/__init__.py +22 -0
  11. aws_cdk/aws_batch/__init__.py +53 -1
  12. aws_cdk/aws_bedrock/__init__.py +123 -9
  13. aws_cdk/aws_cleanrooms/__init__.py +157 -154
  14. aws_cdk/aws_cloudformation/__init__.py +28 -28
  15. aws_cdk/aws_cloudfront/__init__.py +92 -57
  16. aws_cdk/aws_cloudfront/experimental/__init__.py +42 -3
  17. aws_cdk/aws_cloudwatch/__init__.py +228 -2
  18. aws_cdk/aws_connect/__init__.py +120 -8
  19. aws_cdk/aws_connectcampaignsv2/__init__.py +25 -4
  20. aws_cdk/aws_customerprofiles/__init__.py +150 -30
  21. aws_cdk/aws_datazone/__init__.py +23 -4
  22. aws_cdk/aws_deadline/__init__.py +4 -4
  23. aws_cdk/aws_dsql/__init__.py +148 -0
  24. aws_cdk/aws_ec2/__init__.py +321 -19
  25. aws_cdk/aws_ecr/__init__.py +3 -3
  26. aws_cdk/aws_ecs/__init__.py +48 -13
  27. aws_cdk/aws_efs/__init__.py +17 -6
  28. aws_cdk/aws_eks/__init__.py +180 -158
  29. aws_cdk/aws_elasticloadbalancingv2/__init__.py +4 -2
  30. aws_cdk/aws_emrserverless/__init__.py +118 -0
  31. aws_cdk/aws_fsx/__init__.py +891 -0
  32. aws_cdk/aws_glue/__init__.py +58 -24
  33. aws_cdk/aws_iam/__init__.py +11 -11
  34. aws_cdk/aws_inspectorv2/__init__.py +442 -3
  35. aws_cdk/aws_kendra/__init__.py +10 -5
  36. aws_cdk/aws_kms/__init__.py +24 -12
  37. aws_cdk/aws_lambda/__init__.py +938 -36
  38. aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
  39. aws_cdk/aws_lambda_nodejs/__init__.py +37 -3
  40. aws_cdk/aws_lex/__init__.py +703 -0
  41. aws_cdk/aws_logs/__init__.py +144 -0
  42. aws_cdk/aws_mediatailor/__init__.py +399 -0
  43. aws_cdk/aws_mpa/__init__.py +1475 -0
  44. aws_cdk/aws_msk/__init__.py +21 -2
  45. aws_cdk/aws_mwaa/__init__.py +45 -2
  46. aws_cdk/aws_networkfirewall/__init__.py +4 -2
  47. aws_cdk/aws_networkmanager/__init__.py +51 -3
  48. aws_cdk/aws_opsworkscm/__init__.py +44 -2
  49. aws_cdk/aws_rds/__init__.py +175 -42
  50. aws_cdk/aws_redshiftserverless/__init__.py +632 -0
  51. aws_cdk/aws_route53resolver/__init__.py +58 -10
  52. aws_cdk/aws_s3/__init__.py +19 -1
  53. aws_cdk/aws_s3tables/__init__.py +230 -0
  54. aws_cdk/aws_sagemaker/__init__.py +14 -10
  55. aws_cdk/aws_securityhub/__init__.py +2887 -56
  56. aws_cdk/aws_synthetics/__init__.py +21 -0
  57. aws_cdk/aws_vpclattice/__init__.py +6 -4
  58. aws_cdk/aws_wafv2/__init__.py +849 -18
  59. aws_cdk/aws_workspacesinstances/__init__.py +3243 -0
  60. aws_cdk/cloud_assembly_schema/__init__.py +200 -4
  61. aws_cdk/cx_api/__init__.py +29 -14
  62. aws_cdk/pipelines/__init__.py +178 -41
  63. aws_cdk/triggers/__init__.py +41 -4
  64. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/METADATA +3 -3
  65. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/RECORD +69 -66
  66. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/LICENSE +0 -0
  67. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/NOTICE +0 -0
  68. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/WHEEL +0 -0
  69. {aws_cdk_lib-2.201.0.dist-info → aws_cdk_lib-2.203.0.dist-info}/top_level.txt +0 -0
@@ -1409,6 +1409,7 @@ class CfnCanary(
1409
1409
  environment_variables={
1410
1410
  "environment_variables_key": "environmentVariables"
1411
1411
  },
1412
+ ephemeral_storage=123,
1412
1413
  memory_in_mb=123,
1413
1414
  timeout_in_seconds=123
1414
1415
  ),
@@ -2223,6 +2224,7 @@ class CfnCanary(
2223
2224
  name_mapping={
2224
2225
  "active_tracing": "activeTracing",
2225
2226
  "environment_variables": "environmentVariables",
2227
+ "ephemeral_storage": "ephemeralStorage",
2226
2228
  "memory_in_mb": "memoryInMb",
2227
2229
  "timeout_in_seconds": "timeoutInSeconds",
2228
2230
  },
@@ -2233,6 +2235,7 @@ class CfnCanary(
2233
2235
  *,
2234
2236
  active_tracing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
2235
2237
  environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
2238
+ ephemeral_storage: typing.Optional[jsii.Number] = None,
2236
2239
  memory_in_mb: typing.Optional[jsii.Number] = None,
2237
2240
  timeout_in_seconds: typing.Optional[jsii.Number] = None,
2238
2241
  ) -> None:
@@ -2242,6 +2245,7 @@ class CfnCanary(
2242
2245
 
2243
2246
  :param active_tracing: Specifies whether this canary is to use active AWS X-Ray tracing when it runs. Active tracing enables this canary run to be displayed in the ServiceLens and X-Ray service maps even if the canary does not hit an endpoint that has X-Ray tracing enabled. Using X-Ray tracing incurs charges. For more information, see `Canaries and X-Ray tracing <https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html>`_ . You can enable active tracing only for canaries that use version ``syn-nodejs-2.0`` or later for their canary runtime.
2244
2247
  :param environment_variables: Specifies the keys and values to use for any environment variables used in the canary script. Use the following format: { "key1" : "value1", "key2" : "value2", ...} Keys must start with a letter and be at least two characters. The total size of your environment variables cannot exceed 4 KB. You can't specify any Lambda reserved environment variables as the keys for your environment variables. For more information about reserved keys, see `Runtime environment variables <https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime>`_ .
2248
+ :param ephemeral_storage: Specifies the amount of ephemeral storage (in MB) to allocate for the canary run during execution. This temporary storage is used for storing canary run artifacts (which are uploaded to an Amazon S3 bucket at the end of the run), and any canary browser operations. This temporary storage is cleared after the run is completed. Default storage value is 1024 MB.
2245
2249
  :param memory_in_mb: The maximum amount of memory that the canary can use while running. This value must be a multiple of 64. The range is 960 to 3008.
2246
2250
  :param timeout_in_seconds: How long the canary is allowed to run before it must stop. You can't set this time to be longer than the frequency of the runs of this canary. If you omit this field, the frequency of the canary is used as this value, up to a maximum of 900 seconds.
2247
2251
 
@@ -2259,6 +2263,7 @@ class CfnCanary(
2259
2263
  environment_variables={
2260
2264
  "environment_variables_key": "environmentVariables"
2261
2265
  },
2266
+ ephemeral_storage=123,
2262
2267
  memory_in_mb=123,
2263
2268
  timeout_in_seconds=123
2264
2269
  )
@@ -2267,6 +2272,7 @@ class CfnCanary(
2267
2272
  type_hints = typing.get_type_hints(_typecheckingstub__fa148862e82948accbbe951e7afcee721aa7014754c81106d2648fe1c5cf28e2)
2268
2273
  check_type(argname="argument active_tracing", value=active_tracing, expected_type=type_hints["active_tracing"])
2269
2274
  check_type(argname="argument environment_variables", value=environment_variables, expected_type=type_hints["environment_variables"])
2275
+ check_type(argname="argument ephemeral_storage", value=ephemeral_storage, expected_type=type_hints["ephemeral_storage"])
2270
2276
  check_type(argname="argument memory_in_mb", value=memory_in_mb, expected_type=type_hints["memory_in_mb"])
2271
2277
  check_type(argname="argument timeout_in_seconds", value=timeout_in_seconds, expected_type=type_hints["timeout_in_seconds"])
2272
2278
  self._values: typing.Dict[builtins.str, typing.Any] = {}
@@ -2274,6 +2280,8 @@ class CfnCanary(
2274
2280
  self._values["active_tracing"] = active_tracing
2275
2281
  if environment_variables is not None:
2276
2282
  self._values["environment_variables"] = environment_variables
2283
+ if ephemeral_storage is not None:
2284
+ self._values["ephemeral_storage"] = ephemeral_storage
2277
2285
  if memory_in_mb is not None:
2278
2286
  self._values["memory_in_mb"] = memory_in_mb
2279
2287
  if timeout_in_seconds is not None:
@@ -2311,6 +2319,17 @@ class CfnCanary(
2311
2319
  result = self._values.get("environment_variables")
2312
2320
  return typing.cast(typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]], result)
2313
2321
 
2322
+ @builtins.property
2323
+ def ephemeral_storage(self) -> typing.Optional[jsii.Number]:
2324
+ '''Specifies the amount of ephemeral storage (in MB) to allocate for the canary run during execution.
2325
+
2326
+ This temporary storage is used for storing canary run artifacts (which are uploaded to an Amazon S3 bucket at the end of the run), and any canary browser operations. This temporary storage is cleared after the run is completed. Default storage value is 1024 MB.
2327
+
2328
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-ephemeralstorage
2329
+ '''
2330
+ result = self._values.get("ephemeral_storage")
2331
+ return typing.cast(typing.Optional[jsii.Number], result)
2332
+
2314
2333
  @builtins.property
2315
2334
  def memory_in_mb(self) -> typing.Optional[jsii.Number]:
2316
2335
  '''The maximum amount of memory that the canary can use while running.
@@ -2851,6 +2870,7 @@ class CfnCanaryProps:
2851
2870
  environment_variables={
2852
2871
  "environment_variables_key": "environmentVariables"
2853
2872
  },
2873
+ ephemeral_storage=123,
2854
2874
  memory_in_mb=123,
2855
2875
  timeout_in_seconds=123
2856
2876
  ),
@@ -5051,6 +5071,7 @@ def _typecheckingstub__fa148862e82948accbbe951e7afcee721aa7014754c81106d2648fe1c
5051
5071
  *,
5052
5072
  active_tracing: typing.Optional[typing.Union[builtins.bool, _IResolvable_da3f097b]] = None,
5053
5073
  environment_variables: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
5074
+ ephemeral_storage: typing.Optional[jsii.Number] = None,
5054
5075
  memory_in_mb: typing.Optional[jsii.Number] = None,
5055
5076
  timeout_in_seconds: typing.Optional[jsii.Number] = None,
5056
5077
  ) -> None:
@@ -3874,7 +3874,7 @@ class CfnService(
3874
3874
  :param auth_type: The type of IAM policy. - ``NONE`` : The resource does not use an IAM policy. This is the default. - ``AWS_IAM`` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. Default: - "NONE"
3875
3875
  :param certificate_arn: The Amazon Resource Name (ARN) of the certificate.
3876
3876
  :param custom_domain_name: The custom domain name of the service.
3877
- :param dns_entry: The DNS information of the service.
3877
+ :param dns_entry: Describes the DNS information of the service. This field is read-only.
3878
3878
  :param name: The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
3879
3879
  :param tags: The tags for the service.
3880
3880
  '''
@@ -4041,7 +4041,7 @@ class CfnService(
4041
4041
  def dns_entry(
4042
4042
  self,
4043
4043
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnService.DnsEntryProperty"]]:
4044
- '''The DNS information of the service.'''
4044
+ '''Describes the DNS information of the service.'''
4045
4045
  return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnService.DnsEntryProperty"]], jsii.get(self, "dnsEntry"))
4046
4046
 
4047
4047
  @dns_entry.setter
@@ -5619,7 +5619,7 @@ class CfnServiceProps:
5619
5619
  :param auth_type: The type of IAM policy. - ``NONE`` : The resource does not use an IAM policy. This is the default. - ``AWS_IAM`` : The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required. Default: - "NONE"
5620
5620
  :param certificate_arn: The Amazon Resource Name (ARN) of the certificate.
5621
5621
  :param custom_domain_name: The custom domain name of the service.
5622
- :param dns_entry: The DNS information of the service.
5622
+ :param dns_entry: Describes the DNS information of the service. This field is read-only.
5623
5623
  :param name: The name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen. If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
5624
5624
  :param tags: The tags for the service.
5625
5625
 
@@ -5705,7 +5705,9 @@ class CfnServiceProps:
5705
5705
  def dns_entry(
5706
5706
  self,
5707
5707
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnService.DnsEntryProperty]]:
5708
- '''The DNS information of the service.
5708
+ '''Describes the DNS information of the service.
5709
+
5710
+ This field is read-only.
5709
5711
 
5710
5712
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html#cfn-vpclattice-service-dnsentry
5711
5713
  '''