aws-cdk-lib 2.115.0__py3-none-any.whl → 2.116.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 (66) hide show
  1. aws_cdk/__init__.py +801 -356
  2. aws_cdk/_jsii/__init__.py +1 -1
  3. aws_cdk/_jsii/{aws-cdk-lib@2.115.0.jsii.tgz → aws-cdk-lib@2.116.1.jsii.tgz} +0 -0
  4. aws_cdk/aws_apigateway/__init__.py +3 -1
  5. aws_cdk/aws_apigatewayv2/__init__.py +595 -222
  6. aws_cdk/aws_apigatewayv2_integrations/__init__.py +4 -5
  7. aws_cdk/aws_applicationautoscaling/__init__.py +51 -15
  8. aws_cdk/aws_appsync/__init__.py +14 -3
  9. aws_cdk/aws_autoscaling/__init__.py +6 -0
  10. aws_cdk/aws_b2bi/__init__.py +2445 -0
  11. aws_cdk/aws_cloud9/__init__.py +63 -63
  12. aws_cdk/aws_cloudfront/__init__.py +394 -0
  13. aws_cdk/aws_cloudfront/experimental/__init__.py +5 -2
  14. aws_cdk/aws_cloudtrail/__init__.py +90 -11
  15. aws_cdk/aws_cloudwatch/__init__.py +6 -6
  16. aws_cdk/aws_codedeploy/__init__.py +88 -15
  17. aws_cdk/aws_codepipeline/__init__.py +645 -0
  18. aws_cdk/aws_cognito/__init__.py +13 -26
  19. aws_cdk/aws_config/__init__.py +315 -1
  20. aws_cdk/aws_connect/__init__.py +532 -37
  21. aws_cdk/aws_controltower/__init__.py +4 -4
  22. aws_cdk/aws_datasync/__init__.py +6 -4
  23. aws_cdk/aws_dms/__init__.py +241 -131
  24. aws_cdk/aws_dynamodb/__init__.py +8 -0
  25. aws_cdk/aws_ec2/__init__.py +1030 -45
  26. aws_cdk/aws_ecr/__init__.py +78 -10
  27. aws_cdk/aws_ecs/__init__.py +210 -2
  28. aws_cdk/aws_ecs_patterns/__init__.py +77 -62
  29. aws_cdk/aws_eks/__init__.py +8 -1
  30. aws_cdk/aws_elasticache/__init__.py +136 -10
  31. aws_cdk/aws_elasticloadbalancingv2/__init__.py +10 -13
  32. aws_cdk/aws_emr/__init__.py +234 -17
  33. aws_cdk/aws_eventschemas/__init__.py +15 -13
  34. aws_cdk/aws_fis/__init__.py +33 -13
  35. aws_cdk/aws_gamelift/__init__.py +47 -0
  36. aws_cdk/aws_imagebuilder/__init__.py +922 -84
  37. aws_cdk/aws_internetmonitor/__init__.py +12 -10
  38. aws_cdk/aws_iot/__init__.py +26 -46
  39. aws_cdk/aws_iottwinmaker/__init__.py +36 -34
  40. aws_cdk/aws_lambda/__init__.py +19 -15
  41. aws_cdk/aws_lambda_nodejs/__init__.py +5 -2
  42. aws_cdk/aws_logs/__init__.py +6 -6
  43. aws_cdk/aws_opensearchservice/__init__.py +5 -3
  44. aws_cdk/aws_organizations/__init__.py +3 -3
  45. aws_cdk/aws_osis/__init__.py +17 -13
  46. aws_cdk/aws_rds/__init__.py +6 -0
  47. aws_cdk/aws_s3/__init__.py +4 -2
  48. aws_cdk/aws_s3outposts/__init__.py +8 -8
  49. aws_cdk/aws_sagemaker/__init__.py +17 -94
  50. aws_cdk/aws_secretsmanager/__init__.py +9 -7
  51. aws_cdk/aws_securityhub/__init__.py +18 -0
  52. aws_cdk/aws_servicecatalogappregistry/__init__.py +31 -0
  53. aws_cdk/aws_ses/__init__.py +58 -11
  54. aws_cdk/aws_sns/__init__.py +309 -10
  55. aws_cdk/aws_ssm/__init__.py +3 -5
  56. aws_cdk/aws_stepfunctions/__init__.py +335 -19
  57. aws_cdk/aws_stepfunctions_tasks/__init__.py +388 -38
  58. aws_cdk/aws_transfer/__init__.py +37 -10
  59. aws_cdk/custom_resources/__init__.py +443 -1
  60. aws_cdk/triggers/__init__.py +5 -2
  61. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/METADATA +1 -1
  62. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/RECORD +66 -65
  63. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/LICENSE +0 -0
  64. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/NOTICE +0 -0
  65. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/WHEEL +0 -0
  66. {aws_cdk_lib-2.115.0.dist-info → aws_cdk_lib-2.116.1.dist-info}/top_level.txt +0 -0
