"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.InspectorSourceCodeScanAction=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var scan_action_base_1=()=>{var tmp=require("./scan-action-base");return scan_action_base_1=()=>tmp,tmp};class InspectorSourceCodeScanAction extends scan_action_base_1().InspectorScanActionBase{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_codepipeline_actions.InspectorSourceCodeScanAction",version:"2.256.1"};constructor(props){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_codepipeline_actions_InspectorSourceCodeScanActionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,InspectorSourceCodeScanAction),error}const baseProps={...props,inputs:[props.input]};super(baseProps)}renderActionConfiguration(){return{InspectorRunMode:"SourceCodeScan"}}bound(scope,stage,options){try{jsiiDeprecationWarnings().aws_cdk_lib_aws_codepipeline_IStage(stage),jsiiDeprecationWarnings().aws_cdk_lib_aws_codepipeline_ActionBindOptions(options)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.bound),error}const config=super.bound(scope,stage,options);return(this.actionProperties.inputs??[]).length>0&&options.bucket.grantRead(options.role),config}}exports.InspectorSourceCodeScanAction=InspectorSourceCodeScanAction;
