mira
Version:
NearForm Accelerator for Cloud Native Serverless AWS
21 lines (20 loc) • 659 B
TypeScript
/**
* See the AWS documentation for more information passed in the request for a custom resource.
*
* https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/crpg-ref-requests.html
*/
export interface CustomResourceProviderRequest<T1, T2> {
RequestType: 'Create' | 'Update' | 'Delete';
ResponseURL: string;
StackId: string;
RequestId: string;
ResourceType: string;
LogicalResourceId: string;
ResourceProperties: T1;
OldResourceProperties: T2;
}
interface Properties {
BucketName: string;
}
export declare const handler: (event: CustomResourceProviderRequest<Properties, Properties>) => Promise<void>;
export {};