aws-cdk-lib 2.155.0__py3-none-any.whl → 2.157.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 (66) hide show
  1. aws_cdk/__init__.py +28 -24
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.155.0.jsii.tgz → aws-cdk-lib@2.157.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_acmpca/__init__.py +10 -75
  5. aws_cdk/aws_amplify/__init__.py +106 -0
  6. aws_cdk/aws_apigatewayv2/__init__.py +81 -13
  7. aws_cdk/aws_appintegrations/__init__.py +14 -14
  8. aws_cdk/aws_applicationsignals/__init__.py +750 -1
  9. aws_cdk/aws_appsync/__init__.py +50 -18
  10. aws_cdk/aws_autoscaling/__init__.py +6 -6
  11. aws_cdk/aws_backup/__init__.py +39 -0
  12. aws_cdk/aws_batch/__init__.py +41 -0
  13. aws_cdk/aws_bedrock/__init__.py +1528 -91
  14. aws_cdk/aws_chatbot/__init__.py +6 -6
  15. aws_cdk/aws_cloudformation/__init__.py +22 -22
  16. aws_cdk/aws_cloudfront/__init__.py +650 -57
  17. aws_cdk/aws_cloudfront/experimental/__init__.py +30 -3
  18. aws_cdk/aws_cloudfront_origins/__init__.py +2034 -91
  19. aws_cdk/aws_codebuild/__init__.py +1 -1
  20. aws_cdk/aws_datasync/__init__.py +40 -29
  21. aws_cdk/aws_docdb/__init__.py +78 -6
  22. aws_cdk/aws_ec2/__init__.py +397 -75
  23. aws_cdk/aws_ecs/__init__.py +271 -101
  24. aws_cdk/aws_ecs_patterns/__init__.py +129 -11
  25. aws_cdk/aws_eks/__init__.py +40 -4
  26. aws_cdk/aws_elasticloadbalancingv2/__init__.py +26 -50
  27. aws_cdk/aws_entityresolution/__init__.py +117 -4
  28. aws_cdk/aws_events/__init__.py +40 -14
  29. aws_cdk/aws_events_targets/__init__.py +357 -0
  30. aws_cdk/aws_glue/__init__.py +0 -8
  31. aws_cdk/aws_groundstation/__init__.py +27 -16
  32. aws_cdk/aws_guardduty/__init__.py +26 -14
  33. aws_cdk/aws_iam/__init__.py +7 -8
  34. aws_cdk/aws_iotfleetwise/__init__.py +108 -0
  35. aws_cdk/aws_kms/__init__.py +53 -10
  36. aws_cdk/aws_lambda/__init__.py +147 -17
  37. aws_cdk/aws_lambda_nodejs/__init__.py +30 -3
  38. aws_cdk/aws_macie/__init__.py +4 -4
  39. aws_cdk/aws_medialive/__init__.py +348 -0
  40. aws_cdk/aws_mediapackagev2/__init__.py +38 -38
  41. aws_cdk/aws_neptune/__init__.py +14 -8
  42. aws_cdk/aws_opensearchservice/__init__.py +194 -0
  43. aws_cdk/aws_pcaconnectorscep/__init__.py +884 -0
  44. aws_cdk/aws_personalize/__init__.py +2 -2
  45. aws_cdk/aws_pipes/__init__.py +22 -22
  46. aws_cdk/aws_qbusiness/__init__.py +675 -6
  47. aws_cdk/aws_quicksight/__init__.py +3285 -0
  48. aws_cdk/aws_rds/__init__.py +24 -0
  49. aws_cdk/aws_s3/__init__.py +13 -14
  50. aws_cdk/aws_sagemaker/__init__.py +1167 -0
  51. aws_cdk/aws_secretsmanager/__init__.py +2 -3
  52. aws_cdk/aws_securityhub/__init__.py +108 -103
  53. aws_cdk/aws_ses/__init__.py +31 -0
  54. aws_cdk/aws_sns/__init__.py +19 -13
  55. aws_cdk/aws_ssm/__init__.py +10 -6
  56. aws_cdk/aws_ssmquicksetup/__init__.py +967 -0
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +106 -45
  58. aws_cdk/aws_synthetics/__init__.py +13 -0
  59. aws_cdk/cx_api/__init__.py +16 -0
  60. aws_cdk/triggers/__init__.py +30 -3
  61. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/METADATA +1 -1
  62. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/RECORD +66 -64
  63. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/LICENSE +0 -0
  64. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/NOTICE +0 -0
  65. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/WHEEL +0 -0
  66. {aws_cdk_lib-2.155.0.dist-info → aws_cdk_lib-2.157.0.dist-info}/top_level.txt +0 -0