@@ -9594,6 +9594,340 @@ class CfnKeyGroupProps:
9594
9594
  )
9595
9595
 
9596
9596
 
9597
+ @jsii.implements(_IInspectable_c2943556)
9598
+ class CfnKeyValueStore(
9599
+ _CfnResource_9df397a6,
9600
+ metaclass=jsii.JSIIMeta,
9601
+ jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyValueStore",
9602
+ ):
9603
+ '''The Key Value Store.
9604
+
9605
+ Use this to separate data from function code, allowing you to update data without having to publish a new version of a function. The Key Value Store holds keys and their corresponding values.
9606
+
9607
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html
9608
+ :cloudformationResource: AWS::CloudFront::KeyValueStore
9609
+ :exampleMetadata: fixture=_generated
9610
+
9611
+ Example::
9612
+
9613
+ # The code below shows an example of how to instantiate this type.
9614
+ # The values are placeholders you should change.
9615
+ from aws_cdk import aws_cloudfront as cloudfront
9616
+
9617
+ cfn_key_value_store = cloudfront.CfnKeyValueStore(self, "MyCfnKeyValueStore",
9618
+ name="name",
9619
+
9620
+ # the properties below are optional
9621
+ comment="comment",
9622
+ import_source=cloudfront.CfnKeyValueStore.ImportSourceProperty(
9623
+ source_arn="sourceArn",
9624
+ source_type="sourceType"
9625
+ )
9626
+ )
9627
+ '''
9628
+
9629
+ def __init__(
9630
+ self,
9631
+ scope: _constructs_77d1e7e8.Construct,
9632
+ id: builtins.str,
9633
+ *,
9634
+ name: builtins.str,
9635
+ comment: typing.Optional[builtins.str] = None,
9636
+ import_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union["CfnKeyValueStore.ImportSourceProperty", typing.Dict[builtins.str, typing.Any]]]] = None,
9637
+ ) -> None:
9638
+ '''
9639
+ :param scope: Scope in which this resource is defined.
9640
+ :param id: Construct identifier for this resource (unique in its scope).
9641
+ :param name: The name of the Key Value Store.
9642
+ :param comment: A comment for the Key Value Store.
9643
+ :param import_source: The import source for the Key Value Store.
9644
+ '''
9645
+ if __debug__:
9646
+ type_hints = typing.get_type_hints(_typecheckingstub__39a9c43a6e994ac270417da8b032b21384dbcc2f5eb680a69e9a420bb725c8a3)
9647
+ check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
9648
+ check_type(argname="argument id", value=id, expected_type=type_hints["id"])
9649
+ props = CfnKeyValueStoreProps(
9650
+ name=name, comment=comment, import_source=import_source
9651
+ )
9652
+
9653
+ jsii.create(self.__class__, self, [scope, id, props])
9654
+
9655
+ @jsii.member(jsii_name="inspect")
9656
+ def inspect(self, inspector: _TreeInspector_488e0dd5) -> None:
9657
+ '''Examines the CloudFormation resource and discloses attributes.
9658
+
9659
+ :param inspector: tree inspector to collect and process attributes.
9660
+ '''
9661
+ if __debug__:
9662
+ type_hints = typing.get_type_hints(_typecheckingstub__f7cce3c0228e7ed2efc7ae086d760e1644b87da3af4e3ad96f5db8359c9d6a55)
9663
+ check_type(argname="argument inspector", value=inspector, expected_type=type_hints["inspector"])
9664
+ return typing.cast(None, jsii.invoke(self, "inspect", [inspector]))
9665
+
9666
+ @jsii.member(jsii_name="renderProperties")
9667
+ def _render_properties(
9668
+ self,
9669
+ props: typing.Mapping[builtins.str, typing.Any],
9670
+ ) -> typing.Mapping[builtins.str, typing.Any]:
9671
+ '''
9672
+ :param props: -
9673
+ '''
9674
+ if __debug__:
9675
+ type_hints = typing.get_type_hints(_typecheckingstub__57efaaf906bcd24d4e9a557ea42636dffa0cb26212a58d19d3ab685a531181c8)
9676
+ check_type(argname="argument props", value=props, expected_type=type_hints["props"])
9677
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.invoke(self, "renderProperties", [props]))
9678
+
9679
+ @jsii.python.classproperty
9680
+ @jsii.member(jsii_name="CFN_RESOURCE_TYPE_NAME")
9681
+ def CFN_RESOURCE_TYPE_NAME(cls) -> builtins.str:
9682
+ '''The CloudFormation resource type name for this resource class.'''
9683
+ return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
9684
+
9685
+ @builtins.property
9686
+ @jsii.member(jsii_name="attrArn")
9687
+ def attr_arn(self) -> builtins.str:
9688
+ '''The Amazon Resource Name (ARN) of the Key Value Store.
9689
+
9690
+ :cloudformationAttribute: Arn
9691
+ '''
9692
+ return typing.cast(builtins.str, jsii.get(self, "attrArn"))
9693
+
9694
+ @builtins.property
9695
+ @jsii.member(jsii_name="attrId")
9696
+ def attr_id(self) -> builtins.str:
9697
+ '''The unique Id for the Key Value Store.
9698
+
9699
+ :cloudformationAttribute: Id
9700
+ '''
9701
+ return typing.cast(builtins.str, jsii.get(self, "attrId"))
9702
+
9703
+ @builtins.property
9704
+ @jsii.member(jsii_name="attrStatus")
9705
+ def attr_status(self) -> builtins.str:
9706
+ '''The status of the Key Value Store.
9707
+
9708
+ :cloudformationAttribute: Status
9709
+ '''
9710
+ return typing.cast(builtins.str, jsii.get(self, "attrStatus"))
9711
+
9712
+ @builtins.property
9713
+ @jsii.member(jsii_name="cfnProperties")
9714
+ def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
9715
+ return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
9716
+
9717
+ @builtins.property
9718
+ @jsii.member(jsii_name="name")
9719
+ def name(self) -> builtins.str:
9720
+ '''The name of the Key Value Store.'''
9721
+ return typing.cast(builtins.str, jsii.get(self, "name"))
9722
+
9723
+ @name.setter
9724
+ def name(self, value: builtins.str) -> None:
9725
+ if __debug__:
9726
+ type_hints = typing.get_type_hints(_typecheckingstub__31c81f83ed9c5a25440ffda441f09dcb33411d9684b0a3146646cb289054da0c)
9727
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9728
+ jsii.set(self, "name", value)
9729
+
9730
+ @builtins.property
9731
+ @jsii.member(jsii_name="comment")
9732
+ def comment(self) -> typing.Optional[builtins.str]:
9733
+ '''A comment for the Key Value Store.'''
9734
+ return typing.cast(typing.Optional[builtins.str], jsii.get(self, "comment"))
9735
+
9736
+ @comment.setter
9737
+ def comment(self, value: typing.Optional[builtins.str]) -> None:
9738
+ if __debug__:
9739
+ type_hints = typing.get_type_hints(_typecheckingstub__e7ef3d5363a87ed84c6584e05c362a97bac2792589a6003e1851446b936205f8)
9740
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9741
+ jsii.set(self, "comment", value)
9742
+
9743
+ @builtins.property
9744
+ @jsii.member(jsii_name="importSource")
9745
+ def import_source(
9746
+ self,
9747
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKeyValueStore.ImportSourceProperty"]]:
9748
+ '''The import source for the Key Value Store.'''
9749
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKeyValueStore.ImportSourceProperty"]], jsii.get(self, "importSource"))
9750
+
9751
+ @import_source.setter
9752
+ def import_source(
9753
+ self,
9754
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, "CfnKeyValueStore.ImportSourceProperty"]],
9755
+ ) -> None:
9756
+ if __debug__:
9757
+ type_hints = typing.get_type_hints(_typecheckingstub__bfd48a97d25e7b681206f3f821672b491cdb6e27eb4858257cc5f853e5674c56)
9758
+ check_type(argname="argument value", value=value, expected_type=type_hints["value"])
9759
+ jsii.set(self, "importSource", value)
9760
+
9761
+ @jsii.data_type(
9762
+ jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyValueStore.ImportSourceProperty",
9763
+ jsii_struct_bases=[],
9764
+ name_mapping={"source_arn": "sourceArn", "source_type": "sourceType"},
9765
+ )
9766
+ class ImportSourceProperty:
9767
+ def __init__(
9768
+ self,
9769
+ *,
9770
+ source_arn: builtins.str,
9771
+ source_type: builtins.str,
9772
+ ) -> None:
9773
+ '''The import source for the Key Value Store.
9774
+
9775
+ :param source_arn: The Amazon Resource Name (ARN) of the import source for the Key Value Store.
9776
+ :param source_type: The source type of the import source for the Key Value Store.
9777
+
9778
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html
9779
+ :exampleMetadata: fixture=_generated
9780
+
9781
+ Example::
9782
+
9783
+ # The code below shows an example of how to instantiate this type.
9784
+ # The values are placeholders you should change.
9785
+ from aws_cdk import aws_cloudfront as cloudfront
9786
+
9787
+ import_source_property = cloudfront.CfnKeyValueStore.ImportSourceProperty(
9788
+ source_arn="sourceArn",
9789
+ source_type="sourceType"
9790
+ )
9791
+ '''
9792
+ if __debug__:
9793
+ type_hints = typing.get_type_hints(_typecheckingstub__c607ebfca7e05fb52f9d41898246334c1bd226fe4d739e9e3061836324174f88)
9794
+ check_type(argname="argument source_arn", value=source_arn, expected_type=type_hints["source_arn"])
9795
+ check_type(argname="argument source_type", value=source_type, expected_type=type_hints["source_type"])
9796
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9797
+ "source_arn": source_arn,
9798
+ "source_type": source_type,
9799
+ }
9800
+
9801
+ @builtins.property
9802
+ def source_arn(self) -> builtins.str:
9803
+ '''The Amazon Resource Name (ARN) of the import source for the Key Value Store.
9804
+
9805
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html#cfn-cloudfront-keyvaluestore-importsource-sourcearn
9806
+ '''
9807
+ result = self._values.get("source_arn")
9808
+ assert result is not None, "Required property 'source_arn' is missing"
9809
+ return typing.cast(builtins.str, result)
9810
+
9811
+ @builtins.property
9812
+ def source_type(self) -> builtins.str:
9813
+ '''The source type of the import source for the Key Value Store.
9814
+
9815
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-keyvaluestore-importsource.html#cfn-cloudfront-keyvaluestore-importsource-sourcetype
9816
+ '''
9817
+ result = self._values.get("source_type")
9818
+ assert result is not None, "Required property 'source_type' is missing"
9819
+ return typing.cast(builtins.str, result)
9820
+
9821
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9822
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9823
+
9824
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9825
+ return not (rhs == self)
9826
+
9827
+ def __repr__(self) -> str:
9828
+ return "ImportSourceProperty(%s)" % ", ".join(
9829
+ k + "=" + repr(v) for k, v in self._values.items()
9830
+ )
9831
+
9832
+
9833
+ @jsii.data_type(
9834
+ jsii_type="aws-cdk-lib.aws_cloudfront.CfnKeyValueStoreProps",
9835
+ jsii_struct_bases=[],
9836
+ name_mapping={
9837
+ "name": "name",
9838
+ "comment": "comment",
9839
+ "import_source": "importSource",
9840
+ },
9841
+ )
9842
+ class CfnKeyValueStoreProps:
9843
+ def __init__(
9844
+ self,
9845
+ *,
9846
+ name: builtins.str,
9847
+ comment: typing.Optional[builtins.str] = None,
9848
+ import_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKeyValueStore.ImportSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
9849
+ ) -> None:
9850
+ '''Properties for defining a ``CfnKeyValueStore``.
9851
+
9852
+ :param name: The name of the Key Value Store.
9853
+ :param comment: A comment for the Key Value Store.
9854
+ :param import_source: The import source for the Key Value Store.
9855
+
9856
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html
9857
+ :exampleMetadata: fixture=_generated
9858
+
9859
+ Example::
9860
+
9861
+ # The code below shows an example of how to instantiate this type.
9862
+ # The values are placeholders you should change.
9863
+ from aws_cdk import aws_cloudfront as cloudfront
9864
+
9865
+ cfn_key_value_store_props = cloudfront.CfnKeyValueStoreProps(
9866
+ name="name",
9867
+
9868
+ # the properties below are optional
9869
+ comment="comment",
9870
+ import_source=cloudfront.CfnKeyValueStore.ImportSourceProperty(
9871
+ source_arn="sourceArn",
9872
+ source_type="sourceType"
9873
+ )
9874
+ )
9875
+ '''
9876
+ if __debug__:
9877
+ type_hints = typing.get_type_hints(_typecheckingstub__46271f68955fd8497d5300c52e033d659758a0ba193251ef2f5c50bdda198fa2)
9878
+ check_type(argname="argument name", value=name, expected_type=type_hints["name"])
9879
+ check_type(argname="argument comment", value=comment, expected_type=type_hints["comment"])
9880
+ check_type(argname="argument import_source", value=import_source, expected_type=type_hints["import_source"])
9881
+ self._values: typing.Dict[builtins.str, typing.Any] = {
9882
+ "name": name,
9883
+ }
9884
+ if comment is not None:
9885
+ self._values["comment"] = comment
9886
+ if import_source is not None:
9887
+ self._values["import_source"] = import_source
9888
+
9889
+ @builtins.property
9890
+ def name(self) -> builtins.str:
9891
+ '''The name of the Key Value Store.
9892
+
9893
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-name
9894
+ '''
9895
+ result = self._values.get("name")
9896
+ assert result is not None, "Required property 'name' is missing"
9897
+ return typing.cast(builtins.str, result)
9898
+
9899
+ @builtins.property
9900
+ def comment(self) -> typing.Optional[builtins.str]:
9901
+ '''A comment for the Key Value Store.
9902
+
9903
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-comment
9904
+ '''
9905
+ result = self._values.get("comment")
9906
+ return typing.cast(typing.Optional[builtins.str], result)
9907
+
9908
+ @builtins.property
9909
+ def import_source(
9910
+ self,
9911
+ ) -> typing.Optional[typing.Union[_IResolvable_da3f097b, CfnKeyValueStore.ImportSourceProperty]]:
9912
+ '''The import source for the Key Value Store.
9913
+
9914
+ :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keyvaluestore.html#cfn-cloudfront-keyvaluestore-importsource
9915
+ '''
9916
+ result = self._values.get("import_source")
9917
+ return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, CfnKeyValueStore.ImportSourceProperty]], result)
9918
+
9919
+ def __eq__(self, rhs: typing.Any) -> builtins.bool:
9920
+ return isinstance(rhs, self.__class__) and rhs._values == self._values
9921
+
9922
+ def __ne__(self, rhs: typing.Any) -> builtins.bool:
9923
+ return not (rhs == self)
9924
+
9925
+ def __repr__(self) -> str:
9926
+ return "CfnKeyValueStoreProps(%s)" % ", ".join(
9927
+ k + "=" + repr(v) for k, v in self._values.items()
9928
+ )
9929
+
9930
+
9597
9931
  @jsii.implements(_IInspectable_c2943556)
