import * as core from "@terrascript/core"; export interface OnFailureArgs extends core.SchemaArgs { destination: string | core.StringOut; } export declare class OnFailure extends core.Schema { destination: string | core.StringOut; } export interface OnSuccessArgs extends core.SchemaArgs { destination: string | core.StringOut; } export declare class OnSuccess extends core.Schema { destination: string | core.StringOut; } export interface DestinationConfigArgs extends core.SchemaArgs { onFailure?: OnFailure; onSuccess?: OnSuccess; } export declare class DestinationConfig extends core.Schema { onFailure?: OnFailure; onSuccess?: OnSuccess; } export interface FunctionEventInvokeConfigArgs extends core.ResourceArgs { /** * (Optional) Configuration block with destination configuration. See below for details. */ destinationConfig?: DestinationConfig; /** * (Required) Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias * qualifier. */ functionName: string | core.StringOut; /** * (Optional) Maximum age of a request that Lambda sends to a function for processing in seconds. Valid * values between 60 and 21600. */ maximumEventAgeInSeconds?: number | core.NumberOut; /** * (Optional) Maximum number of times to retry when the function returns an error. Valid values between * 0 and 2. Defaults to 2. */ maximumRetryAttempts?: number | core.NumberOut; /** * (Optional) Lambda Function published version, `$LATEST`, or Lambda Alias name. */ qualifier?: string | core.StringOut; } export declare class FunctionEventInvokeConfig extends core.Resource { /** * (Optional) Configuration block with destination configuration. See below for details. */ destinationConfig?: DestinationConfig; /** * (Required) Name or Amazon Resource Name (ARN) of the Lambda Function, omitting any version or alias * qualifier. */ functionName: string | core.StringOut; /** * Fully qualified Lambda Function name or Amazon Resource Name (ARN) */ id: string | core.StringOut; /** * (Optional) Maximum age of a request that Lambda sends to a function for processing in seconds. Valid * values between 60 and 21600. */ maximumEventAgeInSeconds?: number | core.NumberOut; /** * (Optional) Maximum number of times to retry when the function returns an error. Valid values between * 0 and 2. Defaults to 2. */ maximumRetryAttempts?: number | core.NumberOut; /** * (Optional) Lambda Function published version, `$LATEST`, or Lambda Alias name. */ qualifier?: string | core.StringOut; constructor(name: string, args?: FunctionEventInvokeConfigArgs); getNamespace(): string; } //# sourceMappingURL=function_event_invoke_config.d.ts.map