@aws-amplify/graphql-model-transformer
Version:
Amplify graphql @model transformer
17 lines • 668 B
TypeScript
import { aws_lambda, aws_iam } from 'aws-cdk-lib';
import { Construct } from 'constructs';
export declare class Provider extends Construct {
readonly onEventHandler: aws_lambda.Function;
readonly isCompleteHandler: aws_lambda.Function;
readonly serviceToken: string;
constructor(scope: Construct, id: string, props: ProviderProps);
private createFunction;
}
export interface ProviderProps {
readonly lambdaCode: aws_lambda.AssetCode;
readonly onEventHandlerName: string;
readonly onEventRole: aws_iam.IRole;
readonly isCompleteHandlerName: string;
readonly isCompleteRole: aws_iam.IRole;
}
//# sourceMappingURL=provider.d.ts.map