"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnHook=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cfn_element_1=()=>{var tmp=require("./cfn-element");return cfn_element_1=()=>tmp,tmp},util_1=()=>{var tmp=require("./util");return util_1=()=>tmp,tmp};class CfnHook extends cfn_element_1().CfnElement{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.CfnHook",version:"2.256.1"};type;_cfnHookProperties;constructor(scope,id,props){super(scope,id);try{jsiiDeprecationWarnings().aws_cdk_lib_CfnHookProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnHook),error}this.type=props.type,this._cfnHookProperties=props.properties}_toCloudFormation(){return{Hooks:{[this.logicalId]:{Type:this.type,Properties:(0,util_1().ignoreEmpty)(this.renderProperties(this._cfnHookProperties))}}}}renderProperties(props){return props}}exports.CfnHook=CfnHook;
