Skip to content

Lambda blueprints for V4 SDK #2058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Conversation

normj
Copy link
Member

@normj normj commented Apr 29, 2025

Description of changes:
Update the package references in the Lambda blueprints including updating to V4 of the AWS SDK for .NET. As part of updating I decided it was time to finally remove the VS 2017 and 2019 blueprints since they were very stale and the toolkit doesn't even support those versions of VS.

The PR is 2 commits with the first commit being the delete and the second commit being the package reference update. For reviewing it might be easier to view the second commit.

On the F# blueprints that use the SDK I added <NoWarn>FS3536</NoWarn> to the project file. The FS3536 warning is getting triggered because in V4 the SDK has static abstract methods on the service interface. My understanding is F# does not want you using interfaces with only static abstract methods for anything other then generic constraints. In our case the service client interface has a both instance methods and the static abstract method. We don't even expect users call the static abstract method as that was added for helping make AWSSDK.Extensions.NETCore.Setup Native AOT compliant.

Testing

Ran the build script that instantiates all of the blueprints and compiles the blueprints. I also pointed my VS toolkit to the templates and instantiated a few templates manually and deployed to confirm working. The DetectImage blueprints were the ones with the most SDK usage and I specifically deployed and exercised the code.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@normj normj changed the title Normj/update blueprints 2025 04 29 Lambda blueprints for V4 SDK May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants