UNPKG

1.01 kBTypeScriptView Raw
1import { Construct } from 'constructs';
2import { CfnElement } from './cfn-element';
3/**
4 * Construction properties of {@link CfnHook}.
5 */
6export interface CfnHookProps {
7 /**
8 * The type of the hook
9 * (for example, "AWS::CodeDeploy::BlueGreen").
10 */
11 readonly type: string;
12 /**
13 * The properties of the hook.
14 *
15 * @default - no properties
16 */
17 readonly properties?: {
18 [name: string]: any;
19 };
20}
21/**
22 * Represents a CloudFormation resource.
23 */
24export declare class CfnHook extends CfnElement {
25 /**
26 * The type of the hook
27 * (for example, "AWS::CodeDeploy::BlueGreen").
28 */
29 readonly type: string;
30 private readonly _cfnHookProperties?;
31 /**
32 * Creates a new Hook object.
33 */
34 constructor(scope: Construct, id: string, props: CfnHookProps);
35 /** @internal */
36 _toCloudFormation(): object;
37 protected renderProperties(props?: {
38 [key: string]: any;
39 }): {
40 [key: string]: any;
41 } | undefined;
42}