Skip to content

Commit 80703e2

Browse files
committed
Use language-specific function name
1 parent 627ca3a commit 80703e2

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

lambda-debugging-sam-java/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SAM ?= AWS_ENDPOINT_URL=$(AWS_ENDPOINT_URL) \
1111
AWS_SECRET_ACCESS_KEY=test \
1212
AWS_DEFAULT_REGION=us-east-1 \
1313
sam
14-
FUNCTION_NAME ?= HelloWorldFunction
14+
FUNCTION_NAME ?= HelloWorldFunctionJava
1515

1616
# Changing architecture (arm64 or x86_64) requires rebuilding the Java package in Docker
1717
ARCH ?= x86_64
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
functions:
2-
arn:aws:lambda:us-east-1:000000000000:function:HelloWorldFunction:
2+
arn:aws:lambda:us-east-1:000000000000:function:HelloWorldFunctionJava:
33
debug-port: 5050

lambda-debugging-sam-java/samconfig.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ lint = true
1616
capabilities = [ "CAPABILITY_IAM", "CAPABILITY_NAMED_IAM" ]
1717
confirm_changeset = false
1818
resolve_s3 = true
19-
region = "us-east-1"
2019

2120
[default.package.parameters]
2221
resolve_s3 = true

lambda-debugging-sam-java/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Resources:
1515
HelloWorldFunction:
1616
Type: AWS::Serverless::Function # More info about Function Resource: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#awsserverlessfunction
1717
Properties:
18-
FunctionName: HelloWorldFunction
18+
FunctionName: HelloWorldFunctionJava
1919
CodeUri: HelloWorldFunction
2020
Handler: helloworld.App::handleRequest
2121
Runtime: java21

0 commit comments

Comments
 (0)