Skip to content

Commit 49efbaf

Browse files
Add Serverless definitions for v3.19.0
1 parent 05d7bc5 commit 49efbaf

File tree

2 files changed

+35
-10
lines changed

2 files changed

+35
-10
lines changed

index.d.ts

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,17 @@ export interface AWS {
122122
console?:
123123
| boolean
124124
| {
125-
disableLogsCollection?: boolean;
126-
disableRequestResponseCollection?: boolean;
125+
monitoring?: {
126+
logs?: {
127+
disabled?: boolean;
128+
};
129+
request?: {
130+
disabled?: boolean;
131+
};
132+
response?: {
133+
disabled?: boolean;
134+
};
135+
};
127136
org?: string;
128137
};
129138
custom?: {
@@ -1405,7 +1414,29 @@ export interface AwsLambdaEnvironment {
14051414
* This interface was referenced by `AwsLambdaEnvironment`'s JSON-Schema definition
14061415
* via the `patternProperty` "^[A-Za-z_][a-zA-Z0-9_]*$".
14071416
*/
1408-
[k: string]: "" | AwsCfInstruction | AwsCfIf;
1417+
[k: string]: "" | AwsCfInstruction | AwsCfIf | AwsCfSelect;
1418+
}
1419+
export interface AwsCfSelect {
1420+
"Fn::Select": (
1421+
| number
1422+
| string
1423+
| unknown[]
1424+
| AwsCfFindInMap
1425+
| AwsCfGetAtt
1426+
| AwsCfGetAZs
1427+
| AwsCfIf
1428+
| AwsCfSplit
1429+
| AwsCfRef
1430+
)[];
1431+
}
1432+
export interface AwsCfFindInMap {
1433+
"Fn::FindInMap": (string | AwsCfFunction)[];
1434+
}
1435+
export interface AwsCfGetAZs {
1436+
"Fn::GetAZs": string | AwsCfRef;
1437+
}
1438+
export interface AwsCfSplit {
1439+
"Fn::Split": (string | AwsCfFunction)[];
14091440
}
14101441
export interface AwsResourceTags {
14111442
/**
@@ -1418,12 +1449,6 @@ export interface AwsLambdaVpcConfig {
14181449
securityGroupIds: (AwsCfInstruction | AwsCfIf)[] | AwsCfSplit | AwsCfFindInMap;
14191450
subnetIds: (AwsCfInstruction | AwsCfIf)[] | AwsCfSplit | AwsCfFindInMap;
14201451
}
1421-
export interface AwsCfSplit {
1422-
"Fn::Split": (string | AwsCfFunction)[];
1423-
}
1424-
export interface AwsCfFindInMap {
1425-
"Fn::FindInMap": (string | AwsCfFunction)[];
1426-
}
14271452
export interface AwsApiGatewayApiKeysProperties {
14281453
name?: string;
14291454
value?: string;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@serverless/typescript",
3-
"version": "3.18.0",
3+
"version": "3.19.0",
44
"description": "Serverless typescript definitions",
55
"main": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)