aws-cdk-lib 2.158.0__py3-none-any.whl → 2.159.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of aws-cdk-lib might be problematic. Click here for more details.

Files changed (62) hide show
  1. aws_cdk/__init__.py +36 -19
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.158.0.jsii.tgz → aws-cdk-lib@2.159.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_amplify/__init__.py +22 -8
  5. aws_cdk/aws_apigatewayv2/__init__.py +30 -0
  6. aws_cdk/aws_appconfig/__init__.py +3 -3
  7. aws_cdk/aws_applicationinsights/__init__.py +544 -4
  8. aws_cdk/aws_applicationsignals/__init__.py +170 -142
  9. aws_cdk/aws_athena/__init__.py +15 -15
  10. aws_cdk/aws_auditmanager/__init__.py +5 -5
  11. aws_cdk/aws_bedrock/__init__.py +7 -7
  12. aws_cdk/aws_codebuild/__init__.py +39 -18
  13. aws_cdk/aws_codeconnections/__init__.py +1 -1
  14. aws_cdk/aws_cognito/__init__.py +390 -203
  15. aws_cdk/aws_connect/__init__.py +1679 -152
  16. aws_cdk/aws_datazone/__init__.py +665 -40
  17. aws_cdk/aws_docdb/__init__.py +6 -1
  18. aws_cdk/aws_dynamodb/__init__.py +5 -5
  19. aws_cdk/aws_ec2/__init__.py +121 -36
  20. aws_cdk/aws_ecr/__init__.py +14 -6
  21. aws_cdk/aws_ecs/__init__.py +20 -20
  22. aws_cdk/aws_elasticloadbalancingv2/__init__.py +167 -20
  23. aws_cdk/aws_emr/__init__.py +8 -8
  24. aws_cdk/aws_events/__init__.py +19 -17
  25. aws_cdk/aws_events_targets/__init__.py +165 -85
  26. aws_cdk/aws_fms/__init__.py +59 -0
  27. aws_cdk/aws_fsx/__init__.py +3 -3
  28. aws_cdk/aws_gamelift/__init__.py +40 -52
  29. aws_cdk/aws_globalaccelerator/__init__.py +22 -29
  30. aws_cdk/aws_iam/__init__.py +22 -20
  31. aws_cdk/aws_iotfleetwise/__init__.py +419 -0
  32. aws_cdk/aws_iotsitewise/__init__.py +90 -1
  33. aws_cdk/aws_iotwireless/__init__.py +205 -0
  34. aws_cdk/aws_lambda/__init__.py +129 -16
  35. aws_cdk/aws_lex/__init__.py +15 -1
  36. aws_cdk/aws_logs/__init__.py +1 -1
  37. aws_cdk/aws_mediaconnect/__init__.py +111 -0
  38. aws_cdk/aws_medialive/__init__.py +7988 -3262
  39. aws_cdk/aws_msk/__init__.py +287 -479
  40. aws_cdk/aws_opensearchservice/__init__.py +6 -0
  41. aws_cdk/aws_pcaconnectorscep/__init__.py +69 -30
  42. aws_cdk/aws_pipes/__init__.py +49 -0
  43. aws_cdk/aws_qbusiness/__init__.py +11 -14
  44. aws_cdk/aws_quicksight/__init__.py +638 -99
  45. aws_cdk/aws_rds/__init__.py +38 -27
  46. aws_cdk/aws_s3/__init__.py +215 -33
  47. aws_cdk/aws_s3objectlambda/__init__.py +2 -2
  48. aws_cdk/aws_sagemaker/__init__.py +872 -58
  49. aws_cdk/aws_secretsmanager/__init__.py +22 -8
  50. aws_cdk/aws_securityhub/__init__.py +261 -19
  51. aws_cdk/aws_securitylake/__init__.py +327 -7
  52. aws_cdk/aws_servicediscovery/__init__.py +5 -5
  53. aws_cdk/aws_sns/__init__.py +0 -8
  54. aws_cdk/aws_ssm/__init__.py +20 -12
  55. aws_cdk/aws_stepfunctions_tasks/__init__.py +36 -0
  56. aws_cdk/cx_api/__init__.py +19 -0
  57. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/METADATA +1 -1
  58. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/RECORD +62 -62
  59. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/LICENSE +0 -0
  60. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/NOTICE +0 -0
  61. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/WHEEL +0 -0
  62. {aws_cdk_lib-2.158.0.dist-info → aws_cdk_lib-2.159.1.dist-info}/top_level.txt +0 -0
@@ -1541,6 +1541,7 @@ from .. import (
1541
1541
  IResolvable as _IResolvable_da3f097b,
1542
1542
  IResource as _IResource_c80c4260,
1543
1543
  ITaggable as _ITaggable_36806126,
1544
+ ITaggableV2 as _ITaggableV2_4e6798f8,
1544
1545
  IgnoreMode as _IgnoreMode_655a98e8,
1545
1546
  RemovalPolicy as _RemovalPolicy_9f93c814,
1546
1547
  Resource as _Resource_45bc6135,
@@ -3525,7 +3526,7 @@ class CfnAliasProps:
3525
3526
  )
3526
3527
 
3527
3528
 
3528
- @jsii.implements(_IInspectable_c2943556)
3529
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
3529
3530
  class CfnCodeSigningConfig(
3530
3531
  _CfnResource_9df397a6,
3531
3532
  metaclass=jsii.JSIIMeta,
@@ -3552,7 +3553,11 @@ class CfnCodeSigningConfig(
3552
3553
  code_signing_policies=lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty(
3553
3554
  untrusted_artifact_on_deployment="untrustedArtifactOnDeployment"
3554
3555
  ),
3555
- description="description"
3556
+ description="description",
3557
+ tags=[CfnTag(
3558
+ key="key",
3559
+ value="value"
3560
+ )]
3556
3561
  )
3557
3562
  '''
3558
3563
 
@@ -3564,6 +3569,7 @@ class CfnCodeSigningConfig(
3564
3569
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSigningConfig.AllowedPublishersProperty", typing.Dict[builtins.str, typing.Any]]],
3565
3570
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnCodeSigningConfig.CodeSigningPoliciesProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
3566
3571
  description: typing.Optional[builtins.str] = None,
3572
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3567
3573
  ) -> None:
3568
3574
  '''
3569
3575
  :param scope: Scope in which this resource is defined.
@@ -3571,6 +3577,7 @@ class CfnCodeSigningConfig(
3571
3577
  :param allowed_publishers: List of allowed publishers.
3572
3578
  :param code_signing_policies: The code signing policy controls the validation failure action for signature mismatch or expiry.
3573
3579
  :param description: Code signing configuration description.
3580
+ :param tags: A list of tags to apply to CodeSigningConfig resource.
3574
3581
  '''
3575
3582
  if __debug__:
3576
3583
  type_hints = typing.get_type_hints(_typecheckingstub__df94ded3fb87e8ca56187dcab5a6bf12d335e2671120df0386f527f736b58b76)
@@ -3580,6 +3587,7 @@ class CfnCodeSigningConfig(
3580
3587
  allowed_publishers=allowed_publishers,
3581
3588
  code_signing_policies=code_signing_policies,
3582
3589
  description=description,
3590
+ tags=tags,
3583
3591
  )
3584
3592
 
3585
3593
  jsii.create(self.__class__, self, [scope, id, props])
@@ -3632,6 +3640,12 @@ class CfnCodeSigningConfig(
3632
3640
  '''
3633
3641
  return typing.cast(builtins.str, jsii.get(self, "attrCodeSigningConfigId"))
3634
3642
 
3643
+ @builtins.property
3644
+ @jsii.member(jsii_name="cdkTagManager")
3645
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
3646
+ '''Tag Manager which manages the tags for this resource.'''
3647
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
3648
+
3635
3649
  @builtins.property
3636
3650
  @jsii.member(jsii_name="cfnProperties")
3637
3651
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -3686,6 +3700,19 @@ class CfnCodeSigningConfig(
3686
3700
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3687
3701
  jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
3688
3702
 
3703
+ @builtins.property
3704
+ @jsii.member(jsii_name="tags")
3705
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3706
+ '''A list of tags to apply to CodeSigningConfig resource.'''
3707
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
3708
+
3709
+ @tags.setter
3710
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
3711
+ if __debug__:
3712
+ type_hints = typing.get_type_hints(_typecheckingstub__81744cfe981e606b04aa7e4811cb5be2a56198c9076feeda37ccfd2c7437ac1d)
3713
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
3714
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
3715
+
3689
3716
  @jsii.data_type(
3690
3717
  jsii_type="aws-cdk-lib.aws_lambda.CfnCodeSigningConfig.AllowedPublishersProperty",
3691
3718
  jsii_struct_bases=[],
@@ -3812,6 +3839,7 @@ class CfnCodeSigningConfig(
3812
3839
  "allowed_publishers": "allowedPublishers",
3813
3840
  "code_signing_policies": "codeSigningPolicies",
3814
3841
  "description": "description",
3842
+ "tags": "tags",
3815
3843
  },
3816
3844
  )
3817
3845
  class CfnCodeSigningConfigProps:
@@ -3821,12 +3849,14 @@ class CfnCodeSigningConfigProps:
3821
3849
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
3822
3850
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
3823
3851
  description: typing.Optional[builtins.str] = None,
3852
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
3824
3853
  ) -> None:
3825
3854
  '''Properties for defining a ``CfnCodeSigningConfig``.
3826
3855
 
3827
3856
  :param allowed_publishers: List of allowed publishers.
3828
3857
  :param code_signing_policies: The code signing policy controls the validation failure action for signature mismatch or expiry.
3829
3858
  :param description: Code signing configuration description.
3859
+ :param tags: A list of tags to apply to CodeSigningConfig resource.
3830
3860
 
3831
3861
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html
3832
3862
  :exampleMetadata: fixture=_generated
@@ -3846,7 +3876,11 @@ class CfnCodeSigningConfigProps:
3846
3876
  code_signing_policies=lambda.CfnCodeSigningConfig.CodeSigningPoliciesProperty(
3847
3877
  untrusted_artifact_on_deployment="untrustedArtifactOnDeployment"
3848
3878
  ),
3849
- description="description"
3879
+ description="description",
3880
+ tags=[CfnTag(
3881
+ key="key",
3882
+ value="value"
3883
+ )]
3850
3884
  )
3851
3885
  '''
3852
3886
  if __debug__:
@@ -3854,6 +3888,7 @@ class CfnCodeSigningConfigProps:
3854
3888
  check_type(argname="argument allowed_publishers", value=allowed_publishers, expected_type=type_hints["allowed_publishers"])
3855
3889
  check_type(argname="argument code_signing_policies", value=code_signing_policies, expected_type=type_hints["code_signing_policies"])
3856
3890
  check_type(argname="argument description", value=description, expected_type=type_hints["description"])
3891
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
3857
3892
  self._values: typing.Dict[builtins.str, typing.Any] = {
3858
3893
  "allowed_publishers": allowed_publishers,
3859
3894
  }
@@ -3861,6 +3896,8 @@ class CfnCodeSigningConfigProps:
3861
3896
  self._values["code_signing_policies"] = code_signing_policies
3862
3897
  if description is not None:
3863
3898
  self._values["description"] = description
3899
+ if tags is not None:
3900
+ self._values["tags"] = tags
3864
3901
 
3865
3902
  @builtins.property
3866
3903
  def allowed_publishers(
@@ -3894,6 +3931,15 @@ class CfnCodeSigningConfigProps:
3894
3931
  result = self._values.get("description")
3895
3932
  return typing.cast(typing.Optional[builtins.str], result)
3896
3933
 
3934
+ @builtins.property
3935
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
3936
+ '''A list of tags to apply to CodeSigningConfig resource.
3937
+
3938
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html#cfn-lambda-codesigningconfig-tags
3939
+ '''
3940
+ result = self._values.get("tags")
3941
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
3942
+
3897
3943
  def __eq__(self, rhs: typing.Any) -> builtins.bool:
3898
3944
  return isinstance(rhs, self.__class__) and rhs._values == self._values
3899
3945
 
@@ -4422,7 +4468,7 @@ class CfnEventInvokeConfigProps:
4422
4468
  )
4423
4469
 
4424
4470
 
4425
- @jsii.implements(_IInspectable_c2943556)
4471
+ @jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
4426
4472
  class CfnEventSourceMapping(
4427
4473
  _CfnResource_9df397a6,
4428
4474
  metaclass=jsii.JSIIMeta,
@@ -4502,6 +4548,10 @@ class CfnEventSourceMapping(
4502
4548
  )],
4503
4549
  starting_position="startingPosition",
4504
4550
  starting_position_timestamp=123,
4551
+ tags=[CfnTag(
4552
+ key="key",
4553
+ value="value"
4554
+ )],
4505
4555
  topics=["topics"],
4506
4556
  tumbling_window_in_seconds=123
4507
4557
  )
@@ -4534,6 +4584,7 @@ class CfnEventSourceMapping(
4534
4584
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnEventSourceMapping.SourceAccessConfigurationProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
4535
4585
  starting_position: typing.Optional[builtins.str] = None,
4536
4586
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
4587
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
4537
4588
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
4538
4589
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
4539
4590
  ) -> None:
@@ -4562,6 +4613,7 @@ class CfnEventSourceMapping(
4562
4613
  :param source_access_configurations: A list of SourceAccessConfiguration.
4563
4614
  :param starting_position: The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Streams sources.
4564
4615
  :param starting_position_timestamp: With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.
4616
+ :param tags:
4565
4617
  :param topics: (Kafka) A list of Kafka topics.
4566
4618
  :param tumbling_window_in_seconds: (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
4567
4619
  '''
@@ -4592,6 +4644,7 @@ class CfnEventSourceMapping(
4592
4644
  source_access_configurations=source_access_configurations,
4593
4645
  starting_position=starting_position,
4594
4646
  starting_position_timestamp=starting_position_timestamp,
4647
+ tags=tags,
4595
4648
  topics=topics,
4596
4649
  tumbling_window_in_seconds=tumbling_window_in_seconds,
4597
4650
  )
@@ -4628,6 +4681,14 @@ class CfnEventSourceMapping(
4628
4681
  '''The CloudFormation resource type name for this resource class.'''
4629
4682
  return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
4630
4683
 
4684
+ @builtins.property
4685
+ @jsii.member(jsii_name="attrEventSourceMappingArn")
4686
+ def attr_event_source_mapping_arn(self) -> builtins.str:
4687
+ '''
4688
+ :cloudformationAttribute: EventSourceMappingArn
4689
+ '''
4690
+ return typing.cast(builtins.str, jsii.get(self, "attrEventSourceMappingArn"))
4691
+
4631
4692
  @builtins.property
4632
4693
  @jsii.member(jsii_name="attrId")
4633
4694
  def attr_id(self) -> builtins.str:
@@ -4637,6 +4698,12 @@ class CfnEventSourceMapping(
4637
4698
  '''
4638
4699
  return typing.cast(builtins.str, jsii.get(self, "attrId"))
4639
4700
 
4701
+ @builtins.property
4702
+ @jsii.member(jsii_name="cdkTagManager")
4703
+ def cdk_tag_manager(self) -> _TagManager_0a598cb3:
4704
+ '''Tag Manager which manages the tags for this resource.'''
4705
+ return typing.cast(_TagManager_0a598cb3, jsii.get(self, "cdkTagManager"))
4706
+
4640
4707
  @builtins.property
4641
4708
  @jsii.member(jsii_name="cfnProperties")
4642
4709
  def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
@@ -4987,6 +5054,18 @@ class CfnEventSourceMapping(
4987
5054
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
4988
5055
  jsii.set(self, "startingPositionTimestamp", value) # pyright: ignore[reportArgumentType]
4989
5056
 
5057
+ @builtins.property
5058
+ @jsii.member(jsii_name="tags")
5059
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
5060
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], jsii.get(self, "tags"))
5061
+
5062
+ @tags.setter
5063
+ def tags(self, value: typing.Optional[typing.List[_CfnTag_f6864754]]) -> None:
5064
+ if __debug__:
5065
+ type_hints = typing.get_type_hints(_typecheckingstub__9bb6ad1b3bce01f266ad309d35f842ead20e44f25952e0d033834fd0e9d063c4)
5066
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
5067
+ jsii.set(self, "tags", value) # pyright: ignore[reportArgumentType]
5068
+
4990
5069
  @builtins.property
4991
5070
  @jsii.member(jsii_name="topics")
4992
5071
  def topics(self) -> typing.Optional[typing.List[builtins.str]]:
@@ -5704,6 +5783,7 @@ class CfnEventSourceMapping(
5704
5783
  "source_access_configurations": "sourceAccessConfigurations",
5705
5784
  "starting_position": "startingPosition",
5706
5785
  "starting_position_timestamp": "startingPositionTimestamp",
5786
+ "tags": "tags",
5707
5787
  "topics": "topics",
5708
5788
  "tumbling_window_in_seconds": "tumblingWindowInSeconds",
5709
5789
  },
@@ -5734,6 +5814,7 @@ class CfnEventSourceMappingProps:
5734
5814
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
5735
5815
  starting_position: typing.Optional[builtins.str] = None,
5736
5816
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
5817
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
5737
5818
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
5738
5819
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
5739
5820
  ) -> None:
@@ -5761,6 +5842,7 @@ class CfnEventSourceMappingProps:
5761
5842
  :param source_access_configurations: A list of SourceAccessConfiguration.
5762
5843
  :param starting_position: The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Streams sources.
5763
5844
  :param starting_position_timestamp: With StartingPosition set to AT_TIMESTAMP, the time from which to start reading, in Unix time seconds.
5845
+ :param tags:
5764
5846
  :param topics: (Kafka) A list of Kafka topics.
5765
5847
  :param tumbling_window_in_seconds: (Streams) Tumbling window (non-overlapping time window) duration to perform aggregations.
5766
5848
 
@@ -5823,6 +5905,10 @@ class CfnEventSourceMappingProps:
5823
5905
  )],
5824
5906
  starting_position="startingPosition",
5825
5907
  starting_position_timestamp=123,
5908
+ tags=[CfnTag(
5909
+ key="key",
5910
+ value="value"
5911
+ )],
5826
5912
  topics=["topics"],
5827
5913
  tumbling_window_in_seconds=123
5828
5914
  )
@@ -5851,6 +5937,7 @@ class CfnEventSourceMappingProps:
5851
5937
  check_type(argname="argument source_access_configurations", value=source_access_configurations, expected_type=type_hints["source_access_configurations"])
5852
5938
  check_type(argname="argument starting_position", value=starting_position, expected_type=type_hints["starting_position"])
5853
5939
  check_type(argname="argument starting_position_timestamp", value=starting_position_timestamp, expected_type=type_hints["starting_position_timestamp"])
5940
+ check_type(argname="argument tags", value=tags, expected_type=type_hints["tags"])
5854
5941
  check_type(argname="argument topics", value=topics, expected_type=type_hints["topics"])
5855
5942
  check_type(argname="argument tumbling_window_in_seconds", value=tumbling_window_in_seconds, expected_type=type_hints["tumbling_window_in_seconds"])
5856
5943
  self._values: typing.Dict[builtins.str, typing.Any] = {
@@ -5898,6 +5985,8 @@ class CfnEventSourceMappingProps:
5898
5985
  self._values["starting_position"] = starting_position
5899
5986
  if starting_position_timestamp is not None:
5900
5987
  self._values["starting_position_timestamp"] = starting_position_timestamp
5988
+ if tags is not None:
5989
+ self._values["tags"] = tags
5901
5990
  if topics is not None:
5902
5991
  self._values["topics"] = topics
5903
5992
  if tumbling_window_in_seconds is not None:
@@ -6124,6 +6213,14 @@ class CfnEventSourceMappingProps:
6124
6213
  result = self._values.get("starting_position_timestamp")
6125
6214
  return typing.cast(typing.Optional[jsii.Number], result)
6126
6215
 
6216
+ @builtins.property
6217
+ def tags(self) -> typing.Optional[typing.List[_CfnTag_f6864754]]:
6218
+ '''
6219
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-tags
6220
+ '''
6221
+ result = self._values.get("tags")
6222
+ return typing.cast(typing.Optional[typing.List[_CfnTag_f6864754]], result)
6223
+
6127
6224
  @builtins.property
6128
6225
  def topics(self) -> typing.Optional[typing.List[builtins.str]]:
6129
6226
  '''(Kafka) A list of Kafka topics.
@@ -9194,12 +9291,12 @@ class CfnPermission(
9194
9291
  :param id: Construct identifier for this resource (unique in its scope).
9195
9292
  :param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
9196
9293
  :param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
9197
- :param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9294
+ :param principal: The AWS service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9198
9295
  :param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
9199
9296
  :param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
9200
9297
  :param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
9201
- :param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9202
- :param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9298
+ :param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9299
+ :param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9203
9300
  '''
9204
9301
  if __debug__:
9205
9302
  type_hints = typing.get_type_hints(_typecheckingstub__c457a277b84dbba5bd94a2c0135335b8d7dbb3d409b1fa988b4f5a219def8833)
@@ -9290,7 +9387,7 @@ class CfnPermission(
9290
9387
  @builtins.property
9291
9388
  @jsii.member(jsii_name="principal")
9292
9389
  def principal(self) -> builtins.str:
9293
- '''The AWS-service or AWS account that invokes the function.'''
9390
+ '''The AWS service or AWS account that invokes the function.'''
9294
9391
  return typing.cast(builtins.str, jsii.get(self, "principal"))
9295
9392
 
9296
9393
  @principal.setter
@@ -9342,7 +9439,7 @@ class CfnPermission(
9342
9439
  @builtins.property
9343
9440
  @jsii.member(jsii_name="sourceAccount")
9344
9441
  def source_account(self) -> typing.Optional[builtins.str]:
9345
- '''For AWS-service , the ID of the AWS account that owns the resource.'''
9442
+ '''For AWS service , the ID of the AWS account that owns the resource.'''
9346
9443
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceAccount"))
9347
9444
 
9348
9445
  @source_account.setter
@@ -9355,7 +9452,7 @@ class CfnPermission(
9355
9452
  @builtins.property
9356
9453
  @jsii.member(jsii_name="sourceArn")
9357
9454
  def source_arn(self) -> typing.Optional[builtins.str]:
9358
- '''For AWS-services , the ARN of the AWS resource that invokes the function.'''
9455
+ '''For AWS services , the ARN of the AWS resource that invokes the function.'''
9359
9456
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceArn"))
9360
9457
 
9361
9458
  @source_arn.setter
@@ -9397,12 +9494,12 @@ class CfnPermissionProps:
9397
9494
 
9398
9495
  :param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
9399
9496
  :param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
9400
- :param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9497
+ :param principal: The AWS service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9401
9498
  :param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
9402
9499
  :param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
9403
9500
  :param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
9404
- :param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9405
- :param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9501
+ :param source_account: For AWS service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9502
+ :param source_arn: For AWS services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
9406
9503
 
9407
9504
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html
9408
9505
  :exampleMetadata: fixture=_generated
@@ -9483,7 +9580,7 @@ class CfnPermissionProps:
9483
9580
 
9484
9581
  @builtins.property
9485
9582
  def principal(self) -> builtins.str:
9486
- '''The AWS-service or AWS account that invokes the function.
9583
+ '''The AWS service or AWS account that invokes the function.
9487
9584
 
9488
9585
  If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
9489
9586
 
@@ -9526,7 +9623,7 @@ class CfnPermissionProps:
9526
9623
 
9527
9624
  @builtins.property
9528
9625
  def source_account(self) -> typing.Optional[builtins.str]:
9529
- '''For AWS-service , the ID of the AWS account that owns the resource.
9626
+ '''For AWS service , the ID of the AWS account that owns the resource.
9530
9627
 
9531
9628
  Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
9532
9629
 
@@ -9537,7 +9634,7 @@ class CfnPermissionProps:
9537
9634
 
9538
9635
  @builtins.property
9539
9636
  def source_arn(self) -> typing.Optional[builtins.str]:
9540
- '''For AWS-services , the ARN of the AWS resource that invokes the function.
9637
+ '''For AWS services , the ARN of the AWS resource that invokes the function.
9541
9638
 
9542
9639
  For example, an Amazon S3 bucket or Amazon SNS topic.
9543
9640
 
@@ -28079,6 +28176,7 @@ def _typecheckingstub__df94ded3fb87e8ca56187dcab5a6bf12d335e2671120df0386f527f73
28079
28176
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
28080
28177
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28081
28178
  description: typing.Optional[builtins.str] = None,
28179
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28082
28180
  ) -> None:
28083
28181
  """Type checking stubs"""
28084
28182
  pass
@@ -28113,6 +28211,12 @@ def _typecheckingstub__2f4fd9a03a33998a08340df7c2ba638ae623513bc416c7f5fd4c5a48e
28113
28211
  """Type checking stubs"""
28114
28212
  pass
28115
28213
 
28214
+ def _typecheckingstub__81744cfe981e606b04aa7e4811cb5be2a56198c9076feeda37ccfd2c7437ac1d(
28215
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
28216
+ ) -> None:
28217
+ """Type checking stubs"""
28218
+ pass
28219
+
28116
28220
  def _typecheckingstub__56249a2cdbb0f30384793ee6b6c0129e84d917ef7262e92e841c86b46dad7059(
28117
28221
  *,
28118
28222
  signing_profile_version_arns: typing.Sequence[builtins.str],
@@ -28132,6 +28236,7 @@ def _typecheckingstub__037c1ad6081170e8f74c6c1909b3fc62bca06393b1bf19efbc4ac600a
28132
28236
  allowed_publishers: typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.AllowedPublishersProperty, typing.Dict[builtins.str, typing.Any]]],
28133
28237
  code_signing_policies: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnCodeSigningConfig.CodeSigningPoliciesProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
28134
28238
  description: typing.Optional[builtins.str] = None,
28239
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28135
28240
  ) -> None:
28136
28241
  """Type checking stubs"""
28137
28242
  pass
@@ -28250,6 +28355,7 @@ def _typecheckingstub__2fc9432254acf5a7dbe3c68dcedbda61de1f0e804a81d20ae79e04857
28250
28355
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
28251
28356
  starting_position: typing.Optional[builtins.str] = None,
28252
28357
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
28358
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28253
28359
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
28254
28360
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
28255
28361
  ) -> None:
@@ -28400,6 +28506,12 @@ def _typecheckingstub__10f6f0aa6f7059677d942d821b3f8eaff9518ebb8fa2fe54251686028
28400
28506
  """Type checking stubs"""
28401
28507
  pass
28402
28508
 
28509
+ def _typecheckingstub__9bb6ad1b3bce01f266ad309d35f842ead20e44f25952e0d033834fd0e9d063c4(
28510
+ value: typing.Optional[typing.List[_CfnTag_f6864754]],
28511
+ ) -> None:
28512
+ """Type checking stubs"""
28513
+ pass
28514
+
28403
28515
  def _typecheckingstub__d2153d23f0d0e6a947499030bcda617b9a68e9e84bccc6a23d9d65558f37bcac(
28404
28516
  value: typing.Optional[typing.List[builtins.str]],
28405
28517
  ) -> None:
@@ -28516,6 +28628,7 @@ def _typecheckingstub__28f15573fb2525439f034f01287568e3c4a4d28fda953b3059f294655
28516
28628
  source_access_configurations: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnEventSourceMapping.SourceAccessConfigurationProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
28517
28629
  starting_position: typing.Optional[builtins.str] = None,
28518
28630
  starting_position_timestamp: typing.Optional[jsii.Number] = None,
28631
+ tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
28519
28632
  topics: typing.Optional[typing.Sequence[builtins.str]] = None,
28520
28633
  tumbling_window_in_seconds: typing.Optional[jsii.Number] = None,
28521
28634
  ) -> None:
@@ -1034,7 +1034,7 @@ class CfnBot(
1034
1034
  :param description: A description of the bot locale. Use this to help identify the bot locale in lists.
1035
1035
  :param intents: One or more intents defined for the locale.
1036
1036
  :param slot_types: One or more slot types defined for the locale.
1037
- :param voice_settings: Defines settings for using an Amazon Polly voice to communicate with a user.
1037
+ :param voice_settings: Defines settings for using an Amazon Polly voice to communicate with a user. Valid values include: - ``standard`` - ``neural`` - ``long-form`` - ``generative``
1038
1038
 
1039
1039
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html
1040
1040
  :exampleMetadata: fixture=_generated
@@ -1139,6 +1139,13 @@ class CfnBot(
1139
1139
  ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnBot.VoiceSettingsProperty"]]:
1140
1140
  '''Defines settings for using an Amazon Polly voice to communicate with a user.
1141
1141
 
1142
+ Valid values include:
1143
+
1144
+ - ``standard``
1145
+ - ``neural``
1146
+ - ``long-form``
1147
+ - ``generative``
1148
+
1142
1149
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lex-bot-botlocale.html#cfn-lex-bot-botlocale-voicesettings
1143
1150
  '''
1144
1151
  result = self._values.get("voice_settings")
@@ -8951,6 +8958,13 @@ class CfnBot(
8951
8958
  ) -> None:
8952
8959
  '''Defines settings for using an Amazon Polly voice to communicate with a user.
8953
8960
 
8961
+ Valid values include:
8962
+
8963
+ - ``standard``
8964
+ - ``neural``
8965
+ - ``long-form``
8966
+ - ``generative``
8967
+
8954
8968
  :param voice_id: The identifier of the Amazon Polly voice to use.
8955
8969
  :param engine: Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more information, see the ```engine`` parameter of the ``SynthesizeSpeech`` operation <https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine>`_ in the *Amazon Polly developer guide* . If you do not specify a value, the default is ``standard`` .
8956
8970
 
@@ -880,7 +880,7 @@ class CfnDelivery(
880
880
 
881
881
  For more information, see `CreateDelivery <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateDelivery.html>`_ .
882
882
 
883
- You can't update an existing delivery. You can only create and delete deliveries.
883
+ To update an existing delivery configuration, use `UpdateDeliveryConfiguration <https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_UpdateDeliveryConfiguration.html>`_ .
884
884
 
885
885
  :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-delivery.html
886
886
  :cloudformationResource: AWS::Logs::Delivery