aws-cdk-lib 2.127.0__py3-none-any.whl → 2.129.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.
- aws_cdk/__init__.py +6 -10
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.127.0.jsii.tgz → aws-cdk-lib@2.129.0.jsii.tgz} +0 -0
- aws_cdk/aws_amazonmq/__init__.py +6 -24
- aws_cdk/aws_amplify/__init__.py +1 -2
- aws_cdk/aws_appconfig/__init__.py +0 -16
- aws_cdk/aws_applicationautoscaling/__init__.py +55 -22
- aws_cdk/aws_appstream/__init__.py +14 -14
- aws_cdk/aws_appsync/__init__.py +334 -3
- aws_cdk/aws_autoscaling/__init__.py +11 -7
- aws_cdk/aws_batch/__init__.py +137 -16
- aws_cdk/aws_cleanrooms/__init__.py +1 -2
- aws_cdk/aws_cloudformation/__init__.py +2 -10
- aws_cdk/aws_cloudfront/__init__.py +15 -8
- aws_cdk/aws_cloudfront/experimental/__init__.py +22 -0
- aws_cdk/aws_cloudfront_origins/__init__.py +332 -0
- aws_cdk/aws_cloudtrail/__init__.py +12 -2
- aws_cdk/aws_cloudwatch/__init__.py +925 -133
- aws_cdk/aws_codedeploy/__init__.py +69 -0
- aws_cdk/aws_codepipeline/__init__.py +1461 -111
- aws_cdk/aws_codepipeline_actions/__init__.py +40 -34
- aws_cdk/aws_cognito/__init__.py +0 -9
- aws_cdk/aws_config/__init__.py +2 -2
- aws_cdk/aws_connect/__init__.py +6 -1
- aws_cdk/aws_controltower/__init__.py +527 -7
- aws_cdk/aws_datasync/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +2 -3
- aws_cdk/aws_dynamodb/__init__.py +7 -0
- aws_cdk/aws_ec2/__init__.py +117 -210
- aws_cdk/aws_ecs/__init__.py +537 -3
- aws_cdk/aws_eks/__init__.py +1 -1
- aws_cdk/aws_elasticache/__init__.py +27 -20
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +3 -4
- aws_cdk/aws_emr/__init__.py +23 -3
- aws_cdk/aws_events_targets/__init__.py +64 -20
- aws_cdk/aws_fis/__init__.py +4 -4
- aws_cdk/aws_frauddetector/__init__.py +3 -3
- aws_cdk/aws_globalaccelerator/__init__.py +2 -6
- aws_cdk/aws_glue/__init__.py +84 -55
- aws_cdk/aws_groundstation/__init__.py +8 -12
- aws_cdk/aws_guardduty/__init__.py +74 -70
- aws_cdk/aws_iam/__init__.py +16 -23
- aws_cdk/aws_imagebuilder/__init__.py +178 -156
- aws_cdk/aws_internetmonitor/__init__.py +12 -10
- aws_cdk/aws_iot/__init__.py +17 -10
- aws_cdk/aws_iotevents/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +10 -5
- aws_cdk/aws_iottwinmaker/__init__.py +3 -5
- aws_cdk/aws_iotwireless/__init__.py +35 -23
- aws_cdk/aws_kendra/__init__.py +36 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +155 -114
- aws_cdk/aws_lambda/__init__.py +175 -15
- aws_cdk/aws_lambda_nodejs/__init__.py +22 -0
- aws_cdk/aws_lightsail/__init__.py +14 -18
- aws_cdk/aws_logs/__init__.py +15 -15
- aws_cdk/aws_mediaconnect/__init__.py +5 -3
- aws_cdk/aws_medialive/__init__.py +3 -12
- aws_cdk/aws_mediapackagev2/__init__.py +287 -286
- aws_cdk/aws_mediatailor/__init__.py +2 -2
- aws_cdk/aws_memorydb/__init__.py +2 -2
- aws_cdk/aws_msk/__init__.py +6 -3
- aws_cdk/aws_mwaa/__init__.py +10 -5
- aws_cdk/aws_neptunegraph/__init__.py +84 -66
- aws_cdk/aws_networkfirewall/__init__.py +5 -8
- aws_cdk/aws_networkmanager/__init__.py +3 -3
- aws_cdk/aws_nimblestudio/__init__.py +2 -4
- aws_cdk/aws_opensearchservice/__init__.py +6 -7
- aws_cdk/aws_osis/__init__.py +1 -3
- aws_cdk/aws_pinpoint/__init__.py +5 -5
- aws_cdk/aws_pipes/__init__.py +5 -5
- aws_cdk/aws_quicksight/__init__.py +5 -10
- aws_cdk/aws_rds/__init__.py +38 -21
- aws_cdk/aws_redshift/__init__.py +9 -5
- aws_cdk/aws_redshiftserverless/__init__.py +62 -38
- aws_cdk/aws_rolesanywhere/__init__.py +41 -53
- aws_cdk/aws_route53/__init__.py +532 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +1 -3
- aws_cdk/aws_route53recoveryreadiness/__init__.py +2 -2
- aws_cdk/aws_route53resolver/__init__.py +1 -4
- aws_cdk/aws_s3/__init__.py +12 -6
- aws_cdk/aws_s3_deployment/__init__.py +29 -0
- aws_cdk/aws_s3objectlambda/__init__.py +7 -4
- aws_cdk/aws_s3outposts/__init__.py +1 -1
- aws_cdk/aws_sagemaker/__init__.py +195 -11
- aws_cdk/aws_servicecatalogappregistry/__init__.py +3 -3
- aws_cdk/aws_ses/__init__.py +166 -9
- aws_cdk/aws_sns/__init__.py +185 -38
- aws_cdk/aws_sqs/__init__.py +10 -12
- aws_cdk/aws_ssm/__init__.py +16 -16
- aws_cdk/aws_ssmincidents/__init__.py +1 -1
- aws_cdk/aws_synthetics/__init__.py +94 -21
- aws_cdk/aws_verifiedpermissions/__init__.py +1 -2
- aws_cdk/aws_vpclattice/__init__.py +8 -4
- aws_cdk/aws_wafv2/__init__.py +14 -59
- aws_cdk/aws_workspaces/__init__.py +5 -4
- aws_cdk/aws_workspacesweb/__init__.py +6 -12
- aws_cdk/triggers/__init__.py +22 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/METADATA +1 -1
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/RECORD +103 -103
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.127.0.dist-info → aws_cdk_lib-2.129.0.dist-info}/top_level.txt +0 -0
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -1169,6 +1169,47 @@ fn = lambda_.Function(self, "MyLambda",
|
|
|
1169
1169
|
)
|
|
1170
1170
|
```
|
|
1171
1171
|
|
|
1172
|
+
## IPv6 support
|
|
1173
|
+
|
|
1174
|
+
You can configure IPv6 connectivity for lambda function by setting `Ipv6AllowedForDualStack` to true.
|
|
1175
|
+
It allows Lambda functions to specify whether the IPv6 traffic should be allowed when using dual-stack VPCs.
|
|
1176
|
+
To access IPv6 network using Lambda, Dual-stack VPC is required. Using dual-stack VPC a function communicates with subnet over either of IPv4 or IPv6.
|
|
1177
|
+
|
|
1178
|
+
```python
|
|
1179
|
+
import aws_cdk.aws_ec2 as ec2
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
nat_provider = ec2.NatProvider.gateway()
|
|
1183
|
+
|
|
1184
|
+
# create dual-stack VPC
|
|
1185
|
+
vpc = ec2.Vpc(self, "DualStackVpc",
|
|
1186
|
+
ip_protocol=ec2.IpProtocol.DUAL_STACK,
|
|
1187
|
+
subnet_configuration=[ec2.SubnetConfiguration(
|
|
1188
|
+
name="Ipv6Public1",
|
|
1189
|
+
subnet_type=ec2.SubnetType.PUBLIC
|
|
1190
|
+
), ec2.SubnetConfiguration(
|
|
1191
|
+
name="Ipv6Public2",
|
|
1192
|
+
subnet_type=ec2.SubnetType.PUBLIC
|
|
1193
|
+
), ec2.SubnetConfiguration(
|
|
1194
|
+
name="Ipv6Private1",
|
|
1195
|
+
subnet_type=ec2.SubnetType.PRIVATE_WITH_EGRESS
|
|
1196
|
+
)
|
|
1197
|
+
],
|
|
1198
|
+
nat_gateway_provider=nat_provider
|
|
1199
|
+
)
|
|
1200
|
+
|
|
1201
|
+
nat_gateway_id = nat_provider.configured_gateways[0].gateway_id
|
|
1202
|
+
(vpc.private_subnets[0]).add_ipv6_nat64_route(nat_gateway_id)
|
|
1203
|
+
|
|
1204
|
+
fn = lambda_.Function(self, "Lambda_with_IPv6_VPC",
|
|
1205
|
+
code=lambda_.InlineCode("def main(event, context): pass"),
|
|
1206
|
+
handler="index.main",
|
|
1207
|
+
runtime=lambda_.Runtime.PYTHON_3_9,
|
|
1208
|
+
vpc=vpc,
|
|
1209
|
+
ipv6_allowed_for_dual_stack=True
|
|
1210
|
+
)
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1172
1213
|
## Ephemeral Storage
|
|
1173
1214
|
|
|
1174
1215
|
You can configure ephemeral storage on a function to control the amount of storage it gets for reading
|
|
@@ -1372,6 +1413,7 @@ from .. import (
|
|
|
1372
1413
|
Size as _Size_7b441c34,
|
|
1373
1414
|
SymlinkFollowMode as _SymlinkFollowMode_047ec1f6,
|
|
1374
1415
|
TagManager as _TagManager_0a598cb3,
|
|
1416
|
+
TimeZone as _TimeZone_cdd72ac9,
|
|
1375
1417
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
1376
1418
|
)
|
|
1377
1419
|
from ..aws_applicationautoscaling import (
|
|
@@ -9070,8 +9112,7 @@ class CfnPermission(
|
|
|
9070
9112
|
@builtins.property
|
|
9071
9113
|
@jsii.member(jsii_name="attrId")
|
|
9072
9114
|
def attr_id(self) -> builtins.str:
|
|
9073
|
-
'''
|
|
9074
|
-
|
|
9115
|
+
'''
|
|
9075
9116
|
:cloudformationAttribute: Id
|
|
9076
9117
|
'''
|
|
9077
9118
|
return typing.cast(builtins.str, jsii.get(self, "attrId"))
|
|
@@ -13598,6 +13639,7 @@ class FunctionAttributes:
|
|
|
13598
13639
|
"function_name": "functionName",
|
|
13599
13640
|
"initial_policy": "initialPolicy",
|
|
13600
13641
|
"insights_version": "insightsVersion",
|
|
13642
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
13601
13643
|
"layers": "layers",
|
|
13602
13644
|
"log_format": "logFormat",
|
|
13603
13645
|
"logging_format": "loggingFormat",
|
|
@@ -13648,6 +13690,7 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
13648
13690
|
function_name: typing.Optional[builtins.str] = None,
|
|
13649
13691
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
13650
13692
|
insights_version: typing.Optional["LambdaInsightsVersion"] = None,
|
|
13693
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
13651
13694
|
layers: typing.Optional[typing.Sequence["ILayerVersion"]] = None,
|
|
13652
13695
|
log_format: typing.Optional[builtins.str] = None,
|
|
13653
13696
|
logging_format: typing.Optional["LoggingFormat"] = None,
|
|
@@ -13695,6 +13738,7 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
13695
13738
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
13696
13739
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
13697
13740
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
13741
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
13698
13742
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
13699
13743
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
13700
13744
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -13791,6 +13835,7 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
13791
13835
|
function_name="functionName",
|
|
13792
13836
|
initial_policy=[policy_statement],
|
|
13793
13837
|
insights_version=lambda_insights_version,
|
|
13838
|
+
ipv6_allowed_for_dual_stack=False,
|
|
13794
13839
|
layers=[layer_version],
|
|
13795
13840
|
log_format="logFormat",
|
|
13796
13841
|
logging_format=lambda_.LoggingFormat.TEXT,
|
|
@@ -13861,6 +13906,7 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
13861
13906
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
13862
13907
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
13863
13908
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
13909
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
13864
13910
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
13865
13911
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
13866
13912
|
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
@@ -13929,6 +13975,8 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
13929
13975
|
self._values["initial_policy"] = initial_policy
|
|
13930
13976
|
if insights_version is not None:
|
|
13931
13977
|
self._values["insights_version"] = insights_version
|
|
13978
|
+
if ipv6_allowed_for_dual_stack is not None:
|
|
13979
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
13932
13980
|
if layers is not None:
|
|
13933
13981
|
self._values["layers"] = layers
|
|
13934
13982
|
if log_format is not None:
|
|
@@ -14220,6 +14268,17 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
14220
14268
|
result = self._values.get("insights_version")
|
|
14221
14269
|
return typing.cast(typing.Optional["LambdaInsightsVersion"], result)
|
|
14222
14270
|
|
|
14271
|
+
@builtins.property
|
|
14272
|
+
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
14273
|
+
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
14274
|
+
|
|
14275
|
+
Only used if 'vpc' is supplied.
|
|
14276
|
+
|
|
14277
|
+
:default: false
|
|
14278
|
+
'''
|
|
14279
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
14280
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
14281
|
+
|
|
14223
14282
|
@builtins.property
|
|
14224
14283
|
def layers(self) -> typing.Optional[typing.List["ILayerVersion"]]:
|
|
14225
14284
|
'''A list of layers to add to the function's execution environment.
|
|
@@ -14533,6 +14592,7 @@ class FunctionOptions(EventInvokeConfigOptions):
|
|
|
14533
14592
|
"function_name": "functionName",
|
|
14534
14593
|
"initial_policy": "initialPolicy",
|
|
14535
14594
|
"insights_version": "insightsVersion",
|
|
14595
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
14536
14596
|
"layers": "layers",
|
|
14537
14597
|
"log_format": "logFormat",
|
|
14538
14598
|
"logging_format": "loggingFormat",
|
|
@@ -14586,6 +14646,7 @@ class FunctionProps(FunctionOptions):
|
|
|
14586
14646
|
function_name: typing.Optional[builtins.str] = None,
|
|
14587
14647
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
14588
14648
|
insights_version: typing.Optional["LambdaInsightsVersion"] = None,
|
|
14649
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
14589
14650
|
layers: typing.Optional[typing.Sequence["ILayerVersion"]] = None,
|
|
14590
14651
|
log_format: typing.Optional[builtins.str] = None,
|
|
14591
14652
|
logging_format: typing.Optional["LoggingFormat"] = None,
|
|
@@ -14635,6 +14696,7 @@ class FunctionProps(FunctionOptions):
|
|
|
14635
14696
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
14636
14697
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
14637
14698
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
14699
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
14638
14700
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
14639
14701
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
14640
14702
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -14720,6 +14782,7 @@ class FunctionProps(FunctionOptions):
|
|
|
14720
14782
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
14721
14783
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
14722
14784
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
14785
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
14723
14786
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
14724
14787
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
14725
14788
|
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
@@ -14795,6 +14858,8 @@ class FunctionProps(FunctionOptions):
|
|
|
14795
14858
|
self._values["initial_policy"] = initial_policy
|
|
14796
14859
|
if insights_version is not None:
|
|
14797
14860
|
self._values["insights_version"] = insights_version
|
|
14861
|
+
if ipv6_allowed_for_dual_stack is not None:
|
|
14862
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
14798
14863
|
if layers is not None:
|
|
14799
14864
|
self._values["layers"] = layers
|
|
14800
14865
|
if log_format is not None:
|
|
@@ -15086,6 +15151,17 @@ class FunctionProps(FunctionOptions):
|
|
|
15086
15151
|
result = self._values.get("insights_version")
|
|
15087
15152
|
return typing.cast(typing.Optional["LambdaInsightsVersion"], result)
|
|
15088
15153
|
|
|
15154
|
+
@builtins.property
|
|
15155
|
+
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
15156
|
+
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
15157
|
+
|
|
15158
|
+
Only used if 'vpc' is supplied.
|
|
15159
|
+
|
|
15160
|
+
:default: false
|
|
15161
|
+
'''
|
|
15162
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
15163
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
15164
|
+
|
|
15089
15165
|
@builtins.property
|
|
15090
15166
|
def layers(self) -> typing.Optional[typing.List["ILayerVersion"]]:
|
|
15091
15167
|
'''A list of layers to add to the function's execution environment.
|
|
@@ -15423,12 +15499,16 @@ class FunctionUrlAuthType(enum.Enum):
|
|
|
15423
15499
|
|
|
15424
15500
|
Example::
|
|
15425
15501
|
|
|
15502
|
+
# Can be a Function or an Alias
|
|
15426
15503
|
# fn: lambda.Function
|
|
15427
15504
|
|
|
15428
15505
|
|
|
15429
|
-
fn.add_function_url(
|
|
15430
|
-
auth_type=lambda_.FunctionUrlAuthType.NONE
|
|
15431
|
-
|
|
15506
|
+
fn_url = fn.add_function_url(
|
|
15507
|
+
auth_type=lambda_.FunctionUrlAuthType.NONE
|
|
15508
|
+
)
|
|
15509
|
+
|
|
15510
|
+
CfnOutput(self, "TheUrl",
|
|
15511
|
+
value=fn_url.url
|
|
15432
15512
|
)
|
|
15433
15513
|
'''
|
|
15434
15514
|
|
|
@@ -15601,12 +15681,16 @@ class FunctionUrlOptions:
|
|
|
15601
15681
|
|
|
15602
15682
|
Example::
|
|
15603
15683
|
|
|
15684
|
+
# Can be a Function or an Alias
|
|
15604
15685
|
# fn: lambda.Function
|
|
15605
15686
|
|
|
15606
15687
|
|
|
15607
|
-
fn.add_function_url(
|
|
15608
|
-
auth_type=lambda_.FunctionUrlAuthType.NONE
|
|
15609
|
-
|
|
15688
|
+
fn_url = fn.add_function_url(
|
|
15689
|
+
auth_type=lambda_.FunctionUrlAuthType.NONE
|
|
15690
|
+
)
|
|
15691
|
+
|
|
15692
|
+
CfnOutput(self, "TheUrl",
|
|
15693
|
+
value=fn_url.url
|
|
15610
15694
|
)
|
|
15611
15695
|
'''
|
|
15612
15696
|
if isinstance(cors, dict):
|
|
@@ -17189,6 +17273,7 @@ class IScalableFunctionAttribute(
|
|
|
17189
17273
|
max_capacity: typing.Optional[jsii.Number] = None,
|
|
17190
17274
|
min_capacity: typing.Optional[jsii.Number] = None,
|
|
17191
17275
|
start_time: typing.Optional[datetime.datetime] = None,
|
|
17276
|
+
time_zone: typing.Optional[_TimeZone_cdd72ac9] = None,
|
|
17192
17277
|
) -> None:
|
|
17193
17278
|
'''Scale out or in based on schedule.
|
|
17194
17279
|
|
|
@@ -17198,6 +17283,7 @@ class IScalableFunctionAttribute(
|
|
|
17198
17283
|
:param max_capacity: The new maximum capacity. During the scheduled time, the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. At least one of maxCapacity and minCapacity must be supplied. Default: No new maximum capacity
|
|
17199
17284
|
:param min_capacity: The new minimum capacity. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. At least one of maxCapacity and minCapacity must be supplied. Default: No new minimum capacity
|
|
17200
17285
|
:param start_time: When this scheduled action becomes active. Default: The rule is activate immediately
|
|
17286
|
+
:param time_zone: The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression. Default: - UTC
|
|
17201
17287
|
'''
|
|
17202
17288
|
...
|
|
17203
17289
|
|
|
@@ -17243,6 +17329,7 @@ class _IScalableFunctionAttributeProxy(
|
|
|
17243
17329
|
max_capacity: typing.Optional[jsii.Number] = None,
|
|
17244
17330
|
min_capacity: typing.Optional[jsii.Number] = None,
|
|
17245
17331
|
start_time: typing.Optional[datetime.datetime] = None,
|
|
17332
|
+
time_zone: typing.Optional[_TimeZone_cdd72ac9] = None,
|
|
17246
17333
|
) -> None:
|
|
17247
17334
|
'''Scale out or in based on schedule.
|
|
17248
17335
|
|
|
@@ -17252,6 +17339,7 @@ class _IScalableFunctionAttributeProxy(
|
|
|
17252
17339
|
:param max_capacity: The new maximum capacity. During the scheduled time, the current capacity is above the maximum capacity, Application Auto Scaling scales in to the maximum capacity. At least one of maxCapacity and minCapacity must be supplied. Default: No new maximum capacity
|
|
17253
17340
|
:param min_capacity: The new minimum capacity. During the scheduled time, if the current capacity is below the minimum capacity, Application Auto Scaling scales out to the minimum capacity. At least one of maxCapacity and minCapacity must be supplied. Default: No new minimum capacity
|
|
17254
17341
|
:param start_time: When this scheduled action becomes active. Default: The rule is activate immediately
|
|
17342
|
+
:param time_zone: The time zone used when referring to the date and time of a scheduled action, when the scheduled action uses an at or cron expression. Default: - UTC
|
|
17255
17343
|
'''
|
|
17256
17344
|
if __debug__:
|
|
17257
17345
|
type_hints = typing.get_type_hints(_typecheckingstub__6400e52bafb7e00e3113dbb1e115c4dea946b786b17eee75a6aa6706a941170c)
|
|
@@ -17262,6 +17350,7 @@ class _IScalableFunctionAttributeProxy(
|
|
|
17262
17350
|
max_capacity=max_capacity,
|
|
17263
17351
|
min_capacity=min_capacity,
|
|
17264
17352
|
start_time=start_time,
|
|
17353
|
+
time_zone=time_zone,
|
|
17265
17354
|
)
|
|
17266
17355
|
|
|
17267
17356
|
return typing.cast(None, jsii.invoke(self, "scaleOnSchedule", [id, actions]))
|
|
@@ -19240,6 +19329,12 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.Runtime
|
|
|
19240
19329
|
'''The .NET 6 runtime (dotnet6).'''
|
|
19241
19330
|
return typing.cast("Runtime", jsii.sget(cls, "DOTNET_6"))
|
|
19242
19331
|
|
|
19332
|
+
@jsii.python.classproperty
|
|
19333
|
+
@jsii.member(jsii_name="DOTNET_8")
|
|
19334
|
+
def DOTNET_8(cls) -> "Runtime":
|
|
19335
|
+
'''The .NET 8 runtime (dotnet8).'''
|
|
19336
|
+
return typing.cast("Runtime", jsii.sget(cls, "DOTNET_8"))
|
|
19337
|
+
|
|
19243
19338
|
@jsii.python.classproperty
|
|
19244
19339
|
@jsii.member(jsii_name="DOTNET_CORE_1")
|
|
19245
19340
|
def DOTNET_CORE_1(cls) -> "Runtime":
|
|
@@ -19322,7 +19417,12 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.Runtime
|
|
|
19322
19417
|
@jsii.python.classproperty
|
|
19323
19418
|
@jsii.member(jsii_name="JAVA_8")
|
|
19324
19419
|
def JAVA_8(cls) -> "Runtime":
|
|
19325
|
-
'''The Java 8 runtime (java8).
|
|
19420
|
+
'''(deprecated) The Java 8 runtime (java8).
|
|
19421
|
+
|
|
19422
|
+
:deprecated: Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Java runtime.
|
|
19423
|
+
|
|
19424
|
+
:stability: deprecated
|
|
19425
|
+
'''
|
|
19326
19426
|
return typing.cast("Runtime", jsii.sget(cls, "JAVA_8"))
|
|
19327
19427
|
|
|
19328
19428
|
@jsii.python.classproperty
|
|
@@ -19500,7 +19600,12 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.Runtime
|
|
|
19500
19600
|
@jsii.python.classproperty
|
|
19501
19601
|
@jsii.member(jsii_name="PYTHON_3_7")
|
|
19502
19602
|
def PYTHON_3_7(cls) -> "Runtime":
|
|
19503
|
-
'''The Python 3.7 runtime (python3.7).
|
|
19603
|
+
'''(deprecated) The Python 3.7 runtime (python3.7).
|
|
19604
|
+
|
|
19605
|
+
:deprecated: Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Python runtime.
|
|
19606
|
+
|
|
19607
|
+
:stability: deprecated
|
|
19608
|
+
'''
|
|
19504
19609
|
return typing.cast("Runtime", jsii.sget(cls, "PYTHON_3_7"))
|
|
19505
19610
|
|
|
19506
19611
|
@jsii.python.classproperty
|
|
@@ -19529,7 +19634,12 @@ class Runtime(metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.Runtime
|
|
|
19529
19634
|
@jsii.python.classproperty
|
|
19530
19635
|
@jsii.member(jsii_name="RUBY_2_7")
|
|
19531
19636
|
def RUBY_2_7(cls) -> "Runtime":
|
|
19532
|
-
'''The Ruby 2.7 runtime (ruby2.7).
|
|
19637
|
+
'''(deprecated) The Ruby 2.7 runtime (ruby2.7).
|
|
19638
|
+
|
|
19639
|
+
:deprecated: Legacy runtime no longer supported by AWS Lambda. Migrate to the latest Ruby runtime.
|
|
19640
|
+
|
|
19641
|
+
:stability: deprecated
|
|
19642
|
+
'''
|
|
19533
19643
|
return typing.cast("Runtime", jsii.sget(cls, "RUBY_2_7"))
|
|
19534
19644
|
|
|
19535
19645
|
@jsii.python.classproperty
|
|
@@ -19759,6 +19869,7 @@ class S3Code(Code, metaclass=jsii.JSIIMeta, jsii_type="aws-cdk-lib.aws_lambda.S3
|
|
|
19759
19869
|
"function_name": "functionName",
|
|
19760
19870
|
"initial_policy": "initialPolicy",
|
|
19761
19871
|
"insights_version": "insightsVersion",
|
|
19872
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
19762
19873
|
"layers": "layers",
|
|
19763
19874
|
"log_format": "logFormat",
|
|
19764
19875
|
"logging_format": "loggingFormat",
|
|
@@ -19814,6 +19925,7 @@ class SingletonFunctionProps(FunctionProps):
|
|
|
19814
19925
|
function_name: typing.Optional[builtins.str] = None,
|
|
19815
19926
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
19816
19927
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
19928
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
19817
19929
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
19818
19930
|
log_format: typing.Optional[builtins.str] = None,
|
|
19819
19931
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -19866,6 +19978,7 @@ class SingletonFunctionProps(FunctionProps):
|
|
|
19866
19978
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
19867
19979
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
19868
19980
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
19981
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
19869
19982
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
19870
19983
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
19871
19984
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -19936,6 +20049,7 @@ class SingletonFunctionProps(FunctionProps):
|
|
|
19936
20049
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
19937
20050
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
19938
20051
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
20052
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
19939
20053
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
19940
20054
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
19941
20055
|
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
@@ -20014,6 +20128,8 @@ class SingletonFunctionProps(FunctionProps):
|
|
|
20014
20128
|
self._values["initial_policy"] = initial_policy
|
|
20015
20129
|
if insights_version is not None:
|
|
20016
20130
|
self._values["insights_version"] = insights_version
|
|
20131
|
+
if ipv6_allowed_for_dual_stack is not None:
|
|
20132
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
20017
20133
|
if layers is not None:
|
|
20018
20134
|
self._values["layers"] = layers
|
|
20019
20135
|
if log_format is not None:
|
|
@@ -20307,6 +20423,17 @@ class SingletonFunctionProps(FunctionProps):
|
|
|
20307
20423
|
result = self._values.get("insights_version")
|
|
20308
20424
|
return typing.cast(typing.Optional[LambdaInsightsVersion], result)
|
|
20309
20425
|
|
|
20426
|
+
@builtins.property
|
|
20427
|
+
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
20428
|
+
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
20429
|
+
|
|
20430
|
+
Only used if 'vpc' is supplied.
|
|
20431
|
+
|
|
20432
|
+
:default: false
|
|
20433
|
+
'''
|
|
20434
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
20435
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
20436
|
+
|
|
20310
20437
|
@builtins.property
|
|
20311
20438
|
def layers(self) -> typing.Optional[typing.List[ILayerVersion]]:
|
|
20312
20439
|
'''A list of layers to add to the function's execution environment.
|
|
@@ -22620,6 +22747,7 @@ class CodeSigningConfig(
|
|
|
22620
22747
|
"function_name": "functionName",
|
|
22621
22748
|
"initial_policy": "initialPolicy",
|
|
22622
22749
|
"insights_version": "insightsVersion",
|
|
22750
|
+
"ipv6_allowed_for_dual_stack": "ipv6AllowedForDualStack",
|
|
22623
22751
|
"layers": "layers",
|
|
22624
22752
|
"log_format": "logFormat",
|
|
22625
22753
|
"logging_format": "loggingFormat",
|
|
@@ -22671,6 +22799,7 @@ class DockerImageFunctionProps(FunctionOptions):
|
|
|
22671
22799
|
function_name: typing.Optional[builtins.str] = None,
|
|
22672
22800
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
22673
22801
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
22802
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
22674
22803
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
22675
22804
|
log_format: typing.Optional[builtins.str] = None,
|
|
22676
22805
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -22719,6 +22848,7 @@ class DockerImageFunctionProps(FunctionOptions):
|
|
|
22719
22848
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
22720
22849
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
22721
22850
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
22851
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
22722
22852
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
22723
22853
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
22724
22854
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -22783,6 +22913,7 @@ class DockerImageFunctionProps(FunctionOptions):
|
|
|
22783
22913
|
check_type(argname="argument function_name", value=function_name, expected_type=type_hints["function_name"])
|
|
22784
22914
|
check_type(argname="argument initial_policy", value=initial_policy, expected_type=type_hints["initial_policy"])
|
|
22785
22915
|
check_type(argname="argument insights_version", value=insights_version, expected_type=type_hints["insights_version"])
|
|
22916
|
+
check_type(argname="argument ipv6_allowed_for_dual_stack", value=ipv6_allowed_for_dual_stack, expected_type=type_hints["ipv6_allowed_for_dual_stack"])
|
|
22786
22917
|
check_type(argname="argument layers", value=layers, expected_type=type_hints["layers"])
|
|
22787
22918
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
22788
22919
|
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
@@ -22854,6 +22985,8 @@ class DockerImageFunctionProps(FunctionOptions):
|
|
|
22854
22985
|
self._values["initial_policy"] = initial_policy
|
|
22855
22986
|
if insights_version is not None:
|
|
22856
22987
|
self._values["insights_version"] = insights_version
|
|
22988
|
+
if ipv6_allowed_for_dual_stack is not None:
|
|
22989
|
+
self._values["ipv6_allowed_for_dual_stack"] = ipv6_allowed_for_dual_stack
|
|
22857
22990
|
if layers is not None:
|
|
22858
22991
|
self._values["layers"] = layers
|
|
22859
22992
|
if log_format is not None:
|
|
@@ -23145,6 +23278,17 @@ class DockerImageFunctionProps(FunctionOptions):
|
|
|
23145
23278
|
result = self._values.get("insights_version")
|
|
23146
23279
|
return typing.cast(typing.Optional[LambdaInsightsVersion], result)
|
|
23147
23280
|
|
|
23281
|
+
@builtins.property
|
|
23282
|
+
def ipv6_allowed_for_dual_stack(self) -> typing.Optional[builtins.bool]:
|
|
23283
|
+
'''Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
|
|
23284
|
+
|
|
23285
|
+
Only used if 'vpc' is supplied.
|
|
23286
|
+
|
|
23287
|
+
:default: false
|
|
23288
|
+
'''
|
|
23289
|
+
result = self._values.get("ipv6_allowed_for_dual_stack")
|
|
23290
|
+
return typing.cast(typing.Optional[builtins.bool], result)
|
|
23291
|
+
|
|
23148
23292
|
@builtins.property
|
|
23149
23293
|
def layers(self) -> typing.Optional[typing.List[ILayerVersion]]:
|
|
23150
23294
|
'''A list of layers to add to the function's execution environment.
|
|
@@ -24296,14 +24440,13 @@ class FunctionUrl(
|
|
|
24296
24440
|
|
|
24297
24441
|
# Can be a Function or an Alias
|
|
24298
24442
|
# fn: lambda.Function
|
|
24299
|
-
# my_role: iam.Role
|
|
24300
24443
|
|
|
24301
24444
|
|
|
24302
|
-
fn_url = fn.add_function_url(
|
|
24303
|
-
|
|
24445
|
+
fn_url = fn.add_function_url(
|
|
24446
|
+
auth_type=lambda_.FunctionUrlAuthType.NONE
|
|
24447
|
+
)
|
|
24304
24448
|
|
|
24305
24449
|
CfnOutput(self, "TheUrl",
|
|
24306
|
-
# The .url attributes will return the unique Function URL
|
|
24307
24450
|
value=fn_url.url
|
|
24308
24451
|
)
|
|
24309
24452
|
'''
|
|
@@ -24609,6 +24752,7 @@ class SingletonFunction(
|
|
|
24609
24752
|
function_name: typing.Optional[builtins.str] = None,
|
|
24610
24753
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
24611
24754
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
24755
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
24612
24756
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
24613
24757
|
log_format: typing.Optional[builtins.str] = None,
|
|
24614
24758
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -24662,6 +24806,7 @@ class SingletonFunction(
|
|
|
24662
24806
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
24663
24807
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
24664
24808
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
24809
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
24665
24810
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
24666
24811
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
24667
24812
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -24717,6 +24862,7 @@ class SingletonFunction(
|
|
|
24717
24862
|
function_name=function_name,
|
|
24718
24863
|
initial_policy=initial_policy,
|
|
24719
24864
|
insights_version=insights_version,
|
|
24865
|
+
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
24720
24866
|
layers=layers,
|
|
24721
24867
|
log_format=log_format,
|
|
24722
24868
|
logging_format=logging_format,
|
|
@@ -25558,6 +25704,7 @@ class Function(
|
|
|
25558
25704
|
function_name: typing.Optional[builtins.str] = None,
|
|
25559
25705
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
25560
25706
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
25707
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
25561
25708
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
25562
25709
|
log_format: typing.Optional[builtins.str] = None,
|
|
25563
25710
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -25609,6 +25756,7 @@ class Function(
|
|
|
25609
25756
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
25610
25757
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
25611
25758
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
25759
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
25612
25760
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
25613
25761
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
25614
25762
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -25662,6 +25810,7 @@ class Function(
|
|
|
25662
25810
|
function_name=function_name,
|
|
25663
25811
|
initial_policy=initial_policy,
|
|
25664
25812
|
insights_version=insights_version,
|
|
25813
|
+
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
25665
25814
|
layers=layers,
|
|
25666
25815
|
log_format=log_format,
|
|
25667
25816
|
logging_format=logging_format,
|
|
@@ -26341,6 +26490,7 @@ class DockerImageFunction(
|
|
|
26341
26490
|
function_name: typing.Optional[builtins.str] = None,
|
|
26342
26491
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
26343
26492
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
26493
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
26344
26494
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
26345
26495
|
log_format: typing.Optional[builtins.str] = None,
|
|
26346
26496
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -26390,6 +26540,7 @@ class DockerImageFunction(
|
|
|
26390
26540
|
:param function_name: A name for the function. Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the function's name. For more information, see Name Type.
|
|
26391
26541
|
:param initial_policy: Initial policy statements to add to the created Lambda Role. You can call ``addToRolePolicy`` to the created lambda to add statements post creation. Default: - No policy statements are added to the created Lambda role.
|
|
26392
26542
|
:param insights_version: Specify the version of CloudWatch Lambda insights to use for monitoring. Default: - No Lambda Insights
|
|
26543
|
+
:param ipv6_allowed_for_dual_stack: Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets. Only used if 'vpc' is supplied. Default: false
|
|
26393
26544
|
:param layers: A list of layers to add to the function's execution environment. You can configure your Lambda function to pull in additional code during initialization in the form of layers. Layers are packages of libraries or other dependencies that can be used by multiple functions. Default: - No layers.
|
|
26394
26545
|
:param log_format: Sets the logFormat for the function. Default: "Text"
|
|
26395
26546
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
@@ -26441,6 +26592,7 @@ class DockerImageFunction(
|
|
|
26441
26592
|
function_name=function_name,
|
|
26442
26593
|
initial_policy=initial_policy,
|
|
26443
26594
|
insights_version=insights_version,
|
|
26595
|
+
ipv6_allowed_for_dual_stack=ipv6_allowed_for_dual_stack,
|
|
26444
26596
|
layers=layers,
|
|
26445
26597
|
log_format=log_format,
|
|
26446
26598
|
logging_format=logging_format,
|
|
@@ -28404,6 +28556,7 @@ def _typecheckingstub__59918bb957d892739733c7a5849db990615fe5329709ad7ba703e0ee4
|
|
|
28404
28556
|
function_name: typing.Optional[builtins.str] = None,
|
|
28405
28557
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
28406
28558
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
28559
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
28407
28560
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
28408
28561
|
log_format: typing.Optional[builtins.str] = None,
|
|
28409
28562
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -28454,6 +28607,7 @@ def _typecheckingstub__94e70d11aa3c53737d418dbb9983973dfc06dbdef5c8cc30613cc3c6d
|
|
|
28454
28607
|
function_name: typing.Optional[builtins.str] = None,
|
|
28455
28608
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
28456
28609
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
28610
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
28457
28611
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
28458
28612
|
log_format: typing.Optional[builtins.str] = None,
|
|
28459
28613
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -28658,6 +28812,7 @@ def _typecheckingstub__6400e52bafb7e00e3113dbb1e115c4dea946b786b17eee75a6aa6706a
|
|
|
28658
28812
|
max_capacity: typing.Optional[jsii.Number] = None,
|
|
28659
28813
|
min_capacity: typing.Optional[jsii.Number] = None,
|
|
28660
28814
|
start_time: typing.Optional[datetime.datetime] = None,
|
|
28815
|
+
time_zone: typing.Optional[_TimeZone_cdd72ac9] = None,
|
|
28661
28816
|
) -> None:
|
|
28662
28817
|
"""Type checking stubs"""
|
|
28663
28818
|
pass
|
|
@@ -28933,6 +29088,7 @@ def _typecheckingstub__68a03ec9f866a29c77aabcf8328c63a49511790fa9714874f255b3292
|
|
|
28933
29088
|
function_name: typing.Optional[builtins.str] = None,
|
|
28934
29089
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
28935
29090
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
29091
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
28936
29092
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
28937
29093
|
log_format: typing.Optional[builtins.str] = None,
|
|
28938
29094
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -29181,6 +29337,7 @@ def _typecheckingstub__04dd97f4b18c00e7ee0981f2428664401ae0b75dbda6102ea3ef53d08
|
|
|
29181
29337
|
function_name: typing.Optional[builtins.str] = None,
|
|
29182
29338
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
29183
29339
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
29340
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
29184
29341
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
29185
29342
|
log_format: typing.Optional[builtins.str] = None,
|
|
29186
29343
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -29421,6 +29578,7 @@ def _typecheckingstub__e7b766bff13bb7266787cec9bebb600187e19c1672e530bb9cfa31649
|
|
|
29421
29578
|
function_name: typing.Optional[builtins.str] = None,
|
|
29422
29579
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
29423
29580
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
29581
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
29424
29582
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
29425
29583
|
log_format: typing.Optional[builtins.str] = None,
|
|
29426
29584
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -29624,6 +29782,7 @@ def _typecheckingstub__724895b6b59aaf2b678ef25f2beca19fb114fc04ff6b37edef28e12b3
|
|
|
29624
29782
|
function_name: typing.Optional[builtins.str] = None,
|
|
29625
29783
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
29626
29784
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
29785
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
29627
29786
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
29628
29787
|
log_format: typing.Optional[builtins.str] = None,
|
|
29629
29788
|
logging_format: typing.Optional[LoggingFormat] = None,
|
|
@@ -29764,6 +29923,7 @@ def _typecheckingstub__368a49fe1f866c7ea7986c57b6f8488d0fddea8f62bf05ec1ed7eb09b
|
|
|
29764
29923
|
function_name: typing.Optional[builtins.str] = None,
|
|
29765
29924
|
initial_policy: typing.Optional[typing.Sequence[_PolicyStatement_0fe33853]] = None,
|
|
29766
29925
|
insights_version: typing.Optional[LambdaInsightsVersion] = None,
|
|
29926
|
+
ipv6_allowed_for_dual_stack: typing.Optional[builtins.bool] = None,
|
|
29767
29927
|
layers: typing.Optional[typing.Sequence[ILayerVersion]] = None,
|
|
29768
29928
|
log_format: typing.Optional[builtins.str] = None,
|
|
29769
29929
|
logging_format: typing.Optional[LoggingFormat] = None,
|