aws-cdk-lib 2.182.0__py3-none-any.whl → 2.184.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 (49) hide show
  1. aws_cdk/__init__.py +459 -33
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.182.0.jsii.tgz → aws-cdk-lib@2.184.0.jsii.tgz} +0 -0
  4. aws_cdk/aws_batch/__init__.py +15 -9
  5. aws_cdk/aws_bedrock/__init__.py +5804 -2325
  6. aws_cdk/aws_ce/__init__.py +141 -3
  7. aws_cdk/aws_cloudformation/__init__.py +26 -33
  8. aws_cdk/aws_cloudfront/experimental/__init__.py +2 -2
  9. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  10. aws_cdk/aws_codebuild/__init__.py +4 -10
  11. aws_cdk/aws_cognito/__init__.py +3 -3
  12. aws_cdk/aws_dms/__init__.py +350 -0
  13. aws_cdk/aws_ec2/__init__.py +63 -5
  14. aws_cdk/aws_elasticache/__init__.py +3 -3
  15. aws_cdk/aws_emr/__init__.py +9 -3
  16. aws_cdk/aws_events/__init__.py +3 -1
  17. aws_cdk/aws_events_targets/__init__.py +31 -7
  18. aws_cdk/aws_gameliftstreams/__init__.py +1205 -0
  19. aws_cdk/aws_iam/__init__.py +290 -35
  20. aws_cdk/aws_inspector/__init__.py +13 -10
  21. aws_cdk/aws_iot/__init__.py +616 -22
  22. aws_cdk/aws_iotfleetwise/__init__.py +72 -10
  23. aws_cdk/aws_iotsitewise/__init__.py +12 -8
  24. aws_cdk/aws_kafkaconnect/__init__.py +4 -2
  25. aws_cdk/aws_kinesisfirehose/__init__.py +45 -51
  26. aws_cdk/aws_lambda/__init__.py +27 -18
  27. aws_cdk/aws_lambda_event_sources/__init__.py +14 -14
  28. aws_cdk/aws_logs/__init__.py +133 -0
  29. aws_cdk/aws_medialive/__init__.py +86 -86
  30. aws_cdk/aws_msk/__init__.py +236 -128
  31. aws_cdk/aws_neptunegraph/__init__.py +3 -3
  32. aws_cdk/aws_opensearchserverless/__init__.py +1031 -0
  33. aws_cdk/aws_quicksight/__init__.py +6511 -20331
  34. aws_cdk/aws_rds/__init__.py +264 -32
  35. aws_cdk/aws_redshift/__init__.py +8 -8
  36. aws_cdk/aws_sagemaker/__init__.py +12 -5
  37. aws_cdk/aws_securitylake/__init__.py +3 -0
  38. aws_cdk/aws_synthetics/__init__.py +2 -0
  39. aws_cdk/aws_transfer/__init__.py +241 -40
  40. aws_cdk/aws_wafv2/__init__.py +118 -30
  41. aws_cdk/aws_xray/__init__.py +195 -0
  42. aws_cdk/cloud_assembly_schema/__init__.py +2 -2
  43. aws_cdk/custom_resources/__init__.py +65 -8
  44. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/METADATA +5 -6
  45. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/RECORD +49 -48
  46. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.182.0.dist-info → aws_cdk_lib-2.184.0.dist-info}/top_level.txt +0 -0
@@ -2744,7 +2744,8 @@ class CfnDecoderManifest(
2744
2744
  start_bit="startBit",
2745
2745
 
2746
2746
  # the properties below are optional
2747
- name="name"
2747
+ name="name",
2748
+ signal_value_type="signalValueType"
2748
2749
  ),
2749
2750
  obd_signal=iotfleetwise.CfnDecoderManifest.ObdSignalProperty(
2750
2751
  byte_length="byteLength",
@@ -2757,7 +2758,9 @@ class CfnDecoderManifest(
2757
2758
 
2758
2759
  # the properties below are optional
2759
2760
  bit_mask_length="bitMaskLength",
2760
- bit_right_shift="bitRightShift"
2761
+ bit_right_shift="bitRightShift",
2762
+ is_signed="isSigned",
2763
+ signal_value_type="signalValueType"
2761
2764
  )
2762
2765
  )],
2763
2766
  status="status",
@@ -3238,7 +3241,8 @@ class CfnDecoderManifest(
3238
3241
  start_bit="startBit",
3239
3242
 
3240
3243
  # the properties below are optional
3241
- name="name"
3244
+ name="name",
3245
+ signal_value_type="signalValueType"
3242
3246
  ),
