Skip to content

Commit 8be8d8d

Browse files
committed
add positve test
1 parent 084e510 commit 8be8d8d

File tree

4 files changed

+1326
-0
lines changed

4 files changed

+1326
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
Resources:
2+
FunctionAliasNameCamelCase:
3+
Type: AWS::Serverless::Function
4+
Properties:
5+
CodeUri: s3://sam-demo-bucket/hello.zip
6+
Handler: hello.handler
7+
Runtime: python3.9
8+
AutoPublishAlias: camelCaseName
9+
VersionDescription: sam-testing
10+
11+
FunctionAliasNameUpperCase:
12+
Type: AWS::Serverless::Function
13+
Properties:
14+
CodeUri: s3://sam-demo-bucket/hello.zip
15+
Handler: hello.handler
16+
Runtime: python3.9
17+
AutoPublishAlias: UPPERCASE
18+
VersionDescription: sam-testing
19+
20+
FunctionAliasNameLowerCase:
21+
Type: AWS::Serverless::Function
22+
Properties:
23+
CodeUri: s3://sam-demo-bucket/hello.zip
24+
Handler: hello.handler
25+
Runtime: python3.9
26+
AutoPublishAlias: lowercase
27+
VersionDescription: sam-testing
28+
29+
FunctionAliasNameUnderscore:
30+
Type: AWS::Serverless::Function
31+
Properties:
32+
CodeUri: s3://sam-demo-bucket/hello.zip
33+
Handler: hello.handler
34+
Runtime: python3.9
35+
AutoPublishAlias: _underscore_name_
36+
VersionDescription: sam-testing
37+
38+
FunctionAliasNameDash:
39+
Type: AWS::Serverless::Function
40+
Properties:
41+
CodeUri: s3://sam-demo-bucket/hello.zip
42+
Handler: hello.handler
43+
Runtime: python3.9
44+
AutoPublishAlias: underscore-name
45+
VersionDescription: sam-testing
46+
47+
FunctionAliasNameMix:
48+
Type: AWS::Serverless::Function
49+
Properties:
50+
CodeUri: s3://sam-demo-bucket/hello.zip
51+
Handler: hello.handler
52+
Runtime: python3.9
53+
AutoPublishAlias: underScoreNAME_with-dash-01234
54+
VersionDescription: sam-testing

0 commit comments

Comments
 (0)