aws-cdk-lib 2.160.0__py3-none-any.whl → 2.161.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 (51) hide show
  1. aws_cdk/__init__.py +21 -14
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.160.0.jsii.tgz → aws-cdk-lib@2.161.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigatewayv2/__init__.py +13 -14
  5. aws_cdk/aws_autoscaling/__init__.py +2 -2
  6. aws_cdk/aws_b2bi/__init__.py +2283 -672
  7. aws_cdk/aws_batch/__init__.py +9 -5
  8. aws_cdk/aws_bedrock/__init__.py +52 -20
  9. aws_cdk/aws_cloudformation/__init__.py +9 -9
  10. aws_cdk/aws_cloudtrail/__init__.py +97 -183
  11. aws_cdk/aws_cloudwatch/__init__.py +38 -42
  12. aws_cdk/aws_datasync/__init__.py +1 -1
  13. aws_cdk/aws_ec2/__init__.py +114 -8
  14. aws_cdk/aws_ecs/__init__.py +513 -2
  15. aws_cdk/aws_eks/__init__.py +118 -2
  16. aws_cdk/aws_elasticloadbalancingv2/__init__.py +5 -3
  17. aws_cdk/aws_glue/__init__.py +386 -0
  18. aws_cdk/aws_iotfleetwise/__init__.py +49 -49
  19. aws_cdk/aws_iottwinmaker/__init__.py +4 -4
  20. aws_cdk/aws_iotwireless/__init__.py +2 -1
  21. aws_cdk/aws_kinesisfirehose/__init__.py +52 -76
  22. aws_cdk/aws_lambda/__init__.py +383 -244
  23. aws_cdk/aws_logs/__init__.py +431 -3
  24. aws_cdk/aws_mediaconnect/__init__.py +6 -4
  25. aws_cdk/aws_medialive/__init__.py +36 -0
  26. aws_cdk/aws_organizations/__init__.py +4 -3
  27. aws_cdk/aws_pipes/__init__.py +2 -2
  28. aws_cdk/aws_quicksight/__init__.py +1086 -6
  29. aws_cdk/aws_rds/__init__.py +158 -3
  30. aws_cdk/aws_route53resolver/__init__.py +3 -17
  31. aws_cdk/aws_s3/__init__.py +20 -11
  32. aws_cdk/aws_s3_deployment/__init__.py +45 -0
  33. aws_cdk/aws_s3express/__init__.py +314 -4
  34. aws_cdk/aws_sagemaker/__init__.py +44 -4
  35. aws_cdk/aws_secretsmanager/__init__.py +14 -7
  36. aws_cdk/aws_securityhub/__init__.py +16 -14
  37. aws_cdk/aws_ses/__init__.py +52 -18
  38. aws_cdk/aws_sqs/__init__.py +16 -14
  39. aws_cdk/aws_ssm/__init__.py +6 -2
  40. aws_cdk/aws_synthetics/__init__.py +46 -0
  41. aws_cdk/aws_waf/__init__.py +33 -22
  42. aws_cdk/aws_wafregional/__init__.py +36 -24
  43. aws_cdk/aws_workspacesweb/__init__.py +54 -3
  44. aws_cdk/cloudformation_include/__init__.py +28 -0
  45. aws_cdk/cx_api/__init__.py +50 -0
  46. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/METADATA +1 -1
  47. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/RECORD +51 -51
  48. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/LICENSE +0 -0
  49. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/NOTICE +0 -0
  50. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/WHEEL +0 -0
  51. {aws_cdk_lib-2.160.0.dist-info → aws_cdk_lib-2.161.0.dist-info}/top_level.txt +0 -0