3243
3247
  fully_qualified_name="fullyQualifiedName",
3244
3248
  interface_id="interfaceId",
@@ -3325,6 +3329,7 @@ class CfnDecoderManifest(
3325
3329
  "offset": "offset",
3326
3330
  "start_bit": "startBit",
3327
3331
  "name": "name",
3332
+ "signal_value_type": "signalValueType",
3328
3333
  },
3329
3334
  )
3330
3335
  class CanSignalProperty:
@@ -3339,6 +3344,7 @@ class CfnDecoderManifest(
3339
3344
  offset: builtins.str,
3340
3345
  start_bit: builtins.str,
3341
3346
  name: typing.Optional[builtins.str] = None,
3347
+ signal_value_type: typing.Optional[builtins.str] = None,
3342
3348
  ) -> None:
3343
3349
  '''Information about a single controller area network (CAN) signal and the messages it receives and transmits.
3344
3350
 
@@ -3350,6 +3356,7 @@ class CfnDecoderManifest(
3350
3356
  :param offset: The offset used to calculate the signal value. Combined with factor, the calculation is ``value = raw_value * factor + offset`` .
3351
3357
  :param start_bit: Indicates the beginning of the CAN message.
3352
3358
  :param name: The name of the signal.
3359
+ :param signal_value_type:
3353
3360
 
3354
3361
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-cansignal.html
3355
3362
  :exampleMetadata: fixture=_generated
@@ -3370,7 +3377,8 @@ class CfnDecoderManifest(
3370
3377
  start_bit="startBit",
3371
3378
 
3372
3379
  # the properties below are optional
3373
- name="name"
3380
+ name="name",
3381
+ signal_value_type="signalValueType"
3374
3382
  )
3375
3383
  '''
3376
3384
  if __debug__:
@@ -3383,6 +3391,7 @@ class CfnDecoderManifest(
3383
3391
  check_type(argname="argument offset", value=offset, expected_type=type_hints["offset"])
3384
3392
  check_type(argname="argument start_bit", value=start_bit, expected_type=type_hints["start_bit"])
3385
3393
  check_type(argname="argument name", value=name, expected_type=type_hints["name"])
3394
+ check_type(argname="argument signal_value_type", value=signal_value_type, expected_type=type_hints["signal_value_type"])
3386
3395
  self._values: typing.Dict[builtins.str, typing.Any] = {
3387
3396
  "factor": factor,
3388
3397
  "is_big_endian": is_big_endian,
@@ -3394,6 +3403,8 @@ class CfnDecoderManifest(
3394
3403
  }
3395
3404
  if name is not None:
3396
3405
  self._values["name"] = name
3406
+ if signal_value_type is not None:
3407
+ self._values["signal_value_type"] = signal_value_type
3397
3408
 
3398
3409
  @builtins.property
3399
3410
  def factor(self) -> builtins.str:
@@ -3476,6 +3487,14 @@ class CfnDecoderManifest(
3476
3487
  result = self._values.get("name")
3477
3488
  return typing.cast(typing.Optional[builtins.str], result)
3478
3489
 
3490
+ @builtins.property
3491
+ def signal_value_type(self) -> typing.Optional[builtins.str]:
3492
+ '''
3493
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-cansignal.html#cfn-iotfleetwise-decodermanifest-cansignal-signalvaluetype
3494
+ '''
3495
+ result = self._values.get("signal_value_type")
3496
+ return typing.cast(typing.Optional[builtins.str], result)
3497
+
3479
3498
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3480
3499
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3481
3500
 
@@ -3920,7 +3939,9 @@ class CfnDecoderManifest(
3920
3939
 
3921
3940
  # the properties below are optional
3922
3941
  bit_mask_length="bitMaskLength",
3923
- bit_right_shift="bitRightShift"
3942
+ bit_right_shift="bitRightShift",
3943
+ is_signed="isSigned",
3944
+ signal_value_type="signalValueType"
3924
3945
  ),
3925
3946
  type="type"
3926
3947
  )
@@ -4006,6 +4027,8 @@ class CfnDecoderManifest(
4006
4027
  "start_byte": "startByte",
4007
4028
  "bit_mask_length": "bitMaskLength",
4008
4029
  "bit_right_shift": "bitRightShift",
4030
+ "is_signed": "isSigned",
4031
+ "signal_value_type": "signalValueType",
4009
4032
  },
4010
4033
  )
4011
4034
  class ObdSignalProperty:
@@ -4021,6 +4044,8 @@ class CfnDecoderManifest(
4021
4044
  start_byte: builtins.str,
4022
4045
  bit_mask_length: typing.Optional[builtins.str] = None,
4023
4046
  bit_right_shift: typing.Optional[builtins.str] = None,
4047
+ is_signed: typing.Optional[typing.Union[builtins.str, builtins.bool, _IResolvable_da3f097b]] = None,
4048
+ signal_value_type: typing.Optional[builtins.str] = None,
4024
4049
  ) -> None:
4025
4050
  '''Information about signal messages using the on-board diagnostics (OBD) II protocol in a vehicle.
4026
4051
 
@@ -4033,6 +4058,8 @@ class CfnDecoderManifest(
4033
4058
  :param start_byte: Indicates the beginning of the message.
4034
4059
  :param bit_mask_length: The number of bits to mask in a message.
4035
4060
  :param bit_right_shift: The number of positions to shift bits in the message.
4061
+ :param is_signed:
4062
+ :param signal_value_type:
4036
4063
 
4037
4064
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-obdsignal.html
4038
4065
  :exampleMetadata: fixture=_generated
@@ -4054,7 +4081,9 @@ class CfnDecoderManifest(
4054
4081
 
4055
4082
  # the properties below are optional
4056
4083
  bit_mask_length="bitMaskLength",
4057
- bit_right_shift="bitRightShift"
4084
+ bit_right_shift="bitRightShift",
4085
+ is_signed="isSigned",
4086
+ signal_value_type="signalValueType"
4058
4087
  )
4059
4088
  '''
4060
4089
  if __debug__:
@@ -4068,6 +4097,8 @@ class CfnDecoderManifest(
4068
4097
  check_type(argname="argument start_byte", value=start_byte, expected_type=type_hints["start_byte"])
4069
4098
  check_type(argname="argument bit_mask_length", value=bit_mask_length, expected_type=type_hints["bit_mask_length"])
4070
4099
  check_type(argname="argument bit_right_shift", value=bit_right_shift, expected_type=type_hints["bit_right_shift"])
4100
+ check_type(argname="argument is_signed", value=is_signed, expected_type=type_hints["is_signed"])
4101
+ check_type(argname="argument signal_value_type", value=signal_value_type, expected_type=type_hints["signal_value_type"])
4071
4102
  self._values: typing.Dict[builtins.str, typing.Any] = {
4072
4103
  "byte_length": byte_length,
4073
4104
  "offset": offset,
@@ -4081,6 +4112,10 @@ class CfnDecoderManifest(
4081
4112
  self._values["bit_mask_length"] = bit_mask_length
4082
4113
  if bit_right_shift is not None:
4083
4114
  self._values["bit_right_shift"] = bit_right_shift
4115
+ if is_signed is not None:
4116
+ self._values["is_signed"] = is_signed
4117
+ if signal_value_type is not None:
4118
+ self._values["signal_value_type"] = signal_value_type
4084
4119
 
4085
4120
  @builtins.property
4086
4121
  def byte_length(self) -> builtins.str:
@@ -4172,6 +4207,24 @@ class CfnDecoderManifest(
4172
4207
  result = self._values.get("bit_right_shift")
4173
4208
  return typing.cast(typing.Optional[builtins.str], result)
4174
4209
 
4210
+ @builtins.property
4211
+ def is_signed(
4212
+ self,
4213
+ ) -> typing.Optional[typing.Union[builtins.str, builtins.bool, _IResolvable_da3f097b]]:
4214
+ '''
4215
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-obdsignal.html#cfn-iotfleetwise-decodermanifest-obdsignal-issigned
4216
+ '''
4217
+ result = self._values.get("is_signed")
4218
+ return typing.cast(typing.Optional[typing.Union[builtins.str, builtins.bool, _IResolvable_da3f097b]], result)
4219
+
4220
+ @builtins.property
4221
+ def signal_value_type(self) -> typing.Optional[builtins.str]:
4222
+ '''
4223
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotfleetwise-decodermanifest-obdsignal.html#cfn-iotfleetwise-decodermanifest-obdsignal-signalvaluetype
4224
+ '''
4225
+ result = self._values.get("signal_value_type")
4226
+ return typing.cast(typing.Optional[builtins.str], result)
4227
+
4175
4228
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
4176
4229
  return isinstance(rhs, self.__class__) and rhs._values == self._values
4177
4230
 
@@ -4237,7 +4290,8 @@ class CfnDecoderManifest(
4237
4290
  start_bit="startBit",
4238
4291
 
4239
4292
  # the properties below are optional
4240
- name="name"
4293
+ name="name",
4294
+ signal_value_type="signalValueType"
4241
4295
  ),
4242
4296
  obd_signal=iotfleetwise.CfnDecoderManifest.ObdSignalProperty(
4243
4297
  byte_length="byteLength",
@@ -4250,7 +4304,9 @@ class CfnDecoderManifest(
4250
4304
 
4251
4305
  # the properties below are optional
4252
4306
  bit_mask_length="bitMaskLength",
4253
- bit_right_shift="bitRightShift"
4307
+ bit_right_shift="bitRightShift",
4308
+ is_signed="isSigned",
4309
+ signal_value_type="signalValueType"
4254
4310
  )
4255
4311
  )
4256
4312
  '''
@@ -4424,7 +4480,8 @@ class CfnDecoderManifestProps:
4424
4480
  start_bit="startBit",
4425
4481
 
4426
4482
  # the properties below are optional
4427
- name="name"
4483
+ name="name",
4484
+ signal_value_type="signalValueType"
4428
4485
  ),
4429
4486
  obd_signal=iotfleetwise.CfnDecoderManifest.ObdSignalProperty(
4430
4487
  byte_length="byteLength",
@@ -4437,7 +4494,9 @@ class CfnDecoderManifestProps:
4437
4494
 
4438
4495
  # the properties below are optional
4439
4496
  bit_mask_length="bitMaskLength",
4440
- bit_right_shift="bitRightShift"
4497
+ bit_right_shift="bitRightShift",
4498
+ is_signed="isSigned",
4499
+ signal_value_type="signalValueType"
4441
4500
  )
4442
4501
  )],
4443
4502
  status="status",
@@ -8242,6 +8301,7 @@ def _typecheckingstub__d1fdd86137a92797754860d3b8da115496d862a2f95c8e39c08a70fdf
8242
8301
  offset: builtins.str,
8243
8302
  start_bit: builtins.str,
8244
8303
  name: typing.Optional[builtins.str] = None,
8304
+ signal_value_type: typing.Optional[builtins.str] = None,
8245
8305
  ) -> None:
8246
8306
  """Type checking stubs"""
8247
8307
  pass
@@ -8299,6 +8359,8 @@ def _typecheckingstub__ccb776ce607aa563ef4bc105956ab186267e45066ee492c162a455570
8299
8359
  start_byte: builtins.str,
8300
8360
  bit_mask_length: typing.Optional[builtins.str] = None,
8301
8361
  bit_right_shift: typing.Optional[builtins.str] = None,
8362
+ is_signed: typing.Optional[typing.Union[builtins.str, builtins.bool, _IResolvable_da3f097b]] = None,
8363
+ signal_value_type: typing.Optional[builtins.str] = None,
8302
8364
  ) -> None:
8303
8365
  """Type checking stubs"""
8304
8366
  pass
@@ -4226,7 +4226,7 @@ class CfnGateway(
4226
4226
  :param gateway_name: A unique name for the gateway.
4227
4227
  :param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
4228
4228
  :param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
4229
- :param gateway_version: The version of the gateway you want to create.
4229
+ :param gateway_version: The version of the gateway. A value of ``3`` indicates an MQTT-enabled, V3 gateway, while ``2`` indicates a Classic streams, V2 gateway.
4230
4230
  :param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
4231
4231
  '''
4232
4232
  if __debug__:
@@ -4345,7 +4345,7 @@ class CfnGateway(
4345
4345
  @builtins.property
4346
4346
  @jsii.member(jsii_name="gatewayVersion")
4347
4347
  def gateway_version(self) -> typing.Optional[builtins.str]:
4348
- '''The version of the gateway you want to create.'''
4348
+ '''The version of the gateway.'''
4349
4349
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "gatewayVersion"))
4350
4350
 
4351
4351
  @gateway_version.setter
@@ -4469,7 +4469,7 @@ class CfnGateway(
4469
4469
 
4470
4470
  :param greengrass:
4471
4471
  :param greengrass_v2: A gateway that runs on AWS IoT Greengrass V2 .
4472
- :param siemens_ie: A AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
4472
+ :param siemens_ie: An AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
4473
4473
 
4474
4474
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html
4475
4475
  :exampleMetadata: fixture=_generated
@@ -4533,7 +4533,7 @@ class CfnGateway(
4533
4533
  def siemens_ie(
4534
4534
  self,
4535
4535
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnGateway.SiemensIEProperty"]]:
4536
- '''A AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
4536
+ '''An AWS IoT SiteWise Edge gateway that runs on a Siemens Industrial Edge Device.
4537
4537
 
4538
4538
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-gateway-gatewayplatform.html#cfn-iotsitewise-gateway-gatewayplatform-siemensie
4539
4539
  '''
@@ -4758,7 +4758,7 @@ class CfnGatewayProps:
4758
4758
  :param gateway_name: A unique name for the gateway.
4759
4759
  :param gateway_platform: The gateway's platform. You can only specify one platform in a gateway.
4760
4760
  :param gateway_capability_summaries: A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use `DescribeGatewayCapabilityConfiguration <https://docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_DescribeGatewayCapabilityConfiguration.html>`_ .
4761
- :param gateway_version: The version of the gateway you want to create.
4761
+ :param gateway_version: The version of the gateway. A value of ``3`` indicates an MQTT-enabled, V3 gateway, while ``2`` indicates a Classic streams, V2 gateway.
4762
4762
  :param tags: A list of key-value pairs that contain metadata for the gateway. For more information, see `Tagging your AWS IoT SiteWise resources <https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html>`_ in the *AWS IoT SiteWise User Guide* .
4763
4763
 
4764
4764
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html
@@ -4858,7 +4858,9 @@ class CfnGatewayProps:
4858
4858
 
4859
4859
  @builtins.property
4860
4860
  def gateway_version(self) -> typing.Optional[builtins.str]:
4861
- '''The version of the gateway you want to create.
4861
+ '''The version of the gateway.
4862
+
4863
+ A value of ``3`` indicates an MQTT-enabled, V3 gateway, while ``2`` indicates a Classic streams, V2 gateway.
4862
4864
 
4863
4865
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-gateway.html#cfn-iotsitewise-gateway-gatewayversion
4864
4866
  '''
@@ -5286,7 +5288,7 @@ class CfnPortal(
5286
5288
  def __init__(self, *, portal_tools: typing.Sequence[builtins.str]) -> None:
5287
5289
  '''Container associated a certain PortalType.
5288
5290
 
5289
- :param portal_tools: List of enabled Tools for a certain portal.
5291
+ :param portal_tools: The array of tools associated with the specified portal type. The possible values are ``ASSISTANT`` and ``DASHBOARD`` .
5290
5292
 
5291
5293
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-portal-portaltypeentry.html
5292
5294
  :exampleMetadata: fixture=_generated
@@ -5310,7 +5312,9 @@ class CfnPortal(
5310
5312
 
5311
5313
  @builtins.property
5312
5314
  def portal_tools(self) -> typing.List[builtins.str]:
5313
- '''List of enabled Tools for a certain portal.
5315
+ '''The array of tools associated with the specified portal type.
5316
+
5317
+ The possible values are ``ASSISTANT`` and ``DASHBOARD`` .
5314
5318
 
5315
5319
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-portal-portaltypeentry.html#cfn-iotsitewise-portal-portaltypeentry-portaltools
5316
5320
  '''
@@ -195,7 +195,7 @@ class CfnConnector(
195
195
  :param id: Construct identifier for this resource (unique in its scope).
196
196
  :param capacity: The connector's compute capacity settings.
197
197
  :param connector_configuration: The configuration of the connector.
198
- :param connector_name: The name of the connector.
198
+ :param connector_name: The name of the connector. The connector name must be unique and can include up to 128 characters. Valid characters you can include in a connector name are: a-z, A-Z, 0-9, and -.
199
199
  :param kafka_cluster: The details of the Apache Kafka cluster to which the connector is connected.
200
200
  :param kafka_cluster_client_authentication: The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.
201
201
  :param kafka_cluster_encryption_in_transit: Details of encryption in transit to the Apache Kafka cluster.
@@ -1883,7 +1883,7 @@ class CfnConnectorProps:
1883
1883
 
1884
1884
  :param capacity: The connector's compute capacity settings.
1885
1885
  :param connector_configuration: The configuration of the connector.
1886
- :param connector_name: The name of the connector.
1886
+ :param connector_name: The name of the connector. The connector name must be unique and can include up to 128 characters. Valid characters you can include in a connector name are: a-z, A-Z, 0-9, and -.
1887
1887
  :param kafka_cluster: The details of the Apache Kafka cluster to which the connector is connected.
1888
1888
  :param kafka_cluster_client_authentication: The type of client authentication used to connect to the Apache Kafka cluster. The value is NONE when no client authentication is used.
1889
1889
  :param kafka_cluster_encryption_in_transit: Details of encryption in transit to the Apache Kafka cluster.
@@ -2050,6 +2050,8 @@ class CfnConnectorProps:
2050
2050
  def connector_name(self) -> builtins.str:
2051
2051
  '''The name of the connector.
2052
2052
 
2053
+ The connector name must be unique and can include up to 128 characters. Valid characters you can include in a connector name are: a-z, A-Z, 0-9, and -.
2054
+
2053
2055
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kafkaconnect-connector.html#cfn-kafkaconnect-connector-connectorname
2054
2056
  '''
2055
2057
  result = self._values.get("connector_name")
@@ -10180,24 +10180,22 @@ class DeliveryStreamProps:
10180
10180
 
10181
10181
  Example::
10182
10182
 
10183
- # bucket: s3.Bucket
10184
- # Provide a Lambda function that will transform records before delivery, with custom
10185
- # buffering and retry configuration
10186
- lambda_function = lambda_.Function(self, "Processor",
10187
- runtime=lambda_.Runtime.NODEJS_LATEST,
10188
- handler="index.handler",
10189
- code=lambda_.Code.from_asset(path.join(__dirname, "process-records"))
10190
- )
10191
- lambda_processor = firehose.LambdaFunctionProcessor(lambda_function,
10192
- buffer_interval=Duration.minutes(5),
10193
- buffer_size=Size.mebibytes(5),
10194
- retries=5
10195
- )
10196
- s3_destination = firehose.S3Bucket(bucket,
10197
- processor=lambda_processor
10183
+ import aws_cdk.aws_kinesisfirehose as firehose
10184
+
10185
+
10186
+ bucket = s3.Bucket(self, "MyBucket")
10187
+ stream = firehose.DeliveryStream(self, "MyStream",
10188
+ destination=firehose.S3Bucket(bucket)
10198
10189
  )
10199
- firehose.DeliveryStream(self, "Delivery Stream",
10200
- destination=s3_destination
10190
+
10191
+ topic_rule = iot.TopicRule(self, "TopicRule",
10192
+ sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'"),
10193
+ actions=[
10194
+ actions.FirehosePutRecordAction(stream,
10195
+ batch_mode=True,
10196
+ record_separator=actions.FirehoseRecordSeparator.NEWLINE
10197
+ )
10198
+ ]
10201
10199
  )
10202
10200
  '''
10203
10201
  if __debug__:
@@ -11653,24 +11651,22 @@ class S3Bucket(
11653
11651
 
11654
11652
  Example::
11655
11653
 
11656
- # bucket: s3.Bucket
11657
- # Provide a Lambda function that will transform records before delivery, with custom
11658
- # buffering and retry configuration
11659
- lambda_function = lambda_.Function(self, "Processor",
11660
- runtime=lambda_.Runtime.NODEJS_LATEST,
11661
- handler="index.handler",
11662
- code=lambda_.Code.from_asset(path.join(__dirname, "process-records"))
11663
- )
11664
- lambda_processor = firehose.LambdaFunctionProcessor(lambda_function,
11665
- buffer_interval=Duration.minutes(5),
11666
- buffer_size=Size.mebibytes(5),
11667
- retries=5
11668
- )
11669
- s3_destination = firehose.S3Bucket(bucket,
11670
- processor=lambda_processor
11654
+ import aws_cdk.aws_kinesisfirehose as firehose
11655
+
11656
+
11657
+ bucket = s3.Bucket(self, "MyBucket")
11658
+ stream = firehose.DeliveryStream(self, "MyStream",
11659
+ destination=firehose.S3Bucket(bucket)
11671
11660
  )
11672
- firehose.DeliveryStream(self, "Delivery Stream",
11673
- destination=s3_destination
11661
+
11662
+ topic_rule = iot.TopicRule(self, "TopicRule",
11663
+ sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'"),
11664
+ actions=[
11665
+ actions.FirehosePutRecordAction(stream,
11666
+ batch_mode=True,
11667
+ record_separator=actions.FirehoseRecordSeparator.NEWLINE
11668
+ )
11669
+ ]
11674
11670
  )
11675
11671
  '''
11676
11672
 
@@ -12065,24 +12061,22 @@ class DeliveryStream(
12065
12061
 
12066
12062
  Example::
12067
12063
 
12068
- # bucket: s3.Bucket
12069
- # Provide a Lambda function that will transform records before delivery, with custom
12070
- # buffering and retry configuration
12071
- lambda_function = lambda_.Function(self, "Processor",
12072
- runtime=lambda_.Runtime.NODEJS_LATEST,
12073
- handler="index.handler",
12074
- code=lambda_.Code.from_asset(path.join(__dirname, "process-records"))
12075
- )
12076
- lambda_processor = firehose.LambdaFunctionProcessor(lambda_function,
12077
- buffer_interval=Duration.minutes(5),
12078
- buffer_size=Size.mebibytes(5),
12079
- retries=5
12080
- )
12081
- s3_destination = firehose.S3Bucket(bucket,
12082
- processor=lambda_processor
12064
+ import aws_cdk.aws_kinesisfirehose as firehose
12065
+
12066
+
12067
+ bucket = s3.Bucket(self, "MyBucket")
12068
+ stream = firehose.DeliveryStream(self, "MyStream",
12069
+ destination=firehose.S3Bucket(bucket)
12083
12070
  )
12084
- firehose.DeliveryStream(self, "Delivery Stream",
12085
- destination=s3_destination
12071
+
12072
+ topic_rule = iot.TopicRule(self, "TopicRule",
12073
+ sql=iot.IotSql.from_string_as_ver20160323("SELECT * FROM 'device/+/data'"),
12074
+ actions=[
12075
+ actions.FirehosePutRecordAction(stream,
12076
+ batch_mode=True,
12077
+ record_separator=actions.FirehoseRecordSeparator.NEWLINE
12078
+ )
12079
+ ]
12086
12080
  )
12087
12081
  '''
12088
12082
 
@@ -13464,7 +13464,7 @@ class EventSourceMappingOptions:
13464
13464
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
13465
13465
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
13466
13466
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
13467
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
13467
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
13468
13468
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
13469
13469
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
13470
13470
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -13472,7 +13472,7 @@ class EventSourceMappingOptions:
13472
13472
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
13473
13473
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
13474
13474
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
13475
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
13475
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
13476
13476
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
13477
13477
 
13478
13478
  :exampleMetadata: fixture=_generated
@@ -13758,7 +13758,7 @@ class EventSourceMappingOptions:
13758
13758
 
13759
13759
  @builtins.property
13760
13760
  def on_failure(self) -> typing.Optional["IEventSourceDlq"]:
13761
- '''An Amazon SQS queue or Amazon SNS topic destination for discarded records.
13761
+ '''An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records.
13762
13762
 
13763
13763
  :default: discarded records are ignored
13764
13764
  '''
@@ -13854,9 +13854,9 @@ class EventSourceMappingOptions:
13854
13854
 
13855
13855
  @builtins.property
13856
13856
  def support_s3_on_failure_destination(self) -> typing.Optional[builtins.bool]:
13857
- '''Check if support S3 onfailure destination(ODF).
13857
+ '''Check if support S3 onfailure destination(OFD).
13858
13858
 
13859
- Currently only MSK and self managed kafka event support S3 ODF
13859
+ Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD
13860
13860
 
13861
13861
  :default: false
13862
13862
  '''
@@ -13964,7 +13964,7 @@ class EventSourceMappingProps(EventSourceMappingOptions):
13964
13964
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
13965
13965
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
13966
13966
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
13967
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
13967
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
13968
13968
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
13969
13969
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
13970
13970
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -13972,7 +13972,7 @@ class EventSourceMappingProps(EventSourceMappingOptions):
13972
13972
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
13973
13973
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
13974
13974
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
13975
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
13975
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
13976
13976
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
13977
13977
  :param target: The target AWS Lambda function.
13978
13978
 
@@ -14266,7 +14266,7 @@ class EventSourceMappingProps(EventSourceMappingOptions):
14266
14266
 
14267
14267
  @builtins.property
14268
14268
  def on_failure(self) -> typing.Optional["IEventSourceDlq"]:
14269
- '''An Amazon SQS queue or Amazon SNS topic destination for discarded records.
14269
+ '''An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records.
14270
14270
 
14271
14271
  :default: discarded records are ignored
14272
14272
  '''
@@ -14362,9 +14362,9 @@ class EventSourceMappingProps(EventSourceMappingOptions):
14362
14362
 
14363
14363
  @builtins.property
14364
14364
  def support_s3_on_failure_destination(self) -> typing.Optional[builtins.bool]:
14365
- '''Check if support S3 onfailure destination(ODF).
14365
+ '''Check if support S3 onfailure destination(OFD).
14366
14366
 
14367
- Currently only MSK and self managed kafka event support S3 ODF
14367
+ Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD
14368
14368
 
14369
14369
  :default: false
14370
14370
  '''
@@ -17838,7 +17838,7 @@ class IFunction(
17838
17838
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
17839
17839
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
17840
17840
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
17841
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
17841
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
17842
17842
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
17843
17843
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
17844
17844
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -17846,7 +17846,7 @@ class IFunction(
17846
17846
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
17847
17847
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
17848
17848
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
17849
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
17849
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
17850
17850
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
17851
17851
  '''
17852
17852
  ...
@@ -18280,7 +18280,7 @@ class _IFunctionProxy(
18280
18280
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
18281
18281
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
18282
18282
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
18283
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
18283
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
18284
18284
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
18285
18285
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
18286
18286
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -18288,7 +18288,7 @@ class _IFunctionProxy(
18288
18288
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
18289
18289
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
18290
18290
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
18291
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
18291
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
18292
18292
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
18293
18293
  '''
18294
18294
  if __debug__:
@@ -23022,6 +23022,15 @@ class SourceAccessConfigurationType(
23022
23022
  '''The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers.'''
23023
23023
  return typing.cast("SourceAccessConfigurationType", jsii.sget(cls, "SERVER_ROOT_CA_CERTIFICATE"))
23024
23024
 
23025
+ @jsii.python.classproperty
23026
+ @jsii.member(jsii_name="VIRTUAL_HOST")
23027
+ def VIRTUAL_HOST(cls) -> "SourceAccessConfigurationType":
23028
+ '''The name of the virtual host in your RabbitMQ broker.
23029
+
23030
+ Lambda uses this RabbitMQ host as the event source.
23031
+ '''
23032
+ return typing.cast("SourceAccessConfigurationType", jsii.sget(cls, "VIRTUAL_HOST"))
23033
+
23025
23034
  @jsii.python.classproperty
23026
23035
  @jsii.member(jsii_name="VPC_SECURITY_GROUP")
23027
23036
  def VPC_SECURITY_GROUP(cls) -> "SourceAccessConfigurationType":
@@ -25858,7 +25867,7 @@ class EventSourceMapping(
25858
25867
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
25859
25868
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
25860
25869
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
25861
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
25870
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
25862
25871
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
25863
25872
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
25864
25873
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -25866,7 +25875,7 @@ class EventSourceMapping(
25866
25875
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
25867
25876
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
25868
25877
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
25869
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
25878
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
25870
25879
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
25871
25880
  '''
25872
25881
  if __debug__:
@@ -26036,7 +26045,7 @@ class FunctionBase(
26036
26045
  :param max_concurrency: The maximum concurrency setting limits the number of concurrent instances of the function that an Amazon SQS event source can invoke. Default: - No specific limit.
26037
26046
  :param max_record_age: The maximum age of a record that Lambda sends to a function for processing. Valid Range: - Minimum value of 60 seconds - Maximum value of 7 days Default: - infinite or until the record expires.
26038
26047
  :param metrics_config: Configuration for enhanced monitoring metrics collection When specified, enables collection of additional metrics for the stream event source. Default: - Enhanced monitoring is disabled
26039
- :param on_failure: An Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
26048
+ :param on_failure: An Amazon S3, Amazon SQS queue or Amazon SNS topic destination for discarded records. Default: discarded records are ignored
26040
26049
  :param parallelization_factor: The number of batches to process from each shard concurrently. Valid Range: - Minimum value of 1 - Maximum value of 10 Default: 1
26041
26050
  :param provisioned_poller_config: Configuration for provisioned pollers that read from the event source. When specified, allows control over the minimum and maximum number of pollers that can be provisioned to process events from the source. Default: - no provisioned pollers
26042
26051
  :param report_batch_item_failures: Allow functions to return partially successful responses for a batch of records. Default: false
@@ -26044,7 +26053,7 @@ class FunctionBase(
26044
26053
  :param source_access_configurations: Specific settings like the authentication protocol or the VPC components to secure access to your event source. Default: - none
26045
26054
  :param starting_position: The position in the DynamoDB, Kinesis or MSK stream where AWS Lambda should start reading. Default: - no starting position
26046
26055
  :param starting_position_timestamp: The time from which to start reading, in Unix time seconds. Default: - no timestamp
26047
- :param support_s3_on_failure_destination: Check if support S3 onfailure destination(ODF). Currently only MSK and self managed kafka event support S3 ODF Default: false
26056
+ :param support_s3_on_failure_destination: Check if support S3 onfailure destination(OFD). Kinesis, DynamoDB, MSK and self managed kafka event support S3 OFD Default: false
26048
26057
  :param tumbling_window: The size of the tumbling windows to group records sent to DynamoDB or Kinesis. Default: - None
26049
26058
  '''
26050
26059
  if __debug__: