aws-cdk-lib 2.181.1__py3-none-any.whl → 2.182.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 +292 -8
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.181.1.jsii.tgz → aws-cdk-lib@2.182.0.jsii.tgz} +0 -0
  4. aws_cdk/assertions/__init__.py +59 -0
  5. aws_cdk/aws_apigateway/__init__.py +122 -66
  6. aws_cdk/aws_applicationautoscaling/__init__.py +4 -0
  7. aws_cdk/aws_appsync/__init__.py +30 -4
  8. aws_cdk/aws_autoscaling/__init__.py +409 -36
  9. aws_cdk/aws_batch/__init__.py +629 -11
  10. aws_cdk/aws_bedrock/__init__.py +204 -0
  11. aws_cdk/aws_certificatemanager/__init__.py +24 -0
  12. aws_cdk/aws_cloudformation/__init__.py +284 -2
  13. aws_cdk/aws_cloudfront/__init__.py +1 -0
  14. aws_cdk/aws_cloudtrail/__init__.py +4 -4
  15. aws_cdk/aws_datazone/__init__.py +82 -0
  16. aws_cdk/aws_ec2/__init__.py +32 -12
  17. aws_cdk/aws_ecr/__init__.py +10 -4
  18. aws_cdk/aws_ecs/__init__.py +58 -9
  19. aws_cdk/aws_eks/__init__.py +32 -3
  20. aws_cdk/aws_fsx/__init__.py +2 -0
  21. aws_cdk/aws_guardduty/__init__.py +38 -26
  22. aws_cdk/aws_iam/__init__.py +5 -2
  23. aws_cdk/aws_inspector/__init__.py +176 -0
  24. aws_cdk/aws_iotsitewise/__init__.py +2 -3
  25. aws_cdk/aws_kinesisfirehose/__init__.py +6 -0
  26. aws_cdk/aws_lambda/__init__.py +8 -0
  27. aws_cdk/aws_logs/__init__.py +2 -0
  28. aws_cdk/aws_mediapackagev2/__init__.py +22 -14
  29. aws_cdk/aws_opensearchservice/__init__.py +261 -1
  30. aws_cdk/aws_pcaconnectorad/__init__.py +30 -4
  31. aws_cdk/aws_pipes/__init__.py +6 -2
  32. aws_cdk/aws_quicksight/__init__.py +225 -451
  33. aws_cdk/aws_rds/__init__.py +50 -13
  34. aws_cdk/aws_s3/__init__.py +8 -0
  35. aws_cdk/aws_sagemaker/__init__.py +68 -13
  36. aws_cdk/aws_sns/__init__.py +76 -1
  37. aws_cdk/aws_vpclattice/__init__.py +144 -9
  38. aws_cdk/aws_wafv2/__init__.py +702 -0
  39. aws_cdk/aws_wisdom/__init__.py +3 -110
  40. aws_cdk/aws_workspacesthinclient/__init__.py +4 -4
  41. aws_cdk/aws_workspacesweb/__init__.py +179 -2
  42. aws_cdk/cloud_assembly_schema/__init__.py +224 -4
  43. aws_cdk/cx_api/__init__.py +2 -1
  44. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/METADATA +2 -2
  45. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/RECORD +49 -49
  46. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/LICENSE +0 -0
  47. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/NOTICE +0 -0
  48. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/WHEEL +0 -0
  49. {aws_cdk_lib-2.181.1.dist-info → aws_cdk_lib-2.182.0.dist-info}/top_level.txt +0 -0
@@ -316,6 +316,13 @@ class CfnGuardHook(
316
316
  )
317
317
  ),
318
318
  target_filters=cloudformation.CfnGuardHook.TargetFiltersProperty(
319
+ targets=[cloudformation.CfnGuardHook.HookTargetProperty(
320
+ action="action",
321
+ invocation_point="invocationPoint",
322
+ target_name="targetName"
323
+ )],
324
+
325
+ # the properties below are optional
319
326
  actions=["actions"],
320
327
  invocation_points=["invocationPoints"],
321
328
  target_names=["targetNames"]
@@ -569,6 +576,98 @@ class CfnGuardHook(
569
576
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
570
577
  jsii.set(self, "targetFilters", value) # pyright: ignore[reportArgumentType]
571
578
 
579
+ @jsii.data_type(
580
+ jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.HookTargetProperty",
581
+ jsii_struct_bases=[],
582
+ name_mapping={
583
+ "action": "action",
584
+ "invocation_point": "invocationPoint",
585
+ "target_name": "targetName",
586
+ },
587
+ )
588
+ class HookTargetProperty:
589
+ def __init__(
590
+ self,
591
+ *,
592
+ action: builtins.str,
593
+ invocation_point: builtins.str,
594
+ target_name: builtins.str,
595
+ ) -> None:
596
+ '''Hook targets are the destination where hooks will be invoked against.
597
+
598
+ :param action: Target actions are the type of operation hooks will be executed at.
599
+ :param invocation_point: Invocation points are the point in provisioning workflow where hooks will be executed.
600
+ :param target_name: Type name of hook target. Hook targets are the destination where hooks will be invoked against.
601
+
602
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html
603
+ :exampleMetadata: fixture=_generated
604
+
605
+ Example::
606
+
607
+ # The code below shows an example of how to instantiate this type.
608
+ # The values are placeholders you should change.
609
+ from aws_cdk import aws_cloudformation as cloudformation
610
+
611
+ hook_target_property = cloudformation.CfnGuardHook.HookTargetProperty(
612
+ action="action",
613
+ invocation_point="invocationPoint",
614
+ target_name="targetName"
615
+ )
616
+ '''
617
+ if __debug__:
618
+ type_hints = typing.get_type_hints(_typecheckingstub__75d10faed01d259a75abfd83308e4f5f99124946f274bb8e8b5c92b0383d91c2)
619
+ check_type(argname="argument action", value=action, expected_type=type_hints["action"])
620
+ check_type(argname="argument invocation_point", value=invocation_point, expected_type=type_hints["invocation_point"])
621
+ check_type(argname="argument target_name", value=target_name, expected_type=type_hints["target_name"])
622
+ self._values: typing.Dict[builtins.str, typing.Any] = {
623
+ "action": action,
624
+ "invocation_point": invocation_point,
625
+ "target_name": target_name,
626
+ }
627
+
628
+ @builtins.property
629
+ def action(self) -> builtins.str:
630
+ '''Target actions are the type of operation hooks will be executed at.
631
+
632
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-action
633
+ '''
634
+ result = self._values.get("action")
635
+ assert result is not None, "Required property 'action' is missing"
636
+ return typing.cast(builtins.str, result)
637
+
638
+ @builtins.property
639
+ def invocation_point(self) -> builtins.str:
640
+ '''Invocation points are the point in provisioning workflow where hooks will be executed.
641
+
642
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-invocationpoint
643
+ '''
644
+ result = self._values.get("invocation_point")
645
+ assert result is not None, "Required property 'invocation_point' is missing"
646
+ return typing.cast(builtins.str, result)
647
+
648
+ @builtins.property
649
+ def target_name(self) -> builtins.str:
650
+ '''Type name of hook target.
651
+
652
+ Hook targets are the destination where hooks will be invoked against.
653
+
654
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-hooktarget.html#cfn-cloudformation-guardhook-hooktarget-targetname
655
+ '''
656
+ result = self._values.get("target_name")
657
+ assert result is not None, "Required property 'target_name' is missing"
658
+ return typing.cast(builtins.str, result)
659
+
660
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
661
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
662
+
663
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
664
+ return not (rhs == self)
665
+
666
+ def __repr__(self) -> str:
667
+ return "HookTargetProperty(%s)" % ", ".join(
668
+ k + "=" + repr(v) for k, v in self._values.items()
669
+ )
670
+
572
671
  @jsii.data_type(
573
672
  jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.OptionsProperty",
574
673
  jsii_struct_bases=[],
@@ -977,6 +1076,7 @@ class CfnGuardHook(
977
1076
  jsii_type="aws-cdk-lib.aws_cloudformation.CfnGuardHook.TargetFiltersProperty",
978
1077
  jsii_struct_bases=[],
979
1078
  name_mapping={
1079
+ "targets": "targets",
980
1080
  "actions": "actions",
981
1081
  "invocation_points": "invocationPoints",
982
1082
  "target_names": "targetNames",
@@ -986,6 +1086,7 @@ class CfnGuardHook(
986
1086
  def __init__(
987
1087
  self,
988
1088
  *,
1089
+ targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnGuardHook.HookTargetProperty", typing.Dict[builtins.str, typing.Any]]]]],
989
1090
  actions: typing.Optional[typing.Sequence[builtins.str]] = None,
990
1091
  invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
991
1092
  target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -994,6 +1095,7 @@ class CfnGuardHook(
994
1095
 
995
1096
  For more information, see `AWS CloudFormation Hook target filters <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-target-filtering.html>`_ .
996
1097
 
1098
+ :param targets: List of hook targets.
997
1099
  :param actions: List of actions that the hook is going to target.
998
1100
  :param invocation_points: List of invocation points that the hook is going to target.
999
1101
  :param target_names: List of type names that the hook is going to target.
@@ -1008,6 +1110,13 @@ class CfnGuardHook(
1008
1110
  from aws_cdk import aws_cloudformation as cloudformation
1009
1111
 
1010
1112
  target_filters_property = cloudformation.CfnGuardHook.TargetFiltersProperty(
1113
+ targets=[cloudformation.CfnGuardHook.HookTargetProperty(
1114
+ action="action",
1115
+ invocation_point="invocationPoint",
1116
+ target_name="targetName"
1117
+ )],
1118
+
1119
+ # the properties below are optional
1011
1120
  actions=["actions"],
1012
1121
  invocation_points=["invocationPoints"],
1013
1122
  target_names=["targetNames"]
@@ -1015,10 +1124,13 @@ class CfnGuardHook(
1015
1124
  '''
1016
1125
  if __debug__:
1017
1126
  type_hints = typing.get_type_hints(_typecheckingstub__378b3973374e7523256c5da2187494f5d2cfb4d85e28b4cc20e0b03edb7a4395)
1127
+ check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
1018
1128
  check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
1019
1129
  check_type(argname="argument invocation_points", value=invocation_points, expected_type=type_hints["invocation_points"])
1020
1130
  check_type(argname="argument target_names", value=target_names, expected_type=type_hints["target_names"])
1021
- self._values: typing.Dict[builtins.str, typing.Any] = {}
1131
+ self._values: typing.Dict[builtins.str, typing.Any] = {
1132
+ "targets": targets,
1133
+ }
1022
1134
  if actions is not None:
1023
1135
  self._values["actions"] = actions
1024
1136
  if invocation_points is not None:
@@ -1026,6 +1138,18 @@ class CfnGuardHook(
1026
1138
  if target_names is not None:
1027
1139
  self._values["target_names"] = target_names
1028
1140
 
1141
+ @builtins.property
1142
+ def targets(
1143
+ self,
1144
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardHook.HookTargetProperty"]]]:
1145
+ '''List of hook targets.
1146
+
1147
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-targetfilters.html#cfn-cloudformation-guardhook-targetfilters-targets
1148
+ '''
1149
+ result = self._values.get("targets")
1150
+ assert result is not None, "Required property 'targets' is missing"
1151
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnGuardHook.HookTargetProperty"]]], result)
1152
+
1029
1153
  @builtins.property
1030
1154
  def actions(self) -> typing.Optional[typing.List[builtins.str]]:
1031
1155
  '''List of actions that the hook is going to target.
@@ -1155,6 +1279,13 @@ class CfnGuardHookProps:
1155
1279
  )
1156
1280
  ),
1157
1281
  target_filters=cloudformation.CfnGuardHook.TargetFiltersProperty(
1282
+ targets=[cloudformation.CfnGuardHook.HookTargetProperty(
1283
+ action="action",
1284
+ invocation_point="invocationPoint",
1285
+ target_name="targetName"
1286
+ )],
1287
+
1288
+ # the properties below are optional
1158
1289
  actions=["actions"],
1159
1290
  invocation_points=["invocationPoints"],
1160
1291
  target_names=["targetNames"]
@@ -2311,6 +2442,13 @@ class CfnLambdaHook(
2311
2442
  )
2312
2443
  ),
2313
2444
  target_filters=cloudformation.CfnLambdaHook.TargetFiltersProperty(
2445
+ targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
2446
+ action="action",
2447
+ invocation_point="invocationPoint",
2448
+ target_name="targetName"
2449
+ )],
2450
+
2451
+ # the properties below are optional
2314
2452
  actions=["actions"],
2315
2453
  invocation_points=["invocationPoints"],
2316
2454
  target_names=["targetNames"]
@@ -2525,6 +2663,98 @@ class CfnLambdaHook(
2525
2663
  check_type(argname="argument value", value=value, expected_type=type_hints["value"])
2526
2664
  jsii.set(self, "targetFilters", value) # pyright: ignore[reportArgumentType]
2527
2665
 
2666
+ @jsii.data_type(
2667
+ jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.HookTargetProperty",
2668
+ jsii_struct_bases=[],
2669
+ name_mapping={
2670
+ "action": "action",
2671
+ "invocation_point": "invocationPoint",
2672
+ "target_name": "targetName",
2673
+ },
2674
+ )
2675
+ class HookTargetProperty:
2676
+ def __init__(
2677
+ self,
2678
+ *,
2679
+ action: builtins.str,
2680
+ invocation_point: builtins.str,
2681
+ target_name: builtins.str,
2682
+ ) -> None:
2683
+ '''Hook targets are the destination where hooks will be invoked against.
2684
+
2685
+ :param action: Target actions are the type of operation hooks will be executed at.
2686
+ :param invocation_point: Invocation points are the point in provisioning workflow where hooks will be executed.
2687
+ :param target_name: Type name of hook target. Hook targets are the destination where hooks will be invoked against.
2688
+
2689
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html
2690
+ :exampleMetadata: fixture=_generated
2691
+
2692
+ Example::
2693
+
2694
+ # The code below shows an example of how to instantiate this type.
2695
+ # The values are placeholders you should change.
2696
+ from aws_cdk import aws_cloudformation as cloudformation
2697
+
2698
+ hook_target_property = cloudformation.CfnLambdaHook.HookTargetProperty(
2699
+ action="action",
2700
+ invocation_point="invocationPoint",
2701
+ target_name="targetName"
2702
+ )
2703
+ '''
2704
+ if __debug__:
2705
+ type_hints = typing.get_type_hints(_typecheckingstub__8bb2b3786e42dc7c05244eb8055bbfbc3f7406193d5d1992ac9505fe3aa580e2)
2706
+ check_type(argname="argument action", value=action, expected_type=type_hints["action"])
2707
+ check_type(argname="argument invocation_point", value=invocation_point, expected_type=type_hints["invocation_point"])
2708
+ check_type(argname="argument target_name", value=target_name, expected_type=type_hints["target_name"])
2709
+ self._values: typing.Dict[builtins.str, typing.Any] = {
2710
+ "action": action,
2711
+ "invocation_point": invocation_point,
2712
+ "target_name": target_name,
2713
+ }
2714
+
2715
+ @builtins.property
2716
+ def action(self) -> builtins.str:
2717
+ '''Target actions are the type of operation hooks will be executed at.
2718
+
2719
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-action
2720
+ '''
2721
+ result = self._values.get("action")
2722
+ assert result is not None, "Required property 'action' is missing"
2723
+ return typing.cast(builtins.str, result)
2724
+
2725
+ @builtins.property
2726
+ def invocation_point(self) -> builtins.str:
2727
+ '''Invocation points are the point in provisioning workflow where hooks will be executed.
2728
+
2729
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-invocationpoint
2730
+ '''
2731
+ result = self._values.get("invocation_point")
2732
+ assert result is not None, "Required property 'invocation_point' is missing"
2733
+ return typing.cast(builtins.str, result)
2734
+
2735
+ @builtins.property
2736
+ def target_name(self) -> builtins.str:
2737
+ '''Type name of hook target.
2738
+
2739
+ Hook targets are the destination where hooks will be invoked against.
2740
+
2741
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-hooktarget.html#cfn-cloudformation-lambdahook-hooktarget-targetname
2742
+ '''
2743
+ result = self._values.get("target_name")
2744
+ assert result is not None, "Required property 'target_name' is missing"
2745
+ return typing.cast(builtins.str, result)
2746
+
2747
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
2748
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
2749
+
2750
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
2751
+ return not (rhs == self)
2752
+
2753
+ def __repr__(self) -> str:
2754
+ return "HookTargetProperty(%s)" % ", ".join(
2755
+ k + "=" + repr(v) for k, v in self._values.items()
2756
+ )
2757
+
2528
2758
  @jsii.data_type(
2529
2759
  jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.StackFiltersProperty",
2530
2760
  jsii_struct_bases=[],
@@ -2792,6 +3022,7 @@ class CfnLambdaHook(
2792
3022
  jsii_type="aws-cdk-lib.aws_cloudformation.CfnLambdaHook.TargetFiltersProperty",
2793
3023
  jsii_struct_bases=[],
2794
3024
  name_mapping={
3025
+ "targets": "targets",
2795
3026
  "actions": "actions",
2796
3027
  "invocation_points": "invocationPoints",
2797
3028
  "target_names": "targetNames",
@@ -2801,6 +3032,7 @@ class CfnLambdaHook(
2801
3032
  def __init__(
2802
3033
  self,
2803
3034
  *,
3035
+ targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnLambdaHook.HookTargetProperty", typing.Dict[builtins.str, typing.Any]]]]],
2804
3036
  actions: typing.Optional[typing.Sequence[builtins.str]] = None,
2805
3037
  invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
2806
3038
  target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -2809,6 +3041,7 @@ class CfnLambdaHook(
2809
3041
 
2810
3042
  For more information, see `AWS CloudFormation Hook target filters <https://docs.aws.amazon.com/cloudformation-cli/latest/hooks-userguide/hooks-target-filtering.html>`_ .
2811
3043
 
3044
+ :param targets: List of hook targets.
2812
3045
  :param actions: List of actions that the hook is going to target.
2813
3046
  :param invocation_points: List of invocation points that the hook is going to target.
2814
3047
  :param target_names: List of type names that the hook is going to target.
@@ -2823,6 +3056,13 @@ class CfnLambdaHook(
2823
3056
  from aws_cdk import aws_cloudformation as cloudformation
2824
3057
 
2825
3058
  target_filters_property = cloudformation.CfnLambdaHook.TargetFiltersProperty(
3059
+ targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
3060
+ action="action",
3061
+ invocation_point="invocationPoint",
3062
+ target_name="targetName"
3063
+ )],
3064
+
3065
+ # the properties below are optional
2826
3066
  actions=["actions"],
2827
3067
  invocation_points=["invocationPoints"],
2828
3068
  target_names=["targetNames"]
@@ -2830,10 +3070,13 @@ class CfnLambdaHook(
2830
3070
  '''
2831
3071
  if __debug__:
2832
3072
  type_hints = typing.get_type_hints(_typecheckingstub__6b7d133718b35659d76ef50f7b0d36492c3da19aa89cd0ec0d90af415b1383ba)
3073
+ check_type(argname="argument targets", value=targets, expected_type=type_hints["targets"])
2833
3074
  check_type(argname="argument actions", value=actions, expected_type=type_hints["actions"])
2834
3075
  check_type(argname="argument invocation_points", value=invocation_points, expected_type=type_hints["invocation_points"])
2835
3076
  check_type(argname="argument target_names", value=target_names, expected_type=type_hints["target_names"])
2836
- self._values: typing.Dict[builtins.str, typing.Any] = {}
3077
+ self._values: typing.Dict[builtins.str, typing.Any] = {
3078
+ "targets": targets,
3079
+ }
2837
3080
  if actions is not None:
2838
3081
  self._values["actions"] = actions
2839
3082
  if invocation_points is not None:
@@ -2841,6 +3084,18 @@ class CfnLambdaHook(
2841
3084
  if target_names is not None:
2842
3085
  self._values["target_names"] = target_names
2843
3086
 
3087
+ @builtins.property
3088
+ def targets(
3089
+ self,
3090
+ ) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLambdaHook.HookTargetProperty"]]]:
3091
+ '''List of hook targets.
3092
+
3093
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-lambdahook-targetfilters.html#cfn-cloudformation-lambdahook-targetfilters-targets
3094
+ '''
3095
+ result = self._values.get("targets")
3096
+ assert result is not None, "Required property 'targets' is missing"
3097
+ return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnLambdaHook.HookTargetProperty"]]], result)
3098
+
2844
3099
  @builtins.property
2845
3100
  def actions(self) -> typing.Optional[typing.List[builtins.str]]:
2846
3101
  '''List of actions that the hook is going to target.
@@ -2950,6 +3205,13 @@ class CfnLambdaHookProps:
2950
3205
  )
2951
3206
  ),
2952
3207
  target_filters=cloudformation.CfnLambdaHook.TargetFiltersProperty(
3208
+ targets=[cloudformation.CfnLambdaHook.HookTargetProperty(
3209
+ action="action",
3210
+ invocation_point="invocationPoint",
3211
+ target_name="targetName"
3212
+ )],
3213
+
3214
+ # the properties below are optional
2953
3215
  actions=["actions"],
2954
3216
  invocation_points=["invocationPoints"],
2955
3217
  target_names=["targetNames"]
@@ -8276,6 +8538,15 @@ def _typecheckingstub__c81e70f0acb044921c8947467f93bf3568ecf5bceb007dbfd1211e597
8276
8538
  """Type checking stubs"""
8277
8539
  pass
8278
8540
 
8541
+ def _typecheckingstub__75d10faed01d259a75abfd83308e4f5f99124946f274bb8e8b5c92b0383d91c2(
8542
+ *,
8543
+ action: builtins.str,
8544
+ invocation_point: builtins.str,
8545
+ target_name: builtins.str,
8546
+ ) -> None:
8547
+ """Type checking stubs"""
8548
+ pass
8549
+
8279
8550
  def _typecheckingstub__9b598c3b73355c67dcc3aa78319cd2f0d94b1f77b3311af71cc07b20334e0eca(
8280
8551
  *,
8281
8552
  input_params: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardHook.S3LocationProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
@@ -8318,6 +8589,7 @@ def _typecheckingstub__19a166b14cd31cea92d76fbca0808b1b44774459a4d29121e91c2e20c
8318
8589
 
8319
8590
  def _typecheckingstub__378b3973374e7523256c5da2187494f5d2cfb4d85e28b4cc20e0b03edb7a4395(
8320
8591
  *,
8592
+ targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnGuardHook.HookTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
8321
8593
  actions: typing.Optional[typing.Sequence[builtins.str]] = None,
8322
8594
  invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
8323
8595
  target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8591,6 +8863,15 @@ def _typecheckingstub__37d3897a58b7133587d59ce7b2fc6e7c7f4c5ad1b3b3d9020dc5181c7
8591
8863
  """Type checking stubs"""
8592
8864
  pass
8593
8865
 
8866
+ def _typecheckingstub__8bb2b3786e42dc7c05244eb8055bbfbc3f7406193d5d1992ac9505fe3aa580e2(
8867
+ *,
8868
+ action: builtins.str,
8869
+ invocation_point: builtins.str,
8870
+ target_name: builtins.str,
8871
+ ) -> None:
8872
+ """Type checking stubs"""
8873
+ pass
8874
+
8594
8875
  def _typecheckingstub__1c6825aca96c1ce7eaa02a7e659917eb747e2a75121b6c5d50ef421a9261e58e(
8595
8876
  *,
8596
8877
  filtering_criteria: builtins.str,
@@ -8618,6 +8899,7 @@ def _typecheckingstub__5b3429ffb1654464d2c3e5029831647a0bf3172b44a425681964d5585
8618
8899
 
8619
8900
  def _typecheckingstub__6b7d133718b35659d76ef50f7b0d36492c3da19aa89cd0ec0d90af415b1383ba(
8620
8901
  *,
8902
+ targets: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnLambdaHook.HookTargetProperty, typing.Dict[builtins.str, typing.Any]]]]],
8621
8903
  actions: typing.Optional[typing.Sequence[builtins.str]] = None,
8622
8904
  invocation_points: typing.Optional[typing.Sequence[builtins.str]] = None,
8623
8905
  target_names: typing.Optional[typing.Sequence[builtins.str]] = None,
@@ -8841,6 +8841,7 @@ class CfnDistribution(
8841
8841
  An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:
8842
8842
 
8843
8843
  - Use ``S3OriginConfig`` to specify an Amazon S3 bucket that is not configured with static website hosting.
8844
+ - Use ``VpcOriginConfig`` to specify a VPC origin.
8844
8845
  - Use ``CustomOriginConfig`` to specify all other kinds of origins, including:
8845
8846
  - An Amazon S3 bucket that is configured with static website hosting
8846
8847
  - An Elastic Load Balancing load balancer
@@ -2887,7 +2887,7 @@ class CfnTrail(
2887
2887
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
2888
2888
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
2889
2889
  :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
2890
- :param sns_topic_name: Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
2890
+ :param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
2891
2891
  :param tags: A custom set of tags (key-value pairs) for this trail.
2892
2892
  :param trail_name: Specifies the name of the trail. The name must meet the following requirements:. - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) - Start with a letter or number, and end with a letter or number - Be between 3 and 128 characters - Have no adjacent periods, underscores or dashes. Names like ``my-_namespace`` and ``my--namespace`` are not valid. - Not be in IP address format (for example, 192.168.5.4)
2893
2893
  '''
@@ -3191,7 +3191,7 @@ class CfnTrail(
3191
3191
  @builtins.property
3192
3192
  @jsii.member(jsii_name="snsTopicName")
3193
3193
  def sns_topic_name(self) -> typing.Optional[builtins.str]:
3194
- '''Specifies the name of the Amazon SNS topic defined for notification of log file delivery.'''
3194
+ '''Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery.'''
3195
3195
  return typing.cast(typing.Optional[builtins.str], jsii.get(self, "snsTopicName"))
3196
3196
 
3197
3197
  @sns_topic_name.setter
@@ -3963,7 +3963,7 @@ class CfnTrailProps:
3963
3963
  :param is_organization_trail: Specifies whether the trail is applied to all accounts in an organization in AWS Organizations , or only for the current AWS account . The default is false, and cannot be true unless the call is made on behalf of an AWS account that is the management account for an organization in AWS Organizations . If the trail is not an organization trail and this is set to ``true`` , the trail will be created in all AWS accounts that belong to the organization. If the trail is an organization trail and this is set to ``false`` , the trail will remain in the current AWS account but be deleted from all member accounts in the organization. .. epigraph:: Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to an organization trail.
3964
3964
  :param kms_key_id: Specifies the AWS KMS key ID to use to encrypt the logs delivered by CloudTrail. The value can be an alias name prefixed by "alias/", a fully specified ARN to an alias, a fully specified ARN to a key, or a globally unique identifier. CloudTrail also supports AWS KMS multi-Region keys. For more information about multi-Region keys, see `Using multi-Region keys <https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html>`_ in the *AWS Key Management Service Developer Guide* . Examples: - alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:alias/MyAliasName - arn:aws:kms:us-east-2:123456789012:key/12345678-1234-1234-1234-123456789012 - 12345678-1234-1234-1234-123456789012
3965
3965
  :param s3_key_prefix: Specifies the Amazon S3 key prefix that comes after the name of the bucket you have designated for log file delivery. For more information, see `Finding Your CloudTrail Log Files <https://docs.aws.amazon.com/awscloudtrail/latest/userguide/get-and-view-cloudtrail-log-files.html#cloudtrail-find-log-files>`_ . The maximum length is 200 characters.
3966
- :param sns_topic_name: Specifies the name of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
3966
+ :param sns_topic_name: Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery. The maximum length is 256 characters.
3967
3967
  :param tags: A custom set of tags (key-value pairs) for this trail.
3968
3968
  :param trail_name: Specifies the name of the trail. The name must meet the following requirements:. - Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), or dashes (-) - Start with a letter or number, and end with a letter or number - Be between 3 and 128 characters - Have no adjacent periods, underscores or dashes. Names like ``my-_namespace`` and ``my--namespace`` are not valid. - Not be in IP address format (for example, 192.168.5.4)
3969
3969
 
@@ -4269,7 +4269,7 @@ class CfnTrailProps:
4269
4269
 
4270
4270
  @builtins.property
4271
4271
  def sns_topic_name(self) -> typing.Optional[builtins.str]:
4272
- '''Specifies the name of the Amazon SNS topic defined for notification of log file delivery.
4272
+ '''Specifies the name or ARN of the Amazon SNS topic defined for notification of log file delivery.
4273
4273
 
4274
4274
  The maximum length is 256 characters.
4275
4275