Skip to content

Commit

Permalink
Merge branch 'develop' into tmp/1732213576/main
Browse files Browse the repository at this point in the history
  • Loading branch information
aaythapa authored Nov 21, 2024
2 parents 564d7ad + f2da50c commit e4acbcf
Show file tree
Hide file tree
Showing 7 changed files with 281 additions and 229 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Resources:
Properties:
CodeUri: ${codeuri}
Handler: index.handler
Runtime: nodejs20.x
Runtime: nodejs18.x
AutoPublishAlias: Live
AutoPublishAliasAllProperties: true
Layers:
Expand Down
2 changes: 0 additions & 2 deletions samtranslator/internal/schema_source/aws_serverless_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class LambdaRequestAuthorizerIdentity(BaseModel):


class LambdaTokenAuthorizer(BaseModel):
AuthorizationScopes: Optional[List[str]] = lambdatokenauthorizer("AuthorizationScopes")
FunctionArn: SamIntrinsicable[str] = lambdatokenauthorizer("FunctionArn")
FunctionInvokeRole: Optional[str] = lambdatokenauthorizer("FunctionInvokeRole")
FunctionPayloadType: Optional[Literal["TOKEN"]] = lambdatokenauthorizer("FunctionPayloadType")
Expand All @@ -86,7 +85,6 @@ class LambdaTokenAuthorizer(BaseModel):


class LambdaRequestAuthorizer(BaseModel):
AuthorizationScopes: Optional[List[str]] = lambdarequestauthorizer("AuthorizationScopes")
FunctionArn: SamIntrinsicable[str] = lambdarequestauthorizer("FunctionArn")
FunctionInvokeRole: Optional[str] = lambdarequestauthorizer("FunctionInvokeRole")
FunctionPayloadType: Optional[Literal["REQUEST"]] = lambdarequestauthorizer("FunctionPayloadType")
Expand Down
70 changes: 38 additions & 32 deletions samtranslator/internal/schema_source/sam-docs.json

Large diffs are not rendered by default.

114 changes: 49 additions & 65 deletions samtranslator/schema/schema.json

Large diffs are not rendered by default.

208 changes: 144 additions & 64 deletions schema_source/cloudformation-docs.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions schema_source/cloudformation.schema.json

Large diffs are not rendered by default.

80 changes: 32 additions & 48 deletions schema_source/sam.schema.json

Large diffs are not rendered by default.

0 comments on commit e4acbcf

Please sign in to comment.