UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

35 lines (34 loc) 942 B
import * as lambda from '../../aws-lambda'; import { Duration, NestedStack } from '../../core'; import * as cr from '../../custom-resources'; import { Construct } from 'constructs'; /** * Properties for a ReplicaProvider */ export interface ReplicaProviderProps { /** * The timeout for the replication operation. * * @default Duration.minutes(30) */ readonly timeout?: Duration; } export declare class ReplicaProvider extends NestedStack { /** * Creates a stack-singleton resource provider nested stack. */ static getOrCreate(scope: Construct, props?: ReplicaProviderProps): ReplicaProvider; /** * The custom resource provider. */ readonly provider: cr.Provider; /** * The onEvent handler */ readonly onEventHandler: lambda.Function; /** * The isComplete handler */ readonly isCompleteHandler: lambda.Function; private constructor(); }