9598
9932
  class CfnMonitoringSubscription(
9599
9933
  _CfnResource_9df397a6,
@@ -21952,6 +22286,8 @@ __all__ = [
21952
22286
  "CfnFunctionProps",
21953
22287
  "CfnKeyGroup",
21954
22288
  "CfnKeyGroupProps",
22289
+ "CfnKeyValueStore",
22290
+ "CfnKeyValueStoreProps",
21955
22291
  "CfnMonitoringSubscription",
21956
22292
  "CfnMonitoringSubscriptionProps",
21957
22293
  "CfnOriginAccessControl",
@@ -22813,6 +23149,64 @@ def _typecheckingstub__0e741b07b1138a784b11f2ea580eddc81dd7319624a4af9812aa5af95
22813
23149
  """Type checking stubs"""
22814
23150
  pass
22815
23151
 
23152
+ def _typecheckingstub__39a9c43a6e994ac270417da8b032b21384dbcc2f5eb680a69e9a420bb725c8a3(
23153
+ scope: _constructs_77d1e7e8.Construct,
23154
+ id: builtins.str,
23155
+ *,
23156
+ name: builtins.str,
23157
+ comment: typing.Optional[builtins.str] = None,
23158
+ import_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKeyValueStore.ImportSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
23159
+ ) -> None:
23160
+ """Type checking stubs"""
23161
+ pass
23162
+
23163
+ def _typecheckingstub__f7cce3c0228e7ed2efc7ae086d760e1644b87da3af4e3ad96f5db8359c9d6a55(
23164
+ inspector: _TreeInspector_488e0dd5,
23165
+ ) -> None:
23166
+ """Type checking stubs"""
23167
+ pass
23168
+
23169
+ def _typecheckingstub__57efaaf906bcd24d4e9a557ea42636dffa0cb26212a58d19d3ab685a531181c8(
23170
+ props: typing.Mapping[builtins.str, typing.Any],
23171
+ ) -> None:
23172
+ """Type checking stubs"""
23173
+ pass
23174
+
23175
+ def _typecheckingstub__31c81f83ed9c5a25440ffda441f09dcb33411d9684b0a3146646cb289054da0c(
23176
+ value: builtins.str,
23177
+ ) -> None:
23178
+ """Type checking stubs"""
23179
+ pass
23180
+
23181
+ def _typecheckingstub__e7ef3d5363a87ed84c6584e05c362a97bac2792589a6003e1851446b936205f8(
23182
+ value: typing.Optional[builtins.str],
23183
+ ) -> None:
23184
+ """Type checking stubs"""
23185
+ pass
23186
+
23187
+ def _typecheckingstub__bfd48a97d25e7b681206f3f821672b491cdb6e27eb4858257cc5f853e5674c56(
23188
+ value: typing.Optional[typing.Union[_IResolvable_da3f097b, CfnKeyValueStore.ImportSourceProperty]],
23189
+ ) -> None:
23190
+ """Type checking stubs"""
23191
+ pass
23192
+
23193
+ def _typecheckingstub__c607ebfca7e05fb52f9d41898246334c1bd226fe4d739e9e3061836324174f88(
23194
+ *,
23195
+ source_arn: builtins.str,
23196
+ source_type: builtins.str,
23197
+ ) -> None:
23198
+ """Type checking stubs"""
23199
+ pass
23200
+
23201
+ def _typecheckingstub__46271f68955fd8497d5300c52e033d659758a0ba193251ef2f5c50bdda198fa2(
23202
+ *,
23203
+ name: builtins.str,
23204
+ comment: typing.Optional[builtins.str] = None,
23205
+ import_source: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Union[CfnKeyValueStore.ImportSourceProperty, typing.Dict[builtins.str, typing.Any]]]] = None,
23206
+ ) -> None:
23207
+ """Type checking stubs"""
23208
+ pass
23209
+
22816
23210
  def _typecheckingstub__ced3ed079ed433587ef1975eb7679215d61c861fee5ee32066a1c0a3396cd698(
22817
23211
  scope: _constructs_77d1e7e8.Construct,
22818
23212
  id: builtins.str,
@@ -182,7 +182,7 @@ class EdgeFunction(
182
182
  :param handler: The name of the method within your code that Lambda calls to execute your function. The format includes the file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, see https://docs.aws.amazon.com/lambda/latest/dg/foundation-progmodel.html. Use ``Handler.FROM_IMAGE`` when defining a function from a Docker image. NOTE: If you specify your source code as inline text by specifying the ZipFile property within the Code property, specify index.function_name as the handler.
183
183
  :param runtime: The runtime environment for the Lambda function that you are uploading. For valid values, see the Runtime property in the AWS Lambda Developer Guide. Use ``Runtime.FROM_IMAGE`` when defining a function from a Docker image.
184
184
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
185
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Default: true
185
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
186
186
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
187
187
  :param application_log_level: Sets the application log level for the function. Default: INFO
188
188
  :param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
@@ -956,7 +956,7 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
956
956
  :param on_success: The destination for successful invocations. Default: - no destination
957
957
  :param retry_attempts: The maximum number of times to retry when the function returns an error. Minimum: 0 Maximum: 2 Default: 2
958
958
  :param adot_instrumentation: Specify the configuration of AWS Distro for OpenTelemetry (ADOT) instrumentation. Default: - No ADOT instrumentation
959
- :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Default: true
959
+ :param allow_all_outbound: Whether to allow the Lambda to send all network traffic. If set to false, you must individually add traffic rules to allow the Lambda to connect to network targets. Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set. Instead, configure ``allowAllOutbound`` directly on the security group. Default: true
960
960
  :param allow_public_subnet: Lambda Functions in a public subnet can NOT access the internet. Use this property to acknowledge this limitation and still place the function in a public subnet. Default: false
961
961
  :param application_log_level: Sets the application log level for the function. Default: INFO
962
962
  :param architecture: The system architectures compatible with this lambda function. Default: Architecture.X86_64
@@ -1235,6 +1235,9 @@ class EdgeFunctionProps(_FunctionProps_a308e854):
1235
1235
  If set to false, you must individually add traffic rules to allow the
1236
1236
  Lambda to connect to network targets.
1237
1237
 
1238
+ Do not specify this property if the ``securityGroups`` or ``securityGroup`` property is set.
1239
+ Instead, configure ``allowAllOutbound`` directly on the security group.
1240
+
1238
1241
  :default: true
1239
1242
  '''
1240
1243
  result = self._values.get("allow_all_outbound")