@types/serverless
Advanced tools
Comparing version 1.78.30 to 1.78.31
@@ -10,12 +10,12 @@ import Serverless = require('../index'); | ||
[command: string]: { | ||
usage?: string; | ||
lifecycleEvents?: string[]; | ||
commands?: { [command: string]: {} }; | ||
usage?: string | undefined; | ||
lifecycleEvents?: string[] | undefined; | ||
commands?: { [command: string]: {} } | undefined; | ||
options?: { | ||
[option: string]: { | ||
usage?: string; | ||
required?: boolean; | ||
shortcut?: string; | ||
usage?: string | undefined; | ||
required?: boolean | undefined; | ||
shortcut?: string | undefined; | ||
}; | ||
}; | ||
} | undefined; | ||
}; | ||
@@ -29,4 +29,4 @@ } | ||
resolver: VariableResolver, | ||
isDisabledAtPrepopulation?: boolean, | ||
serviceName?: string | ||
isDisabledAtPrepopulation?: boolean | undefined, | ||
serviceName?: string | undefined | ||
}; | ||
@@ -42,6 +42,6 @@ } | ||
hooks: Plugin.Hooks; | ||
commands?: Plugin.Commands; | ||
variableResolvers?: Plugin.VariableResolvers; | ||
commands?: Plugin.Commands | undefined; | ||
variableResolvers?: Plugin.VariableResolvers | undefined; | ||
} | ||
export = Plugin; |
@@ -19,3 +19,3 @@ import Serverless = require('../index'); | ||
[key: string]: any; | ||
}; | ||
} | undefined; | ||
}; | ||
@@ -26,4 +26,4 @@ | ||
region: string; | ||
runtime?: string; | ||
timeout?: number; | ||
runtime?: string | undefined; | ||
timeout?: number | undefined; | ||
versionFunctions: boolean; | ||
@@ -45,4 +45,4 @@ }; | ||
configValidationMode: string; | ||
disabledDeprecations?: any[]; | ||
serviceFilename?: string; | ||
disabledDeprecations?: any[] | undefined; | ||
serviceFilename?: string | undefined; | ||
app?: any; | ||
@@ -49,0 +49,0 @@ tenant?: any; |
@@ -23,8 +23,8 @@ // Type definitions for serverless 1.78 | ||
interface Options { | ||
function?: string; | ||
watch?: boolean; | ||
extraServicePath?: string; | ||
function?: string | undefined; | ||
watch?: boolean | undefined; | ||
extraServicePath?: string | undefined; | ||
stage: string | null; | ||
region: string | null; | ||
noDeploy?: boolean; | ||
noDeploy?: boolean | undefined; | ||
} | ||
@@ -37,11 +37,11 @@ | ||
interface FunctionDefinition { | ||
name?: string; | ||
package?: Package; | ||
reservedConcurrency?: number; | ||
runtime?: string; | ||
timeout?: number; | ||
memorySize?: number; | ||
environment?: { [name: string]: string }; | ||
name?: string | undefined; | ||
package?: Package | undefined; | ||
reservedConcurrency?: number | undefined; | ||
runtime?: string | undefined; | ||
timeout?: number | undefined; | ||
memorySize?: number | undefined; | ||
environment?: { [name: string]: string } | undefined; | ||
events: Event[]; | ||
tags?: { [key: string]: string }; | ||
tags?: { [key: string]: string } | undefined; | ||
} | ||
@@ -69,8 +69,8 @@ | ||
/** @deprecated use `patterns` instead */ | ||
include?: string[]; | ||
include?: string[] | undefined; | ||
/** @deprecated use `patterns` instead */ | ||
exclude?: string[]; | ||
patterns?: string[]; | ||
artifact?: string; | ||
individually?: boolean; | ||
exclude?: string[] | undefined; | ||
patterns?: string[] | undefined; | ||
artifact?: string | undefined; | ||
individually?: boolean | undefined; | ||
} | ||
@@ -77,0 +77,0 @@ } |
{ | ||
"name": "@types/serverless", | ||
"version": "1.78.30", | ||
"version": "1.78.31", | ||
"description": "TypeScript definitions for serverless", | ||
@@ -58,4 +58,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serverless", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3054cbe94cf39278241f54c716bb18d926a7a0f79ee5778725e62e23057a3afd", | ||
"typesPublisherContentHash": "5641d4a60e1849fee22bb4fb953c2c5693f4e9a4d8347cd84668befd55dc2227", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -12,3 +12,3 @@ export type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'options' | 'head' | 'delete' | 'any'; | ||
cors?: any; | ||
integration?: string; | ||
integration?: string | undefined; | ||
}; | ||
@@ -15,0 +15,0 @@ } |
@@ -9,19 +9,19 @@ import Serverless = require('../../../index'); | ||
service: Service | string; | ||
useDotenv?: boolean; | ||
frameworkVersion?: string; | ||
enableLocalInstallationFallback?: boolean; | ||
variablesResolutionMode?: '20210219' | '20210326'; | ||
unresolvedVariablesNotificationMode?: 'warn' | 'error'; | ||
disabledDeprecations?: string[]; | ||
configValidationMode?: 'warn' | 'error' | 'off'; | ||
useDotenv?: boolean | undefined; | ||
frameworkVersion?: string | undefined; | ||
enableLocalInstallationFallback?: boolean | undefined; | ||
variablesResolutionMode?: '20210219' | '20210326' | undefined; | ||
unresolvedVariablesNotificationMode?: 'warn' | 'error' | undefined; | ||
disabledDeprecations?: string[] | undefined; | ||
configValidationMode?: 'warn' | 'error' | 'off' | undefined; | ||
provider: Provider; | ||
package?: Package; | ||
functions?: Functions; | ||
layers?: Layers; | ||
resources?: Resources; | ||
plugins?: string[]; | ||
org?: string; | ||
app?: string; | ||
tenant?: string; | ||
custom?: Custom; | ||
package?: Package | undefined; | ||
functions?: Functions | undefined; | ||
layers?: Layers | undefined; | ||
resources?: Resources | undefined; | ||
plugins?: string[] | undefined; | ||
org?: string | undefined; | ||
app?: string | undefined; | ||
tenant?: string | undefined; | ||
custom?: Custom | undefined; | ||
} | ||
@@ -32,3 +32,3 @@ | ||
/** @deprecated in favor of `kmsKeyArn` at the provider level */ | ||
awsKmsKeyArn?: string; | ||
awsKmsKeyArn?: string | undefined; | ||
} | ||
@@ -38,60 +38,60 @@ | ||
name: 'aws'; | ||
runtime?: string; | ||
stage?: string; | ||
region?: string; | ||
stackName?: string; | ||
apiName?: string; | ||
lambdaHashingVersion?: number; | ||
websocketsApiName?: string; | ||
websocketsApiRouteSelectionExpression?: string; | ||
profile?: string; | ||
memorySize?: number | string; | ||
reservedConcurrency?: number | string; | ||
timeout?: number | string; | ||
logRetentionInDays?: number | string; | ||
deploymentBucket?: DeploymentBucket; | ||
deploymentPrefix?: string; | ||
runtime?: string | undefined; | ||
stage?: string | undefined; | ||
region?: string | undefined; | ||
stackName?: string | undefined; | ||
apiName?: string | undefined; | ||
lambdaHashingVersion?: number | undefined; | ||
websocketsApiName?: string | undefined; | ||
websocketsApiRouteSelectionExpression?: string | undefined; | ||
profile?: string | undefined; | ||
memorySize?: number | string | undefined; | ||
reservedConcurrency?: number | string | undefined; | ||
timeout?: number | string | undefined; | ||
logRetentionInDays?: number | string | undefined; | ||
deploymentBucket?: DeploymentBucket | undefined; | ||
deploymentPrefix?: string | undefined; | ||
/** @deprecated in favor of `iam.role` */ | ||
role?: string; | ||
role?: string | undefined; | ||
/** @deprecated in favor of `iam.role.permissionsBoundary` */ | ||
rolePermissionsBoundary?: string; | ||
rolePermissionsBoundary?: string | undefined; | ||
/** @deprecated in favor of `iam.role.statements` */ | ||
iamRoleStatements?: IamRoleStatement[]; | ||
iamRoleStatements?: IamRoleStatement[] | undefined; | ||
/** @deprecated in favor of `iam.role.managedPolicies` */ | ||
iamManagedPolicies?: string[]; | ||
iamManagedPolicies?: string[] | undefined; | ||
/** @deprecated in favor of `iam.deploymentRole` */ | ||
cfnRole?: string; | ||
iam?: IamSettings; | ||
versionFunctions?: boolean; | ||
environment?: Environment | string; | ||
endpointType?: 'regional' | 'edge' | 'private'; | ||
apiKeys?: string[]; | ||
apiGateway?: ApiGateway; | ||
alb?: Alb; | ||
httpApi?: HttpApi; | ||
usagePlan?: UsagePlan; | ||
stackTags?: Tags; | ||
stackPolicy?: ResourcePolicy[]; | ||
vpc?: string | Vpc; | ||
notificationArns?: string[]; | ||
stackParameters?: StackParameters[]; | ||
resourcePolicy?: ResourcePolicy[]; | ||
rollbackConfiguration?: RollbackConfiguration; | ||
tags?: Tags; | ||
tracing?: Tracing; | ||
logs?: Logs; | ||
kmsKeyArn?: string; | ||
cfnRole?: string | undefined; | ||
iam?: IamSettings | undefined; | ||
versionFunctions?: boolean | undefined; | ||
environment?: Environment | string | undefined; | ||
endpointType?: 'regional' | 'edge' | 'private' | undefined; | ||
apiKeys?: string[] | undefined; | ||
apiGateway?: ApiGateway | undefined; | ||
alb?: Alb | undefined; | ||
httpApi?: HttpApi | undefined; | ||
usagePlan?: UsagePlan | undefined; | ||
stackTags?: Tags | undefined; | ||
stackPolicy?: ResourcePolicy[] | undefined; | ||
vpc?: string | Vpc | undefined; | ||
notificationArns?: string[] | undefined; | ||
stackParameters?: StackParameters[] | undefined; | ||
resourcePolicy?: ResourcePolicy[] | undefined; | ||
rollbackConfiguration?: RollbackConfiguration | undefined; | ||
tags?: Tags | undefined; | ||
tracing?: Tracing | undefined; | ||
logs?: Logs | undefined; | ||
kmsKeyArn?: string | undefined; | ||
} | ||
interface IamSettings { | ||
role?: string | IamRole; | ||
deploymentRole?: string; | ||
role?: string | IamRole | undefined; | ||
deploymentRole?: string | undefined; | ||
} | ||
interface IamRole { | ||
name?: string; | ||
permissionBoundary?: string; | ||
statements?: IamRoleStatement[]; | ||
managedPolicies?: string[]; | ||
tags?: Tags; | ||
name?: string | undefined; | ||
permissionBoundary?: string | undefined; | ||
statements?: IamRoleStatement[] | undefined; | ||
managedPolicies?: string[] | undefined; | ||
tags?: Tags | undefined; | ||
} | ||
@@ -104,11 +104,11 @@ | ||
interface DeploymentBucket { | ||
name?: string; | ||
maxPreviousDeploymentArtifacts?: number | string; | ||
blockPublicAccess?: boolean; | ||
serverSideEncryption?: string; | ||
sseKMSKeyId?: string; | ||
sseCustomerAlgorithim?: string; | ||
sseCustomerKey?: string; | ||
sseCustomerKeyMD5?: string; | ||
tags?: Tags; | ||
name?: string | undefined; | ||
maxPreviousDeploymentArtifacts?: number | string | undefined; | ||
blockPublicAccess?: boolean | undefined; | ||
serverSideEncryption?: string | undefined; | ||
sseKMSKeyId?: string | undefined; | ||
sseCustomerAlgorithim?: string | undefined; | ||
sseCustomerKey?: string | undefined; | ||
sseCustomerKeyMD5?: string | undefined; | ||
tags?: Tags | undefined; | ||
} | ||
@@ -121,14 +121,14 @@ | ||
interface ApiGateway { | ||
restApiId?: string; | ||
restApiRootResourceId?: string; | ||
restApiId?: string | undefined; | ||
restApiRootResourceId?: string | undefined; | ||
restApiResources?: { | ||
[key: string]: string; | ||
}; | ||
} | undefined; | ||
websocketApiId?: any; | ||
apiKeySourceType?: 'HEADER' | 'AUTHORIZER' | 'header' | 'authorizer'; | ||
minimumCompressionSize?: number | string; | ||
description?: string; | ||
binaryMediaTypes?: string[]; | ||
metrics?: boolean; | ||
shouldStartNameWithService?: boolean; | ||
apiKeySourceType?: 'HEADER' | 'AUTHORIZER' | 'header' | 'authorizer' | undefined; | ||
minimumCompressionSize?: number | string | undefined; | ||
description?: string | undefined; | ||
binaryMediaTypes?: string[] | undefined; | ||
metrics?: boolean | undefined; | ||
shouldStartNameWithService?: boolean | undefined; | ||
} | ||
@@ -141,10 +141,10 @@ | ||
userPoolDomain: string; | ||
allowUnauthenticated?: boolean; | ||
allowUnauthenticated?: boolean | undefined; | ||
requestExtraParams?: { | ||
prompt?: string; | ||
redirect?: boolean; | ||
}; | ||
scope?: string; | ||
sessionCookieName?: string; | ||
sessionTimeout?: number | string; | ||
prompt?: string | undefined; | ||
redirect?: boolean | undefined; | ||
} | undefined; | ||
scope?: string | undefined; | ||
sessionCookieName?: string | undefined; | ||
sessionTimeout?: number | string | undefined; | ||
} | ||
@@ -156,15 +156,15 @@ | ||
clientId: string; | ||
clientSecret?: string; | ||
useExistingClientSecret?: boolean; | ||
clientSecret?: string | undefined; | ||
useExistingClientSecret?: boolean | undefined; | ||
issuer: string; | ||
tokenEndpoint: string; | ||
userInfoEndpoint: string; | ||
allowUnauthenticated?: boolean; | ||
allowUnauthenticated?: boolean | undefined; | ||
requestExtraParams?: { | ||
prompt?: string; | ||
redirect?: boolean; | ||
}; | ||
scope?: string; | ||
sessionCookieName?: string; | ||
sessionTimeout?: number | string; | ||
prompt?: string | undefined; | ||
redirect?: boolean | undefined; | ||
} | undefined; | ||
scope?: string | undefined; | ||
sessionCookieName?: string | undefined; | ||
sessionTimeout?: number | string | undefined; | ||
} | ||
@@ -183,28 +183,28 @@ | ||
interface Alb { | ||
targetGroupPrefix?: string; | ||
authorizers?: Authorizers; | ||
targetGroupPrefix?: string | undefined; | ||
authorizers?: Authorizers | undefined; | ||
} | ||
interface HttpApi { | ||
id?: string; | ||
name?: string; | ||
payload?: string; | ||
cors?: boolean; | ||
authorizers?: Authorizers; | ||
id?: string | undefined; | ||
name?: string | undefined; | ||
payload?: string | undefined; | ||
cors?: boolean | undefined; | ||
authorizers?: Authorizers | undefined; | ||
} | ||
interface Quota { | ||
limit?: number | string; | ||
offset?: number | string; | ||
period?: string; | ||
limit?: number | string | undefined; | ||
offset?: number | string | undefined; | ||
period?: string | undefined; | ||
} | ||
interface Throttle { | ||
burstLimit?: number | string; | ||
rateLimit?: number | string; | ||
burstLimit?: number | string | undefined; | ||
rateLimit?: number | string | undefined; | ||
} | ||
interface UsagePlan { | ||
quota?: Quota; | ||
throttle?: Throttle; | ||
quota?: Quota | undefined; | ||
throttle?: Throttle | undefined; | ||
} | ||
@@ -214,10 +214,10 @@ | ||
Effect: 'Allow' | 'Deny'; | ||
Sid?: string; | ||
Sid?: string | undefined; | ||
Condition?: { | ||
[key: string]: any; | ||
}; | ||
Action?: string | string[] | { [key: string]: any }; | ||
NotAction?: string | string[] | { [key: string]: any }; | ||
Resource?: string | string[] | { [key: string]: any }; | ||
NotResource?: string | string[] | { [key: string]: any }; | ||
} | undefined; | ||
Action?: string | string[] | { [key: string]: any } | undefined; | ||
NotAction?: string | string[] | { [key: string]: any } | undefined; | ||
Resource?: string | string[] | { [key: string]: any } | undefined; | ||
NotResource?: string | string[] | { [key: string]: any } | undefined; | ||
} | ||
@@ -227,8 +227,8 @@ | ||
Effect: 'Allow' | 'Deny'; | ||
Principal?: string | string[] | { [key: string]: any }; | ||
Action?: string | string[] | { [key: string]: any }; | ||
Resource?: string | string[] | { [key: string]: any }; | ||
Principal?: string | string[] | { [key: string]: any } | undefined; | ||
Action?: string | string[] | { [key: string]: any } | undefined; | ||
Resource?: string | string[] | { [key: string]: any } | undefined; | ||
Condition?: { | ||
[key: string]: any; | ||
}; | ||
} | undefined; | ||
} | ||
@@ -258,28 +258,28 @@ | ||
apiGateway: boolean; | ||
lambda?: 'Active' | 'PassThrough' | boolean; | ||
lambda?: 'Active' | 'PassThrough' | boolean | undefined; | ||
} | ||
interface RestApiLogs { | ||
accessLogging?: boolean; | ||
format?: string; | ||
executionLogging?: boolean; | ||
level?: 'INFO' | 'ERROR'; | ||
fullExecutionData?: boolean; | ||
role?: string; | ||
roleManagedExternally?: boolean; | ||
accessLogging?: boolean | undefined; | ||
format?: string | undefined; | ||
executionLogging?: boolean | undefined; | ||
level?: 'INFO' | 'ERROR' | undefined; | ||
fullExecutionData?: boolean | undefined; | ||
role?: string | undefined; | ||
roleManagedExternally?: boolean | undefined; | ||
} | ||
interface WebsocketLogs { | ||
level?: 'INFO' | 'ERROR'; | ||
level?: 'INFO' | 'ERROR' | undefined; | ||
} | ||
interface HttpApiLogs { | ||
format?: string; | ||
format?: string | undefined; | ||
} | ||
interface Logs { | ||
restApi?: true | RestApiLogs; | ||
websocket?: WebsocketLogs; | ||
httpApi?: boolean | HttpApiLogs; | ||
frameworkLambda?: boolean; | ||
restApi?: true | RestApiLogs | undefined; | ||
websocket?: WebsocketLogs | undefined; | ||
httpApi?: boolean | HttpApiLogs | undefined; | ||
frameworkLambda?: boolean | undefined; | ||
} | ||
@@ -289,42 +289,42 @@ | ||
/** @deprecated use `patterns` instead */ | ||
include?: string[]; | ||
include?: string[] | undefined; | ||
/** @deprecated use `patterns` instead */ | ||
exclude?: string[]; | ||
patterns?: string[]; | ||
excludeDevDependencies?: boolean; | ||
artifact?: string; | ||
individually?: boolean; | ||
exclude?: string[] | undefined; | ||
patterns?: string[] | undefined; | ||
excludeDevDependencies?: boolean | undefined; | ||
artifact?: string | undefined; | ||
individually?: boolean | undefined; | ||
} | ||
interface Destinations { | ||
onSuccess?: string; | ||
onFailure?: string; | ||
onSuccess?: string | undefined; | ||
onFailure?: string | undefined; | ||
} | ||
interface HttpAuthorizer { | ||
name?: string; | ||
arn?: string; | ||
resultTtlInSeconds?: number | string; | ||
identitySource?: string; | ||
identityValidationExpression?: string; | ||
type?: string; | ||
name?: string | undefined; | ||
arn?: string | undefined; | ||
resultTtlInSeconds?: number | string | undefined; | ||
identitySource?: string | undefined; | ||
identityValidationExpression?: string | undefined; | ||
type?: string | undefined; | ||
} | ||
interface HttpCors { | ||
origins?: string | string[]; | ||
headers?: string | string[]; | ||
allowCredentials?: boolean; | ||
maxAge?: number; | ||
cacheControl?: string; | ||
origins?: string | string[] | undefined; | ||
headers?: string | string[] | undefined; | ||
allowCredentials?: boolean | undefined; | ||
maxAge?: number | undefined; | ||
cacheControl?: string | undefined; | ||
} | ||
interface HttpRequestParametersValidation { | ||
querystrings?: { [key: string]: boolean }; | ||
headers?: { [key: string]: boolean }; | ||
paths?: { [key: string]: boolean }; | ||
querystrings?: { [key: string]: boolean } | undefined; | ||
headers?: { [key: string]: boolean } | undefined; | ||
paths?: { [key: string]: boolean } | undefined; | ||
} | ||
interface HttpRequestValidation { | ||
parameters?: HttpRequestParametersValidation; | ||
schema?: { [key: string]: Record<string, unknown> }; | ||
parameters?: HttpRequestParametersValidation | undefined; | ||
schema?: { [key: string]: Record<string, unknown> } | undefined; | ||
} | ||
@@ -335,8 +335,8 @@ | ||
method: string; | ||
cors?: boolean | HttpCors; | ||
private?: boolean; | ||
async?: boolean; | ||
authorizer?: HttpAuthorizer | string; | ||
request?: HttpRequestValidation; | ||
integration?: 'lambda' | 'mock'; | ||
cors?: boolean | HttpCors | undefined; | ||
private?: boolean | undefined; | ||
async?: boolean | undefined; | ||
authorizer?: HttpAuthorizer | string | undefined; | ||
request?: HttpRequestValidation | undefined; | ||
integration?: 'lambda' | 'mock' | undefined; | ||
} | ||
@@ -346,3 +346,3 @@ | ||
name: string; | ||
scopes?: string[]; | ||
scopes?: string[] | undefined; | ||
} | ||
@@ -352,3 +352,3 @@ | ||
id: string; | ||
scopes?: string[]; | ||
scopes?: string[] | undefined; | ||
} | ||
@@ -359,9 +359,9 @@ | ||
path: string; | ||
authorizer?: NamedHttpApiEventAuthorizer | IdRefHttpApiEventAuthorizer; | ||
authorizer?: NamedHttpApiEventAuthorizer | IdRefHttpApiEventAuthorizer | undefined; | ||
} | ||
interface WebsocketAuthorizer { | ||
name?: string; | ||
arn?: string; | ||
identitySource?: string[]; | ||
name?: string | undefined; | ||
arn?: string | undefined; | ||
identitySource?: string[] | undefined; | ||
} | ||
@@ -371,9 +371,9 @@ | ||
route: string; | ||
routeResponseSelectionExpression?: string; | ||
authorizer?: WebsocketAuthorizer; | ||
routeResponseSelectionExpression?: string | undefined; | ||
authorizer?: WebsocketAuthorizer | undefined; | ||
} | ||
interface S3Rule { | ||
prefix?: string; | ||
suffix?: string; | ||
prefix?: string | undefined; | ||
suffix?: string | undefined; | ||
} | ||
@@ -384,4 +384,4 @@ | ||
event: string; | ||
rules?: S3Rule[]; | ||
existing?: boolean; | ||
rules?: S3Rule[] | undefined; | ||
existing?: boolean | undefined; | ||
} | ||
@@ -399,9 +399,9 @@ | ||
interface Schedule { | ||
name?: string; | ||
description?: string; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
rate: string; | ||
enabled?: boolean; | ||
input?: Input; | ||
inputPath?: string; | ||
inputTransformer?: InputTransformer; | ||
enabled?: boolean | undefined; | ||
input?: Input | undefined; | ||
inputPath?: string | undefined; | ||
inputTransformer?: InputTransformer | undefined; | ||
} | ||
@@ -415,13 +415,13 @@ | ||
interface RedrivePolicy { | ||
deadLetterTargetArn?: string; | ||
deadLetterTargetRef?: string; | ||
deadLetterTargetImport?: DeadLetterTargetImport; | ||
deadLetterTargetArn?: string | undefined; | ||
deadLetterTargetRef?: string | undefined; | ||
deadLetterTargetImport?: DeadLetterTargetImport | undefined; | ||
} | ||
interface Sns { | ||
arn?: string; | ||
topicName?: string; | ||
displayName?: string; | ||
filterPolicy?: Record<string, unknown>; | ||
redrivePolicy?: RedrivePolicy; | ||
arn?: string | undefined; | ||
topicName?: string | undefined; | ||
displayName?: string | undefined; | ||
filterPolicy?: Record<string, unknown> | undefined; | ||
redrivePolicy?: RedrivePolicy | undefined; | ||
} | ||
@@ -431,5 +431,5 @@ | ||
arn: string | { [key: string]: any }; | ||
batchSize?: number | string; | ||
maximumRetryAttempts?: number | string; | ||
enabled?: boolean; | ||
batchSize?: number | string | undefined; | ||
maximumRetryAttempts?: number | string | undefined; | ||
enabled?: boolean | undefined; | ||
} | ||
@@ -439,6 +439,6 @@ | ||
arn: string | { [key: string]: any }; | ||
batchSize?: number | string; | ||
startingPosition?: number | string; | ||
enabled?: boolean; | ||
type?: 'dynamodb' | 'kinesis'; | ||
batchSize?: number | string | undefined; | ||
startingPosition?: number | string | undefined; | ||
enabled?: boolean | undefined; | ||
type?: 'dynamodb' | 'kinesis' | undefined; | ||
} | ||
@@ -449,5 +449,5 @@ | ||
topic: string; | ||
batchSize?: number; | ||
enabled?: boolean; | ||
startingPosition?: 'LATEST' | 'TRIM_HORIZON'; | ||
batchSize?: number | undefined; | ||
enabled?: boolean | undefined; | ||
startingPosition?: 'LATEST' | 'TRIM_HORIZON' | undefined; | ||
} | ||
@@ -457,3 +457,3 @@ | ||
appId: string; | ||
enabled?: boolean; | ||
enabled?: boolean | undefined; | ||
} | ||
@@ -463,3 +463,3 @@ | ||
appId: string; | ||
enabled?: boolean; | ||
enabled?: boolean | undefined; | ||
} | ||
@@ -469,4 +469,4 @@ | ||
name: string; | ||
description?: string; | ||
enabled?: boolean; | ||
description?: string | undefined; | ||
enabled?: boolean | undefined; | ||
sql: string; | ||
@@ -488,8 +488,8 @@ sqlVersion: string; | ||
event: string; | ||
name?: string; | ||
description?: string; | ||
enabled?: boolean; | ||
input?: Input; | ||
inputPath?: string; | ||
inputTransformer?: InputTransformer; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
enabled?: boolean | undefined; | ||
input?: Input | undefined; | ||
inputPath?: string | undefined; | ||
inputTransformer?: InputTransformer | undefined; | ||
} | ||
@@ -505,3 +505,3 @@ | ||
trigger: string; | ||
existing?: boolean; | ||
existing?: boolean | undefined; | ||
} | ||
@@ -529,8 +529,8 @@ | ||
interface EventBridge { | ||
schedule?: string; | ||
eventBus?: string; | ||
pattern?: PatternExisting | PatternInput; | ||
input?: Input; | ||
inputPath?: string; | ||
inputTransformer?: InputTransformer; | ||
schedule?: string | undefined; | ||
eventBus?: string | undefined; | ||
pattern?: PatternExisting | PatternInput | undefined; | ||
input?: Input | undefined; | ||
inputPath?: string | undefined; | ||
inputTransformer?: InputTransformer | undefined; | ||
} | ||
@@ -554,20 +554,20 @@ | ||
interface Event { | ||
http?: Http; | ||
httpApi?: HttpApiEvent; | ||
websocket?: Websocket; | ||
s3?: S3; | ||
schedule?: string | Schedule; | ||
sns?: Sns; | ||
sqs?: Sqs; | ||
stream?: Stream; | ||
msk?: Msk; | ||
alexaSkill?: AlexaSkill; | ||
alexaSmartHome?: AlexaSmartHome; | ||
iot?: Iot; | ||
cloudwatchEvent?: CloudwatchEvent; | ||
cloudwatchLog?: CloudwatchLog; | ||
cognitoUserPool?: CognitoUserPool; | ||
alb?: AlbEvent; | ||
eventBridge?: EventBridge; | ||
cloudFront?: CloudFront; | ||
http?: Http | undefined; | ||
httpApi?: HttpApiEvent | undefined; | ||
websocket?: Websocket | undefined; | ||
s3?: S3 | undefined; | ||
schedule?: string | Schedule | undefined; | ||
sns?: Sns | undefined; | ||
sqs?: Sqs | undefined; | ||
stream?: Stream | undefined; | ||
msk?: Msk | undefined; | ||
alexaSkill?: AlexaSkill | undefined; | ||
alexaSmartHome?: AlexaSmartHome | undefined; | ||
iot?: Iot | undefined; | ||
cloudwatchEvent?: CloudwatchEvent | undefined; | ||
cloudwatchLog?: CloudwatchLog | undefined; | ||
cognitoUserPool?: CognitoUserPool | undefined; | ||
alb?: AlbEvent | undefined; | ||
eventBridge?: EventBridge | undefined; | ||
cloudFront?: CloudFront | undefined; | ||
} | ||
@@ -581,26 +581,26 @@ | ||
interface AwsFunction { | ||
name?: string; | ||
description?: string; | ||
memorySize?: number | string; | ||
reservedConcurrency?: number | string; | ||
provisionedConcurrency?: number | string; | ||
runtime?: string; | ||
timeout?: number | string; | ||
role?: string; | ||
onError?: string; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
memorySize?: number | string | undefined; | ||
reservedConcurrency?: number | string | undefined; | ||
provisionedConcurrency?: number | string | undefined; | ||
runtime?: string | undefined; | ||
timeout?: number | string | undefined; | ||
role?: string | undefined; | ||
onError?: string | undefined; | ||
/** @deprecated in favor of `kmsKeyArn` */ | ||
awsKmsKeyArn?: string; | ||
kmsKeyArn?: string; | ||
environment?: Environment; | ||
tags?: Tags; | ||
vpc?: string | Vpc; | ||
package?: Package; | ||
layers?: Array<string | Record<string, string>>; | ||
tracing?: 'Active' | 'PassThrough' | boolean; | ||
condition?: string; | ||
dependsOn?: string[]; | ||
fileSystemConfig?: FileSystemConfig; | ||
destinations?: Destinations; | ||
events?: Event[]; | ||
disableLogs?: boolean; | ||
awsKmsKeyArn?: string | undefined; | ||
kmsKeyArn?: string | undefined; | ||
environment?: Environment | undefined; | ||
tags?: Tags | undefined; | ||
vpc?: string | Vpc | undefined; | ||
package?: Package | undefined; | ||
layers?: Array<string | Record<string, string>> | undefined; | ||
tracing?: 'Active' | 'PassThrough' | boolean | undefined; | ||
condition?: string | undefined; | ||
dependsOn?: string[] | undefined; | ||
fileSystemConfig?: FileSystemConfig | undefined; | ||
destinations?: Destinations | undefined; | ||
events?: Event[] | undefined; | ||
disableLogs?: boolean | undefined; | ||
} | ||
@@ -622,8 +622,8 @@ | ||
path: string; | ||
name?: string; | ||
description?: string; | ||
compatibleRuntimes?: string[]; | ||
licenseInfo?: string; | ||
allowedAccounts?: string[]; | ||
retain?: boolean; | ||
name?: string | undefined; | ||
description?: string | undefined; | ||
compatibleRuntimes?: string[] | undefined; | ||
licenseInfo?: string | undefined; | ||
allowedAccounts?: string[] | undefined; | ||
retain?: boolean | undefined; | ||
} | ||
@@ -638,4 +638,4 @@ | ||
Properties: { [key: string]: any }; | ||
DependsOn?: string | { [key: string]: any }; | ||
DeletionPolicy?: string; | ||
DependsOn?: string | { [key: string]: any } | undefined; | ||
DeletionPolicy?: string | undefined; | ||
} | ||
@@ -648,7 +648,7 @@ | ||
interface Output { | ||
Description?: string; | ||
Description?: string | undefined; | ||
Value?: any; | ||
Export?: { | ||
Name: any; | ||
}; | ||
} | undefined; | ||
Condition?: any; | ||
@@ -662,6 +662,6 @@ } | ||
interface Resources { | ||
Description?: string; | ||
Description?: string | undefined; | ||
Resources: CloudFormationResources; | ||
extensions?: CloudFormationResources; | ||
Outputs?: Outputs; | ||
extensions?: CloudFormationResources | undefined; | ||
Outputs?: Outputs | undefined; | ||
} | ||
@@ -687,3 +687,3 @@ | ||
params?: {}, | ||
options?: { useCache?: boolean; region?: string }, | ||
options?: { useCache?: boolean | undefined; region?: string | undefined }, | ||
): Promise<any>; | ||
@@ -690,0 +690,0 @@ } |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 04 Jul 2021 22:01:18 GMT | ||
* Last updated: Tue, 06 Jul 2021 16:34:38 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
33527