@@ -138,6 +138,7 @@ class EdgeFunction(
138
138
  handler: builtins.str,
139
139
  runtime: _Runtime_b4eaa844,
140
140
  adot_instrumentation: typing.Optional[typing.Union[_AdotInstrumentationConfig_7c38d65d, typing.Dict[builtins.str, typing.Any]]] = None,
141
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
141
142
  allow_all_outbound: typing.Optional[builtins.bool] = None,
142
143
  allow_public_subnet: typing.Optional[builtins.bool] = None,
143
144
  application_log_level: typing.Optional[builtins.str] = None,
@@ -194,7 +195,8 @@ class EdgeFunction(
194
195
  :param handler: The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html. Use ``Handler.FROM_IMAGE`` when defining a function from a Docker image. NOTE: If you specify your source code as inline text by specifying the ZipFile property within the Code property, specify index.function_name as the handler.
195
196
  :param runtime: The runtime environment for the Lambda function that you are uploading. For valid values, see the Runtime property in the AWS Lambda Developer Guide. Use ``Runtime.FROM_IMAGE`` when defining a function from a Docker image.
196
197
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
197
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
198
+ :param allow_all_ipv6_outbound: Whether to allow the Lambda to send all ipv6 network traffic. If set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets using ipv6. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllIpv6Outbound`` directly on the security group. Default: false
199
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic (except ipv6). If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
198
200
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
199
201
  :param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
200
202
  :param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
@@ -252,6 +254,7 @@ class EdgeFunction(
252
254
  handler=handler,
253
255
  runtime=runtime,
254
256
  adot_instrumentation=adot_instrumentation,
257
+ allow_all_ipv6_outbound=allow_all_ipv6_outbound,
255
258
  allow_all_outbound=allow_all_outbound,
256
259
  allow_public_subnet=allow_public_subnet,
257
260
  application_log_level=application_log_level,
@@ -909,6 +912,7 @@ class EdgeFunction(
909
912
  "on_success": "onSuccess",
910
913
  "retry_attempts": "retryAttempts",
911
914
  "adot_instrumentation": "adotInstrumentation",
915
+ "allow_all_ipv6_outbound": "allowAllIpv6Outbound",
912
916
  "allow_all_outbound": "allowAllOutbound",
913
917
  "allow_public_subnet": "allowPublicSubnet",
914
918
  "application_log_level": "applicationLogLevel",
@@ -967,6 +971,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
967
971
  on_success: typing.Optional[_IDestination_40f19de4] = None,
968
972
  retry_attempts: typing.Optional[jsii.Number] = None,
969
973
  adot_instrumentation: typing.Optional[typing.Union[_AdotInstrumentationConfig_7c38d65d, typing.Dict[builtins.str, typing.Any]]] = None,
974
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
970
975
  allow_all_outbound: typing.Optional[builtins.bool] = None,
971
976
  allow_public_subnet: typing.Optional[builtins.bool] = None,
972
977
  application_log_level: typing.Optional[builtins.str] = None,
@@ -1022,7 +1027,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
1022
1027
  :param on_success: The destination for successful invocations. Default: - no destination
1023
1028
  :param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
1024
1029
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
1025
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
1030
+ :param allow_all_ipv6_outbound: Whether to allow the Lambda to send all ipv6 network traffic. If set to true, there will only be a single egress rule which allows all outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets using ipv6. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllIpv6Outbound`` directly on the security group. Default: false
1031
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic (except ipv6). If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
1026
1032
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
1027
1033
  :param application_log_level: (deprecated) Sets the application log level for the function. Default: "INFO"
1028
1034
  :param application_log_level_v2: Sets the application log level for the function. Default: ApplicationLogLevel.INFO
@@ -1108,6 +1114,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
1108
1114
  check_type(argname="argument on_success", value=on_success, expected_type=type_hints["on_success"])
1109
1115
  check_type(argname="argument retry_attempts", value=retry_attempts, expected_type=type_hints["retry_attempts"])
1110
1116
  check_type(argname="argument adot_instrumentation", value=adot_instrumentation, expected_type=type_hints["adot_instrumentation"])
1117
+ check_type(argname="argument allow_all_ipv6_outbound", value=allow_all_ipv6_outbound, expected_type=type_hints["allow_all_ipv6_outbound"])
1111
1118
  check_type(argname="argument allow_all_outbound", value=allow_all_outbound, expected_type=type_hints["allow_all_outbound"])
1112
1119
  check_type(argname="argument allow_public_subnet", value=allow_public_subnet, expected_type=type_hints["allow_public_subnet"])
1113
1120
  check_type(argname="argument application_log_level", value=application_log_level, expected_type=type_hints["application_log_level"])
@@ -1170,6 +1177,8 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
1170
1177
  self._values["retry_attempts"] = retry_attempts
1171
1178
  if adot_instrumentation is not None:
1172
1179
  self._values["adot_instrumentation"] = adot_instrumentation
1180
+ if allow_all_ipv6_outbound is not None:
1181
+ self._values["allow_all_ipv6_outbound"] = allow_all_ipv6_outbound
1173
1182
  if allow_all_outbound is not None:
1174
1183
  self._values["allow_all_outbound"] = allow_all_outbound
1175
1184
  if allow_public_subnet is not None:
@@ -1314,9 +1323,25 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
1314
1323
  result = self._values.get("adot_instrumentation")
1315
1324
  return typing.cast(typing.Optional[_AdotInstrumentationConfig_7c38d65d], result)
1316
1325
 
1326
+ @builtins.property
1327
+ def allow_all_ipv6_outbound(self) -> typing.Optional[builtins.bool]:
1328
+ '''Whether to allow the Lambda to send all ipv6 network traffic.
1329
+
1330
+ If set to true, there will only be a single egress rule which allows all
1331
+ outbound ipv6 traffic. If set to false, you must individually add traffic rules to allow the
1332
+ Lambda to connect to network targets using ipv6.
1333
+
1334
+ Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
1335
+ Instead, configure ``allowAllIpv6Outbound`` directly on the security group.
1336
+
1337
+ :default: false
1338
+ '''
1339
+ result = self._values.get("allow_all_ipv6_outbound")
1340
+ return typing.cast(typing.Optional[builtins.bool], result)
1341
+
1317
1342
  @builtins.property
1318
1343
  def allow_all_outbound(self) -> typing.Optional[builtins.bool]:
1319
- '''Whether to allow the Lambda to send all network traffic.
1344
+ '''Whether to allow the Lambda to send all network traffic (except ipv6).
1320
1345
 
1321
1346
  If set to false, you must individually add traffic rules to allow the
1322
1347
  Lambda to connect to network targets.
@@ -1921,6 +1946,7 @@ def _typecheckingstub__b2f96e5632f259adb036f7aba2bbc7c19fd9840c647d67a10a8135cb3
1921
1946
  handler: builtins.str,
1922
1947
  runtime: _Runtime_b4eaa844,
1923
1948
  adot_instrumentation: typing.Optional[typing.Union[_AdotInstrumentationConfig_7c38d65d, typing.Dict[builtins.str, typing.Any]]] = None,
1949
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
1924
1950
  allow_all_outbound: typing.Optional[builtins.bool] = None,
1925
1951
  allow_public_subnet: typing.Optional[builtins.bool] = None,
1926
1952
  application_log_level: typing.Optional[builtins.str] = None,
@@ -2094,6 +2120,7 @@ def _typecheckingstub__709cdcb05c7a5fc7f7bcd1d72557097c39c5c534076a00b6b8db807bd
2094
2120
  on_success: typing.Optional[_IDestination_40f19de4] = None,
2095
2121
  retry_attempts: typing.Optional[jsii.Number] = None,
2096
2122
  adot_instrumentation: typing.Optional[typing.Union[_AdotInstrumentationConfig_7c38d65d, typing.Dict[builtins.str, typing.Any]]] = None,
2123
+ allow_all_ipv6_outbound: typing.Optional[builtins.bool] = None,
2097
2124
  allow_all_outbound: typing.Optional[builtins.bool] = None,
2098
2125
  allow_public_subnet: typing.Optional[builtins.bool] = None,
2099
2126
  application_log_level: typing.Optional[builtins.str] = None,