Type aliases
API
API
: { createdAt
: string; environments
?: APIEnvironment[]; executionIamRole
: string; id
: string; links
: { awsAccounts
: string; organisations
: string }; vpcSecurityGroupIds
?: string; vpcSubnetIds
?: string; whiteListedEmails
?: string[] }Type declaration
createdAt: string
executionIamRole: string
id: string
links: { awsAccounts: string; organisations: string }
awsAccounts: string
organisations: string
Optional vpcSecurityGroupIds?: string
Optional vpcSubnetIds?: string
Optional whiteListedEmails?: string[]
APIDeploymentPayload
Type declaration
env: string
handler: string
Optional isWafEnabled?: boolean
Optional memorySize?: number
runtime: string
scope: string
timeout: number
variables: {}
APIDeploymentPayloadScheduledFunction
APIDeploymentPayloadScheduledFunction: { export: string; handler: string; label: string; module: string; name: string; retryOnFail: boolean; timeout: number }
Type declaration
export: string
handler: string
label: string
module: string
name: string
retryOnFail: boolean
timeout: number
APIEnvironment
Type declaration
apiId: string
environment: string
Optional formsAppEnvironmentIds?: number[]
Optional isWafEnabled?: boolean
lastDeployment: string
Optional status?: "Warning" | "Error" | "Okay" | "Unknown"
Optional vpcSecurityGroupIds?: string
Optional vpcSubnetIds?: string
APIEnvironmentCorsConfiguration
APIEnvironmentCorsConfiguration: { credentials?: boolean; exposedHeaders?: string[]; headers?: string[]; maxAge?: number; origins?: string[] }
Type declaration
Optional credentials?: boolean
Optional exposedHeaders?: string[]
Optional headers?: string[]
Optional maxAge?: number
Optional origins?: string[]
APIEnvironmentMetricsSearchParameters
APIEnvironmentMetricsSearchParameters: { endTime: string; period: number; startTime: string }
Type declaration
endTime: string
period: number
startTime: string
APIEnvironmentNetworkConfiguration
APIEnvironmentNetworkConfiguration: { vpcSecurityGroups: string[]; vpcSubnets: string[] }
Type declaration
vpcSecurityGroups: string[]
vpcSubnets: string[]
APIEnvironmentRoute
APIEnvironmentRoute: { module: string; route: string }
Type declaration
module: string
route: string
APIEnvironmentSchedule
APIEnvironment
Schedule
: { days
: DayOfWeek[]; failureEmailAddresses
: string[]; hour
: number; isDisabled
: boolean; minute
: number }Type declaration
failureEmailAddresses: string[]
hour: number
isDisabled: boolean
minute: number
APIEnvironmentScheduledFunction
The name of the exported function in the "module" to execute the function