aws-cdk-lib 2.153.0__py3-none-any.whl → 2.154.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.
- aws_cdk/__init__.py +157 -215
- aws_cdk/_jsii/__init__.py +2 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.153.0.jsii.tgz → aws-cdk-lib@2.154.1.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +3 -3
- aws_cdk/aws_accessanalyzer/__init__.py +5 -5
- aws_cdk/aws_acmpca/__init__.py +79 -24
- aws_cdk/aws_amazonmq/__init__.py +161 -161
- aws_cdk/aws_amplify/__init__.py +36 -36
- aws_cdk/aws_amplifyuibuilder/__init__.py +32 -32
- aws_cdk/aws_apigateway/__init__.py +122 -122
- aws_cdk/aws_apigatewayv2/__init__.py +143 -130
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +12 -12
- aws_cdk/aws_appconfig/__init__.py +59 -59
- aws_cdk/aws_appflow/__init__.py +20 -20
- aws_cdk/aws_appintegrations/__init__.py +19 -19
- aws_cdk/aws_applicationautoscaling/__init__.py +31 -16
- aws_cdk/aws_applicationinsights/__init__.py +11 -11
- aws_cdk/aws_applicationsignals/__init__.py +5 -5
- aws_cdk/aws_appmesh/__init__.py +35 -35
- aws_cdk/aws_apprunner/__init__.py +25 -25
- aws_cdk/aws_appstream/__init__.py +105 -105
- aws_cdk/aws_appsync/__init__.py +89 -89
- aws_cdk/aws_apptest/__init__.py +25 -25
- aws_cdk/aws_aps/__init__.py +14 -14
- aws_cdk/aws_arczonalshift/__init__.py +200 -3
- aws_cdk/aws_athena/__init__.py +25 -25
- aws_cdk/aws_auditmanager/__init__.py +15 -15
- aws_cdk/aws_autoscaling/__init__.py +84 -84
- aws_cdk/aws_autoscalingplans/__init__.py +2 -2
- aws_cdk/aws_b2bi/__init__.py +24 -24
- aws_cdk/aws_backup/__init__.py +33 -33
- aws_cdk/aws_backupgateway/__init__.py +7 -7
- aws_cdk/aws_batch/__init__.py +289 -35
- aws_cdk/aws_bcmdataexports/__init__.py +2 -2
- aws_cdk/aws_bedrock/__init__.py +15766 -3438
- aws_cdk/aws_billingconductor/__init__.py +28 -28
- aws_cdk/aws_budgets/__init__.py +12 -12
- aws_cdk/aws_cassandra/__init__.py +16 -16
- aws_cdk/aws_ce/__init__.py +17 -17
- aws_cdk/aws_certificatemanager/__init__.py +9 -9
- aws_cdk/aws_chatbot/__init__.py +22 -22
- aws_cdk/aws_cleanrooms/__init__.py +2470 -307
- aws_cdk/aws_cleanroomsml/__init__.py +5 -5
- aws_cdk/aws_cloud9/__init__.py +10 -10
- aws_cdk/aws_cloudformation/__init__.py +94 -69
- aws_cdk/aws_cloudfront/__init__.py +47 -33
- aws_cdk/aws_cloudtrail/__init__.py +46 -44
- aws_cdk/aws_cloudwatch/__init__.py +61 -69
- aws_cdk/aws_codeartifact/__init__.py +19 -19
- aws_cdk/aws_codebuild/__init__.py +99 -68
- aws_cdk/aws_codecommit/__init__.py +10 -6
- aws_cdk/aws_codeconnections/__init__.py +5 -5
- aws_cdk/aws_codedeploy/__init__.py +28 -28
- aws_cdk/aws_codeguruprofiler/__init__.py +5 -5
- aws_cdk/aws_codegurureviewer/__init__.py +6 -6
- aws_cdk/aws_codepipeline/__init__.py +849 -52
- aws_cdk/aws_codepipeline_actions/__init__.py +1 -1
- aws_cdk/aws_codestar/__init__.py +8 -8
- aws_cdk/aws_codestarconnections/__init__.py +17 -17
- aws_cdk/aws_codestarnotifications/__init__.py +10 -10
- aws_cdk/aws_cognito/__init__.py +465 -133
- aws_cdk/aws_comprehend/__init__.py +20 -20
- aws_cdk/aws_config/__init__.py +67 -67
- aws_cdk/aws_connect/__init__.py +139 -137
- aws_cdk/aws_connectcampaigns/__init__.py +5 -5
- aws_cdk/aws_controltower/__init__.py +12 -12
- aws_cdk/aws_cur/__init__.py +12 -12
- aws_cdk/aws_customerprofiles/__init__.py +36 -36
- aws_cdk/aws_databrew/__init__.py +45 -45
- aws_cdk/aws_datapipeline/__init__.py +12 -8
- aws_cdk/aws_datasync/__init__.py +119 -117
- aws_cdk/aws_datazone/__init__.py +63 -63
- aws_cdk/aws_dax/__init__.py +20 -20
- aws_cdk/aws_deadline/__init__.py +221 -292
- aws_cdk/aws_detective/__init__.py +8 -8
- aws_cdk/aws_devicefarm/__init__.py +37 -37
- aws_cdk/aws_devopsguru/__init__.py +2 -2
- aws_cdk/aws_directoryservice/__init__.py +15 -15
- aws_cdk/aws_dlm/__init__.py +12 -12
- aws_cdk/aws_dms/__init__.py +300 -298
- aws_cdk/aws_docdb/__init__.py +49 -49
- aws_cdk/aws_docdbelastic/__init__.py +14 -14
- aws_cdk/aws_dynamodb/__init__.py +371 -37
- aws_cdk/aws_ec2/__init__.py +914 -612
- aws_cdk/aws_ecr/__init__.py +117 -77
- aws_cdk/aws_ecr_assets/__init__.py +4 -4
- aws_cdk/aws_ecs/__init__.py +192 -191
- aws_cdk/aws_ecs_patterns/__init__.py +2 -2
- aws_cdk/aws_efs/__init__.py +22 -22
- aws_cdk/aws_eks/__init__.py +177 -61
- aws_cdk/aws_elasticache/__init__.py +218 -226
- aws_cdk/aws_elasticbeanstalk/__init__.py +25 -25
- aws_cdk/aws_elasticloadbalancing/__init__.py +16 -16
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1066 -102
- aws_cdk/aws_elasticloadbalancingv2_targets/__init__.py +86 -4
- aws_cdk/aws_elasticsearch/__init__.py +16 -16
- aws_cdk/aws_emr/__init__.py +74 -74
- aws_cdk/aws_emrcontainers/__init__.py +3 -3
- aws_cdk/aws_emrserverless/__init__.py +157 -14
- aws_cdk/aws_entityresolution/__init__.py +613 -35
- aws_cdk/aws_events/__init__.py +42 -42
- aws_cdk/aws_eventschemas/__init__.py +16 -16
- aws_cdk/aws_evidently/__init__.py +38 -38
- aws_cdk/aws_finspace/__init__.py +8 -8
- aws_cdk/aws_fis/__init__.py +12 -12
- aws_cdk/aws_fms/__init__.py +21 -21
- aws_cdk/aws_forecast/__init__.py +18 -11
- aws_cdk/aws_frauddetector/__init__.py +35 -35
- aws_cdk/aws_fsx/__init__.py +35 -35
- aws_cdk/aws_gamelift/__init__.py +155 -143
- aws_cdk/aws_globalaccelerator/__init__.py +46 -24
- aws_cdk/aws_glue/__init__.py +187 -143
- aws_cdk/aws_grafana/__init__.py +17 -17
- aws_cdk/aws_greengrass/__init__.py +48 -48
- aws_cdk/aws_greengrassv2/__init__.py +10 -10
- aws_cdk/aws_groundstation/__init__.py +16 -16
- aws_cdk/aws_guardduty/__init__.py +40 -38
- aws_cdk/aws_healthimaging/__init__.py +3 -3
- aws_cdk/aws_healthlake/__init__.py +6 -6
- aws_cdk/aws_iam/__init__.py +120 -122
- aws_cdk/aws_identitystore/__init__.py +6 -6
- aws_cdk/aws_imagebuilder/__init__.py +98 -98
- aws_cdk/aws_inspector/__init__.py +8 -8
- aws_cdk/aws_inspectorv2/__init__.py +102 -97
- aws_cdk/aws_internetmonitor/__init__.py +12 -12
- aws_cdk/aws_iot/__init__.py +141 -141
- aws_cdk/aws_iot1click/__init__.py +9 -9
- aws_cdk/aws_iotanalytics/__init__.py +21 -21
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +2 -2
- aws_cdk/aws_iotevents/__init__.py +20 -20
- aws_cdk/aws_iotfleethub/__init__.py +4 -4
- aws_cdk/aws_iotfleetwise/__init__.py +45 -45
- aws_cdk/aws_iotsitewise/__init__.py +40 -40
- aws_cdk/aws_iotthingsgraph/__init__.py +2 -2
- aws_cdk/aws_iottwinmaker/__init__.py +34 -34
- aws_cdk/aws_iotwireless/__init__.py +66 -66
- aws_cdk/aws_ivs/__init__.py +490 -34
- aws_cdk/aws_ivschat/__init__.py +9 -9
- aws_cdk/aws_kafkaconnect/__init__.py +22 -22
- aws_cdk/aws_kendra/__init__.py +28 -28
- aws_cdk/aws_kendraranking/__init__.py +4 -4
- aws_cdk/aws_kinesis/__init__.py +8 -8
- aws_cdk/aws_kinesisanalytics/__init__.py +23 -23
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +15 -15
- aws_cdk/aws_kinesisfirehose/__init__.py +677 -18
- aws_cdk/aws_kinesisvideo/__init__.py +10 -10
- aws_cdk/aws_kms/__init__.py +20 -20
- aws_cdk/aws_lakeformation/__init__.py +36 -36
- aws_cdk/aws_lambda/__init__.py +174 -118
- aws_cdk/aws_launchwizard/__init__.py +508 -0
- aws_cdk/aws_lex/__init__.py +24 -24
- aws_cdk/aws_licensemanager/__init__.py +17 -17
- aws_cdk/aws_lightsail/__init__.py +90 -90
- aws_cdk/aws_location/__init__.py +41 -41
- aws_cdk/aws_logs/__init__.py +50 -50
- aws_cdk/aws_lookoutequipment/__init__.py +9 -9
- aws_cdk/aws_lookoutmetrics/__init__.py +10 -10
- aws_cdk/aws_lookoutvision/__init__.py +1 -1
- aws_cdk/aws_m2/__init__.py +20 -20
- aws_cdk/aws_macie/__init__.py +19 -19
- aws_cdk/aws_managedblockchain/__init__.py +10 -10
- aws_cdk/aws_mediaconnect/__init__.py +114 -77
- aws_cdk/aws_mediaconvert/__init__.py +20 -20
- aws_cdk/aws_medialive/__init__.py +49 -40
- aws_cdk/aws_mediapackage/__init__.py +38 -38
- aws_cdk/aws_mediapackagev2/__init__.py +178 -25
- aws_cdk/aws_mediastore/__init__.py +7 -7
- aws_cdk/aws_mediatailor/__init__.py +40 -40
- aws_cdk/aws_memorydb/__init__.py +41 -41
- aws_cdk/aws_msk/__init__.py +127 -39
- aws_cdk/aws_mwaa/__init__.py +25 -25
- aws_cdk/aws_neptune/__init__.py +55 -55
- aws_cdk/aws_neptunegraph/__init__.py +11 -11
- aws_cdk/aws_networkfirewall/__init__.py +36 -30
- aws_cdk/aws_networkmanager/__init__.py +1062 -91
- aws_cdk/aws_nimblestudio/__init__.py +31 -31
- aws_cdk/aws_oam/__init__.py +8 -8
- aws_cdk/aws_omics/__init__.py +36 -36
- aws_cdk/aws_opensearchserverless/__init__.py +25 -25
- aws_cdk/aws_opensearchservice/__init__.py +20 -20
- aws_cdk/aws_opsworks/__init__.py +87 -87
- aws_cdk/aws_opsworkscm/__init__.py +21 -21
- aws_cdk/aws_organizations/__init__.py +17 -17
- aws_cdk/aws_osis/__init__.py +122 -9
- aws_cdk/aws_panorama/__init__.py +27 -22
- aws_cdk/aws_paymentcryptography/__init__.py +7 -7
- aws_cdk/aws_pcaconnectorad/__init__.py +17 -17
- aws_cdk/aws_personalize/__init__.py +19 -19
- aws_cdk/aws_pinpoint/__init__.py +122 -122
- aws_cdk/aws_pinpointemail/__init__.py +16 -16
- aws_cdk/aws_pipes/__init__.py +14 -16
- aws_cdk/aws_proton/__init__.py +19 -19
- aws_cdk/aws_qbusiness/__init__.py +160 -45
- aws_cdk/aws_qldb/__init__.py +12 -12
- aws_cdk/aws_quicksight/__init__.py +91 -91
- aws_cdk/aws_ram/__init__.py +11 -11
- aws_cdk/aws_rds/__init__.py +365 -259
- aws_cdk/aws_redshift/__init__.py +136 -91
- aws_cdk/aws_redshiftserverless/__init__.py +27 -27
- aws_cdk/aws_refactorspaces/__init__.py +26 -26
- aws_cdk/aws_rekognition/__init__.py +16 -16
- aws_cdk/aws_resiliencehub/__init__.py +15 -15
- aws_cdk/aws_resourceexplorer2/__init__.py +8 -8
- aws_cdk/aws_resourcegroups/__init__.py +6 -6
- aws_cdk/aws_robomaker/__init__.py +25 -25
- aws_cdk/aws_rolesanywhere/__init__.py +67 -19
- aws_cdk/aws_route53/__init__.py +36 -36
- aws_cdk/aws_route53profiles/__init__.py +11 -11
- aws_cdk/aws_route53recoverycontrol/__init__.py +14 -14
- aws_cdk/aws_route53recoveryreadiness/__init__.py +13 -13
- aws_cdk/aws_route53resolver/__init__.py +123 -82
- aws_cdk/aws_rum/__init__.py +6 -6
- aws_cdk/aws_s3/__init__.py +136 -80
- aws_cdk/aws_s3_deployment/__init__.py +30 -24
- aws_cdk/aws_s3_notifications/__init__.py +3 -4
- aws_cdk/aws_s3express/__init__.py +5 -5
- aws_cdk/aws_s3objectlambda/__init__.py +6 -6
- aws_cdk/aws_s3outposts/__init__.py +16 -16
- aws_cdk/aws_sagemaker/__init__.py +2414 -282
- aws_cdk/aws_sam/__init__.py +101 -101
- aws_cdk/aws_scheduler/__init__.py +13 -13
- aws_cdk/aws_sdb/__init__.py +1 -1
- aws_cdk/aws_secretsmanager/__init__.py +20 -19
- aws_cdk/aws_securityhub/__init__.py +70 -57
- aws_cdk/aws_securitylake/__init__.py +341 -16
- aws_cdk/aws_servicecatalog/__init__.py +87 -87
- aws_cdk/aws_servicecatalogappregistry/__init__.py +12 -12
- aws_cdk/aws_servicediscovery/__init__.py +23 -23
- aws_cdk/aws_ses/__init__.py +12038 -5604
- aws_cdk/aws_shield/__init__.py +15 -15
- aws_cdk/aws_signer/__init__.py +9 -9
- aws_cdk/aws_simspaceweaver/__init__.py +5 -5
- aws_cdk/aws_sns/__init__.py +28 -28
- aws_cdk/aws_sqs/__init__.py +20 -20
- aws_cdk/aws_ssm/__init__.py +176 -105
- aws_cdk/aws_ssmcontacts/__init__.py +18 -18
- aws_cdk/aws_ssmincidents/__init__.py +11 -11
- aws_cdk/aws_sso/__init__.py +31 -31
- aws_cdk/aws_stepfunctions/__init__.py +370 -28
- aws_cdk/aws_supportapp/__init__.py +11 -11
- aws_cdk/aws_synthetics/__init__.py +18 -18
- aws_cdk/aws_systemsmanagersap/__init__.py +48 -7
- aws_cdk/aws_timestream/__init__.py +34 -34
- aws_cdk/aws_transfer/__init__.py +57 -57
- aws_cdk/aws_verifiedpermissions/__init__.py +11 -11
- aws_cdk/aws_voiceid/__init__.py +4 -4
- aws_cdk/aws_vpclattice/__init__.py +42 -42
- aws_cdk/aws_waf/__init__.py +17 -17
- aws_cdk/aws_wafregional/__init__.py +28 -28
- aws_cdk/aws_wafv2/__init__.py +39 -39
- aws_cdk/aws_wisdom/__init__.py +16 -16
- aws_cdk/aws_workspaces/__init__.py +18 -18
- aws_cdk/aws_workspacesthinclient/__init__.py +63 -9
- aws_cdk/aws_workspacesweb/__init__.py +87 -46
- aws_cdk/aws_xray/__init__.py +12 -12
- aws_cdk/cloud_assembly_schema/__init__.py +348 -239
- aws_cdk/custom_resources/__init__.py +289 -0
- aws_cdk/cx_api/__init__.py +15 -15
- aws_cdk/pipelines/__init__.py +172 -237
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/METADATA +3 -2
- aws_cdk_lib-2.154.1.dist-info/RECORD +292 -0
- aws_cdk_lib-2.153.0.dist-info/RECORD +0 -291
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.153.0.dist-info → aws_cdk_lib-2.154.1.dist-info}/top_level.txt +0 -0
aws_cdk/aws_lambda/__init__.py
CHANGED
|
@@ -3034,12 +3034,13 @@ class CfnAlias(
|
|
|
3034
3034
|
return typing.cast(builtins.str, jsii.sget(cls, "CFN_RESOURCE_TYPE_NAME"))
|
|
3035
3035
|
|
|
3036
3036
|
@builtins.property
|
|
3037
|
-
@jsii.member(jsii_name="
|
|
3038
|
-
def
|
|
3039
|
-
'''
|
|
3040
|
-
|
|
3037
|
+
@jsii.member(jsii_name="attrAliasArn")
|
|
3038
|
+
def attr_alias_arn(self) -> builtins.str:
|
|
3039
|
+
'''The Amazon Resource Name (ARN) of the alias.
|
|
3040
|
+
|
|
3041
|
+
:cloudformationAttribute: AliasArn
|
|
3041
3042
|
'''
|
|
3042
|
-
return typing.cast(builtins.str, jsii.get(self, "
|
|
3043
|
+
return typing.cast(builtins.str, jsii.get(self, "attrAliasArn"))
|
|
3043
3044
|
|
|
3044
3045
|
@builtins.property
|
|
3045
3046
|
@jsii.member(jsii_name="cfnProperties")
|
|
@@ -3057,7 +3058,7 @@ class CfnAlias(
|
|
|
3057
3058
|
if __debug__:
|
|
3058
3059
|
type_hints = typing.get_type_hints(_typecheckingstub__f067ace8c43eedf007910f5f14492d64963599dbdd0ffec0108edfa512e589b8)
|
|
3059
3060
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3060
|
-
jsii.set(self, "functionName", value)
|
|
3061
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
3061
3062
|
|
|
3062
3063
|
@builtins.property
|
|
3063
3064
|
@jsii.member(jsii_name="functionVersion")
|
|
@@ -3070,7 +3071,7 @@ class CfnAlias(
|
|
|
3070
3071
|
if __debug__:
|
|
3071
3072
|
type_hints = typing.get_type_hints(_typecheckingstub__6b2ddeca57766bd54f58a827a23c3fbf1bd440bb65695c5a2a7d12b0f6f67301)
|
|
3072
3073
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3073
|
-
jsii.set(self, "functionVersion", value)
|
|
3074
|
+
jsii.set(self, "functionVersion", value) # pyright: ignore[reportArgumentType]
|
|
3074
3075
|
|
|
3075
3076
|
@builtins.property
|
|
3076
3077
|
@jsii.member(jsii_name="name")
|
|
@@ -3083,7 +3084,7 @@ class CfnAlias(
|
|
|
3083
3084
|
if __debug__:
|
|
3084
3085
|
type_hints = typing.get_type_hints(_typecheckingstub__9a9ccb417a1dffcbc53b65cf21c87acfcd6f0963b3703129d5885a2ca11a9ddd)
|
|
3085
3086
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3086
|
-
jsii.set(self, "name", value)
|
|
3087
|
+
jsii.set(self, "name", value) # pyright: ignore[reportArgumentType]
|
|
3087
3088
|
|
|
3088
3089
|
@builtins.property
|
|
3089
3090
|
@jsii.member(jsii_name="description")
|
|
@@ -3096,7 +3097,7 @@ class CfnAlias(
|
|
|
3096
3097
|
if __debug__:
|
|
3097
3098
|
type_hints = typing.get_type_hints(_typecheckingstub__33cbeeca7420fade9e2c53654443f9ea6c3e1e129b2edb1ff6438a6f240660f9)
|
|
3098
3099
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3099
|
-
jsii.set(self, "description", value)
|
|
3100
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
3100
3101
|
|
|
3101
3102
|
@builtins.property
|
|
3102
3103
|
@jsii.member(jsii_name="provisionedConcurrencyConfig")
|
|
@@ -3114,7 +3115,7 @@ class CfnAlias(
|
|
|
3114
3115
|
if __debug__:
|
|
3115
3116
|
type_hints = typing.get_type_hints(_typecheckingstub__a958bc2b3267e229d2253296cdbb66337d157b0c6e2ec1711eb372278993a948)
|
|
3116
3117
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3117
|
-
jsii.set(self, "provisionedConcurrencyConfig", value)
|
|
3118
|
+
jsii.set(self, "provisionedConcurrencyConfig", value) # pyright: ignore[reportArgumentType]
|
|
3118
3119
|
|
|
3119
3120
|
@builtins.property
|
|
3120
3121
|
@jsii.member(jsii_name="routingConfig")
|
|
@@ -3132,7 +3133,7 @@ class CfnAlias(
|
|
|
3132
3133
|
if __debug__:
|
|
3133
3134
|
type_hints = typing.get_type_hints(_typecheckingstub__7525467ed4a8de7249cf79d24091ae59273412647fd30558b48ead6b615e5f51)
|
|
3134
3135
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3135
|
-
jsii.set(self, "routingConfig", value)
|
|
3136
|
+
jsii.set(self, "routingConfig", value) # pyright: ignore[reportArgumentType]
|
|
3136
3137
|
|
|
3137
3138
|
@jsii.data_type(
|
|
3138
3139
|
jsii_type="aws-cdk-lib.aws_lambda.CfnAlias.AliasRoutingConfigurationProperty",
|
|
@@ -3143,7 +3144,7 @@ class CfnAlias(
|
|
|
3143
3144
|
def __init__(
|
|
3144
3145
|
self,
|
|
3145
3146
|
*,
|
|
3146
|
-
additional_version_weights: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAlias.VersionWeightProperty", typing.Dict[builtins.str, typing.Any]]]]],
|
|
3147
|
+
additional_version_weights: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union["CfnAlias.VersionWeightProperty", typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
3147
3148
|
) -> None:
|
|
3148
3149
|
'''The `traffic-shifting <https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html>`_ configuration of a Lambda function alias.
|
|
3149
3150
|
|
|
@@ -3168,21 +3169,20 @@ class CfnAlias(
|
|
|
3168
3169
|
if __debug__:
|
|
3169
3170
|
type_hints = typing.get_type_hints(_typecheckingstub__6cdf547e432e98f71c10bd59a276cb1a69fa82898a8f92c15fff9c69bf506ce0)
|
|
3170
3171
|
check_type(argname="argument additional_version_weights", value=additional_version_weights, expected_type=type_hints["additional_version_weights"])
|
|
3171
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
3172
|
-
|
|
3173
|
-
|
|
3172
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
3173
|
+
if additional_version_weights is not None:
|
|
3174
|
+
self._values["additional_version_weights"] = additional_version_weights
|
|
3174
3175
|
|
|
3175
3176
|
@builtins.property
|
|
3176
3177
|
def additional_version_weights(
|
|
3177
3178
|
self,
|
|
3178
|
-
) -> typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAlias.VersionWeightProperty"]]]:
|
|
3179
|
+
) -> typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAlias.VersionWeightProperty"]]]]:
|
|
3179
3180
|
'''The second version, and the percentage of traffic that's routed to it.
|
|
3180
3181
|
|
|
3181
3182
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-alias-aliasroutingconfiguration.html#cfn-lambda-alias-aliasroutingconfiguration-additionalversionweights
|
|
3182
3183
|
'''
|
|
3183
3184
|
result = self._values.get("additional_version_weights")
|
|
3184
|
-
|
|
3185
|
-
return typing.cast(typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAlias.VersionWeightProperty"]]], result)
|
|
3185
|
+
return typing.cast(typing.Optional[typing.Union[_IResolvable_da3f097b, typing.List[typing.Union[_IResolvable_da3f097b, "CfnAlias.VersionWeightProperty"]]]], result)
|
|
3186
3186
|
|
|
3187
3187
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
3188
3188
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -3611,7 +3611,7 @@ class CfnCodeSigningConfig(
|
|
|
3611
3611
|
if __debug__:
|
|
3612
3612
|
type_hints = typing.get_type_hints(_typecheckingstub__9bdbcfbe2ec024e11d4aa4a7f377a3ccf0e4dee3dbe6d9fe92735973e52807e0)
|
|
3613
3613
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3614
|
-
jsii.set(self, "allowedPublishers", value)
|
|
3614
|
+
jsii.set(self, "allowedPublishers", value) # pyright: ignore[reportArgumentType]
|
|
3615
3615
|
|
|
3616
3616
|
@builtins.property
|
|
3617
3617
|
@jsii.member(jsii_name="codeSigningPolicies")
|
|
@@ -3629,7 +3629,7 @@ class CfnCodeSigningConfig(
|
|
|
3629
3629
|
if __debug__:
|
|
3630
3630
|
type_hints = typing.get_type_hints(_typecheckingstub__a765b217f65bf891367822f789aa6352de94fbe3b47883e28a1b13ebfcc06fc8)
|
|
3631
3631
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3632
|
-
jsii.set(self, "codeSigningPolicies", value)
|
|
3632
|
+
jsii.set(self, "codeSigningPolicies", value) # pyright: ignore[reportArgumentType]
|
|
3633
3633
|
|
|
3634
3634
|
@builtins.property
|
|
3635
3635
|
@jsii.member(jsii_name="description")
|
|
@@ -3642,7 +3642,7 @@ class CfnCodeSigningConfig(
|
|
|
3642
3642
|
if __debug__:
|
|
3643
3643
|
type_hints = typing.get_type_hints(_typecheckingstub__2f4fd9a03a33998a08340df7c2ba638ae623513bc416c7f5fd4c5a48e5e2df47)
|
|
3644
3644
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3645
|
-
jsii.set(self, "description", value)
|
|
3645
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
3646
3646
|
|
|
3647
3647
|
@jsii.data_type(
|
|
3648
3648
|
jsii_type="aws-cdk-lib.aws_lambda.CfnCodeSigningConfig.AllowedPublishersProperty",
|
|
@@ -3982,7 +3982,7 @@ class CfnEventInvokeConfig(
|
|
|
3982
3982
|
if __debug__:
|
|
3983
3983
|
type_hints = typing.get_type_hints(_typecheckingstub__d970b6f2d883552778b4e43cb6b1092944e8bd2a1ffb21fd476f528028d7eb54)
|
|
3984
3984
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3985
|
-
jsii.set(self, "functionName", value)
|
|
3985
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
3986
3986
|
|
|
3987
3987
|
@builtins.property
|
|
3988
3988
|
@jsii.member(jsii_name="qualifier")
|
|
@@ -3995,7 +3995,7 @@ class CfnEventInvokeConfig(
|
|
|
3995
3995
|
if __debug__:
|
|
3996
3996
|
type_hints = typing.get_type_hints(_typecheckingstub__2ce1d3a4eaa0093ffe4460407606714aac7cbce8d436264b0c50accaff3dda56)
|
|
3997
3997
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
3998
|
-
jsii.set(self, "qualifier", value)
|
|
3998
|
+
jsii.set(self, "qualifier", value) # pyright: ignore[reportArgumentType]
|
|
3999
3999
|
|
|
4000
4000
|
@builtins.property
|
|
4001
4001
|
@jsii.member(jsii_name="destinationConfig")
|
|
@@ -4013,7 +4013,7 @@ class CfnEventInvokeConfig(
|
|
|
4013
4013
|
if __debug__:
|
|
4014
4014
|
type_hints = typing.get_type_hints(_typecheckingstub__07a740f6e4de90b7e4fc9ea661a30309dea4d28202f3a3214fa5ece3946e15b2)
|
|
4015
4015
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4016
|
-
jsii.set(self, "destinationConfig", value)
|
|
4016
|
+
jsii.set(self, "destinationConfig", value) # pyright: ignore[reportArgumentType]
|
|
4017
4017
|
|
|
4018
4018
|
@builtins.property
|
|
4019
4019
|
@jsii.member(jsii_name="maximumEventAgeInSeconds")
|
|
@@ -4026,7 +4026,7 @@ class CfnEventInvokeConfig(
|
|
|
4026
4026
|
if __debug__:
|
|
4027
4027
|
type_hints = typing.get_type_hints(_typecheckingstub__f91c293249696b2c6fbb6213764ab137fe93fdc710542158aa261b1c0bed577b)
|
|
4028
4028
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4029
|
-
jsii.set(self, "maximumEventAgeInSeconds", value)
|
|
4029
|
+
jsii.set(self, "maximumEventAgeInSeconds", value) # pyright: ignore[reportArgumentType]
|
|
4030
4030
|
|
|
4031
4031
|
@builtins.property
|
|
4032
4032
|
@jsii.member(jsii_name="maximumRetryAttempts")
|
|
@@ -4039,7 +4039,7 @@ class CfnEventInvokeConfig(
|
|
|
4039
4039
|
if __debug__:
|
|
4040
4040
|
type_hints = typing.get_type_hints(_typecheckingstub__7f4209ac8600c2a8a1bdc6dc5883ae254a78ad77d828e62cd4984fc618672b76)
|
|
4041
4041
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4042
|
-
jsii.set(self, "maximumRetryAttempts", value)
|
|
4042
|
+
jsii.set(self, "maximumRetryAttempts", value) # pyright: ignore[reportArgumentType]
|
|
4043
4043
|
|
|
4044
4044
|
@jsii.data_type(
|
|
4045
4045
|
jsii_type="aws-cdk-lib.aws_lambda.CfnEventInvokeConfig.DestinationConfigProperty",
|
|
@@ -4611,7 +4611,7 @@ class CfnEventSourceMapping(
|
|
|
4611
4611
|
if __debug__:
|
|
4612
4612
|
type_hints = typing.get_type_hints(_typecheckingstub__62cda4d270a4340245d02bee55679c5d220663a0bda750ffc6b4672dec3a6f5b)
|
|
4613
4613
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4614
|
-
jsii.set(self, "functionName", value)
|
|
4614
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
4615
4615
|
|
|
4616
4616
|
@builtins.property
|
|
4617
4617
|
@jsii.member(jsii_name="amazonManagedKafkaEventSourceConfig")
|
|
@@ -4629,7 +4629,7 @@ class CfnEventSourceMapping(
|
|
|
4629
4629
|
if __debug__:
|
|
4630
4630
|
type_hints = typing.get_type_hints(_typecheckingstub__233d764d5ec4392f85e17319f53d7f6cc4067ccb274960b08fca3eafb9c77754)
|
|
4631
4631
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4632
|
-
jsii.set(self, "amazonManagedKafkaEventSourceConfig", value)
|
|
4632
|
+
jsii.set(self, "amazonManagedKafkaEventSourceConfig", value) # pyright: ignore[reportArgumentType]
|
|
4633
4633
|
|
|
4634
4634
|
@builtins.property
|
|
4635
4635
|
@jsii.member(jsii_name="batchSize")
|
|
@@ -4642,7 +4642,7 @@ class CfnEventSourceMapping(
|
|
|
4642
4642
|
if __debug__:
|
|
4643
4643
|
type_hints = typing.get_type_hints(_typecheckingstub__508a7787e5c30c8dd1e159cdbe8b8a12a49828aa6930f2a138ae3ecdfa6cb9bf)
|
|
4644
4644
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4645
|
-
jsii.set(self, "batchSize", value)
|
|
4645
|
+
jsii.set(self, "batchSize", value) # pyright: ignore[reportArgumentType]
|
|
4646
4646
|
|
|
4647
4647
|
@builtins.property
|
|
4648
4648
|
@jsii.member(jsii_name="bisectBatchOnFunctionError")
|
|
@@ -4660,7 +4660,7 @@ class CfnEventSourceMapping(
|
|
|
4660
4660
|
if __debug__:
|
|
4661
4661
|
type_hints = typing.get_type_hints(_typecheckingstub__66e2f20929a797c8075830f4ba3b2b69a933a7156ee29e476bb0e6ab51bd7773)
|
|
4662
4662
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4663
|
-
jsii.set(self, "bisectBatchOnFunctionError", value)
|
|
4663
|
+
jsii.set(self, "bisectBatchOnFunctionError", value) # pyright: ignore[reportArgumentType]
|
|
4664
4664
|
|
|
4665
4665
|
@builtins.property
|
|
4666
4666
|
@jsii.member(jsii_name="destinationConfig")
|
|
@@ -4678,7 +4678,7 @@ class CfnEventSourceMapping(
|
|
|
4678
4678
|
if __debug__:
|
|
4679
4679
|
type_hints = typing.get_type_hints(_typecheckingstub__4ef86f269722ebd1d0b07f5394393f897ab44755b8f3c66d64b760c718d22522)
|
|
4680
4680
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4681
|
-
jsii.set(self, "destinationConfig", value)
|
|
4681
|
+
jsii.set(self, "destinationConfig", value) # pyright: ignore[reportArgumentType]
|
|
4682
4682
|
|
|
4683
4683
|
@builtins.property
|
|
4684
4684
|
@jsii.member(jsii_name="documentDbEventSourceConfig")
|
|
@@ -4696,7 +4696,7 @@ class CfnEventSourceMapping(
|
|
|
4696
4696
|
if __debug__:
|
|
4697
4697
|
type_hints = typing.get_type_hints(_typecheckingstub__882060edb289a46d9c4b6ceb5996d087250387c92842a4cd33fc60bd9fe03b6a)
|
|
4698
4698
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4699
|
-
jsii.set(self, "documentDbEventSourceConfig", value)
|
|
4699
|
+
jsii.set(self, "documentDbEventSourceConfig", value) # pyright: ignore[reportArgumentType]
|
|
4700
4700
|
|
|
4701
4701
|
@builtins.property
|
|
4702
4702
|
@jsii.member(jsii_name="enabled")
|
|
@@ -4714,7 +4714,7 @@ class CfnEventSourceMapping(
|
|
|
4714
4714
|
if __debug__:
|
|
4715
4715
|
type_hints = typing.get_type_hints(_typecheckingstub__335aaf4ac58e917092578e94eea7b9439ca7a0365c948efd390845cdd23ba119)
|
|
4716
4716
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4717
|
-
jsii.set(self, "enabled", value)
|
|
4717
|
+
jsii.set(self, "enabled", value) # pyright: ignore[reportArgumentType]
|
|
4718
4718
|
|
|
4719
4719
|
@builtins.property
|
|
4720
4720
|
@jsii.member(jsii_name="eventSourceArn")
|
|
@@ -4727,7 +4727,7 @@ class CfnEventSourceMapping(
|
|
|
4727
4727
|
if __debug__:
|
|
4728
4728
|
type_hints = typing.get_type_hints(_typecheckingstub__80b34f80eeedc94f1aee7ad64b8a70c75cfc60660449680c9f3576ad3c3cb527)
|
|
4729
4729
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4730
|
-
jsii.set(self, "eventSourceArn", value)
|
|
4730
|
+
jsii.set(self, "eventSourceArn", value) # pyright: ignore[reportArgumentType]
|
|
4731
4731
|
|
|
4732
4732
|
@builtins.property
|
|
4733
4733
|
@jsii.member(jsii_name="filterCriteria")
|
|
@@ -4745,7 +4745,7 @@ class CfnEventSourceMapping(
|
|
|
4745
4745
|
if __debug__:
|
|
4746
4746
|
type_hints = typing.get_type_hints(_typecheckingstub__c72364a986837059e36a836853d19e31b439e0fdf4870137207ee5b4529f4096)
|
|
4747
4747
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4748
|
-
jsii.set(self, "filterCriteria", value)
|
|
4748
|
+
jsii.set(self, "filterCriteria", value) # pyright: ignore[reportArgumentType]
|
|
4749
4749
|
|
|
4750
4750
|
@builtins.property
|
|
4751
4751
|
@jsii.member(jsii_name="functionResponseTypes")
|
|
@@ -4761,7 +4761,7 @@ class CfnEventSourceMapping(
|
|
|
4761
4761
|
if __debug__:
|
|
4762
4762
|
type_hints = typing.get_type_hints(_typecheckingstub__d464545d76bb56469faf58591d3fb0044c464a1cdb5b122bf47e0b3ea6f06d6b)
|
|
4763
4763
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4764
|
-
jsii.set(self, "functionResponseTypes", value)
|
|
4764
|
+
jsii.set(self, "functionResponseTypes", value) # pyright: ignore[reportArgumentType]
|
|
4765
4765
|
|
|
4766
4766
|
@builtins.property
|
|
4767
4767
|
@jsii.member(jsii_name="kmsKeyArn")
|
|
@@ -4774,7 +4774,7 @@ class CfnEventSourceMapping(
|
|
|
4774
4774
|
if __debug__:
|
|
4775
4775
|
type_hints = typing.get_type_hints(_typecheckingstub__5110117b05ec57a413615f5bf30afd8bbafb2be839685cf0e158a1b4de420fbc)
|
|
4776
4776
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4777
|
-
jsii.set(self, "kmsKeyArn", value)
|
|
4777
|
+
jsii.set(self, "kmsKeyArn", value) # pyright: ignore[reportArgumentType]
|
|
4778
4778
|
|
|
4779
4779
|
@builtins.property
|
|
4780
4780
|
@jsii.member(jsii_name="maximumBatchingWindowInSeconds")
|
|
@@ -4790,7 +4790,7 @@ class CfnEventSourceMapping(
|
|
|
4790
4790
|
if __debug__:
|
|
4791
4791
|
type_hints = typing.get_type_hints(_typecheckingstub__e0ab317a438123c62fee46e89709c7bb879475c514910f3928a4fa4a397f556a)
|
|
4792
4792
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4793
|
-
jsii.set(self, "maximumBatchingWindowInSeconds", value)
|
|
4793
|
+
jsii.set(self, "maximumBatchingWindowInSeconds", value) # pyright: ignore[reportArgumentType]
|
|
4794
4794
|
|
|
4795
4795
|
@builtins.property
|
|
4796
4796
|
@jsii.member(jsii_name="maximumRecordAgeInSeconds")
|
|
@@ -4806,7 +4806,7 @@ class CfnEventSourceMapping(
|
|
|
4806
4806
|
if __debug__:
|
|
4807
4807
|
type_hints = typing.get_type_hints(_typecheckingstub__dfbdec0cb3a2cf560ac8c17fad9deb0c3a42555935890c3122898a84f9cb3388)
|
|
4808
4808
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4809
|
-
jsii.set(self, "maximumRecordAgeInSeconds", value)
|
|
4809
|
+
jsii.set(self, "maximumRecordAgeInSeconds", value) # pyright: ignore[reportArgumentType]
|
|
4810
4810
|
|
|
4811
4811
|
@builtins.property
|
|
4812
4812
|
@jsii.member(jsii_name="maximumRetryAttempts")
|
|
@@ -4819,7 +4819,7 @@ class CfnEventSourceMapping(
|
|
|
4819
4819
|
if __debug__:
|
|
4820
4820
|
type_hints = typing.get_type_hints(_typecheckingstub__a60193f9ed8d7dcd9bc683d028f84f3d0c6fb607f147841953590623707286cd)
|
|
4821
4821
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4822
|
-
jsii.set(self, "maximumRetryAttempts", value)
|
|
4822
|
+
jsii.set(self, "maximumRetryAttempts", value) # pyright: ignore[reportArgumentType]
|
|
4823
4823
|
|
|
4824
4824
|
@builtins.property
|
|
4825
4825
|
@jsii.member(jsii_name="parallelizationFactor")
|
|
@@ -4832,7 +4832,7 @@ class CfnEventSourceMapping(
|
|
|
4832
4832
|
if __debug__:
|
|
4833
4833
|
type_hints = typing.get_type_hints(_typecheckingstub__17acebc79ed7e47bc94cbde42ca0c3c5cd8e8a67cc8a4a4de03ec16a17dc2809)
|
|
4834
4834
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4835
|
-
jsii.set(self, "parallelizationFactor", value)
|
|
4835
|
+
jsii.set(self, "parallelizationFactor", value) # pyright: ignore[reportArgumentType]
|
|
4836
4836
|
|
|
4837
4837
|
@builtins.property
|
|
4838
4838
|
@jsii.member(jsii_name="queues")
|
|
@@ -4845,7 +4845,7 @@ class CfnEventSourceMapping(
|
|
|
4845
4845
|
if __debug__:
|
|
4846
4846
|
type_hints = typing.get_type_hints(_typecheckingstub__bbc5553ea55233b7a90d42308957e6684e5ee0076ede814be650457e0b146701)
|
|
4847
4847
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4848
|
-
jsii.set(self, "queues", value)
|
|
4848
|
+
jsii.set(self, "queues", value) # pyright: ignore[reportArgumentType]
|
|
4849
4849
|
|
|
4850
4850
|
@builtins.property
|
|
4851
4851
|
@jsii.member(jsii_name="scalingConfig")
|
|
@@ -4863,7 +4863,7 @@ class CfnEventSourceMapping(
|
|
|
4863
4863
|
if __debug__:
|
|
4864
4864
|
type_hints = typing.get_type_hints(_typecheckingstub__1bd15b2a9fc8690809ee4226401692bd7666f069a0af6a98c56ccac182d01bbd)
|
|
4865
4865
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4866
|
-
jsii.set(self, "scalingConfig", value)
|
|
4866
|
+
jsii.set(self, "scalingConfig", value) # pyright: ignore[reportArgumentType]
|
|
4867
4867
|
|
|
4868
4868
|
@builtins.property
|
|
4869
4869
|
@jsii.member(jsii_name="selfManagedEventSource")
|
|
@@ -4881,7 +4881,7 @@ class CfnEventSourceMapping(
|
|
|
4881
4881
|
if __debug__:
|
|
4882
4882
|
type_hints = typing.get_type_hints(_typecheckingstub__15f5a09c4e7c4882e5dd5f88d18a0698fbb755bbebbd097310ad730d1aacb102)
|
|
4883
4883
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4884
|
-
jsii.set(self, "selfManagedEventSource", value)
|
|
4884
|
+
jsii.set(self, "selfManagedEventSource", value) # pyright: ignore[reportArgumentType]
|
|
4885
4885
|
|
|
4886
4886
|
@builtins.property
|
|
4887
4887
|
@jsii.member(jsii_name="selfManagedKafkaEventSourceConfig")
|
|
@@ -4899,7 +4899,7 @@ class CfnEventSourceMapping(
|
|
|
4899
4899
|
if __debug__:
|
|
4900
4900
|
type_hints = typing.get_type_hints(_typecheckingstub__17bcf58d3b47186861370700f8542dc2f8d90ca869836ac1190e0846d32ee199)
|
|
4901
4901
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4902
|
-
jsii.set(self, "selfManagedKafkaEventSourceConfig", value)
|
|
4902
|
+
jsii.set(self, "selfManagedKafkaEventSourceConfig", value) # pyright: ignore[reportArgumentType]
|
|
4903
4903
|
|
|
4904
4904
|
@builtins.property
|
|
4905
4905
|
@jsii.member(jsii_name="sourceAccessConfigurations")
|
|
@@ -4917,7 +4917,7 @@ class CfnEventSourceMapping(
|
|
|
4917
4917
|
if __debug__:
|
|
4918
4918
|
type_hints = typing.get_type_hints(_typecheckingstub__154d952f087be022c948a51daee6d069392148a886ae7ab449b53c66e12c44d3)
|
|
4919
4919
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4920
|
-
jsii.set(self, "sourceAccessConfigurations", value)
|
|
4920
|
+
jsii.set(self, "sourceAccessConfigurations", value) # pyright: ignore[reportArgumentType]
|
|
4921
4921
|
|
|
4922
4922
|
@builtins.property
|
|
4923
4923
|
@jsii.member(jsii_name="startingPosition")
|
|
@@ -4930,7 +4930,7 @@ class CfnEventSourceMapping(
|
|
|
4930
4930
|
if __debug__:
|
|
4931
4931
|
type_hints = typing.get_type_hints(_typecheckingstub__e598fcc2f5e7192268523ee29301060bfc5b2736e861d6244dce5b8094c1a272)
|
|
4932
4932
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4933
|
-
jsii.set(self, "startingPosition", value)
|
|
4933
|
+
jsii.set(self, "startingPosition", value) # pyright: ignore[reportArgumentType]
|
|
4934
4934
|
|
|
4935
4935
|
@builtins.property
|
|
4936
4936
|
@jsii.member(jsii_name="startingPositionTimestamp")
|
|
@@ -4943,7 +4943,7 @@ class CfnEventSourceMapping(
|
|
|
4943
4943
|
if __debug__:
|
|
4944
4944
|
type_hints = typing.get_type_hints(_typecheckingstub__10f6f0aa6f7059677d942d821b3f8eaff9518ebb8fa2fe5425168602895326df)
|
|
4945
4945
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4946
|
-
jsii.set(self, "startingPositionTimestamp", value)
|
|
4946
|
+
jsii.set(self, "startingPositionTimestamp", value) # pyright: ignore[reportArgumentType]
|
|
4947
4947
|
|
|
4948
4948
|
@builtins.property
|
|
4949
4949
|
@jsii.member(jsii_name="topics")
|
|
@@ -4956,7 +4956,7 @@ class CfnEventSourceMapping(
|
|
|
4956
4956
|
if __debug__:
|
|
4957
4957
|
type_hints = typing.get_type_hints(_typecheckingstub__d2153d23f0d0e6a947499030bcda617b9a68e9e84bccc6a23d9d65558f37bcac)
|
|
4958
4958
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4959
|
-
jsii.set(self, "topics", value)
|
|
4959
|
+
jsii.set(self, "topics", value) # pyright: ignore[reportArgumentType]
|
|
4960
4960
|
|
|
4961
4961
|
@builtins.property
|
|
4962
4962
|
@jsii.member(jsii_name="tumblingWindowInSeconds")
|
|
@@ -4969,7 +4969,7 @@ class CfnEventSourceMapping(
|
|
|
4969
4969
|
if __debug__:
|
|
4970
4970
|
type_hints = typing.get_type_hints(_typecheckingstub__9ba4e20a14a70ac72313ba360ce912878e7f45dfe5ecfef9725f227fcd8f1d3e)
|
|
4971
4971
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
4972
|
-
jsii.set(self, "tumblingWindowInSeconds", value)
|
|
4972
|
+
jsii.set(self, "tumblingWindowInSeconds", value) # pyright: ignore[reportArgumentType]
|
|
4973
4973
|
|
|
4974
4974
|
@jsii.data_type(
|
|
4975
4975
|
jsii_type="aws-cdk-lib.aws_lambda.CfnEventSourceMapping.AmazonManagedKafkaEventSourceConfigProperty",
|
|
@@ -6148,6 +6148,7 @@ class CfnFunction(
|
|
|
6148
6148
|
s3_bucket="s3Bucket",
|
|
6149
6149
|
s3_key="s3Key",
|
|
6150
6150
|
s3_object_version="s3ObjectVersion",
|
|
6151
|
+
source_kms_key_arn="sourceKmsKeyArn",
|
|
6151
6152
|
zip_file="zipFile"
|
|
6152
6153
|
),
|
|
6153
6154
|
role="role",
|
|
@@ -6403,7 +6404,7 @@ class CfnFunction(
|
|
|
6403
6404
|
if __debug__:
|
|
6404
6405
|
type_hints = typing.get_type_hints(_typecheckingstub__58971d313bbb31e4a176049232e48d257e2707fa93bae32f75eda0c6327c3121)
|
|
6405
6406
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6406
|
-
jsii.set(self, "code", value)
|
|
6407
|
+
jsii.set(self, "code", value) # pyright: ignore[reportArgumentType]
|
|
6407
6408
|
|
|
6408
6409
|
@builtins.property
|
|
6409
6410
|
@jsii.member(jsii_name="role")
|
|
@@ -6416,7 +6417,7 @@ class CfnFunction(
|
|
|
6416
6417
|
if __debug__:
|
|
6417
6418
|
type_hints = typing.get_type_hints(_typecheckingstub__0087a2968c8a22b8dd1ff3bf410b2d9939dd4741222544ab3d1519ae865e7631)
|
|
6418
6419
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6419
|
-
jsii.set(self, "role", value)
|
|
6420
|
+
jsii.set(self, "role", value) # pyright: ignore[reportArgumentType]
|
|
6420
6421
|
|
|
6421
6422
|
@builtins.property
|
|
6422
6423
|
@jsii.member(jsii_name="architectures")
|
|
@@ -6429,7 +6430,7 @@ class CfnFunction(
|
|
|
6429
6430
|
if __debug__:
|
|
6430
6431
|
type_hints = typing.get_type_hints(_typecheckingstub__939e9547234560a62ae5c4e5194b2aba7beab9431fc0692025911c49ac554075)
|
|
6431
6432
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6432
|
-
jsii.set(self, "architectures", value)
|
|
6433
|
+
jsii.set(self, "architectures", value) # pyright: ignore[reportArgumentType]
|
|
6433
6434
|
|
|
6434
6435
|
@builtins.property
|
|
6435
6436
|
@jsii.member(jsii_name="codeSigningConfigArn")
|
|
@@ -6442,7 +6443,7 @@ class CfnFunction(
|
|
|
6442
6443
|
if __debug__:
|
|
6443
6444
|
type_hints = typing.get_type_hints(_typecheckingstub__97ad6c3509dbd27b0115d978338b5c8b85fccf3544961894ef6c8d5c51bda760)
|
|
6444
6445
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6445
|
-
jsii.set(self, "codeSigningConfigArn", value)
|
|
6446
|
+
jsii.set(self, "codeSigningConfigArn", value) # pyright: ignore[reportArgumentType]
|
|
6446
6447
|
|
|
6447
6448
|
@builtins.property
|
|
6448
6449
|
@jsii.member(jsii_name="deadLetterConfig")
|
|
@@ -6460,7 +6461,7 @@ class CfnFunction(
|
|
|
6460
6461
|
if __debug__:
|
|
6461
6462
|
type_hints = typing.get_type_hints(_typecheckingstub__8e7260bd37534ff38acbffbc9ae7d7473b79520cd7320ebd30eb30dda7fd6aa1)
|
|
6462
6463
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6463
|
-
jsii.set(self, "deadLetterConfig", value)
|
|
6464
|
+
jsii.set(self, "deadLetterConfig", value) # pyright: ignore[reportArgumentType]
|
|
6464
6465
|
|
|
6465
6466
|
@builtins.property
|
|
6466
6467
|
@jsii.member(jsii_name="description")
|
|
@@ -6473,7 +6474,7 @@ class CfnFunction(
|
|
|
6473
6474
|
if __debug__:
|
|
6474
6475
|
type_hints = typing.get_type_hints(_typecheckingstub__9adaa36c21a67de531bddc847ecff2947d2a1b03b4f9d8d078da3e6849878bae)
|
|
6475
6476
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6476
|
-
jsii.set(self, "description", value)
|
|
6477
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
6477
6478
|
|
|
6478
6479
|
@builtins.property
|
|
6479
6480
|
@jsii.member(jsii_name="environment")
|
|
@@ -6491,7 +6492,7 @@ class CfnFunction(
|
|
|
6491
6492
|
if __debug__:
|
|
6492
6493
|
type_hints = typing.get_type_hints(_typecheckingstub__317039d2b9e835e52b1f6d855c9ef90ff3e3707ae46ff7505464e0c0ba080e32)
|
|
6493
6494
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6494
|
-
jsii.set(self, "environment", value)
|
|
6495
|
+
jsii.set(self, "environment", value) # pyright: ignore[reportArgumentType]
|
|
6495
6496
|
|
|
6496
6497
|
@builtins.property
|
|
6497
6498
|
@jsii.member(jsii_name="ephemeralStorage")
|
|
@@ -6509,7 +6510,7 @@ class CfnFunction(
|
|
|
6509
6510
|
if __debug__:
|
|
6510
6511
|
type_hints = typing.get_type_hints(_typecheckingstub__19d417a7ef6f6dbe162ed6a9f33a83f606d97e53766d0a551f162f1a623bfce6)
|
|
6511
6512
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6512
|
-
jsii.set(self, "ephemeralStorage", value)
|
|
6513
|
+
jsii.set(self, "ephemeralStorage", value) # pyright: ignore[reportArgumentType]
|
|
6513
6514
|
|
|
6514
6515
|
@builtins.property
|
|
6515
6516
|
@jsii.member(jsii_name="fileSystemConfigs")
|
|
@@ -6527,7 +6528,7 @@ class CfnFunction(
|
|
|
6527
6528
|
if __debug__:
|
|
6528
6529
|
type_hints = typing.get_type_hints(_typecheckingstub__42281c8b42403c865af9a471e854ee48ac9c9efd9ed8eb48e102fae4dca64865)
|
|
6529
6530
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6530
|
-
jsii.set(self, "fileSystemConfigs", value)
|
|
6531
|
+
jsii.set(self, "fileSystemConfigs", value) # pyright: ignore[reportArgumentType]
|
|
6531
6532
|
|
|
6532
6533
|
@builtins.property
|
|
6533
6534
|
@jsii.member(jsii_name="functionName")
|
|
@@ -6540,7 +6541,7 @@ class CfnFunction(
|
|
|
6540
6541
|
if __debug__:
|
|
6541
6542
|
type_hints = typing.get_type_hints(_typecheckingstub__9b755bdfff9c92d112f48fabc138610cb95c629791eb94011add8f30bb1a8b8c)
|
|
6542
6543
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6543
|
-
jsii.set(self, "functionName", value)
|
|
6544
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
6544
6545
|
|
|
6545
6546
|
@builtins.property
|
|
6546
6547
|
@jsii.member(jsii_name="handler")
|
|
@@ -6553,7 +6554,7 @@ class CfnFunction(
|
|
|
6553
6554
|
if __debug__:
|
|
6554
6555
|
type_hints = typing.get_type_hints(_typecheckingstub__baa7eecceb76515056bd0313e9ea4d285ed7f4fb588cfa29fbf02e30807dc972)
|
|
6555
6556
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6556
|
-
jsii.set(self, "handler", value)
|
|
6557
|
+
jsii.set(self, "handler", value) # pyright: ignore[reportArgumentType]
|
|
6557
6558
|
|
|
6558
6559
|
@builtins.property
|
|
6559
6560
|
@jsii.member(jsii_name="imageConfig")
|
|
@@ -6571,7 +6572,7 @@ class CfnFunction(
|
|
|
6571
6572
|
if __debug__:
|
|
6572
6573
|
type_hints = typing.get_type_hints(_typecheckingstub__fc473fff3eab69974e86b6ab728c48e766dacc39517c01dfd62e30519976a9de)
|
|
6573
6574
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6574
|
-
jsii.set(self, "imageConfig", value)
|
|
6575
|
+
jsii.set(self, "imageConfig", value) # pyright: ignore[reportArgumentType]
|
|
6575
6576
|
|
|
6576
6577
|
@builtins.property
|
|
6577
6578
|
@jsii.member(jsii_name="kmsKeyArn")
|
|
@@ -6584,7 +6585,7 @@ class CfnFunction(
|
|
|
6584
6585
|
if __debug__:
|
|
6585
6586
|
type_hints = typing.get_type_hints(_typecheckingstub__51919b7dbfb08288b0214a1e2e4192a9dedfca251449ba8cae053cc5c0940523)
|
|
6586
6587
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6587
|
-
jsii.set(self, "kmsKeyArn", value)
|
|
6588
|
+
jsii.set(self, "kmsKeyArn", value) # pyright: ignore[reportArgumentType]
|
|
6588
6589
|
|
|
6589
6590
|
@builtins.property
|
|
6590
6591
|
@jsii.member(jsii_name="layers")
|
|
@@ -6597,7 +6598,7 @@ class CfnFunction(
|
|
|
6597
6598
|
if __debug__:
|
|
6598
6599
|
type_hints = typing.get_type_hints(_typecheckingstub__0c1d2d3db6c352a7fe83bbdeaaf29d76df26e3ede060d08c593d9ef7006236b0)
|
|
6599
6600
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6600
|
-
jsii.set(self, "layers", value)
|
|
6601
|
+
jsii.set(self, "layers", value) # pyright: ignore[reportArgumentType]
|
|
6601
6602
|
|
|
6602
6603
|
@builtins.property
|
|
6603
6604
|
@jsii.member(jsii_name="loggingConfig")
|
|
@@ -6615,7 +6616,7 @@ class CfnFunction(
|
|
|
6615
6616
|
if __debug__:
|
|
6616
6617
|
type_hints = typing.get_type_hints(_typecheckingstub__3ce38cf1c7b3713eca9725f79f526f3b663f05dec93fd7dff426e717e1dc9d7c)
|
|
6617
6618
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6618
|
-
jsii.set(self, "loggingConfig", value)
|
|
6619
|
+
jsii.set(self, "loggingConfig", value) # pyright: ignore[reportArgumentType]
|
|
6619
6620
|
|
|
6620
6621
|
@builtins.property
|
|
6621
6622
|
@jsii.member(jsii_name="memorySize")
|
|
@@ -6628,7 +6629,7 @@ class CfnFunction(
|
|
|
6628
6629
|
if __debug__:
|
|
6629
6630
|
type_hints = typing.get_type_hints(_typecheckingstub__1cad27a1fc937a1ee790969066fef17df69ed3826b2b85f10db980930d32b0fd)
|
|
6630
6631
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6631
|
-
jsii.set(self, "memorySize", value)
|
|
6632
|
+
jsii.set(self, "memorySize", value) # pyright: ignore[reportArgumentType]
|
|
6632
6633
|
|
|
6633
6634
|
@builtins.property
|
|
6634
6635
|
@jsii.member(jsii_name="packageType")
|
|
@@ -6641,7 +6642,7 @@ class CfnFunction(
|
|
|
6641
6642
|
if __debug__:
|
|
6642
6643
|
type_hints = typing.get_type_hints(_typecheckingstub__7f9bb5c748b58d456d8f996b07509c9991044629122c76de58eaabc34056846e)
|
|
6643
6644
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6644
|
-
jsii.set(self, "packageType", value)
|
|
6645
|
+
jsii.set(self, "packageType", value) # pyright: ignore[reportArgumentType]
|
|
6645
6646
|
|
|
6646
6647
|
@builtins.property
|
|
6647
6648
|
@jsii.member(jsii_name="recursiveLoop")
|
|
@@ -6654,7 +6655,7 @@ class CfnFunction(
|
|
|
6654
6655
|
if __debug__:
|
|
6655
6656
|
type_hints = typing.get_type_hints(_typecheckingstub__021080e0643735be55c0ce187b6c3482fd8d23af0a29c95ad94660f1cf184a90)
|
|
6656
6657
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6657
|
-
jsii.set(self, "recursiveLoop", value)
|
|
6658
|
+
jsii.set(self, "recursiveLoop", value) # pyright: ignore[reportArgumentType]
|
|
6658
6659
|
|
|
6659
6660
|
@builtins.property
|
|
6660
6661
|
@jsii.member(jsii_name="reservedConcurrentExecutions")
|
|
@@ -6670,7 +6671,7 @@ class CfnFunction(
|
|
|
6670
6671
|
if __debug__:
|
|
6671
6672
|
type_hints = typing.get_type_hints(_typecheckingstub__776a8ed6e24e90be835cb39b621ff66305005b357a6debbf3a62f69d83289278)
|
|
6672
6673
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6673
|
-
jsii.set(self, "reservedConcurrentExecutions", value)
|
|
6674
|
+
jsii.set(self, "reservedConcurrentExecutions", value) # pyright: ignore[reportArgumentType]
|
|
6674
6675
|
|
|
6675
6676
|
@builtins.property
|
|
6676
6677
|
@jsii.member(jsii_name="runtime")
|
|
@@ -6683,7 +6684,7 @@ class CfnFunction(
|
|
|
6683
6684
|
if __debug__:
|
|
6684
6685
|
type_hints = typing.get_type_hints(_typecheckingstub__b21ecd1fe965145c47a3a79e27c6cd009ded1d8446934f7912383ff1e67a2b03)
|
|
6685
6686
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6686
|
-
jsii.set(self, "runtime", value)
|
|
6687
|
+
jsii.set(self, "runtime", value) # pyright: ignore[reportArgumentType]
|
|
6687
6688
|
|
|
6688
6689
|
@builtins.property
|
|
6689
6690
|
@jsii.member(jsii_name="runtimeManagementConfig")
|
|
@@ -6701,7 +6702,7 @@ class CfnFunction(
|
|
|
6701
6702
|
if __debug__:
|
|
6702
6703
|
type_hints = typing.get_type_hints(_typecheckingstub__0eb811f391544dcb8176a15cfd354317bce582d6de91f3a92abe633f8871c3f5)
|
|
6703
6704
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6704
|
-
jsii.set(self, "runtimeManagementConfig", value)
|
|
6705
|
+
jsii.set(self, "runtimeManagementConfig", value) # pyright: ignore[reportArgumentType]
|
|
6705
6706
|
|
|
6706
6707
|
@builtins.property
|
|
6707
6708
|
@jsii.member(jsii_name="snapStart")
|
|
@@ -6719,7 +6720,7 @@ class CfnFunction(
|
|
|
6719
6720
|
if __debug__:
|
|
6720
6721
|
type_hints = typing.get_type_hints(_typecheckingstub__3da00ae175903856cd5e3dffd1383604e1e7cca41ca0995aaf7f3ff2e12ae143)
|
|
6721
6722
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6722
|
-
jsii.set(self, "snapStart", value)
|
|
6723
|
+
jsii.set(self, "snapStart", value) # pyright: ignore[reportArgumentType]
|
|
6723
6724
|
|
|
6724
6725
|
@builtins.property
|
|
6725
6726
|
@jsii.member(jsii_name="tagsRaw")
|
|
@@ -6732,7 +6733,7 @@ class CfnFunction(
|
|
|
6732
6733
|
if __debug__:
|
|
6733
6734
|
type_hints = typing.get_type_hints(_typecheckingstub__174edd947716c328063162b1193e4d16e0c3ac15949326027a5bfae9fe02dbc1)
|
|
6734
6735
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6735
|
-
jsii.set(self, "tagsRaw", value)
|
|
6736
|
+
jsii.set(self, "tagsRaw", value) # pyright: ignore[reportArgumentType]
|
|
6736
6737
|
|
|
6737
6738
|
@builtins.property
|
|
6738
6739
|
@jsii.member(jsii_name="timeout")
|
|
@@ -6745,7 +6746,7 @@ class CfnFunction(
|
|
|
6745
6746
|
if __debug__:
|
|
6746
6747
|
type_hints = typing.get_type_hints(_typecheckingstub__75ee5de813fc2d2189124f8a0417b55380d01a0a385d8d51fa9f785efab2b32e)
|
|
6747
6748
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6748
|
-
jsii.set(self, "timeout", value)
|
|
6749
|
+
jsii.set(self, "timeout", value) # pyright: ignore[reportArgumentType]
|
|
6749
6750
|
|
|
6750
6751
|
@builtins.property
|
|
6751
6752
|
@jsii.member(jsii_name="tracingConfig")
|
|
@@ -6763,7 +6764,7 @@ class CfnFunction(
|
|
|
6763
6764
|
if __debug__:
|
|
6764
6765
|
type_hints = typing.get_type_hints(_typecheckingstub__2e2ae2e6d2b74fc490159641853a6b239db977126bd780dc9b5d3931c1e47577)
|
|
6765
6766
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6766
|
-
jsii.set(self, "tracingConfig", value)
|
|
6767
|
+
jsii.set(self, "tracingConfig", value) # pyright: ignore[reportArgumentType]
|
|
6767
6768
|
|
|
6768
6769
|
@builtins.property
|
|
6769
6770
|
@jsii.member(jsii_name="vpcConfig")
|
|
@@ -6781,7 +6782,7 @@ class CfnFunction(
|
|
|
6781
6782
|
if __debug__:
|
|
6782
6783
|
type_hints = typing.get_type_hints(_typecheckingstub__033cfa97016c411e045aae5002e1ed6a505aefcc7ef38007d08100468c8903b9)
|
|
6783
6784
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
6784
|
-
jsii.set(self, "vpcConfig", value)
|
|
6785
|
+
jsii.set(self, "vpcConfig", value) # pyright: ignore[reportArgumentType]
|
|
6785
6786
|
|
|
6786
6787
|
@jsii.data_type(
|
|
6787
6788
|
jsii_type="aws-cdk-lib.aws_lambda.CfnFunction.CodeProperty",
|
|
@@ -6791,6 +6792,7 @@ class CfnFunction(
|
|
|
6791
6792
|
"s3_bucket": "s3Bucket",
|
|
6792
6793
|
"s3_key": "s3Key",
|
|
6793
6794
|
"s3_object_version": "s3ObjectVersion",
|
|
6795
|
+
"source_kms_key_arn": "sourceKmsKeyArn",
|
|
6794
6796
|
"zip_file": "zipFile",
|
|
6795
6797
|
},
|
|
6796
6798
|
)
|
|
@@ -6802,6 +6804,7 @@ class CfnFunction(
|
|
|
6802
6804
|
s3_bucket: typing.Optional[builtins.str] = None,
|
|
6803
6805
|
s3_key: typing.Optional[builtins.str] = None,
|
|
6804
6806
|
s3_object_version: typing.Optional[builtins.str] = None,
|
|
6807
|
+
source_kms_key_arn: typing.Optional[builtins.str] = None,
|
|
6805
6808
|
zip_file: typing.Optional[builtins.str] = None,
|
|
6806
6809
|
) -> None:
|
|
6807
6810
|
'''The `deployment package <https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html>`_ for a Lambda function. To deploy a function defined as a container image, you specify the location of a container image in the Amazon ECR registry. For a .zip file deployment package, you can specify the location of an object in Amazon S3. For Node.js and Python functions, you can specify the function code inline in the template. Changes to a deployment package in Amazon S3 or a container image in ECR are not detected automatically during stack updates. To update the function code, change the object key or version in the template.
|
|
@@ -6810,6 +6813,7 @@ class CfnFunction(
|
|
|
6810
6813
|
:param s3_bucket: An Amazon S3 bucket in the same AWS-Region as your function. The bucket can be in a different AWS-account.
|
|
6811
6814
|
:param s3_key: The Amazon S3 key of the deployment package.
|
|
6812
6815
|
:param s3_object_version: For versioned objects, the version of the deployment package object to use.
|
|
6816
|
+
:param source_kms_key_arn:
|
|
6813
6817
|
:param zip_file: (Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named ``index`` and zips it to create a `deployment package <https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html>`_. This zip file cannot exceed 4MB. For the ``Handler`` property, the first part of the handler identifier must be ``index``. For example, ``index.handler``. For JSON, you must escape quotes and special characters such as newline (``\\n``) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (`cfn-response <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html>`_) that simplifies sending responses. See `Using Lambda with CloudFormation <https://docs.aws.amazon.com/lambda/latest/dg/services-cloudformation.html>`_ for details.
|
|
6814
6818
|
|
|
6815
6819
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html
|
|
@@ -6826,6 +6830,7 @@ class CfnFunction(
|
|
|
6826
6830
|
s3_bucket="s3Bucket",
|
|
6827
6831
|
s3_key="s3Key",
|
|
6828
6832
|
s3_object_version="s3ObjectVersion",
|
|
6833
|
+
source_kms_key_arn="sourceKmsKeyArn",
|
|
6829
6834
|
zip_file="zipFile"
|
|
6830
6835
|
)
|
|
6831
6836
|
'''
|
|
@@ -6835,6 +6840,7 @@ class CfnFunction(
|
|
|
6835
6840
|
check_type(argname="argument s3_bucket", value=s3_bucket, expected_type=type_hints["s3_bucket"])
|
|
6836
6841
|
check_type(argname="argument s3_key", value=s3_key, expected_type=type_hints["s3_key"])
|
|
6837
6842
|
check_type(argname="argument s3_object_version", value=s3_object_version, expected_type=type_hints["s3_object_version"])
|
|
6843
|
+
check_type(argname="argument source_kms_key_arn", value=source_kms_key_arn, expected_type=type_hints["source_kms_key_arn"])
|
|
6838
6844
|
check_type(argname="argument zip_file", value=zip_file, expected_type=type_hints["zip_file"])
|
|
6839
6845
|
self._values: typing.Dict[builtins.str, typing.Any] = {}
|
|
6840
6846
|
if image_uri is not None:
|
|
@@ -6845,6 +6851,8 @@ class CfnFunction(
|
|
|
6845
6851
|
self._values["s3_key"] = s3_key
|
|
6846
6852
|
if s3_object_version is not None:
|
|
6847
6853
|
self._values["s3_object_version"] = s3_object_version
|
|
6854
|
+
if source_kms_key_arn is not None:
|
|
6855
|
+
self._values["source_kms_key_arn"] = source_kms_key_arn
|
|
6848
6856
|
if zip_file is not None:
|
|
6849
6857
|
self._values["zip_file"] = zip_file
|
|
6850
6858
|
|
|
@@ -6886,6 +6894,14 @@ class CfnFunction(
|
|
|
6886
6894
|
result = self._values.get("s3_object_version")
|
|
6887
6895
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
6888
6896
|
|
|
6897
|
+
@builtins.property
|
|
6898
|
+
def source_kms_key_arn(self) -> typing.Optional[builtins.str]:
|
|
6899
|
+
'''
|
|
6900
|
+
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-sourcekmskeyarn
|
|
6901
|
+
'''
|
|
6902
|
+
result = self._values.get("source_kms_key_arn")
|
|
6903
|
+
return typing.cast(typing.Optional[builtins.str], result)
|
|
6904
|
+
|
|
6889
6905
|
@builtins.property
|
|
6890
6906
|
def zip_file(self) -> typing.Optional[builtins.str]:
|
|
6891
6907
|
'''(Node.js and Python) The source code of your Lambda function. If you include your function source inline with this parameter, CFN places it in a file named ``index`` and zips it to create a `deployment package <https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html>`_. This zip file cannot exceed 4MB. For the ``Handler`` property, the first part of the handler identifier must be ``index``. For example, ``index.handler``. For JSON, you must escape quotes and special characters such as newline (``\\n``) with a backslash. If you specify a function that interacts with an AWS CloudFormation custom resource, you don't have to write your own functions to send responses to the custom resource that invoked the function. AWS CloudFormation provides a response module (`cfn-response <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-lambda-function-code-cfnresponsemodule.html>`_) that simplifies sending responses. See `Using Lambda with CloudFormation <https://docs.aws.amazon.com/lambda/latest/dg/services-cloudformation.html>`_ for details.
|
|
@@ -7820,6 +7836,7 @@ class CfnFunctionProps:
|
|
|
7820
7836
|
s3_bucket="s3Bucket",
|
|
7821
7837
|
s3_key="s3Key",
|
|
7822
7838
|
s3_object_version="s3ObjectVersion",
|
|
7839
|
+
source_kms_key_arn="sourceKmsKeyArn",
|
|
7823
7840
|
zip_file="zipFile"
|
|
7824
7841
|
),
|
|
7825
7842
|
role="role",
|
|
@@ -8399,7 +8416,7 @@ class CfnLayerVersion(
|
|
|
8399
8416
|
if __debug__:
|
|
8400
8417
|
type_hints = typing.get_type_hints(_typecheckingstub__16fdce2009fa44459d262b1473f3f14ba14cc73bd0ed3916d4bd0edcf3e43b4d)
|
|
8401
8418
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8402
|
-
jsii.set(self, "content", value)
|
|
8419
|
+
jsii.set(self, "content", value) # pyright: ignore[reportArgumentType]
|
|
8403
8420
|
|
|
8404
8421
|
@builtins.property
|
|
8405
8422
|
@jsii.member(jsii_name="compatibleArchitectures")
|
|
@@ -8415,7 +8432,7 @@ class CfnLayerVersion(
|
|
|
8415
8432
|
if __debug__:
|
|
8416
8433
|
type_hints = typing.get_type_hints(_typecheckingstub__08839a09e116d09d437639b549a9f46251026b97c49c02e63d22b976b1705dce)
|
|
8417
8434
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8418
|
-
jsii.set(self, "compatibleArchitectures", value)
|
|
8435
|
+
jsii.set(self, "compatibleArchitectures", value) # pyright: ignore[reportArgumentType]
|
|
8419
8436
|
|
|
8420
8437
|
@builtins.property
|
|
8421
8438
|
@jsii.member(jsii_name="compatibleRuntimes")
|
|
@@ -8431,7 +8448,7 @@ class CfnLayerVersion(
|
|
|
8431
8448
|
if __debug__:
|
|
8432
8449
|
type_hints = typing.get_type_hints(_typecheckingstub__43473c5b3bfb35dd80a0a3acca8e7e0c5fc897741acf287f2ca8c7ea72a554f9)
|
|
8433
8450
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8434
|
-
jsii.set(self, "compatibleRuntimes", value)
|
|
8451
|
+
jsii.set(self, "compatibleRuntimes", value) # pyright: ignore[reportArgumentType]
|
|
8435
8452
|
|
|
8436
8453
|
@builtins.property
|
|
8437
8454
|
@jsii.member(jsii_name="description")
|
|
@@ -8444,7 +8461,7 @@ class CfnLayerVersion(
|
|
|
8444
8461
|
if __debug__:
|
|
8445
8462
|
type_hints = typing.get_type_hints(_typecheckingstub__9de7bf47b62135fe00acab97e2e852614fdc2347e66707de5b86a002b25e1379)
|
|
8446
8463
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8447
|
-
jsii.set(self, "description", value)
|
|
8464
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
8448
8465
|
|
|
8449
8466
|
@builtins.property
|
|
8450
8467
|
@jsii.member(jsii_name="layerName")
|
|
@@ -8457,7 +8474,7 @@ class CfnLayerVersion(
|
|
|
8457
8474
|
if __debug__:
|
|
8458
8475
|
type_hints = typing.get_type_hints(_typecheckingstub__e993c2ac2a3c971df686f5d3e84116d1aa3ddc96939d07988c83cd8183f40191)
|
|
8459
8476
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8460
|
-
jsii.set(self, "layerName", value)
|
|
8477
|
+
jsii.set(self, "layerName", value) # pyright: ignore[reportArgumentType]
|
|
8461
8478
|
|
|
8462
8479
|
@builtins.property
|
|
8463
8480
|
@jsii.member(jsii_name="licenseInfo")
|
|
@@ -8473,7 +8490,7 @@ class CfnLayerVersion(
|
|
|
8473
8490
|
if __debug__:
|
|
8474
8491
|
type_hints = typing.get_type_hints(_typecheckingstub__901b954aebd75eb5e434b423ce636efcd7b6175bcb5075a916935082cf58517d)
|
|
8475
8492
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8476
|
-
jsii.set(self, "licenseInfo", value)
|
|
8493
|
+
jsii.set(self, "licenseInfo", value) # pyright: ignore[reportArgumentType]
|
|
8477
8494
|
|
|
8478
8495
|
@jsii.data_type(
|
|
8479
8496
|
jsii_type="aws-cdk-lib.aws_lambda.CfnLayerVersion.ContentProperty",
|
|
@@ -8686,7 +8703,7 @@ class CfnLayerVersionPermission(
|
|
|
8686
8703
|
if __debug__:
|
|
8687
8704
|
type_hints = typing.get_type_hints(_typecheckingstub__a8acb7cf08f86ac198f71bbdc5d1b990c075e39f8b0af699b561835f6d90d323)
|
|
8688
8705
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8689
|
-
jsii.set(self, "action", value)
|
|
8706
|
+
jsii.set(self, "action", value) # pyright: ignore[reportArgumentType]
|
|
8690
8707
|
|
|
8691
8708
|
@builtins.property
|
|
8692
8709
|
@jsii.member(jsii_name="layerVersionArn")
|
|
@@ -8699,7 +8716,7 @@ class CfnLayerVersionPermission(
|
|
|
8699
8716
|
if __debug__:
|
|
8700
8717
|
type_hints = typing.get_type_hints(_typecheckingstub__06dce1e31e6399ecebdda1a7b070d5eb8239cbb3bb5ad1b06b9e4ba565584021)
|
|
8701
8718
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8702
|
-
jsii.set(self, "layerVersionArn", value)
|
|
8719
|
+
jsii.set(self, "layerVersionArn", value) # pyright: ignore[reportArgumentType]
|
|
8703
8720
|
|
|
8704
8721
|
@builtins.property
|
|
8705
8722
|
@jsii.member(jsii_name="principal")
|
|
@@ -8712,7 +8729,7 @@ class CfnLayerVersionPermission(
|
|
|
8712
8729
|
if __debug__:
|
|
8713
8730
|
type_hints = typing.get_type_hints(_typecheckingstub__c9a1279a904647e3b5f593df647c106c101d17fc942ffea4b4c867787632e62d)
|
|
8714
8731
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8715
|
-
jsii.set(self, "principal", value)
|
|
8732
|
+
jsii.set(self, "principal", value) # pyright: ignore[reportArgumentType]
|
|
8716
8733
|
|
|
8717
8734
|
@builtins.property
|
|
8718
8735
|
@jsii.member(jsii_name="organizationId")
|
|
@@ -8725,7 +8742,7 @@ class CfnLayerVersionPermission(
|
|
|
8725
8742
|
if __debug__:
|
|
8726
8743
|
type_hints = typing.get_type_hints(_typecheckingstub__45c67e7ddd4fde4ad3243685942dee1cdc90213c5a305f4ccea252422bd56b9d)
|
|
8727
8744
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
8728
|
-
jsii.set(self, "organizationId", value)
|
|
8745
|
+
jsii.set(self, "organizationId", value) # pyright: ignore[reportArgumentType]
|
|
8729
8746
|
|
|
8730
8747
|
|
|
8731
8748
|
@jsii.data_type(
|
|
@@ -9133,12 +9150,12 @@ class CfnPermission(
|
|
|
9133
9150
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
9134
9151
|
:param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
|
|
9135
9152
|
:param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
9136
|
-
:param principal: The AWS
|
|
9153
|
+
:param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
9137
9154
|
:param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
|
|
9138
9155
|
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
9139
9156
|
:param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
|
|
9140
|
-
:param source_account: For AWS
|
|
9141
|
-
:param source_arn: For AWS
|
|
9157
|
+
:param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
9158
|
+
:param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
9142
9159
|
'''
|
|
9143
9160
|
if __debug__:
|
|
9144
9161
|
type_hints = typing.get_type_hints(_typecheckingstub__c457a277b84dbba5bd94a2c0135335b8d7dbb3d409b1fa988b4f5a219def8833)
|
|
@@ -9211,7 +9228,7 @@ class CfnPermission(
|
|
|
9211
9228
|
if __debug__:
|
|
9212
9229
|
type_hints = typing.get_type_hints(_typecheckingstub__df115766595b459e6facc31968c7c21d3891662bf7de9b37367e71ea6d4114f0)
|
|
9213
9230
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9214
|
-
jsii.set(self, "action", value)
|
|
9231
|
+
jsii.set(self, "action", value) # pyright: ignore[reportArgumentType]
|
|
9215
9232
|
|
|
9216
9233
|
@builtins.property
|
|
9217
9234
|
@jsii.member(jsii_name="functionName")
|
|
@@ -9224,12 +9241,12 @@ class CfnPermission(
|
|
|
9224
9241
|
if __debug__:
|
|
9225
9242
|
type_hints = typing.get_type_hints(_typecheckingstub__6b78b627aafc24e5049b4f124fa9ed461ff5de5656d8eb50a73c2129a84e7dbb)
|
|
9226
9243
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9227
|
-
jsii.set(self, "functionName", value)
|
|
9244
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
9228
9245
|
|
|
9229
9246
|
@builtins.property
|
|
9230
9247
|
@jsii.member(jsii_name="principal")
|
|
9231
9248
|
def principal(self) -> builtins.str:
|
|
9232
|
-
'''The AWS
|
|
9249
|
+
'''The AWS-service or AWS account that invokes the function.'''
|
|
9233
9250
|
return typing.cast(builtins.str, jsii.get(self, "principal"))
|
|
9234
9251
|
|
|
9235
9252
|
@principal.setter
|
|
@@ -9237,7 +9254,7 @@ class CfnPermission(
|
|
|
9237
9254
|
if __debug__:
|
|
9238
9255
|
type_hints = typing.get_type_hints(_typecheckingstub__a8b1d5ebdfbdd1f6dd0ae27ea787a03534f8840c5afd7e97345329a87e64c9a3)
|
|
9239
9256
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9240
|
-
jsii.set(self, "principal", value)
|
|
9257
|
+
jsii.set(self, "principal", value) # pyright: ignore[reportArgumentType]
|
|
9241
9258
|
|
|
9242
9259
|
@builtins.property
|
|
9243
9260
|
@jsii.member(jsii_name="eventSourceToken")
|
|
@@ -9250,7 +9267,7 @@ class CfnPermission(
|
|
|
9250
9267
|
if __debug__:
|
|
9251
9268
|
type_hints = typing.get_type_hints(_typecheckingstub__7584a173c7ddfb61695a8eaeb94df07bc5ed6da7dacb871ce3f736ac59ec2b62)
|
|
9252
9269
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9253
|
-
jsii.set(self, "eventSourceToken", value)
|
|
9270
|
+
jsii.set(self, "eventSourceToken", value) # pyright: ignore[reportArgumentType]
|
|
9254
9271
|
|
|
9255
9272
|
@builtins.property
|
|
9256
9273
|
@jsii.member(jsii_name="functionUrlAuthType")
|
|
@@ -9263,7 +9280,7 @@ class CfnPermission(
|
|
|
9263
9280
|
if __debug__:
|
|
9264
9281
|
type_hints = typing.get_type_hints(_typecheckingstub__c85fd263b0dc67595e83c426e4f8a064ea18d154ec013099a2ff44bb12a40473)
|
|
9265
9282
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9266
|
-
jsii.set(self, "functionUrlAuthType", value)
|
|
9283
|
+
jsii.set(self, "functionUrlAuthType", value) # pyright: ignore[reportArgumentType]
|
|
9267
9284
|
|
|
9268
9285
|
@builtins.property
|
|
9269
9286
|
@jsii.member(jsii_name="principalOrgId")
|
|
@@ -9276,12 +9293,12 @@ class CfnPermission(
|
|
|
9276
9293
|
if __debug__:
|
|
9277
9294
|
type_hints = typing.get_type_hints(_typecheckingstub__15afcc0405054080f46df62ed10831279de0524bf06aeea4268901393a2625c3)
|
|
9278
9295
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9279
|
-
jsii.set(self, "principalOrgId", value)
|
|
9296
|
+
jsii.set(self, "principalOrgId", value) # pyright: ignore[reportArgumentType]
|
|
9280
9297
|
|
|
9281
9298
|
@builtins.property
|
|
9282
9299
|
@jsii.member(jsii_name="sourceAccount")
|
|
9283
9300
|
def source_account(self) -> typing.Optional[builtins.str]:
|
|
9284
|
-
'''For AWS
|
|
9301
|
+
'''For AWS-service , the ID of the AWS account that owns the resource.'''
|
|
9285
9302
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceAccount"))
|
|
9286
9303
|
|
|
9287
9304
|
@source_account.setter
|
|
@@ -9289,12 +9306,12 @@ class CfnPermission(
|
|
|
9289
9306
|
if __debug__:
|
|
9290
9307
|
type_hints = typing.get_type_hints(_typecheckingstub__7daf8201bed0090388652951678b300be0c44422471d3bd64c0d0f26e4996f38)
|
|
9291
9308
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9292
|
-
jsii.set(self, "sourceAccount", value)
|
|
9309
|
+
jsii.set(self, "sourceAccount", value) # pyright: ignore[reportArgumentType]
|
|
9293
9310
|
|
|
9294
9311
|
@builtins.property
|
|
9295
9312
|
@jsii.member(jsii_name="sourceArn")
|
|
9296
9313
|
def source_arn(self) -> typing.Optional[builtins.str]:
|
|
9297
|
-
'''For AWS
|
|
9314
|
+
'''For AWS-services , the ARN of the AWS resource that invokes the function.'''
|
|
9298
9315
|
return typing.cast(typing.Optional[builtins.str], jsii.get(self, "sourceArn"))
|
|
9299
9316
|
|
|
9300
9317
|
@source_arn.setter
|
|
@@ -9302,7 +9319,7 @@ class CfnPermission(
|
|
|
9302
9319
|
if __debug__:
|
|
9303
9320
|
type_hints = typing.get_type_hints(_typecheckingstub__5e353afa8c93203f738da3be5d082cb1816a03108506ae44264327d28f36e502)
|
|
9304
9321
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9305
|
-
jsii.set(self, "sourceArn", value)
|
|
9322
|
+
jsii.set(self, "sourceArn", value) # pyright: ignore[reportArgumentType]
|
|
9306
9323
|
|
|
9307
9324
|
|
|
9308
9325
|
@jsii.data_type(
|
|
@@ -9336,12 +9353,12 @@ class CfnPermissionProps:
|
|
|
9336
9353
|
|
|
9337
9354
|
:param action: The action that the principal can use on the function. For example, ``lambda:InvokeFunction`` or ``lambda:GetFunction`` .
|
|
9338
9355
|
:param function_name: The name or ARN of the Lambda function, version, or alias. **Name formats** - *Function name* – ``my-function`` (name-only), ``my-function:v1`` (with alias). - *Function ARN* – ``arn:aws:lambda:us-west-2:123456789012:function:my-function`` . - *Partial ARN* – ``123456789012:function:my-function`` . You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
|
|
9339
|
-
:param principal: The AWS
|
|
9356
|
+
:param principal: The AWS-service or AWS account that invokes the function. If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
9340
9357
|
:param event_source_token: For Alexa Smart Home functions, a token that the invoker must supply.
|
|
9341
9358
|
:param function_url_auth_type: The type of authentication that your function URL uses. Set to ``AWS_IAM`` if you want to restrict access to authenticated users only. Set to ``NONE`` if you want to bypass IAM authentication to create a public endpoint. For more information, see `Security and auth model for Lambda function URLs <https://docs.aws.amazon.com/lambda/latest/dg/urls-auth.html>`_ .
|
|
9342
9359
|
:param principal_org_id: The identifier for your organization in AWS Organizations . Use this to grant permissions to all the AWS accounts under this organization.
|
|
9343
|
-
:param source_account: For AWS
|
|
9344
|
-
:param source_arn: For AWS
|
|
9360
|
+
:param source_account: For AWS-service , the ID of the AWS account that owns the resource. Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
9361
|
+
:param source_arn: For AWS-services , the ARN of the AWS resource that invokes the function. For example, an Amazon S3 bucket or Amazon SNS topic. Note that Lambda configures the comparison using the ``StringLike`` operator.
|
|
9345
9362
|
|
|
9346
9363
|
:see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html
|
|
9347
9364
|
:exampleMetadata: fixture=_generated
|
|
@@ -9422,7 +9439,7 @@ class CfnPermissionProps:
|
|
|
9422
9439
|
|
|
9423
9440
|
@builtins.property
|
|
9424
9441
|
def principal(self) -> builtins.str:
|
|
9425
|
-
'''The AWS
|
|
9442
|
+
'''The AWS-service or AWS account that invokes the function.
|
|
9426
9443
|
|
|
9427
9444
|
If you specify a service, use ``SourceArn`` or ``SourceAccount`` to limit who can invoke the function through that service.
|
|
9428
9445
|
|
|
@@ -9465,7 +9482,7 @@ class CfnPermissionProps:
|
|
|
9465
9482
|
|
|
9466
9483
|
@builtins.property
|
|
9467
9484
|
def source_account(self) -> typing.Optional[builtins.str]:
|
|
9468
|
-
'''For AWS
|
|
9485
|
+
'''For AWS-service , the ID of the AWS account that owns the resource.
|
|
9469
9486
|
|
|
9470
9487
|
Use this together with ``SourceArn`` to ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.
|
|
9471
9488
|
|
|
@@ -9476,7 +9493,7 @@ class CfnPermissionProps:
|
|
|
9476
9493
|
|
|
9477
9494
|
@builtins.property
|
|
9478
9495
|
def source_arn(self) -> typing.Optional[builtins.str]:
|
|
9479
|
-
'''For AWS
|
|
9496
|
+
'''For AWS-services , the ARN of the AWS resource that invokes the function.
|
|
9480
9497
|
|
|
9481
9498
|
For example, an Amazon S3 bucket or Amazon SNS topic.
|
|
9482
9499
|
|
|
@@ -9635,7 +9652,7 @@ class CfnUrl(
|
|
|
9635
9652
|
if __debug__:
|
|
9636
9653
|
type_hints = typing.get_type_hints(_typecheckingstub__3825ac9d2b066b8684c19c73c49481a98ec726da763f3c47d81eecf450d60f11)
|
|
9637
9654
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9638
|
-
jsii.set(self, "authType", value)
|
|
9655
|
+
jsii.set(self, "authType", value) # pyright: ignore[reportArgumentType]
|
|
9639
9656
|
|
|
9640
9657
|
@builtins.property
|
|
9641
9658
|
@jsii.member(jsii_name="targetFunctionArn")
|
|
@@ -9648,7 +9665,7 @@ class CfnUrl(
|
|
|
9648
9665
|
if __debug__:
|
|
9649
9666
|
type_hints = typing.get_type_hints(_typecheckingstub__5fedf78e7a48e0b177ef81d5fbc67f89d31b5c9d7578d78803f563dcaf2c39a6)
|
|
9650
9667
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9651
|
-
jsii.set(self, "targetFunctionArn", value)
|
|
9668
|
+
jsii.set(self, "targetFunctionArn", value) # pyright: ignore[reportArgumentType]
|
|
9652
9669
|
|
|
9653
9670
|
@builtins.property
|
|
9654
9671
|
@jsii.member(jsii_name="cors")
|
|
@@ -9666,7 +9683,7 @@ class CfnUrl(
|
|
|
9666
9683
|
if __debug__:
|
|
9667
9684
|
type_hints = typing.get_type_hints(_typecheckingstub__d41b12f6e3c274633a1ab237c9d2c8dae2757548abbc8e5bde3fe4176ff93b35)
|
|
9668
9685
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9669
|
-
jsii.set(self, "cors", value)
|
|
9686
|
+
jsii.set(self, "cors", value) # pyright: ignore[reportArgumentType]
|
|
9670
9687
|
|
|
9671
9688
|
@builtins.property
|
|
9672
9689
|
@jsii.member(jsii_name="invokeMode")
|
|
@@ -9679,7 +9696,7 @@ class CfnUrl(
|
|
|
9679
9696
|
if __debug__:
|
|
9680
9697
|
type_hints = typing.get_type_hints(_typecheckingstub__de96f9d091517b1e5b2c30ee19b262b1bc639d57f811b38dc952094468738887)
|
|
9681
9698
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9682
|
-
jsii.set(self, "invokeMode", value)
|
|
9699
|
+
jsii.set(self, "invokeMode", value) # pyright: ignore[reportArgumentType]
|
|
9683
9700
|
|
|
9684
9701
|
@builtins.property
|
|
9685
9702
|
@jsii.member(jsii_name="qualifier")
|
|
@@ -9692,7 +9709,7 @@ class CfnUrl(
|
|
|
9692
9709
|
if __debug__:
|
|
9693
9710
|
type_hints = typing.get_type_hints(_typecheckingstub__be10204dad3e3ae396b62dbe6a430db367f44e796f51c5039cef395b94e2e908)
|
|
9694
9711
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
9695
|
-
jsii.set(self, "qualifier", value)
|
|
9712
|
+
jsii.set(self, "qualifier", value) # pyright: ignore[reportArgumentType]
|
|
9696
9713
|
|
|
9697
9714
|
@jsii.data_type(
|
|
9698
9715
|
jsii_type="aws-cdk-lib.aws_lambda.CfnUrl.CorsProperty",
|
|
@@ -10134,7 +10151,7 @@ class CfnVersion(
|
|
|
10134
10151
|
if __debug__:
|
|
10135
10152
|
type_hints = typing.get_type_hints(_typecheckingstub__517ec870f1330321d13eea9fbc5944c14ea20218b8aa28c35494f72f5a6a1be3)
|
|
10136
10153
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10137
|
-
jsii.set(self, "functionName", value)
|
|
10154
|
+
jsii.set(self, "functionName", value) # pyright: ignore[reportArgumentType]
|
|
10138
10155
|
|
|
10139
10156
|
@builtins.property
|
|
10140
10157
|
@jsii.member(jsii_name="codeSha256")
|
|
@@ -10147,7 +10164,7 @@ class CfnVersion(
|
|
|
10147
10164
|
if __debug__:
|
|
10148
10165
|
type_hints = typing.get_type_hints(_typecheckingstub__71885c0338af377c06eae5f6eef8ce2cdc338fb7b10c9e98ffaa14c9a1e85064)
|
|
10149
10166
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10150
|
-
jsii.set(self, "codeSha256", value)
|
|
10167
|
+
jsii.set(self, "codeSha256", value) # pyright: ignore[reportArgumentType]
|
|
10151
10168
|
|
|
10152
10169
|
@builtins.property
|
|
10153
10170
|
@jsii.member(jsii_name="description")
|
|
@@ -10160,7 +10177,7 @@ class CfnVersion(
|
|
|
10160
10177
|
if __debug__:
|
|
10161
10178
|
type_hints = typing.get_type_hints(_typecheckingstub__f00e141771e43b8312d6a22399ba2d956886a5861db2296d1a2f16f8bba28b35)
|
|
10162
10179
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10163
|
-
jsii.set(self, "description", value)
|
|
10180
|
+
jsii.set(self, "description", value) # pyright: ignore[reportArgumentType]
|
|
10164
10181
|
|
|
10165
10182
|
@builtins.property
|
|
10166
10183
|
@jsii.member(jsii_name="policy")
|
|
@@ -10173,7 +10190,7 @@ class CfnVersion(
|
|
|
10173
10190
|
if __debug__:
|
|
10174
10191
|
type_hints = typing.get_type_hints(_typecheckingstub__ca802d0cfdb44c8f362bdb1d342a752f1a5ebd921d11a7b2fd0806cca5d9200a)
|
|
10175
10192
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10176
|
-
jsii.set(self, "policy", value)
|
|
10193
|
+
jsii.set(self, "policy", value) # pyright: ignore[reportArgumentType]
|
|
10177
10194
|
|
|
10178
10195
|
@builtins.property
|
|
10179
10196
|
@jsii.member(jsii_name="provisionedConcurrencyConfig")
|
|
@@ -10191,7 +10208,7 @@ class CfnVersion(
|
|
|
10191
10208
|
if __debug__:
|
|
10192
10209
|
type_hints = typing.get_type_hints(_typecheckingstub__e46534e1d83b58a93edc70a851ca891701ea58cfe9a3fc7dc106915c1a475fa6)
|
|
10193
10210
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10194
|
-
jsii.set(self, "provisionedConcurrencyConfig", value)
|
|
10211
|
+
jsii.set(self, "provisionedConcurrencyConfig", value) # pyright: ignore[reportArgumentType]
|
|
10195
10212
|
|
|
10196
10213
|
@builtins.property
|
|
10197
10214
|
@jsii.member(jsii_name="runtimePolicy")
|
|
@@ -10209,7 +10226,7 @@ class CfnVersion(
|
|
|
10209
10226
|
if __debug__:
|
|
10210
10227
|
type_hints = typing.get_type_hints(_typecheckingstub__584bd4a88ccc7115243718679495b0e532174830ccb955a353592cc13c8ac084)
|
|
10211
10228
|
check_type(argname="argument value", value=value, expected_type=type_hints["value"])
|
|
10212
|
-
jsii.set(self, "runtimePolicy", value)
|
|
10229
|
+
jsii.set(self, "runtimePolicy", value) # pyright: ignore[reportArgumentType]
|
|
10213
10230
|
|
|
10214
10231
|
@jsii.data_type(
|
|
10215
10232
|
jsii_type="aws-cdk-lib.aws_lambda.CfnVersion.ProvisionedConcurrencyConfigurationProperty",
|
|
@@ -25820,6 +25837,34 @@ class SingletonFunction(
|
|
|
25820
25837
|
check_type(argname="argument layers", value=layers, expected_type=typing.Tuple[type_hints["layers"], ...]) # pyright: ignore [reportGeneralTypeIssues]
|
|
25821
25838
|
return typing.cast(None, jsii.invoke(self, "addLayers", [*layers]))
|
|
25822
25839
|
|
|
25840
|
+
@jsii.member(jsii_name="addMetadata")
|
|
25841
|
+
def add_metadata(
|
|
25842
|
+
self,
|
|
25843
|
+
type: builtins.str,
|
|
25844
|
+
data: typing.Any,
|
|
25845
|
+
*,
|
|
25846
|
+
stack_trace: typing.Optional[builtins.bool] = None,
|
|
25847
|
+
trace_from_function: typing.Any = None,
|
|
25848
|
+
) -> None:
|
|
25849
|
+
'''Use this method to write to the construct tree.
|
|
25850
|
+
|
|
25851
|
+
The metadata entries are written to the Cloud Assembly Manifest if the ``treeMetadata`` property is specified in the props of the App that contains this Construct.
|
|
25852
|
+
|
|
25853
|
+
:param type: -
|
|
25854
|
+
:param data: -
|
|
25855
|
+
:param stack_trace: Include stack trace with metadata entry. Default: false
|
|
25856
|
+
:param trace_from_function: A JavaScript function to begin tracing from. This option is ignored unless ``stackTrace`` is ``true``. Default: addMetadata()
|
|
25857
|
+
'''
|
|
25858
|
+
if __debug__:
|
|
25859
|
+
type_hints = typing.get_type_hints(_typecheckingstub__259cc2cc87abf52dc5f1d114dffcd0817a80d0011ad64386cc1a926af1a16ddd)
|
|
25860
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
25861
|
+
check_type(argname="argument data", value=data, expected_type=type_hints["data"])
|
|
25862
|
+
options = _constructs_77d1e7e8.MetadataOptions(
|
|
25863
|
+
stack_trace=stack_trace, trace_from_function=trace_from_function
|
|
25864
|
+
)
|
|
25865
|
+
|
|
25866
|
+
return typing.cast(None, jsii.invoke(self, "addMetadata", [type, data, options]))
|
|
25867
|
+
|
|
25823
25868
|
@jsii.member(jsii_name="addPermission")
|
|
25824
25869
|
def add_permission(
|
|
25825
25870
|
self,
|
|
@@ -27842,7 +27887,7 @@ def _typecheckingstub__7525467ed4a8de7249cf79d24091ae59273412647fd30558b48ead6b6
|
|
|
27842
27887
|
|
|
27843
27888
|
def _typecheckingstub__6cdf547e432e98f71c10bd59a276cb1a69fa82898a8f92c15fff9c69bf506ce0(
|
|
27844
27889
|
*,
|
|
27845
|
-
additional_version_weights: typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAlias.VersionWeightProperty, typing.Dict[builtins.str, typing.Any]]]]],
|
|
27890
|
+
additional_version_weights: typing.Optional[typing.Union[_IResolvable_da3f097b, typing.Sequence[typing.Union[_IResolvable_da3f097b, typing.Union[CfnAlias.VersionWeightProperty, typing.Dict[builtins.str, typing.Any]]]]]] = None,
|
|
27846
27891
|
) -> None:
|
|
27847
27892
|
"""Type checking stubs"""
|
|
27848
27893
|
pass
|
|
@@ -28532,6 +28577,7 @@ def _typecheckingstub__7102a6215772d5cf5b9392746e4c0cd11ba84424f7dbcd39e9d78ba08
|
|
|
28532
28577
|
s3_bucket: typing.Optional[builtins.str] = None,
|
|
28533
28578
|
s3_key: typing.Optional[builtins.str] = None,
|
|
28534
28579
|
s3_object_version: typing.Optional[builtins.str] = None,
|
|
28580
|
+
source_kms_key_arn: typing.Optional[builtins.str] = None,
|
|
28535
28581
|
zip_file: typing.Optional[builtins.str] = None,
|
|
28536
28582
|
) -> None:
|
|
28537
28583
|
"""Type checking stubs"""
|
|
@@ -30631,6 +30677,16 @@ def _typecheckingstub__dfe2164ed2ba41ee277e402c96b5d6ca860bb63bfa759b1be39957fac
|
|
|
30631
30677
|
"""Type checking stubs"""
|
|
30632
30678
|
pass
|
|
30633
30679
|
|
|
30680
|
+
def _typecheckingstub__259cc2cc87abf52dc5f1d114dffcd0817a80d0011ad64386cc1a926af1a16ddd(
|
|
30681
|
+
type: builtins.str,
|
|
30682
|
+
data: typing.Any,
|
|
30683
|
+
*,
|
|
30684
|
+
stack_trace: typing.Optional[builtins.bool] = None,
|
|
30685
|
+
trace_from_function: typing.Any = None,
|
|
30686
|
+
) -> None:
|
|
30687
|
+
"""Type checking stubs"""
|
|
30688
|
+
pass
|
|
30689
|
+
|
|
30634
30690
|
def _typecheckingstub__6d48a048e22819587505668ae6e1fbdfeedaaaf355ad52bd1196e683b1815a22(
|
|
30635
30691
|
name: builtins.str,
|
|
30636
30692
|
*,
|