@@ -8723,6 +8723,7 @@ class CfnChannel(
8723
8723
  "look_ahead_rate_control": "lookAheadRateControl",
8724
8724
  "max_bitrate": "maxBitrate",
8725
8725
  "min_i_interval": "minIInterval",
8726
+ "min_qp": "minQp",
8726
8727
  "num_ref_frames": "numRefFrames",
8727
8728
  "par_control": "parControl",
8728
8729
  "par_denominator": "parDenominator",
@@ -8771,6 +8772,7 @@ class CfnChannel(
8771
8772
  look_ahead_rate_control: typing.Optional[builtins.str] = None,
8772
8773
  max_bitrate: typing.Optional[jsii.Number] = None,
8773
8774
  min_i_interval: typing.Optional[jsii.Number] = None,
8775
+ min_qp: typing.Optional[jsii.Number] = None,
8774
8776
  num_ref_frames: typing.Optional[jsii.Number] = None,
8775
8777
  par_control: typing.Optional[builtins.str] = None,
8776
8778
  par_denominator: typing.Optional[jsii.Number] = None,
@@ -8818,6 +8820,7 @@ class CfnChannel(
8818
8820
  :param look_ahead_rate_control: The amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
8819
8821
  :param max_bitrate: For QVBR: See the tooltip for Quality level. For VBR: Set the maximum bitrate in order to accommodate expected spikes in the complexity of the video.
8820
8822
  :param min_i_interval: Meaningful only if sceneChangeDetect is set to enabled. This setting enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting the I-interval. The normal cadence resumes for the next GOP. Note that the maximum GOP stretch = GOP size + Min-I-interval - 1.
8823
+ :param min_qp:
8821
8824
  :param num_ref_frames: The number of reference frames to use. The encoder might use more than requested if you use B-frames or interlaced encoding.
8822
8825
  :param par_control: Indicates how the output pixel aspect ratio is specified. If "specified" is selected, the output video pixel aspect ratio is determined by parNumerator and parDenominator. If "initializeFromSource" is selected, the output pixels aspect ratio will be set equal to the input video pixel aspect ratio of the first input.
8823
8826
  :param par_denominator: The Pixel Aspect Ratio denominator.
@@ -8880,6 +8883,7 @@ class CfnChannel(
8880
8883
  look_ahead_rate_control="lookAheadRateControl",
8881
8884
  max_bitrate=123,
8882
8885
  min_iInterval=123,
8886
+ min_qp=123,
8883
8887
  num_ref_frames=123,
8884
8888
  par_control="parControl",
8885
8889
  par_denominator=123,
@@ -8930,6 +8934,7 @@ class CfnChannel(
8930
8934
  check_type(argname="argument look_ahead_rate_control", value=look_ahead_rate_control, expected_type=type_hints["look_ahead_rate_control"])
8931
8935
  check_type(argname="argument max_bitrate", value=max_bitrate, expected_type=type_hints["max_bitrate"])
8932
8936
  check_type(argname="argument min_i_interval", value=min_i_interval, expected_type=type_hints["min_i_interval"])
8937
+ check_type(argname="argument min_qp", value=min_qp, expected_type=type_hints["min_qp"])
8933
8938
  check_type(argname="argument num_ref_frames", value=num_ref_frames, expected_type=type_hints["num_ref_frames"])
8934
8939
  check_type(argname="argument par_control", value=par_control, expected_type=type_hints["par_control"])
8935
8940
  check_type(argname="argument par_denominator", value=par_denominator, expected_type=type_hints["par_denominator"])
@@ -8997,6 +9002,8 @@ class CfnChannel(
8997
9002
  self._values["max_bitrate"] = max_bitrate
8998
9003
  if min_i_interval is not None:
8999
9004
  self._values["min_i_interval"] = min_i_interval
9005
+ if min_qp is not None:
9006
+ self._values["min_qp"] = min_qp
9000
9007
  if num_ref_frames is not None:
9001
9008
  self._values["num_ref_frames"] = num_ref_frames
9002
9009
  if par_control is not None:
@@ -9280,6 +9287,14 @@ class CfnChannel(
9280
9287
  result = self._values.get("min_i_interval")
9281
9288
  return typing.cast(typing.Optional[jsii.Number], result)
9282
9289
 
9290
+ @builtins.property
9291
+ def min_qp(self) -> typing.Optional[jsii.Number]:
9292
+ '''
9293
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h264settings.html#cfn-medialive-channel-h264settings-minqp
9294
+ '''
9295
+ result = self._values.get("min_qp")
9296
+ return typing.cast(typing.Optional[jsii.Number], result)
9297
+
9283
9298
  @builtins.property
9284
9299
  def num_ref_frames(self) -> typing.Optional[jsii.Number]:
9285
9300
  '''The number of reference frames to use.
@@ -9695,6 +9710,7 @@ class CfnChannel(
9695
9710
  "look_ahead_rate_control": "lookAheadRateControl",
9696
9711
  "max_bitrate": "maxBitrate",
9697
9712
  "min_i_interval": "minIInterval",
9713
+ "min_qp": "minQp",
9698
9714
  "mv_over_picture_boundaries": "mvOverPictureBoundaries",
9699
9715
  "mv_temporal_predictor": "mvTemporalPredictor",
9700
9716
  "par_denominator": "parDenominator",
@@ -9737,6 +9753,7 @@ class CfnChannel(
9737
9753
  look_ahead_rate_control: typing.Optional[builtins.str] = None,
9738
9754
  max_bitrate: typing.Optional[jsii.Number] = None,
9739
9755
  min_i_interval: typing.Optional[jsii.Number] = None,
9756
+ min_qp: typing.Optional[jsii.Number] = None,
9740
9757
  mv_over_picture_boundaries: typing.Optional[builtins.str] = None,
9741
9758
  mv_temporal_predictor: typing.Optional[builtins.str] = None,
9742
9759
  par_denominator: typing.Optional[jsii.Number] = None,
@@ -9778,6 +9795,7 @@ class CfnChannel(
9778
9795
  :param look_ahead_rate_control: Amount of lookahead. A value of low can decrease latency and memory usage, while high can produce better quality for certain content.
9779
9796
  :param max_bitrate: For QVBR: See the tooltip for Quality level.
9780
9797
  :param min_i_interval: Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1
9798
+ :param min_qp:
9781
9799
  :param mv_over_picture_boundaries:
9782
9800
  :param mv_temporal_predictor:
9783
9801
  :param par_denominator: Pixel Aspect Ratio denominator.
@@ -9839,6 +9857,7 @@ class CfnChannel(
9839
9857
  look_ahead_rate_control="lookAheadRateControl",
9840
9858
  max_bitrate=123,
9841
9859
  min_iInterval=123,
9860
+ min_qp=123,
9842
9861
  mv_over_picture_boundaries="mvOverPictureBoundaries",
9843
9862
  mv_temporal_predictor="mvTemporalPredictor",
9844
9863
  par_denominator=123,
@@ -9883,6 +9902,7 @@ class CfnChannel(
9883
9902
  check_type(argname="argument look_ahead_rate_control", value=look_ahead_rate_control, expected_type=type_hints["look_ahead_rate_control"])
9884
9903
  check_type(argname="argument max_bitrate", value=max_bitrate, expected_type=type_hints["max_bitrate"])
9885
9904
  check_type(argname="argument min_i_interval", value=min_i_interval, expected_type=type_hints["min_i_interval"])
9905
+ check_type(argname="argument min_qp", value=min_qp, expected_type=type_hints["min_qp"])
9886
9906
  check_type(argname="argument mv_over_picture_boundaries", value=mv_over_picture_boundaries, expected_type=type_hints["mv_over_picture_boundaries"])
9887
9907
  check_type(argname="argument mv_temporal_predictor", value=mv_temporal_predictor, expected_type=type_hints["mv_temporal_predictor"])
9888
9908
  check_type(argname="argument par_denominator", value=par_denominator, expected_type=type_hints["par_denominator"])
@@ -9939,6 +9959,8 @@ class CfnChannel(
9939
9959
  self._values["max_bitrate"] = max_bitrate
9940
9960
  if min_i_interval is not None:
9941
9961
  self._values["min_i_interval"] = min_i_interval
9962
+ if min_qp is not None:
9963
+ self._values["min_qp"] = min_qp
9942
9964
  if mv_over_picture_boundaries is not None:
9943
9965
  self._values["mv_over_picture_boundaries"] = mv_over_picture_boundaries
9944
9966
  if mv_temporal_predictor is not None:
@@ -10168,6 +10190,14 @@ class CfnChannel(
10168
10190
  result = self._values.get("min_i_interval")
10169
10191
  return typing.cast(typing.Optional[jsii.Number], result)
10170
10192
 
10193
+ @builtins.property
10194
+ def min_qp(self) -> typing.Optional[jsii.Number]:
10195
+ '''
10196
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-h265settings.html#cfn-medialive-channel-h265settings-minqp
10197
+ '''
10198
+ result = self._values.get("min_qp")
10199
+ return typing.cast(typing.Optional[jsii.Number], result)
10200
+
10171
10201
  @builtins.property
10172
10202
  def mv_over_picture_boundaries(self) -> typing.Optional[builtins.str]:
10173
10203
  '''
@@ -20970,6 +21000,7 @@ class CfnChannel(
20970
21000
  look_ahead_rate_control="lookAheadRateControl",
20971
21001
  max_bitrate=123,
20972
21002
  min_iInterval=123,
21003
+ min_qp=123,
20973
21004
  num_ref_frames=123,
20974
21005
  par_control="parControl",
20975
21006
  par_denominator=123,
@@ -21027,6 +21058,7 @@ class CfnChannel(
21027
21058
  look_ahead_rate_control="lookAheadRateControl",
21028
21059
  max_bitrate=123,
21029
21060
  min_iInterval=123,
21061
+ min_qp=123,
21030
21062
  mv_over_picture_boundaries="mvOverPictureBoundaries",
21031
21063
  mv_temporal_predictor="mvTemporalPredictor",
21032
21064
  par_denominator=123,
@@ -21241,6 +21273,7 @@ class CfnChannel(
21241
21273
  look_ahead_rate_control="lookAheadRateControl",
21242
21274
  max_bitrate=123,
21243
21275
  min_iInterval=123,
21276
+ min_qp=123,
21244
21277
  num_ref_frames=123,
21245
21278
  par_control="parControl",
21246
21279
  par_denominator=123,
@@ -21298,6 +21331,7 @@ class CfnChannel(
21298
21331
  look_ahead_rate_control="lookAheadRateControl",
21299
21332
  max_bitrate=123,
21300
21333
  min_iInterval=123,
21334
+ min_qp=123,
21301
21335
  mv_over_picture_boundaries="mvOverPictureBoundaries",
21302
21336
  mv_temporal_predictor="mvTemporalPredictor",
21303
21337
  par_denominator=123,
@@ -30484,6 +30518,7 @@ def _typecheckingstub__b5cab7f49556648d7d963fdbb4cfd87845bc6a70172808b1847d7a218
30484
30518
  look_ahead_rate_control: typing.Optional[builtins.str] = None,
30485
30519
  max_bitrate: typing.Optional[jsii.Number] = None,
30486
30520
  min_i_interval: typing.Optional[jsii.Number] = None,
30521
+ min_qp: typing.Optional[jsii.Number] = None,
30487
30522
  num_ref_frames: typing.Optional[jsii.Number] = None,
30488
30523
  par_control: typing.Optional[builtins.str] = None,
30489
30524
  par_denominator: typing.Optional[jsii.Number] = None,
@@ -30545,6 +30580,7 @@ def _typecheckingstub__ba24f075b346c08bd6351ec946aa6352e1a32fe09c8751f612abee3e6
30545
30580
  look_ahead_rate_control: typing.Optional[builtins.str] = None,
30546
30581
  max_bitrate: typing.Optional[jsii.Number] = None,
30547
30582
  min_i_interval: typing.Optional[jsii.Number] = None,
30583
+ min_qp: typing.Optional[jsii.Number] = None,
30548
30584
  mv_over_picture_boundaries: typing.Optional[builtins.str] = None,
30549
30585
  mv_temporal_predictor: typing.Optional[builtins.str] = None,
30550
30586
  par_denominator: typing.Optional[jsii.Number] = None,
@@ -1048,7 +1048,7 @@ class CfnPolicy(
1048
1048
  '''
1049
1049
  :param scope: Scope in which this resource is defined.
1050
1050
  :param id: Construct identifier for this resource (unique in its scope).
1051
- :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - AI services opt-out policies: 2,500 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1051
+ :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1052
1052
  :param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
1053
1053
  :param type: The type of policy to create.
1054
1054
  :param description: Human readable description of the policy.
@@ -1251,7 +1251,7 @@ class CfnPolicyProps:
1251
1251
  ) -> None:
1252
1252
  '''Properties for defining a ``CfnPolicy``.
1253
1253
 
1254
- :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - AI services opt-out policies: 2,500 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1254
+ :param content: The policy text content. You can specify the policy content as a JSON object or a JSON string. .. epigraph:: When you specify the policy content as a JSON string, you can't perform drift detection on the CloudFormation stack. For this reason, we recommend specifying the policy content as a JSON object instead. The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document: - Service control policies: 5,120 characters - Backup policies: 10,000 characters - Tag policies: 10,000 characters - Chatbot policies: 10,000 characters - AI services opt-out policies: 2,500 characters For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1255
1255
  :param name: Name of the policy. The `regex pattern <https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex>`_ that is used to validate this parameter is a string of any of the characters in the ASCII character range.
1256
1256
  :param type: The type of policy to create.
1257
1257
  :param description: Human readable description of the policy.
@@ -1314,9 +1314,10 @@ class CfnPolicyProps:
1314
1314
  The text that you supply must adhere to the rules of the policy type you specify in the ``Type`` parameter. The following AWS Organizations quotas are enforced for the maximum size of a policy document:
1315
1315
 
1316
1316
  - Service control policies: 5,120 characters
1317
- - AI services opt-out policies: 2,500 characters
1318
1317
  - Backup policies: 10,000 characters
1319
1318
  - Tag policies: 10,000 characters
1319
+ - Chatbot policies: 10,000 characters
1320
+ - AI services opt-out policies: 2,500 characters
1320
1321
 
1321
1322
  For more information about Organizations service quotas, see `Quotas for AWS Organizations <https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html>`_ in the *AWS Organizations User Guide* .
1322
1323
 
@@ -6258,7 +6258,7 @@ class CfnPipe(
6258
6258
  :param multi_measure_mappings: Maps multiple measures from the source event to the same record in the specified Timestream for LiveAnalytics table.
6259
6259
  :param single_measure_mappings: Mappings of single source data fields to individual records in the specified Timestream for LiveAnalytics table.
6260
6260
  :param time_field_type: The type of time value used. The default is ``EPOCH`` .
6261
- :param timestamp_format: How to format the timestamps. For example, ``YYYY-MM-DDThh:mm:ss.sssTZD`` . Required if ``TimeFieldType`` is specified as ``TIMESTAMP_FORMAT`` .
6261
+ :param timestamp_format: How to format the timestamps. For example, ``yyyy-MM-dd'T'HH:mm:ss'Z'`` . Required if ``TimeFieldType`` is specified as ``TIMESTAMP_FORMAT`` .
6262
6262
 
6263
6263
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-pipes-pipe-pipetargettimestreamparameters.html
6264
6264
  :exampleMetadata: fixture=_generated
@@ -6414,7 +6414,7 @@ class CfnPipe(
6414
6414
 
6415
6415
  @builtins.property
6416
6416
  def timestamp_format(self) -> typing.Optional[builtins.str]:
6417
- '''How to format the timestamps. For example, ``YYYY-MM-DDThh:mm:ss.sssTZD`` .
6417
+ '''How to format the timestamps. For example, ``yyyy-MM-dd'T'HH:mm:ss'Z'`` .
6418
6418
 
6419
6419
  Required if ``TimeFieldType`` is specified as ``TIMESTAMP_FORMAT`` .
6420
6420