Skip to content

Commit dde2aeb

Browse files
committed
Add Serverless definitions for v4.18.0
1 parent 419f0b1 commit dde2aeb

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

index.d.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,8 @@ export interface AWS {
916916
websocketApiId?: AwsCfInstruction;
917917
};
918918
apiName?: string;
919+
domain?: string | AwsCustomDomain;
920+
domains?: (string | AwsCustomDomain)[] | AwsCustomDomain;
919921
architecture?: AwsLambdaArchitecture;
920922
cfnRole?: AwsArn;
921923
cloudFront?: {
@@ -1605,6 +1607,33 @@ export interface AwsApiGatewayApiKeysProperties {
16051607
customerId?: string;
16061608
enabled?: boolean;
16071609
}
1610+
export interface AwsCustomDomain {
1611+
name?: string;
1612+
basePath?: string;
1613+
certificateName?: string;
1614+
certificateArn?: string;
1615+
createRoute53Record?: boolean;
1616+
createRoute53IPv6Record?: boolean;
1617+
route53Profile?: string;
1618+
route53Region?: string;
1619+
endpointType?: string;
1620+
apiType?: string;
1621+
tlsTruststoreUri?: string;
1622+
tlsTruststoreVersion?: string;
1623+
hostedZoneId?: string;
1624+
hostedZonePrivate?: boolean;
1625+
splitHorizonDns?: boolean;
1626+
enabled?: boolean | string;
1627+
securityPolicy?: string;
1628+
autoDomain?: boolean;
1629+
autoDomainWaitFor?: string;
1630+
allowPathMatching?: boolean;
1631+
route53Params?: {
1632+
[k: string]: unknown;
1633+
};
1634+
preserveExternalPathMappings?: boolean;
1635+
[k: string]: unknown;
1636+
}
16081637
export interface AwsCfImportLocallyResolvable {
16091638
"Fn::ImportValue": string;
16101639
}

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": "4.17.2",
3+
"version": "4.18.0",
44
"description": "Serverless typescript definitions",
55
"main": "index.d.ts",
66
"scripts": {

0 commit comments

Comments
 (0)