aws-cdk-lib 2.195.0__py3-none-any.whl → 2.224.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 +1806 -417
- aws_cdk/_jsii/__init__.py +1 -1
- aws_cdk/_jsii/{aws-cdk-lib@2.195.0.jsii.tgz → aws-cdk-lib@2.224.0.jsii.tgz} +0 -0
- aws_cdk/alexa_ask/__init__.py +12 -2
- aws_cdk/aws_accessanalyzer/__init__.py +323 -6
- aws_cdk/aws_acmpca/__init__.py +53 -10
- aws_cdk/aws_aiops/__init__.py +1019 -0
- aws_cdk/aws_amazonmq/__init__.py +357 -313
- aws_cdk/aws_amplify/__init__.py +173 -17
- aws_cdk/aws_amplifyuibuilder/__init__.py +35 -6
- aws_cdk/aws_apigateway/__init__.py +1245 -215
- aws_cdk/aws_apigatewayv2/__init__.py +3890 -476
- aws_cdk/aws_apigatewayv2_integrations/__init__.py +94 -16
- aws_cdk/aws_appconfig/__init__.py +618 -91
- aws_cdk/aws_appflow/__init__.py +151 -6
- aws_cdk/aws_appintegrations/__init__.py +546 -6
- aws_cdk/aws_applicationautoscaling/__init__.py +75 -10
- aws_cdk/aws_applicationinsights/__init__.py +13 -2
- aws_cdk/aws_applicationsignals/__init__.py +374 -6
- aws_cdk/aws_appmesh/__init__.py +136 -26
- aws_cdk/aws_apprunner/__init__.py +66 -18
- aws_cdk/aws_appstream/__init__.py +309 -55
- aws_cdk/aws_appsync/__init__.py +350 -94
- aws_cdk/aws_apptest/__init__.py +71 -2
- aws_cdk/aws_aps/__init__.py +2188 -94
- aws_cdk/aws_arcregionswitch/__init__.py +5095 -0
- aws_cdk/aws_arczonalshift/__init__.py +39 -12
- aws_cdk/aws_athena/__init__.py +365 -29
- aws_cdk/aws_auditmanager/__init__.py +71 -2
- aws_cdk/aws_autoscaling/__init__.py +165 -60
- aws_cdk/aws_autoscaling_common/__init__.py +3 -0
- aws_cdk/aws_autoscalingplans/__init__.py +13 -2
- aws_cdk/aws_b2bi/__init__.py +1819 -99
- aws_cdk/aws_backup/__init__.py +370 -42
- aws_cdk/aws_backupgateway/__init__.py +13 -2
- aws_cdk/aws_batch/__init__.py +1462 -163
- aws_cdk/aws_bcmdataexports/__init__.py +21 -2
- aws_cdk/aws_bedrock/__init__.py +7867 -727
- aws_cdk/aws_bedrockagentcore/__init__.py +10425 -0
- aws_cdk/aws_billingconductor/__init__.py +197 -11
- aws_cdk/aws_budgets/__init__.py +611 -4
- aws_cdk/aws_cassandra/__init__.py +247 -6
- aws_cdk/aws_ce/__init__.py +35 -6
- aws_cdk/aws_certificatemanager/__init__.py +258 -32
- aws_cdk/aws_chatbot/__init__.py +76 -6
- aws_cdk/aws_cleanrooms/__init__.py +709 -206
- aws_cdk/aws_cleanroomsml/__init__.py +13 -2
- aws_cdk/aws_cloud9/__init__.py +13 -2
- aws_cdk/aws_cloudformation/__init__.py +362 -189
- aws_cdk/aws_cloudfront/__init__.py +2188 -674
- aws_cdk/aws_cloudfront/experimental/__init__.py +114 -16
- aws_cdk/aws_cloudfront_origins/__init__.py +615 -74
- aws_cdk/aws_cloudtrail/__init__.py +311 -21
- aws_cdk/aws_cloudwatch/__init__.py +3093 -1038
- aws_cdk/aws_cloudwatch_actions/__init__.py +75 -1
- aws_cdk/aws_codeartifact/__init__.py +35 -6
- aws_cdk/aws_codebuild/__init__.py +1303 -135
- aws_cdk/aws_codecommit/__init__.py +29 -9
- aws_cdk/aws_codeconnections/__init__.py +13 -2
- aws_cdk/aws_codedeploy/__init__.py +130 -6
- aws_cdk/aws_codeguruprofiler/__init__.py +80 -2
- aws_cdk/aws_codegurureviewer/__init__.py +13 -2
- aws_cdk/aws_codepipeline/__init__.py +177 -71
- aws_cdk/aws_codepipeline_actions/__init__.py +753 -4
- aws_cdk/aws_codestar/__init__.py +13 -2
- aws_cdk/aws_codestarconnections/__init__.py +35 -6
- aws_cdk/aws_codestarnotifications/__init__.py +22 -2
- aws_cdk/aws_cognito/__init__.py +905 -92
- aws_cdk/aws_cognito_identitypool/__init__.py +23 -12
- aws_cdk/aws_comprehend/__init__.py +24 -4
- aws_cdk/aws_config/__init__.py +227 -30
- aws_cdk/aws_connect/__init__.py +2736 -191
- aws_cdk/aws_connectcampaigns/__init__.py +13 -2
- aws_cdk/aws_connectcampaignsv2/__init__.py +268 -6
- aws_cdk/aws_controltower/__init__.py +35 -6
- aws_cdk/aws_cur/__init__.py +100 -4
- aws_cdk/aws_customerprofiles/__init__.py +617 -27
- aws_cdk/aws_databrew/__init__.py +68 -12
- aws_cdk/aws_datapipeline/__init__.py +42 -2
- aws_cdk/aws_datasync/__init__.py +1514 -977
- aws_cdk/aws_datazone/__init__.py +7426 -1763
- aws_cdk/aws_dax/__init__.py +83 -6
- aws_cdk/aws_deadline/__init__.py +511 -36
- aws_cdk/aws_detective/__init__.py +35 -6
- aws_cdk/aws_devicefarm/__init__.py +68 -12
- aws_cdk/aws_devopsguru/__init__.py +37 -6
- aws_cdk/aws_directoryservice/__init__.py +53 -4
- aws_cdk/aws_dlm/__init__.py +13 -2
- aws_cdk/aws_dms/__init__.py +184 -27
- aws_cdk/aws_docdb/__init__.py +350 -49
- aws_cdk/aws_docdbelastic/__init__.py +13 -2
- aws_cdk/aws_dsql/__init__.py +386 -16
- aws_cdk/aws_dynamodb/__init__.py +1479 -170
- aws_cdk/aws_ec2/__init__.py +10465 -1335
- aws_cdk/aws_ecr/__init__.py +637 -43
- aws_cdk/aws_ecr_assets/__init__.py +10 -0
- aws_cdk/aws_ecs/__init__.py +6629 -490
- aws_cdk/aws_ecs_patterns/__init__.py +124 -12
- aws_cdk/aws_efs/__init__.py +276 -24
- aws_cdk/aws_eks/__init__.py +1132 -227
- aws_cdk/aws_elasticache/__init__.py +378 -25
- aws_cdk/aws_elasticbeanstalk/__init__.py +75 -8
- aws_cdk/aws_elasticloadbalancing/__init__.py +22 -2
- aws_cdk/aws_elasticloadbalancingv2/__init__.py +1796 -123
- aws_cdk/aws_elasticsearch/__init__.py +291 -9
- aws_cdk/aws_emr/__init__.py +219 -18
- aws_cdk/aws_emrcontainers/__init__.py +71 -2
- aws_cdk/aws_emrserverless/__init__.py +188 -3
- aws_cdk/aws_entityresolution/__init__.py +585 -58
- aws_cdk/aws_events/__init__.py +1007 -126
- aws_cdk/aws_events_targets/__init__.py +398 -65
- aws_cdk/aws_eventschemas/__init__.py +46 -8
- aws_cdk/aws_evidently/__init__.py +57 -10
- aws_cdk/aws_evs/__init__.py +2244 -0
- aws_cdk/aws_finspace/__init__.py +71 -2
- aws_cdk/aws_fis/__init__.py +26 -4
- aws_cdk/aws_fms/__init__.py +35 -6
- aws_cdk/aws_forecast/__init__.py +24 -4
- aws_cdk/aws_frauddetector/__init__.py +79 -14
- aws_cdk/aws_fsx/__init__.py +1349 -127
- aws_cdk/aws_gamelift/__init__.py +755 -94
- aws_cdk/aws_gameliftstreams/__init__.py +44 -22
- aws_cdk/aws_globalaccelerator/__init__.py +73 -14
- aws_cdk/aws_glue/__init__.py +1455 -378
- aws_cdk/aws_grafana/__init__.py +13 -2
- aws_cdk/aws_greengrass/__init__.py +654 -32
- aws_cdk/aws_greengrassv2/__init__.py +53 -4
- aws_cdk/aws_groundstation/__init__.py +122 -6
- aws_cdk/aws_guardduty/__init__.py +1613 -123
- aws_cdk/aws_healthimaging/__init__.py +71 -2
- aws_cdk/aws_healthlake/__init__.py +42 -2
- aws_cdk/aws_iam/__init__.py +921 -141
- aws_cdk/aws_identitystore/__init__.py +24 -4
- aws_cdk/aws_imagebuilder/__init__.py +1454 -199
- aws_cdk/aws_inspector/__init__.py +44 -6
- aws_cdk/aws_inspectorv2/__init__.py +2285 -243
- aws_cdk/aws_internetmonitor/__init__.py +71 -2
- aws_cdk/aws_invoicing/__init__.py +13 -2
- aws_cdk/aws_iot/__init__.py +1760 -64
- aws_cdk/aws_iotanalytics/__init__.py +162 -8
- aws_cdk/aws_iotcoredeviceadvisor/__init__.py +106 -40
- aws_cdk/aws_iotevents/__init__.py +122 -6
- aws_cdk/aws_iotfleethub/__init__.py +71 -2
- aws_cdk/aws_iotfleetwise/__init__.py +195 -14
- aws_cdk/aws_iotsitewise/__init__.py +1837 -89
- aws_cdk/aws_iotthingsgraph/__init__.py +13 -2
- aws_cdk/aws_iottwinmaker/__init__.py +115 -10
- aws_cdk/aws_iotwireless/__init__.py +649 -22
- aws_cdk/aws_ivs/__init__.py +561 -57
- aws_cdk/aws_ivschat/__init__.py +24 -4
- aws_cdk/aws_kafkaconnect/__init__.py +35 -6
- aws_cdk/aws_kendra/__init__.py +120 -28
- aws_cdk/aws_kendraranking/__init__.py +13 -2
- aws_cdk/aws_kinesis/__init__.py +641 -23
- aws_cdk/aws_kinesisanalytics/__init__.py +467 -96
- aws_cdk/aws_kinesisanalyticsv2/__init__.py +207 -19
- aws_cdk/aws_kinesisfirehose/__init__.py +3087 -295
- aws_cdk/aws_kinesisvideo/__init__.py +24 -4
- aws_cdk/aws_kms/__init__.py +204 -45
- aws_cdk/aws_lakeformation/__init__.py +80 -15
- aws_cdk/aws_lambda/__init__.py +2236 -297
- aws_cdk/aws_lambda_event_sources/__init__.py +638 -1
- aws_cdk/aws_lambda_nodejs/__init__.py +63 -24
- aws_cdk/aws_launchwizard/__init__.py +13 -2
- aws_cdk/aws_lex/__init__.py +2162 -212
- aws_cdk/aws_licensemanager/__init__.py +24 -4
- aws_cdk/aws_lightsail/__init__.py +2958 -1322
- aws_cdk/aws_location/__init__.py +618 -14
- aws_cdk/aws_logs/__init__.py +6014 -923
- aws_cdk/aws_lookoutequipment/__init__.py +13 -2
- aws_cdk/aws_lookoutmetrics/__init__.py +38 -6
- aws_cdk/aws_lookoutvision/__init__.py +71 -2
- aws_cdk/aws_m2/__init__.py +94 -19
- aws_cdk/aws_macie/__init__.py +49 -11
- aws_cdk/aws_managedblockchain/__init__.py +180 -6
- aws_cdk/aws_mediaconnect/__init__.py +101 -18
- aws_cdk/aws_mediaconvert/__init__.py +35 -6
- aws_cdk/aws_medialive/__init__.py +1938 -532
- aws_cdk/aws_mediapackage/__init__.py +59 -12
- aws_cdk/aws_mediapackagev2/__init__.py +1616 -233
- aws_cdk/aws_mediastore/__init__.py +13 -2
- aws_cdk/aws_mediatailor/__init__.py +583 -12
- aws_cdk/aws_memorydb/__init__.py +271 -12
- aws_cdk/aws_mpa/__init__.py +1495 -0
- aws_cdk/aws_msk/__init__.py +108 -22
- aws_cdk/aws_mwaa/__init__.py +121 -9
- aws_cdk/aws_neptune/__init__.py +290 -78
- aws_cdk/aws_neptunegraph/__init__.py +24 -4
- aws_cdk/aws_networkfirewall/__init__.py +1184 -164
- aws_cdk/aws_networkmanager/__init__.py +349 -33
- aws_cdk/aws_nimblestudio/__init__.py +283 -408
- aws_cdk/aws_notifications/__init__.py +317 -12
- aws_cdk/aws_notificationscontacts/__init__.py +13 -2
- aws_cdk/aws_oam/__init__.py +24 -4
- aws_cdk/aws_observabilityadmin/__init__.py +2561 -0
- aws_cdk/aws_odb/__init__.py +5872 -0
- aws_cdk/aws_omics/__init__.py +2967 -162
- aws_cdk/aws_opensearchserverless/__init__.py +312 -37
- aws_cdk/aws_opensearchservice/__init__.py +501 -19
- aws_cdk/aws_opsworks/__init__.py +235 -139
- aws_cdk/aws_opsworkscm/__init__.py +16 -52
- aws_cdk/aws_organizations/__init__.py +70 -10
- aws_cdk/aws_osis/__init__.py +167 -2
- aws_cdk/aws_panorama/__init__.py +181 -9
- aws_cdk/aws_paymentcryptography/__init__.py +24 -4
- aws_cdk/aws_pcaconnectorad/__init__.py +59 -10
- aws_cdk/aws_pcaconnectorscep/__init__.py +24 -4
- aws_cdk/aws_pcs/__init__.py +516 -64
- aws_cdk/aws_personalize/__init__.py +46 -8
- aws_cdk/aws_pinpoint/__init__.py +329 -38
- aws_cdk/aws_pinpointemail/__init__.py +48 -8
- aws_cdk/aws_pipes/__init__.py +12 -2
- aws_cdk/aws_proton/__init__.py +37 -6
- aws_cdk/aws_qbusiness/__init__.py +635 -34
- aws_cdk/aws_qldb/__init__.py +24 -4
- aws_cdk/aws_quicksight/__init__.py +7900 -1160
- aws_cdk/aws_ram/__init__.py +24 -4
- aws_cdk/aws_rbin/__init__.py +12 -2
- aws_cdk/aws_rds/__init__.py +3721 -573
- aws_cdk/aws_redshift/__init__.py +143 -20
- aws_cdk/aws_redshiftserverless/__init__.py +699 -11
- aws_cdk/aws_refactorspaces/__init__.py +64 -14
- aws_cdk/aws_rekognition/__init__.py +93 -6
- aws_cdk/aws_resiliencehub/__init__.py +24 -4
- aws_cdk/aws_resourceexplorer2/__init__.py +35 -6
- aws_cdk/aws_resourcegroups/__init__.py +82 -4
- aws_cdk/aws_robomaker/__init__.py +72 -12
- aws_cdk/aws_rolesanywhere/__init__.py +194 -19
- aws_cdk/aws_route53/__init__.py +3965 -1436
- aws_cdk/aws_route53_targets/__init__.py +3 -0
- aws_cdk/aws_route53profiles/__init__.py +37 -6
- aws_cdk/aws_route53recoverycontrol/__init__.py +46 -8
- aws_cdk/aws_route53recoveryreadiness/__init__.py +104 -8
- aws_cdk/aws_route53resolver/__init__.py +189 -40
- aws_cdk/aws_rtbfabric/__init__.py +3498 -0
- aws_cdk/aws_rum/__init__.py +13 -2
- aws_cdk/aws_s3/__init__.py +1742 -221
- aws_cdk/aws_s3_assets/__init__.py +11 -11
- aws_cdk/aws_s3_deployment/__init__.py +153 -11
- aws_cdk/aws_s3_notifications/__init__.py +7 -7
- aws_cdk/aws_s3express/__init__.py +1053 -6
- aws_cdk/aws_s3objectlambda/__init__.py +68 -16
- aws_cdk/aws_s3outposts/__init__.py +46 -8
- aws_cdk/aws_s3tables/__init__.py +2000 -323
- aws_cdk/aws_s3vectors/__init__.py +1378 -0
- aws_cdk/aws_sagemaker/__init__.py +6848 -373
- aws_cdk/aws_sam/__init__.py +79 -14
- aws_cdk/aws_scheduler/__init__.py +249 -4
- aws_cdk/aws_sdb/__init__.py +12 -2
- aws_cdk/aws_secretsmanager/__init__.py +194 -14
- aws_cdk/aws_securityhub/__init__.py +3121 -176
- aws_cdk/aws_securitylake/__init__.py +46 -8
- aws_cdk/aws_servicecatalog/__init__.py +429 -246
- aws_cdk/aws_servicecatalogappregistry/__init__.py +164 -8
- aws_cdk/aws_servicediscovery/__init__.py +188 -47
- aws_cdk/aws_ses/__init__.py +2265 -369
- aws_cdk/aws_shield/__init__.py +46 -8
- aws_cdk/aws_signer/__init__.py +33 -4
- aws_cdk/aws_simspaceweaver/__init__.py +42 -2
- aws_cdk/aws_smsvoice/__init__.py +4716 -0
- aws_cdk/aws_sns/__init__.py +263 -29
- aws_cdk/aws_sns_subscriptions/__init__.py +265 -2
- aws_cdk/aws_sqs/__init__.py +223 -14
- aws_cdk/aws_ssm/__init__.py +413 -58
- aws_cdk/aws_ssmcontacts/__init__.py +98 -9
- aws_cdk/aws_ssmguiconnect/__init__.py +20 -9
- aws_cdk/aws_ssmincidents/__init__.py +24 -4
- aws_cdk/aws_ssmquicksetup/__init__.py +393 -8
- aws_cdk/aws_sso/__init__.py +70 -12
- aws_cdk/aws_stepfunctions/__init__.py +823 -94
- aws_cdk/aws_stepfunctions_tasks/__init__.py +2323 -150
- aws_cdk/aws_supportapp/__init__.py +39 -6
- aws_cdk/aws_synthetics/__init__.py +1088 -126
- aws_cdk/aws_systemsmanagersap/__init__.py +13 -2
- aws_cdk/aws_timestream/__init__.py +104 -8
- aws_cdk/aws_transfer/__init__.py +784 -87
- aws_cdk/aws_verifiedpermissions/__init__.py +306 -13
- aws_cdk/aws_voiceid/__init__.py +54 -5
- aws_cdk/aws_vpclattice/__init__.py +589 -231
- aws_cdk/aws_waf/__init__.py +79 -14
- aws_cdk/aws_wafregional/__init__.py +123 -22
- aws_cdk/aws_wafv2/__init__.py +1183 -64
- aws_cdk/aws_wisdom/__init__.py +1403 -90
- aws_cdk/aws_workspaces/__init__.py +134 -6
- aws_cdk/aws_workspacesinstances/__init__.py +3940 -0
- aws_cdk/aws_workspacesthinclient/__init__.py +79 -10
- aws_cdk/aws_workspacesweb/__init__.py +1057 -141
- aws_cdk/aws_xray/__init__.py +48 -8
- aws_cdk/cloud_assembly_schema/__init__.py +368 -48
- aws_cdk/custom_resources/__init__.py +58 -12
- aws_cdk/cx_api/__init__.py +125 -21
- aws_cdk/interfaces/__init__.py +739 -0
- aws_cdk/interfaces/alexa_ask/__init__.py +146 -0
- aws_cdk/interfaces/aws_accessanalyzer/__init__.py +146 -0
- aws_cdk/interfaces/aws_acmpca/__init__.py +501 -0
- aws_cdk/interfaces/aws_aiops/__init__.py +146 -0
- aws_cdk/interfaces/aws_amazonmq/__init__.py +386 -0
- aws_cdk/interfaces/aws_amplify/__init__.py +352 -0
- aws_cdk/interfaces/aws_amplifyuibuilder/__init__.py +454 -0
- aws_cdk/interfaces/aws_apigateway/__init__.py +2486 -0
- aws_cdk/interfaces/aws_apigatewayv2/__init__.py +1651 -0
- aws_cdk/interfaces/aws_appconfig/__init__.py +1020 -0
- aws_cdk/interfaces/aws_appflow/__init__.py +404 -0
- aws_cdk/interfaces/aws_appintegrations/__init__.py +396 -0
- aws_cdk/interfaces/aws_applicationautoscaling/__init__.py +307 -0
- aws_cdk/interfaces/aws_applicationinsights/__init__.py +148 -0
- aws_cdk/interfaces/aws_applicationsignals/__init__.py +358 -0
- aws_cdk/interfaces/aws_appmesh/__init__.py +888 -0
- aws_cdk/interfaces/aws_apprunner/__init__.py +564 -0
- aws_cdk/interfaces/aws_appstream/__init__.py +1482 -0
- aws_cdk/interfaces/aws_appsync/__init__.py +1326 -0
- aws_cdk/interfaces/aws_apptest/__init__.py +163 -0
- aws_cdk/interfaces/aws_aps/__init__.py +558 -0
- aws_cdk/interfaces/aws_arcregionswitch/__init__.py +146 -0
- aws_cdk/interfaces/aws_arczonalshift/__init__.py +273 -0
- aws_cdk/interfaces/aws_athena/__init__.py +575 -0
- aws_cdk/interfaces/aws_auditmanager/__init__.py +163 -0
- aws_cdk/interfaces/aws_autoscaling/__init__.py +705 -0
- aws_cdk/interfaces/aws_autoscalingplans/__init__.py +148 -0
- aws_cdk/interfaces/aws_b2bi/__init__.py +524 -0
- aws_cdk/interfaces/aws_backup/__init__.py +955 -0
- aws_cdk/interfaces/aws_backupgateway/__init__.py +146 -0
- aws_cdk/interfaces/aws_batch/__init__.py +681 -0
- aws_cdk/interfaces/aws_bcmdataexports/__init__.py +146 -0
- aws_cdk/interfaces/aws_bedrock/__init__.py +1942 -0
- aws_cdk/interfaces/aws_bedrockagentcore/__init__.py +934 -0
- aws_cdk/interfaces/aws_billing/__init__.py +146 -0
- aws_cdk/interfaces/aws_billingconductor/__init__.py +463 -0
- aws_cdk/interfaces/aws_budgets/__init__.py +261 -0
- aws_cdk/interfaces/aws_cassandra/__init__.py +381 -0
- aws_cdk/interfaces/aws_ce/__init__.py +352 -0
- aws_cdk/interfaces/aws_certificatemanager/__init__.py +251 -0
- aws_cdk/interfaces/aws_chatbot/__init__.py +366 -0
- aws_cdk/interfaces/aws_cleanrooms/__init__.py +1103 -0
- aws_cdk/interfaces/aws_cleanroomsml/__init__.py +148 -0
- aws_cdk/interfaces/aws_cloud9/__init__.py +166 -0
- aws_cdk/interfaces/aws_cloudformation/__init__.py +1919 -0
- aws_cdk/interfaces/aws_cloudfront/__init__.py +1998 -0
- aws_cdk/interfaces/aws_cloudtrail/__init__.py +570 -0
- aws_cdk/interfaces/aws_cloudwatch/__init__.py +733 -0
- aws_cdk/interfaces/aws_codeartifact/__init__.py +352 -0
- aws_cdk/interfaces/aws_codebuild/__init__.py +487 -0
- aws_cdk/interfaces/aws_codecommit/__init__.py +163 -0
- aws_cdk/interfaces/aws_codeconnections/__init__.py +146 -0
- aws_cdk/interfaces/aws_codedeploy/__init__.py +352 -0
- aws_cdk/interfaces/aws_codeguruprofiler/__init__.py +168 -0
- aws_cdk/interfaces/aws_codegurureviewer/__init__.py +148 -0
- aws_cdk/interfaces/aws_codepipeline/__init__.py +388 -0
- aws_cdk/interfaces/aws_codestar/__init__.py +146 -0
- aws_cdk/interfaces/aws_codestarconnections/__init__.py +370 -0
- aws_cdk/interfaces/aws_codestarnotifications/__init__.py +148 -0
- aws_cdk/interfaces/aws_cognito/__init__.py +1929 -0
- aws_cdk/interfaces/aws_comprehend/__init__.py +251 -0
- aws_cdk/interfaces/aws_config/__init__.py +1165 -0
- aws_cdk/interfaces/aws_connect/__init__.py +2949 -0
- aws_cdk/interfaces/aws_connectcampaigns/__init__.py +146 -0
- aws_cdk/interfaces/aws_connectcampaignsv2/__init__.py +146 -0
- aws_cdk/interfaces/aws_controltower/__init__.py +394 -0
- aws_cdk/interfaces/aws_cur/__init__.py +146 -0
- aws_cdk/interfaces/aws_customerprofiles/__init__.py +915 -0
- aws_cdk/interfaces/aws_databrew/__init__.py +661 -0
- aws_cdk/interfaces/aws_datapipeline/__init__.py +146 -0
- aws_cdk/interfaces/aws_datasync/__init__.py +1384 -0
- aws_cdk/interfaces/aws_datazone/__init__.py +2238 -0
- aws_cdk/interfaces/aws_dax/__init__.py +364 -0
- aws_cdk/interfaces/aws_deadline/__init__.py +1303 -0
- aws_cdk/interfaces/aws_detective/__init__.py +364 -0
- aws_cdk/interfaces/aws_devicefarm/__init__.py +663 -0
- aws_cdk/interfaces/aws_devopsguru/__init__.py +362 -0
- aws_cdk/interfaces/aws_directoryservice/__init__.py +251 -0
- aws_cdk/interfaces/aws_dlm/__init__.py +166 -0
- aws_cdk/interfaces/aws_dms/__init__.py +1176 -0
- aws_cdk/interfaces/aws_docdb/__init__.py +560 -0
- aws_cdk/interfaces/aws_docdbelastic/__init__.py +146 -0
- aws_cdk/interfaces/aws_dsql/__init__.py +146 -0
- aws_cdk/interfaces/aws_dynamodb/__init__.py +278 -0
- aws_cdk/interfaces/aws_ec2/__init__.py +11963 -0
- aws_cdk/interfaces/aws_ecr/__init__.py +814 -0
- aws_cdk/interfaces/aws_ecs/__init__.py +845 -0
- aws_cdk/interfaces/aws_efs/__init__.py +392 -0
- aws_cdk/interfaces/aws_eks/__init__.py +948 -0
- aws_cdk/interfaces/aws_elasticache/__init__.py +1108 -0
- aws_cdk/interfaces/aws_elasticbeanstalk/__init__.py +503 -0
- aws_cdk/interfaces/aws_elasticloadbalancing/__init__.py +148 -0
- aws_cdk/interfaces/aws_elasticloadbalancingv2/__init__.py +795 -0
- aws_cdk/interfaces/aws_elasticsearch/__init__.py +158 -0
- aws_cdk/interfaces/aws_emr/__init__.py +913 -0
- aws_cdk/interfaces/aws_emrcontainers/__init__.py +168 -0
- aws_cdk/interfaces/aws_emrserverless/__init__.py +166 -0
- aws_cdk/interfaces/aws_entityresolution/__init__.py +608 -0
- aws_cdk/interfaces/aws_events/__init__.py +872 -0
- aws_cdk/interfaces/aws_eventschemas/__init__.py +455 -0
- aws_cdk/interfaces/aws_evidently/__init__.py +558 -0
- aws_cdk/interfaces/aws_evs/__init__.py +166 -0
- aws_cdk/interfaces/aws_finspace/__init__.py +166 -0
- aws_cdk/interfaces/aws_fis/__init__.py +271 -0
- aws_cdk/interfaces/aws_fms/__init__.py +364 -0
- aws_cdk/interfaces/aws_forecast/__init__.py +249 -0
- aws_cdk/interfaces/aws_frauddetector/__init__.py +764 -0
- aws_cdk/interfaces/aws_fsx/__init__.py +663 -0
- aws_cdk/interfaces/aws_gamelift/__init__.py +1325 -0
- aws_cdk/interfaces/aws_gameliftstreams/__init__.py +249 -0
- aws_cdk/interfaces/aws_globalaccelerator/__init__.py +461 -0
- aws_cdk/interfaces/aws_glue/__init__.py +2377 -0
- aws_cdk/interfaces/aws_grafana/__init__.py +146 -0
- aws_cdk/interfaces/aws_greengrass/__init__.py +1871 -0
- aws_cdk/interfaces/aws_greengrassv2/__init__.py +251 -0
- aws_cdk/interfaces/aws_groundstation/__init__.py +396 -0
- aws_cdk/interfaces/aws_guardduty/__init__.py +1225 -0
- aws_cdk/interfaces/aws_healthimaging/__init__.py +163 -0
- aws_cdk/interfaces/aws_healthlake/__init__.py +146 -0
- aws_cdk/interfaces/aws_iam/__init__.py +1803 -0
- aws_cdk/interfaces/aws_identitystore/__init__.py +288 -0
- aws_cdk/interfaces/aws_imagebuilder/__init__.py +984 -0
- aws_cdk/interfaces/aws_inspector/__init__.py +354 -0
- aws_cdk/interfaces/aws_inspectorv2/__init__.py +467 -0
- aws_cdk/interfaces/aws_internetmonitor/__init__.py +163 -0
- aws_cdk/interfaces/aws_invoicing/__init__.py +146 -0
- aws_cdk/interfaces/aws_iot/__init__.py +3483 -0
- aws_cdk/interfaces/aws_iotanalytics/__init__.py +455 -0
- aws_cdk/interfaces/aws_iotcoredeviceadvisor/__init__.py +168 -0
- aws_cdk/interfaces/aws_iotevents/__init__.py +352 -0
- aws_cdk/interfaces/aws_iotfleethub/__init__.py +166 -0
- aws_cdk/interfaces/aws_iotfleetwise/__init__.py +892 -0
- aws_cdk/interfaces/aws_iotsitewise/__init__.py +1097 -0
- aws_cdk/interfaces/aws_iotthingsgraph/__init__.py +146 -0
- aws_cdk/interfaces/aws_iottwinmaker/__init__.py +711 -0
- aws_cdk/interfaces/aws_iotwireless/__init__.py +1401 -0
- aws_cdk/interfaces/aws_ivs/__init__.py +1075 -0
- aws_cdk/interfaces/aws_ivschat/__init__.py +251 -0
- aws_cdk/interfaces/aws_kafkaconnect/__init__.py +354 -0
- aws_cdk/interfaces/aws_kendra/__init__.py +428 -0
- aws_cdk/interfaces/aws_kendraranking/__init__.py +166 -0
- aws_cdk/interfaces/aws_kinesis/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalytics/__init__.py +364 -0
- aws_cdk/interfaces/aws_kinesisanalyticsv2/__init__.py +479 -0
- aws_cdk/interfaces/aws_kinesisfirehose/__init__.py +168 -0
- aws_cdk/interfaces/aws_kinesisvideo/__init__.py +283 -0
- aws_cdk/interfaces/aws_kms/__init__.py +376 -0
- aws_cdk/interfaces/aws_lakeformation/__init__.py +860 -0
- aws_cdk/interfaces/aws_lambda/__init__.py +1141 -0
- aws_cdk/interfaces/aws_launchwizard/__init__.py +146 -0
- aws_cdk/interfaces/aws_lex/__init__.py +513 -0
- aws_cdk/interfaces/aws_licensemanager/__init__.py +249 -0
- aws_cdk/interfaces/aws_lightsail/__init__.py +1744 -0
- aws_cdk/interfaces/aws_location/__init__.py +879 -0
- aws_cdk/interfaces/aws_logs/__init__.py +1667 -0
- aws_cdk/interfaces/aws_lookoutequipment/__init__.py +168 -0
- aws_cdk/interfaces/aws_lookoutmetrics/__init__.py +251 -0
- aws_cdk/interfaces/aws_lookoutvision/__init__.py +163 -0
- aws_cdk/interfaces/aws_m2/__init__.py +352 -0
- aws_cdk/interfaces/aws_macie/__init__.py +512 -0
- aws_cdk/interfaces/aws_managedblockchain/__init__.py +381 -0
- aws_cdk/interfaces/aws_mediaconnect/__init__.py +1028 -0
- aws_cdk/interfaces/aws_mediaconvert/__init__.py +396 -0
- aws_cdk/interfaces/aws_medialive/__init__.py +1755 -0
- aws_cdk/interfaces/aws_mediapackage/__init__.py +644 -0
- aws_cdk/interfaces/aws_mediapackagev2/__init__.py +618 -0
- aws_cdk/interfaces/aws_mediastore/__init__.py +146 -0
- aws_cdk/interfaces/aws_mediatailor/__init__.py +788 -0
- aws_cdk/interfaces/aws_memorydb/__init__.py +685 -0
- aws_cdk/interfaces/aws_mpa/__init__.py +249 -0
- aws_cdk/interfaces/aws_msk/__init__.py +764 -0
- aws_cdk/interfaces/aws_mwaa/__init__.py +166 -0
- aws_cdk/interfaces/aws_neptune/__init__.py +663 -0
- aws_cdk/interfaces/aws_neptunegraph/__init__.py +265 -0
- aws_cdk/interfaces/aws_networkfirewall/__init__.py +669 -0
- aws_cdk/interfaces/aws_networkmanager/__init__.py +1832 -0
- aws_cdk/interfaces/aws_nimblestudio/__init__.py +388 -0
- aws_cdk/interfaces/aws_notifications/__init__.py +868 -0
- aws_cdk/interfaces/aws_notificationscontacts/__init__.py +148 -0
- aws_cdk/interfaces/aws_oam/__init__.py +249 -0
- aws_cdk/interfaces/aws_observabilityadmin/__init__.py +362 -0
- aws_cdk/interfaces/aws_odb/__init__.py +562 -0
- aws_cdk/interfaces/aws_omics/__init__.py +838 -0
- aws_cdk/interfaces/aws_opensearchserverless/__init__.py +859 -0
- aws_cdk/interfaces/aws_opensearchservice/__init__.py +283 -0
- aws_cdk/interfaces/aws_opsworks/__init__.py +772 -0
- aws_cdk/interfaces/aws_opsworkscm/__init__.py +146 -0
- aws_cdk/interfaces/aws_organizations/__init__.py +646 -0
- aws_cdk/interfaces/aws_osis/__init__.py +146 -0
- aws_cdk/interfaces/aws_panorama/__init__.py +420 -0
- aws_cdk/interfaces/aws_paymentcryptography/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcaconnectorad/__init__.py +608 -0
- aws_cdk/interfaces/aws_pcaconnectorscep/__init__.py +249 -0
- aws_cdk/interfaces/aws_pcs/__init__.py +352 -0
- aws_cdk/interfaces/aws_personalize/__init__.py +455 -0
- aws_cdk/interfaces/aws_pinpoint/__init__.py +2125 -0
- aws_cdk/interfaces/aws_pinpointemail/__init__.py +467 -0
- aws_cdk/interfaces/aws_pipes/__init__.py +158 -0
- aws_cdk/interfaces/aws_proton/__init__.py +360 -0
- aws_cdk/interfaces/aws_qbusiness/__init__.py +1122 -0
- aws_cdk/interfaces/aws_qldb/__init__.py +283 -0
- aws_cdk/interfaces/aws_quicksight/__init__.py +1566 -0
- aws_cdk/interfaces/aws_ram/__init__.py +249 -0
- aws_cdk/interfaces/aws_rbin/__init__.py +146 -0
- aws_cdk/interfaces/aws_rds/__init__.py +1780 -0
- aws_cdk/interfaces/aws_redshift/__init__.py +1104 -0
- aws_cdk/interfaces/aws_redshiftserverless/__init__.py +356 -0
- aws_cdk/interfaces/aws_refactorspaces/__init__.py +605 -0
- aws_cdk/interfaces/aws_rekognition/__init__.py +406 -0
- aws_cdk/interfaces/aws_resiliencehub/__init__.py +251 -0
- aws_cdk/interfaces/aws_resourceexplorer2/__init__.py +354 -0
- aws_cdk/interfaces/aws_resourcegroups/__init__.py +261 -0
- aws_cdk/interfaces/aws_robomaker/__init__.py +673 -0
- aws_cdk/interfaces/aws_rolesanywhere/__init__.py +384 -0
- aws_cdk/interfaces/aws_route53/__init__.py +804 -0
- aws_cdk/interfaces/aws_route53profiles/__init__.py +368 -0
- aws_cdk/interfaces/aws_route53recoverycontrol/__init__.py +463 -0
- aws_cdk/interfaces/aws_route53recoveryreadiness/__init__.py +535 -0
- aws_cdk/interfaces/aws_route53resolver/__init__.py +1356 -0
- aws_cdk/interfaces/aws_rtbfabric/__init__.py +352 -0
- aws_cdk/interfaces/aws_rum/__init__.py +146 -0
- aws_cdk/interfaces/aws_s3/__init__.py +1171 -0
- aws_cdk/interfaces/aws_s3express/__init__.py +392 -0
- aws_cdk/interfaces/aws_s3objectlambda/__init__.py +271 -0
- aws_cdk/interfaces/aws_s3outposts/__init__.py +455 -0
- aws_cdk/interfaces/aws_s3tables/__init__.py +575 -0
- aws_cdk/interfaces/aws_s3vectors/__init__.py +354 -0
- aws_cdk/interfaces/aws_sagemaker/__init__.py +3797 -0
- aws_cdk/interfaces/aws_sam/__init__.py +603 -0
- aws_cdk/interfaces/aws_scheduler/__init__.py +286 -0
- aws_cdk/interfaces/aws_sdb/__init__.py +146 -0
- aws_cdk/interfaces/aws_secretsmanager/__init__.py +461 -0
- aws_cdk/interfaces/aws_securityhub/__init__.py +1499 -0
- aws_cdk/interfaces/aws_securitylake/__init__.py +474 -0
- aws_cdk/interfaces/aws_servicecatalog/__init__.py +1829 -0
- aws_cdk/interfaces/aws_servicecatalogappregistry/__init__.py +557 -0
- aws_cdk/interfaces/aws_servicediscovery/__init__.py +636 -0
- aws_cdk/interfaces/aws_ses/__init__.py +2018 -0
- aws_cdk/interfaces/aws_shield/__init__.py +455 -0
- aws_cdk/interfaces/aws_signer/__init__.py +266 -0
- aws_cdk/interfaces/aws_simspaceweaver/__init__.py +146 -0
- aws_cdk/interfaces/aws_smsvoice/__init__.py +892 -0
- aws_cdk/interfaces/aws_sns/__init__.py +455 -0
- aws_cdk/interfaces/aws_sqs/__init__.py +364 -0
- aws_cdk/interfaces/aws_ssm/__init__.py +982 -0
- aws_cdk/interfaces/aws_ssmcontacts/__init__.py +455 -0
- aws_cdk/interfaces/aws_ssmguiconnect/__init__.py +146 -0
- aws_cdk/interfaces/aws_ssmincidents/__init__.py +249 -0
- aws_cdk/interfaces/aws_ssmquicksetup/__init__.py +253 -0
- aws_cdk/interfaces/aws_sso/__init__.py +797 -0
- aws_cdk/interfaces/aws_stepfunctions/__init__.py +459 -0
- aws_cdk/interfaces/aws_supportapp/__init__.py +372 -0
- aws_cdk/interfaces/aws_synthetics/__init__.py +249 -0
- aws_cdk/interfaces/aws_systemsmanagersap/__init__.py +148 -0
- aws_cdk/interfaces/aws_timestream/__init__.py +526 -0
- aws_cdk/interfaces/aws_transfer/__init__.py +967 -0
- aws_cdk/interfaces/aws_verifiedpermissions/__init__.py +538 -0
- aws_cdk/interfaces/aws_voiceid/__init__.py +146 -0
- aws_cdk/interfaces/aws_vpclattice/__init__.py +1418 -0
- aws_cdk/interfaces/aws_waf/__init__.py +764 -0
- aws_cdk/interfaces/aws_wafregional/__init__.py +1182 -0
- aws_cdk/interfaces/aws_wafv2/__init__.py +870 -0
- aws_cdk/interfaces/aws_wisdom/__init__.py +1556 -0
- aws_cdk/interfaces/aws_workspaces/__init__.py +352 -0
- aws_cdk/interfaces/aws_workspacesinstances/__init__.py +390 -0
- aws_cdk/interfaces/aws_workspacesthinclient/__init__.py +168 -0
- aws_cdk/interfaces/aws_workspacesweb/__init__.py +1085 -0
- aws_cdk/interfaces/aws_xray/__init__.py +457 -0
- aws_cdk/lambda_layer_awscli/__init__.py +6 -0
- aws_cdk/lambda_layer_node_proxy_agent/__init__.py +6 -0
- aws_cdk/pipelines/__init__.py +202 -52
- aws_cdk/region_info/__init__.py +3 -0
- aws_cdk/triggers/__init__.py +66 -18
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/METADATA +418 -18
- aws_cdk_lib-2.224.0.dist-info/RECORD +584 -0
- aws_cdk_lib-2.195.0.dist-info/RECORD +0 -304
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/LICENSE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/NOTICE +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/WHEEL +0 -0
- {aws_cdk_lib-2.195.0.dist-info → aws_cdk_lib-2.224.0.dist-info}/top_level.txt +0 -0
|
@@ -109,8 +109,8 @@ With the `@aws-cdk/aws-lambda-nodejs:useLatestRuntimeVersion` disabled, the runt
|
|
|
109
109
|
|
|
110
110
|
## Lock file
|
|
111
111
|
|
|
112
|
-
The `NodejsFunction` requires a dependencies lock file (`yarn.lock`, `pnpm-lock.yaml`, `bun.lockb
|
|
113
|
-
`package-lock.json`). When bundling in a Docker container, the path containing this lock file is
|
|
112
|
+
The `NodejsFunction` requires a dependencies lock file (`yarn.lock`, `pnpm-lock.yaml`, `bun.lockb`,
|
|
113
|
+
`bun.lock` or `package-lock.json`). When bundling in a Docker container, the path containing this lock file is
|
|
114
114
|
used as the source (`/asset-input`) for the volume mounted in the container.
|
|
115
115
|
|
|
116
116
|
By default, the construct will try to automatically determine your project lock file.
|
|
@@ -200,7 +200,7 @@ nodejs.NodejsFunction(self, "my-handler",
|
|
|
200
200
|
|
|
201
201
|
The modules listed in `nodeModules` must be present in the `package.json`'s dependencies or
|
|
202
202
|
installed. The same version will be used for installation. The lock file (`yarn.lock`,
|
|
203
|
-
`pnpm-lock.yaml`, `bun.lockb` or `package-lock.json`) will be used along with the right installer (`yarn`,
|
|
203
|
+
`pnpm-lock.yaml`, `bun.lockb`, `bun.lock` or `package-lock.json`) will be used along with the right installer (`yarn`,
|
|
204
204
|
`pnpm`, `bun` or `npm`).
|
|
205
205
|
|
|
206
206
|
When working with `nodeModules` using native dependencies, you might want to force bundling in a
|
|
@@ -488,6 +488,7 @@ from .. import (
|
|
|
488
488
|
DockerRunOptions as _DockerRunOptions_81583d32,
|
|
489
489
|
DockerVolume as _DockerVolume_849485b7,
|
|
490
490
|
Duration as _Duration_4839e8c3,
|
|
491
|
+
RemovalPolicy as _RemovalPolicy_9f93c814,
|
|
491
492
|
Size as _Size_7b441c34,
|
|
492
493
|
)
|
|
493
494
|
from ..aws_codeguruprofiler import IProfilingGroup as _IProfilingGroup_0bba72c4
|
|
@@ -499,7 +500,6 @@ from ..aws_ec2 import (
|
|
|
499
500
|
from ..aws_iam import (
|
|
500
501
|
IRole as _IRole_235f5d8e, PolicyStatement as _PolicyStatement_0fe33853
|
|
501
502
|
)
|
|
502
|
-
from ..aws_kms import IKey as _IKey_5f11635f
|
|
503
503
|
from ..aws_lambda import (
|
|
504
504
|
AdotInstrumentationConfig as _AdotInstrumentationConfig_7c38d65d,
|
|
505
505
|
ApplicationLogLevel as _ApplicationLogLevel_cd92660a,
|
|
@@ -508,7 +508,6 @@ from ..aws_lambda import (
|
|
|
508
508
|
FileSystem as _FileSystem_a5fa005d,
|
|
509
509
|
Function as _Function_244f85d8,
|
|
510
510
|
FunctionOptions as _FunctionOptions_328f4d39,
|
|
511
|
-
ICodeSigningConfig as _ICodeSigningConfig_edb41d1f,
|
|
512
511
|
IDestination as _IDestination_40f19de4,
|
|
513
512
|
IEventSource as _IEventSource_3686b3f8,
|
|
514
513
|
ILayerVersion as _ILayerVersion_5ac127c8,
|
|
@@ -529,6 +528,10 @@ from ..aws_logs import (
|
|
|
529
528
|
)
|
|
530
529
|
from ..aws_sns import ITopic as _ITopic_9eca4852
|
|
531
530
|
from ..aws_sqs import IQueue as _IQueue_7ed6f679
|
|
531
|
+
from ..interfaces.aws_kms import IKeyRef as _IKeyRef_d4fc6ef3
|
|
532
|
+
from ..interfaces.aws_lambda import (
|
|
533
|
+
ICodeSigningConfigRef as _ICodeSigningConfigRef_1d909622
|
|
534
|
+
)
|
|
532
535
|
|
|
533
536
|
|
|
534
537
|
@jsii.data_type(
|
|
@@ -1576,14 +1579,14 @@ class NodejsFunction(
|
|
|
1576
1579
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
1577
1580
|
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
1578
1581
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
1579
|
-
code_signing_config: typing.Optional[
|
|
1582
|
+
code_signing_config: typing.Optional[_ICodeSigningConfigRef_1d909622] = None,
|
|
1580
1583
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1581
1584
|
dead_letter_queue: typing.Optional[_IQueue_7ed6f679] = None,
|
|
1582
1585
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
1583
1586
|
dead_letter_topic: typing.Optional[_ITopic_9eca4852] = None,
|
|
1584
1587
|
description: typing.Optional[builtins.str] = None,
|
|
1585
1588
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1586
|
-
environment_encryption: typing.Optional[
|
|
1589
|
+
environment_encryption: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
1587
1590
|
ephemeral_storage_size: typing.Optional[_Size_7b441c34] = None,
|
|
1588
1591
|
events: typing.Optional[typing.Sequence[_IEventSource_3686b3f8]] = None,
|
|
1589
1592
|
filesystem: typing.Optional[_FileSystem_a5fa005d] = None,
|
|
@@ -1595,6 +1598,7 @@ class NodejsFunction(
|
|
|
1595
1598
|
log_format: typing.Optional[builtins.str] = None,
|
|
1596
1599
|
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1597
1600
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1601
|
+
log_removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
1598
1602
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1599
1603
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1600
1604
|
log_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -1625,7 +1629,7 @@ class NodejsFunction(
|
|
|
1625
1629
|
:param aws_sdk_connection_reuse: The ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable does not exist in the AWS SDK for JavaScript v3. This prop will be deprecated when the Lambda Node16 runtime is deprecated on June 12, 2024. See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy Info for Node 16 runtimes / SDK v2 users: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript v2. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: - false (obsolete) for runtimes >= Node 18, true for runtimes <= Node 16.
|
|
1626
1630
|
:param bundling: Bundling options. Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.
|
|
1627
1631
|
:param code: The code that will be deployed to the Lambda Handler. If included, then properties related to bundling of the code are ignored. - If the ``code`` field is specified, then you must include the ``handler`` property. Default: - the code is bundled by esbuild
|
|
1628
|
-
:param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm``, ``bun`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json`` file
|
|
1632
|
+
:param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm``, ``bun`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json`` file
|
|
1629
1633
|
:param entry: Path to the entry file (JavaScript or TypeScript). Default: - Derived from the name of the defining file and the construct's id. If the ``NodejsFunction`` is defined in ``stack.ts`` with ``my-handler`` as id (``new NodejsFunction(this, 'my-handler')``), the construct will look at ``stack.my-handler.ts`` and ``stack.my-handler.js``.
|
|
1630
1634
|
:param handler: The name of the exported handler in the entry file. - If the ``code`` property is supplied, then you must include the ``handler`` property. The handler should be the name of the file that contains the exported handler and the function that should be called when the AWS Lambda is invoked. For example, if you had a file called ``myLambda.js`` and the function to be invoked was ``myHandler``, then you should input ``handler`` property as ``myLambda.myHandler``. - If the ``code`` property is not supplied and the handler input does not contain a ``.``, then the handler is prefixed with ``index.`` (index period). Otherwise, the handler property is not modified. Default: handler
|
|
1631
1635
|
:param project_root: The path to the directory containing project config files (``package.json`` or ``tsconfig.json``). Default: - the directory containing the ``depsLockFilePath``
|
|
@@ -1656,7 +1660,8 @@ class NodejsFunction(
|
|
|
1656
1660
|
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
1657
1661
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1658
1662
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1659
|
-
:param
|
|
1663
|
+
:param log_removal_policy: (deprecated) Determine the removal policy of the log group that is auto-created by this construct. Normally you want to retain the log group so you can diagnose issues from logs even after a deployment that no longer includes the log group. In that case, use the normal date-based retention policy to age out your logs. Default: RemovalPolicy.Retain
|
|
1664
|
+
:param log_retention: (deprecated) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
1660
1665
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
1661
1666
|
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - A new role is created.
|
|
1662
1667
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
@@ -1719,6 +1724,7 @@ class NodejsFunction(
|
|
|
1719
1724
|
log_format=log_format,
|
|
1720
1725
|
logging_format=logging_format,
|
|
1721
1726
|
log_group=log_group,
|
|
1727
|
+
log_removal_policy=log_removal_policy,
|
|
1722
1728
|
log_retention=log_retention,
|
|
1723
1729
|
log_retention_retry_options=log_retention_retry_options,
|
|
1724
1730
|
log_retention_role=log_retention_role,
|
|
@@ -1781,6 +1787,7 @@ class NodejsFunction(
|
|
|
1781
1787
|
"log_format": "logFormat",
|
|
1782
1788
|
"logging_format": "loggingFormat",
|
|
1783
1789
|
"log_group": "logGroup",
|
|
1790
|
+
"log_removal_policy": "logRemovalPolicy",
|
|
1784
1791
|
"log_retention": "logRetention",
|
|
1785
1792
|
"log_retention_retry_options": "logRetentionRetryOptions",
|
|
1786
1793
|
"log_retention_role": "logRetentionRole",
|
|
@@ -1825,14 +1832,14 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1825
1832
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
1826
1833
|
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
1827
1834
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
1828
|
-
code_signing_config: typing.Optional[
|
|
1835
|
+
code_signing_config: typing.Optional[_ICodeSigningConfigRef_1d909622] = None,
|
|
1829
1836
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1830
1837
|
dead_letter_queue: typing.Optional[_IQueue_7ed6f679] = None,
|
|
1831
1838
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
1832
1839
|
dead_letter_topic: typing.Optional[_ITopic_9eca4852] = None,
|
|
1833
1840
|
description: typing.Optional[builtins.str] = None,
|
|
1834
1841
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
1835
|
-
environment_encryption: typing.Optional[
|
|
1842
|
+
environment_encryption: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
1836
1843
|
ephemeral_storage_size: typing.Optional[_Size_7b441c34] = None,
|
|
1837
1844
|
events: typing.Optional[typing.Sequence[_IEventSource_3686b3f8]] = None,
|
|
1838
1845
|
filesystem: typing.Optional[_FileSystem_a5fa005d] = None,
|
|
@@ -1844,6 +1851,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1844
1851
|
log_format: typing.Optional[builtins.str] = None,
|
|
1845
1852
|
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
1846
1853
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
1854
|
+
log_removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
1847
1855
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
1848
1856
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
1849
1857
|
log_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -1904,7 +1912,8 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1904
1912
|
:param log_format: (deprecated) Sets the logFormat for the function. Default: "Text"
|
|
1905
1913
|
:param logging_format: Sets the loggingFormat for the function. Default: LoggingFormat.TEXT
|
|
1906
1914
|
:param log_group: The log group the function sends logs to. By default, Lambda functions send logs to an automatically created default log group named /aws/lambda/<function name>. However you cannot change the properties of this auto-created log group using the AWS CDK, e.g. you cannot set a different log retention. Use the ``logGroup`` property to create a fully customizable LogGroup ahead of time, and instruct the Lambda function to send logs to it. Providing a user-controlled log group was rolled out to commercial regions on 2023-11-16. If you are deploying to another type of region, please check regional availability first. Default: ``/aws/lambda/${this.functionName}`` - default log group created by Lambda
|
|
1907
|
-
:param
|
|
1915
|
+
:param log_removal_policy: (deprecated) Determine the removal policy of the log group that is auto-created by this construct. Normally you want to retain the log group so you can diagnose issues from logs even after a deployment that no longer includes the log group. In that case, use the normal date-based retention policy to age out your logs. Default: RemovalPolicy.Retain
|
|
1916
|
+
:param log_retention: (deprecated) The number of days log events are kept in CloudWatch Logs. When updating this property, unsetting it doesn't remove the log retention policy. To remove the retention policy, set the value to ``INFINITE``. This is a legacy API and we strongly recommend you move away from it if you can. Instead create a fully customizable log group with ``logs.LogGroup`` and use the ``logGroup`` property to instruct the Lambda function to send logs to it. Migrating from ``logRetention`` to ``logGroup`` will cause the name of the log group to change. Users and code and referencing the name verbatim will have to adjust. In AWS CDK code, you can access the log group name directly from the LogGroup construct:: import * as logs from 'aws-cdk-lib/aws-logs'; declare const myLogGroup: logs.LogGroup; myLogGroup.logGroupName; Default: logs.RetentionDays.INFINITE
|
|
1908
1917
|
:param log_retention_retry_options: When log retention is specified, a custom resource attempts to create the CloudWatch log group. These options control the retry policy when interacting with CloudWatch APIs. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - Default AWS SDK retry options.
|
|
1909
1918
|
:param log_retention_role: The IAM role for the Lambda function associated with the custom resource that sets the retention policy. This is a legacy API and we strongly recommend you migrate to ``logGroup`` if you can. ``logGroup`` allows you to create a fully customizable log group and instruct the Lambda function to send logs to it. Default: - A new role is created.
|
|
1910
1919
|
:param memory_size: The amount of memory, in MB, that is allocated to your Lambda function. Lambda uses this value to proportionally allocate the amount of CPU power. For more information, see Resource Model in the AWS Lambda Developer Guide. Default: 128
|
|
@@ -1926,7 +1935,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1926
1935
|
:param aws_sdk_connection_reuse: The ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable does not exist in the AWS SDK for JavaScript v3. This prop will be deprecated when the Lambda Node16 runtime is deprecated on June 12, 2024. See https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy Info for Node 16 runtimes / SDK v2 users: Whether to automatically reuse TCP connections when working with the AWS SDK for JavaScript v2. This sets the ``AWS_NODEJS_CONNECTION_REUSE_ENABLED`` environment variable to ``1``. Default: - false (obsolete) for runtimes >= Node 18, true for runtimes <= Node 16.
|
|
1927
1936
|
:param bundling: Bundling options. Default: - use default bundling options: no minify, no sourcemap, all modules are bundled.
|
|
1928
1937
|
:param code: The code that will be deployed to the Lambda Handler. If included, then properties related to bundling of the code are ignored. - If the ``code`` field is specified, then you must include the ``handler`` property. Default: - the code is bundled by esbuild
|
|
1929
|
-
:param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm``, ``bun`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json`` file
|
|
1938
|
+
:param deps_lock_file_path: The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json``). This will be used as the source for the volume mounted in the Docker container. Modules specified in ``nodeModules`` will be installed using the right installer (``yarn``, ``pnpm``, ``bun`` or ``npm``) along with this lock file. Default: - the path is found by walking up parent directories searching for a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json`` file
|
|
1930
1939
|
:param entry: Path to the entry file (JavaScript or TypeScript). Default: - Derived from the name of the defining file and the construct's id. If the ``NodejsFunction`` is defined in ``stack.ts`` with ``my-handler`` as id (``new NodejsFunction(this, 'my-handler')``), the construct will look at ``stack.my-handler.ts`` and ``stack.my-handler.js``.
|
|
1931
1940
|
:param handler: The name of the exported handler in the entry file. - If the ``code`` property is supplied, then you must include the ``handler`` property. The handler should be the name of the file that contains the exported handler and the function that should be called when the AWS Lambda is invoked. For example, if you had a file called ``myLambda.js`` and the function to be invoked was ``myHandler``, then you should input ``handler`` property as ``myLambda.myHandler``. - If the ``code`` property is not supplied and the handler input does not contain a ``.``, then the handler is prefixed with ``index.`` (index period). Otherwise, the handler property is not modified. Default: handler
|
|
1932
1941
|
:param project_root: The path to the directory containing project config files (``package.json`` or ``tsconfig.json``). Default: - the directory containing the ``depsLockFilePath``
|
|
@@ -1988,6 +1997,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
1988
1997
|
check_type(argname="argument log_format", value=log_format, expected_type=type_hints["log_format"])
|
|
1989
1998
|
check_type(argname="argument logging_format", value=logging_format, expected_type=type_hints["logging_format"])
|
|
1990
1999
|
check_type(argname="argument log_group", value=log_group, expected_type=type_hints["log_group"])
|
|
2000
|
+
check_type(argname="argument log_removal_policy", value=log_removal_policy, expected_type=type_hints["log_removal_policy"])
|
|
1991
2001
|
check_type(argname="argument log_retention", value=log_retention, expected_type=type_hints["log_retention"])
|
|
1992
2002
|
check_type(argname="argument log_retention_retry_options", value=log_retention_retry_options, expected_type=type_hints["log_retention_retry_options"])
|
|
1993
2003
|
check_type(argname="argument log_retention_role", value=log_retention_role, expected_type=type_hints["log_retention_role"])
|
|
@@ -2076,6 +2086,8 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2076
2086
|
self._values["logging_format"] = logging_format
|
|
2077
2087
|
if log_group is not None:
|
|
2078
2088
|
self._values["log_group"] = log_group
|
|
2089
|
+
if log_removal_policy is not None:
|
|
2090
|
+
self._values["log_removal_policy"] = log_removal_policy
|
|
2079
2091
|
if log_retention is not None:
|
|
2080
2092
|
self._values["log_retention"] = log_retention
|
|
2081
2093
|
if log_retention_retry_options is not None:
|
|
@@ -2264,13 +2276,13 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2264
2276
|
return typing.cast(typing.Optional[_Architecture_12d5a53f], result)
|
|
2265
2277
|
|
|
2266
2278
|
@builtins.property
|
|
2267
|
-
def code_signing_config(self) -> typing.Optional[
|
|
2279
|
+
def code_signing_config(self) -> typing.Optional[_ICodeSigningConfigRef_1d909622]:
|
|
2268
2280
|
'''Code signing config associated with this function.
|
|
2269
2281
|
|
|
2270
2282
|
:default: - Not Sign the Code
|
|
2271
2283
|
'''
|
|
2272
2284
|
result = self._values.get("code_signing_config")
|
|
2273
|
-
return typing.cast(typing.Optional[
|
|
2285
|
+
return typing.cast(typing.Optional[_ICodeSigningConfigRef_1d909622], result)
|
|
2274
2286
|
|
|
2275
2287
|
@builtins.property
|
|
2276
2288
|
def current_version_options(self) -> typing.Optional[_VersionOptions_981bb3c0]:
|
|
@@ -2341,13 +2353,13 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2341
2353
|
return typing.cast(typing.Optional[typing.Mapping[builtins.str, builtins.str]], result)
|
|
2342
2354
|
|
|
2343
2355
|
@builtins.property
|
|
2344
|
-
def environment_encryption(self) -> typing.Optional[
|
|
2356
|
+
def environment_encryption(self) -> typing.Optional[_IKeyRef_d4fc6ef3]:
|
|
2345
2357
|
'''The AWS KMS key that's used to encrypt your function's environment variables.
|
|
2346
2358
|
|
|
2347
2359
|
:default: - AWS Lambda creates and uses an AWS managed customer master key (CMK).
|
|
2348
2360
|
'''
|
|
2349
2361
|
result = self._values.get("environment_encryption")
|
|
2350
|
-
return typing.cast(typing.Optional[
|
|
2362
|
+
return typing.cast(typing.Optional[_IKeyRef_d4fc6ef3], result)
|
|
2351
2363
|
|
|
2352
2364
|
@builtins.property
|
|
2353
2365
|
def ephemeral_storage_size(self) -> typing.Optional[_Size_7b441c34]:
|
|
@@ -2475,9 +2487,27 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2475
2487
|
result = self._values.get("log_group")
|
|
2476
2488
|
return typing.cast(typing.Optional[_ILogGroup_3c4fa718], result)
|
|
2477
2489
|
|
|
2490
|
+
@builtins.property
|
|
2491
|
+
def log_removal_policy(self) -> typing.Optional[_RemovalPolicy_9f93c814]:
|
|
2492
|
+
'''(deprecated) Determine the removal policy of the log group that is auto-created by this construct.
|
|
2493
|
+
|
|
2494
|
+
Normally you want to retain the log group so you can diagnose issues
|
|
2495
|
+
from logs even after a deployment that no longer includes the log group.
|
|
2496
|
+
In that case, use the normal date-based retention policy to age out your
|
|
2497
|
+
logs.
|
|
2498
|
+
|
|
2499
|
+
:default: RemovalPolicy.Retain
|
|
2500
|
+
|
|
2501
|
+
:deprecated: use ``logGroup`` instead
|
|
2502
|
+
|
|
2503
|
+
:stability: deprecated
|
|
2504
|
+
'''
|
|
2505
|
+
result = self._values.get("log_removal_policy")
|
|
2506
|
+
return typing.cast(typing.Optional[_RemovalPolicy_9f93c814], result)
|
|
2507
|
+
|
|
2478
2508
|
@builtins.property
|
|
2479
2509
|
def log_retention(self) -> typing.Optional[_RetentionDays_070f99f0]:
|
|
2480
|
-
'''The number of days log events are kept in CloudWatch Logs.
|
|
2510
|
+
'''(deprecated) The number of days log events are kept in CloudWatch Logs.
|
|
2481
2511
|
|
|
2482
2512
|
When updating
|
|
2483
2513
|
this property, unsetting it doesn't remove the log retention policy. To
|
|
@@ -2498,6 +2528,10 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2498
2528
|
my_log_group.log_group_name
|
|
2499
2529
|
|
|
2500
2530
|
:default: logs.RetentionDays.INFINITE
|
|
2531
|
+
|
|
2532
|
+
:deprecated: use ``logGroup`` instead
|
|
2533
|
+
|
|
2534
|
+
:stability: deprecated
|
|
2501
2535
|
'''
|
|
2502
2536
|
result = self._values.get("log_retention")
|
|
2503
2537
|
return typing.cast(typing.Optional[_RetentionDays_070f99f0], result)
|
|
@@ -2779,7 +2813,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2779
2813
|
|
|
2780
2814
|
@builtins.property
|
|
2781
2815
|
def deps_lock_file_path(self) -> typing.Optional[builtins.str]:
|
|
2782
|
-
'''The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json``).
|
|
2816
|
+
'''The path to the dependencies lock file (``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json``).
|
|
2783
2817
|
|
|
2784
2818
|
This will be used as the source for the volume mounted in the Docker
|
|
2785
2819
|
container.
|
|
@@ -2790,7 +2824,7 @@ class NodejsFunctionProps(_FunctionOptions_328f4d39):
|
|
|
2790
2824
|
:default:
|
|
2791
2825
|
|
|
2792
2826
|
- the path is found by walking up parent directories searching for
|
|
2793
|
-
a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb`` or ``package-lock.json`` file
|
|
2827
|
+
a ``yarn.lock``, ``pnpm-lock.yaml``, ``bun.lockb``, ``bun.lock`` or ``package-lock.json`` file
|
|
2794
2828
|
'''
|
|
2795
2829
|
result = self._values.get("deps_lock_file_path")
|
|
2796
2830
|
return typing.cast(typing.Optional[builtins.str], result)
|
|
@@ -3051,14 +3085,14 @@ def _typecheckingstub__ece177829b26ef102d4080d730f168e29d7d310d1518738839cd3fc82
|
|
|
3051
3085
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
3052
3086
|
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
3053
3087
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
3054
|
-
code_signing_config: typing.Optional[
|
|
3088
|
+
code_signing_config: typing.Optional[_ICodeSigningConfigRef_1d909622] = None,
|
|
3055
3089
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3056
3090
|
dead_letter_queue: typing.Optional[_IQueue_7ed6f679] = None,
|
|
3057
3091
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
3058
3092
|
dead_letter_topic: typing.Optional[_ITopic_9eca4852] = None,
|
|
3059
3093
|
description: typing.Optional[builtins.str] = None,
|
|
3060
3094
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3061
|
-
environment_encryption: typing.Optional[
|
|
3095
|
+
environment_encryption: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
3062
3096
|
ephemeral_storage_size: typing.Optional[_Size_7b441c34] = None,
|
|
3063
3097
|
events: typing.Optional[typing.Sequence[_IEventSource_3686b3f8]] = None,
|
|
3064
3098
|
filesystem: typing.Optional[_FileSystem_a5fa005d] = None,
|
|
@@ -3070,6 +3104,7 @@ def _typecheckingstub__ece177829b26ef102d4080d730f168e29d7d310d1518738839cd3fc82
|
|
|
3070
3104
|
log_format: typing.Optional[builtins.str] = None,
|
|
3071
3105
|
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
3072
3106
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
3107
|
+
log_removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
3073
3108
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
3074
3109
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3075
3110
|
log_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -3110,14 +3145,14 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
3110
3145
|
application_log_level: typing.Optional[builtins.str] = None,
|
|
3111
3146
|
application_log_level_v2: typing.Optional[_ApplicationLogLevel_cd92660a] = None,
|
|
3112
3147
|
architecture: typing.Optional[_Architecture_12d5a53f] = None,
|
|
3113
|
-
code_signing_config: typing.Optional[
|
|
3148
|
+
code_signing_config: typing.Optional[_ICodeSigningConfigRef_1d909622] = None,
|
|
3114
3149
|
current_version_options: typing.Optional[typing.Union[_VersionOptions_981bb3c0, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3115
3150
|
dead_letter_queue: typing.Optional[_IQueue_7ed6f679] = None,
|
|
3116
3151
|
dead_letter_queue_enabled: typing.Optional[builtins.bool] = None,
|
|
3117
3152
|
dead_letter_topic: typing.Optional[_ITopic_9eca4852] = None,
|
|
3118
3153
|
description: typing.Optional[builtins.str] = None,
|
|
3119
3154
|
environment: typing.Optional[typing.Mapping[builtins.str, builtins.str]] = None,
|
|
3120
|
-
environment_encryption: typing.Optional[
|
|
3155
|
+
environment_encryption: typing.Optional[_IKeyRef_d4fc6ef3] = None,
|
|
3121
3156
|
ephemeral_storage_size: typing.Optional[_Size_7b441c34] = None,
|
|
3122
3157
|
events: typing.Optional[typing.Sequence[_IEventSource_3686b3f8]] = None,
|
|
3123
3158
|
filesystem: typing.Optional[_FileSystem_a5fa005d] = None,
|
|
@@ -3129,6 +3164,7 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
3129
3164
|
log_format: typing.Optional[builtins.str] = None,
|
|
3130
3165
|
logging_format: typing.Optional[_LoggingFormat_30be8e01] = None,
|
|
3131
3166
|
log_group: typing.Optional[_ILogGroup_3c4fa718] = None,
|
|
3167
|
+
log_removal_policy: typing.Optional[_RemovalPolicy_9f93c814] = None,
|
|
3132
3168
|
log_retention: typing.Optional[_RetentionDays_070f99f0] = None,
|
|
3133
3169
|
log_retention_retry_options: typing.Optional[typing.Union[_LogRetentionRetryOptions_ad797a7a, typing.Dict[builtins.str, typing.Any]]] = None,
|
|
3134
3170
|
log_retention_role: typing.Optional[_IRole_235f5d8e] = None,
|
|
@@ -3159,3 +3195,6 @@ def _typecheckingstub__2da45b394f0332be0f6d6b7468d9fb54961953d56265da69955d36ffa
|
|
|
3159
3195
|
) -> None:
|
|
3160
3196
|
"""Type checking stubs"""
|
|
3161
3197
|
pass
|
|
3198
|
+
|
|
3199
|
+
for cls in [ICommandHooks]:
|
|
3200
|
+
typing.cast(typing.Any, cls).__protocol_attrs__ = typing.cast(typing.Any, cls).__protocol_attrs__ - set(['__jsii_proxy_class__', '__jsii_type__'])
|
|
@@ -77,9 +77,13 @@ from .. import (
|
|
|
77
77
|
TagManager as _TagManager_0a598cb3,
|
|
78
78
|
TreeInspector as _TreeInspector_488e0dd5,
|
|
79
79
|
)
|
|
80
|
+
from ..interfaces.aws_launchwizard import (
|
|
81
|
+
DeploymentReference as _DeploymentReference_da9fb3ea,
|
|
82
|
+
IDeploymentRef as _IDeploymentRef_84f246b4,
|
|
83
|
+
)
|
|
80
84
|
|
|
81
85
|
|
|
82
|
-
@jsii.implements(_IInspectable_c2943556, _ITaggableV2_4e6798f8)
|
|
86
|
+
@jsii.implements(_IInspectable_c2943556, _IDeploymentRef_84f246b4, _ITaggableV2_4e6798f8)
|
|
83
87
|
class CfnDeployment(
|
|
84
88
|
_CfnResource_9df397a6,
|
|
85
89
|
metaclass=jsii.JSIIMeta,
|
|
@@ -126,7 +130,8 @@ class CfnDeployment(
|
|
|
126
130
|
specifications: typing.Optional[typing.Union[typing.Mapping[builtins.str, builtins.str], _IResolvable_da3f097b]] = None,
|
|
127
131
|
tags: typing.Optional[typing.Sequence[typing.Union[_CfnTag_f6864754, typing.Dict[builtins.str, typing.Any]]]] = None,
|
|
128
132
|
) -> None:
|
|
129
|
-
'''
|
|
133
|
+
'''Create a new ``AWS::LaunchWizard::Deployment``.
|
|
134
|
+
|
|
130
135
|
:param scope: Scope in which this resource is defined.
|
|
131
136
|
:param id: Construct identifier for this resource (unique in its scope).
|
|
132
137
|
:param deployment_pattern_name: The name of the deployment pattern.
|
|
@@ -244,6 +249,12 @@ class CfnDeployment(
|
|
|
244
249
|
def _cfn_properties(self) -> typing.Mapping[builtins.str, typing.Any]:
|
|
245
250
|
return typing.cast(typing.Mapping[builtins.str, typing.Any], jsii.get(self, "cfnProperties"))
|
|
246
251
|
|
|
252
|
+
@builtins.property
|
|
253
|
+
@jsii.member(jsii_name="deploymentRef")
|
|
254
|
+
def deployment_ref(self) -> _DeploymentReference_da9fb3ea:
|
|
255
|
+
'''A reference to a Deployment resource.'''
|
|
256
|
+
return typing.cast(_DeploymentReference_da9fb3ea, jsii.get(self, "deploymentRef"))
|
|
257
|
+
|
|
247
258
|
@builtins.property
|
|
248
259
|
@jsii.member(jsii_name="deploymentPatternName")
|
|
249
260
|
def deployment_pattern_name(self) -> builtins.str:
|