Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/aspnet-mvc-zip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This example shows how to deploy an ASP.NET application using the Lambda Web Adapter packaged as a ZIP file.

The `dotnet8` runtime is used.
The `dotnet10` runtime is used.

```yaml
Resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnet-mvc-zip/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transform: AWS::Serverless-2016-10-31
Globals:
Function:
MemorySize: 1024
Runtime: dotnet8
Runtime: dotnet10
Architectures:
- x86_64
Timeout: 29
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnet-webapi-zip/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This example shows how to deploy an ASP.NET application using the Lambda Web Adapter packaged as a ZIP file.

The `dotnet8` runtime is used.
The `dotnet10` runtime is used.

```yaml
Resources:
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnet-webapi-zip/src/AspNetWebApi.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<InvariantGlobalization>true</InvariantGlobalization>
Expand Down
2 changes: 1 addition & 1 deletion examples/aspnet-webapi-zip/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transform: AWS::Serverless-2016-10-31
Globals:
Function:
MemorySize: 1024
Runtime: dotnet8
Runtime: dotnet10
Architectures:
- x86_64
Timeout: 29
Expand Down
17 changes: 17 additions & 0 deletions examples/fastapi-response-streaming-lmi/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: FastAPI response streaming with Lambda Managed Instances

# Template-level because Outputs cannot carry Metadata. E6101 trips on the
# CapacityProviderArn output for the same cfn-lint schema gap noted on
# FastAPIFunction below. Remove both ignores once cfn-lint ships the attribute.
Metadata:
cfn-lint:
config:
ignore_checks:
- E6101

Parameters:
SubnetIds:
Type: List<AWS::EC2::Subnet::Id>
Expand All @@ -28,6 +37,14 @@ Resources:

FastAPIFunction:
Type: AWS::Serverless::Function
# cfn-lint's bundled SAM schema for AWS::Serverless::CapacityProvider declares no
# attributes, so !GetAtt LMICapacityProvider.Arn fails E1010 even though SAM
# supports it. Remove once cfn-lint ships the attribute (checked on 1.58.0).
Metadata:
cfn-lint:
config:
ignore_checks:
- E1010
Properties:
CodeUri: app/
Handler: run.sh
Expand Down
Loading