UNPKG

@pepperize/cdk-organizations

Version:

Manage AWS organizations, organizational units (OU), accounts and service control policies (SCP).

8 lines (7 loc) 422 B
import { CdkCustomResourceEvent as OnEventRequest, CdkCustomResourceResponse as OnEventResponse } from "aws-lambda"; /** * The onEvent handler is invoked whenever a resource lifecycle event for an organization occurs * * @see https://docs.aws.amazon.com/cdk/api/v1/docs/custom-resources-readme.html#handling-lifecycle-events-onevent */ export declare function handler(event: OnEventRequest): Promise<OnEventResponse>;