UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 50 kB
"use strict";var _a,_b,_c,_d,_e,_f;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnWorkflow=exports.CfnVariantStore=exports.CfnSequenceStore=exports.CfnRunGroup=exports.CfnReferenceStore=exports.CfnAnnotationStore=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cdk=()=>{var tmp=require("../../core");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp};class CfnAnnotationStore extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnAnnotationStorePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnAnnotationStore(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnAnnotationStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnAnnotationStore),error}cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"storeFormat",this),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.attrStatus=cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING)),this.attrStatusMessage=cdk().Token.asString(this.getAtt("StatusMessage",cdk().ResolutionTypeHint.STRING)),this.attrStoreArn=cdk().Token.asString(this.getAtt("StoreArn",cdk().ResolutionTypeHint.STRING)),this.attrStoreSizeBytes=this.getAtt("StoreSizeBytes",cdk().ResolutionTypeHint.NUMBER),this.attrUpdateTime=cdk().Token.asString(this.getAtt("UpdateTime",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.name=props.name,this.reference=props.reference,this.sseConfig=props.sseConfig,this.storeFormat=props.storeFormat,this.storeOptions=props.storeOptions,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::AnnotationStore",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{description:this.description,name:this.name,reference:this.reference,sseConfig:this.sseConfig,storeFormat:this.storeFormat,storeOptions:this.storeOptions,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnAnnotationStorePropsToCloudFormation(props)}}exports.CfnAnnotationStore=CfnAnnotationStore,_a=JSII_RTTI_SYMBOL_1,CfnAnnotationStore[_a]={fqn:"aws-cdk-lib.aws_omics.CfnAnnotationStore",version:"2.160.0"},CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::AnnotationStore";function CfnAnnotationStoreReferenceItemPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("referenceArn",cdk().requiredValidator)(properties.referenceArn)),errors.collect(cdk().propertyValidator("referenceArn",cdk().validateString)(properties.referenceArn)),errors.wrap('supplied properties not correct for "ReferenceItemProperty"')}function convertCfnAnnotationStoreReferenceItemPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnnotationStoreReferenceItemPropertyValidator(properties).assertSuccess(),{ReferenceArn:cdk().stringToCloudFormation(properties.referenceArn)}):properties}function CfnAnnotationStoreReferenceItemPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("referenceArn","ReferenceArn",properties.ReferenceArn!=null?cfn_parse().FromCloudFormation.getString(properties.ReferenceArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStoreSseConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("keyArn",cdk().validateString)(properties.keyArn)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "SseConfigProperty"')}function convertCfnAnnotationStoreSseConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnnotationStoreSseConfigPropertyValidator(properties).assertSuccess(),{KeyArn:cdk().stringToCloudFormation(properties.keyArn),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnAnnotationStoreSseConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("keyArn","KeyArn",properties.KeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KeyArn):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStoreTsvStoreOptionsPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("annotationType",cdk().validateString)(properties.annotationType)),errors.collect(cdk().propertyValidator("formatToHeader",cdk().hashValidator(cdk().validateString))(properties.formatToHeader)),errors.collect(cdk().propertyValidator("schema",cdk().validateObject)(properties.schema)),errors.wrap('supplied properties not correct for "TsvStoreOptionsProperty"')}function convertCfnAnnotationStoreTsvStoreOptionsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnnotationStoreTsvStoreOptionsPropertyValidator(properties).assertSuccess(),{AnnotationType:cdk().stringToCloudFormation(properties.annotationType),FormatToHeader:cdk().hashMapper(cdk().stringToCloudFormation)(properties.formatToHeader),Schema:cdk().objectToCloudFormation(properties.schema)}):properties}function CfnAnnotationStoreTsvStoreOptionsPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("annotationType","AnnotationType",properties.AnnotationType!=null?cfn_parse().FromCloudFormation.getString(properties.AnnotationType):void 0),ret.addPropertyResult("formatToHeader","FormatToHeader",properties.FormatToHeader!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.FormatToHeader):void 0),ret.addPropertyResult("schema","Schema",properties.Schema!=null?cfn_parse().FromCloudFormation.getAny(properties.Schema):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStoreStoreOptionsPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("tsvStoreOptions",cdk().requiredValidator)(properties.tsvStoreOptions)),errors.collect(cdk().propertyValidator("tsvStoreOptions",CfnAnnotationStoreTsvStoreOptionsPropertyValidator)(properties.tsvStoreOptions)),errors.wrap('supplied properties not correct for "StoreOptionsProperty"')}function convertCfnAnnotationStoreStoreOptionsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnnotationStoreStoreOptionsPropertyValidator(properties).assertSuccess(),{TsvStoreOptions:convertCfnAnnotationStoreTsvStoreOptionsPropertyToCloudFormation(properties.tsvStoreOptions)}):properties}function CfnAnnotationStoreStoreOptionsPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("tsvStoreOptions","TsvStoreOptions",properties.TsvStoreOptions!=null?CfnAnnotationStoreTsvStoreOptionsPropertyFromCloudFormation(properties.TsvStoreOptions):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStorePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("reference",CfnAnnotationStoreReferenceItemPropertyValidator)(properties.reference)),errors.collect(cdk().propertyValidator("sseConfig",CfnAnnotationStoreSseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk().propertyValidator("storeFormat",cdk().requiredValidator)(properties.storeFormat)),errors.collect(cdk().propertyValidator("storeFormat",cdk().validateString)(properties.storeFormat)),errors.collect(cdk().propertyValidator("storeOptions",CfnAnnotationStoreStoreOptionsPropertyValidator)(properties.storeOptions)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnAnnotationStoreProps"')}function convertCfnAnnotationStorePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnAnnotationStorePropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),Reference:convertCfnAnnotationStoreReferenceItemPropertyToCloudFormation(properties.reference),SseConfig:convertCfnAnnotationStoreSseConfigPropertyToCloudFormation(properties.sseConfig),StoreFormat:cdk().stringToCloudFormation(properties.storeFormat),StoreOptions:convertCfnAnnotationStoreStoreOptionsPropertyToCloudFormation(properties.storeOptions),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnAnnotationStorePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("reference","Reference",properties.Reference!=null?CfnAnnotationStoreReferenceItemPropertyFromCloudFormation(properties.Reference):void 0),ret.addPropertyResult("sseConfig","SseConfig",properties.SseConfig!=null?CfnAnnotationStoreSseConfigPropertyFromCloudFormation(properties.SseConfig):void 0),ret.addPropertyResult("storeFormat","StoreFormat",properties.StoreFormat!=null?cfn_parse().FromCloudFormation.getString(properties.StoreFormat):void 0),ret.addPropertyResult("storeOptions","StoreOptions",properties.StoreOptions!=null?CfnAnnotationStoreStoreOptionsPropertyFromCloudFormation(properties.StoreOptions):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnReferenceStore extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnReferenceStorePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnReferenceStore(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnReferenceStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnReferenceStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnReferenceStore),error}cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrReferenceStoreId=cdk().Token.asString(this.getAtt("ReferenceStoreId",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.name=props.name,this.sseConfig=props.sseConfig,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::ReferenceStore",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{description:this.description,name:this.name,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnReferenceStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnReferenceStorePropsToCloudFormation(props)}}exports.CfnReferenceStore=CfnReferenceStore,_b=JSII_RTTI_SYMBOL_1,CfnReferenceStore[_b]={fqn:"aws-cdk-lib.aws_omics.CfnReferenceStore",version:"2.160.0"},CfnReferenceStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::ReferenceStore";function CfnReferenceStoreSseConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("keyArn",cdk().validateString)(properties.keyArn)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "SseConfigProperty"')}function convertCfnReferenceStoreSseConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnReferenceStoreSseConfigPropertyValidator(properties).assertSuccess(),{KeyArn:cdk().stringToCloudFormation(properties.keyArn),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnReferenceStoreSseConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("keyArn","KeyArn",properties.KeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KeyArn):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnReferenceStorePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("sseConfig",CfnReferenceStoreSseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnReferenceStoreProps"')}function convertCfnReferenceStorePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnReferenceStorePropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),SseConfig:convertCfnReferenceStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnReferenceStorePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("sseConfig","SseConfig",properties.SseConfig!=null?CfnReferenceStoreSseConfigPropertyFromCloudFormation(properties.SseConfig):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnRunGroup extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnRunGroupPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnRunGroup(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props={}){super(scope,id,{type:CfnRunGroup.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnRunGroupProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnRunGroup),error}this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.maxCpus=props.maxCpus,this.maxDuration=props.maxDuration,this.maxGpus=props.maxGpus,this.maxRuns=props.maxRuns,this.name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::RunGroup",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{maxCpus:this.maxCpus,maxDuration:this.maxDuration,maxGpus:this.maxGpus,maxRuns:this.maxRuns,name:this.name,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnRunGroup.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnRunGroupPropsToCloudFormation(props)}}exports.CfnRunGroup=CfnRunGroup,_c=JSII_RTTI_SYMBOL_1,CfnRunGroup[_c]={fqn:"aws-cdk-lib.aws_omics.CfnRunGroup",version:"2.160.0"},CfnRunGroup.CFN_RESOURCE_TYPE_NAME="AWS::Omics::RunGroup";function CfnRunGroupPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("maxCpus",cdk().validateNumber)(properties.maxCpus)),errors.collect(cdk().propertyValidator("maxDuration",cdk().validateNumber)(properties.maxDuration)),errors.collect(cdk().propertyValidator("maxGpus",cdk().validateNumber)(properties.maxGpus)),errors.collect(cdk().propertyValidator("maxRuns",cdk().validateNumber)(properties.maxRuns)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnRunGroupProps"')}function convertCfnRunGroupPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnRunGroupPropsValidator(properties).assertSuccess(),{MaxCpus:cdk().numberToCloudFormation(properties.maxCpus),MaxDuration:cdk().numberToCloudFormation(properties.maxDuration),MaxGpus:cdk().numberToCloudFormation(properties.maxGpus),MaxRuns:cdk().numberToCloudFormation(properties.maxRuns),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnRunGroupPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("maxCpus","MaxCpus",properties.MaxCpus!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxCpus):void 0),ret.addPropertyResult("maxDuration","MaxDuration",properties.MaxDuration!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxDuration):void 0),ret.addPropertyResult("maxGpus","MaxGpus",properties.MaxGpus!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxGpus):void 0),ret.addPropertyResult("maxRuns","MaxRuns",properties.MaxRuns!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxRuns):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnSequenceStore extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnSequenceStorePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnSequenceStore(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnSequenceStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnSequenceStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnSequenceStore),error}cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrSequenceStoreId=cdk().Token.asString(this.getAtt("SequenceStoreId",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.fallbackLocation=props.fallbackLocation,this.name=props.name,this.sseConfig=props.sseConfig,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::SequenceStore",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{description:this.description,fallbackLocation:this.fallbackLocation,name:this.name,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnSequenceStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnSequenceStorePropsToCloudFormation(props)}}exports.CfnSequenceStore=CfnSequenceStore,_d=JSII_RTTI_SYMBOL_1,CfnSequenceStore[_d]={fqn:"aws-cdk-lib.aws_omics.CfnSequenceStore",version:"2.160.0"},CfnSequenceStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::SequenceStore";function CfnSequenceStoreSseConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("keyArn",cdk().validateString)(properties.keyArn)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "SseConfigProperty"')}function convertCfnSequenceStoreSseConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnSequenceStoreSseConfigPropertyValidator(properties).assertSuccess(),{KeyArn:cdk().stringToCloudFormation(properties.keyArn),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnSequenceStoreSseConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("keyArn","KeyArn",properties.KeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KeyArn):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnSequenceStorePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("fallbackLocation",cdk().validateString)(properties.fallbackLocation)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("sseConfig",CfnSequenceStoreSseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnSequenceStoreProps"')}function convertCfnSequenceStorePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnSequenceStorePropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),FallbackLocation:cdk().stringToCloudFormation(properties.fallbackLocation),Name:cdk().stringToCloudFormation(properties.name),SseConfig:convertCfnSequenceStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnSequenceStorePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("fallbackLocation","FallbackLocation",properties.FallbackLocation!=null?cfn_parse().FromCloudFormation.getString(properties.FallbackLocation):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("sseConfig","SseConfig",properties.SseConfig!=null?CfnSequenceStoreSseConfigPropertyFromCloudFormation(properties.SseConfig):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnVariantStore extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnVariantStorePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnVariantStore(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnVariantStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnVariantStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnVariantStore),error}cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"reference",this),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.attrStatus=cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING)),this.attrStatusMessage=cdk().Token.asString(this.getAtt("StatusMessage",cdk().ResolutionTypeHint.STRING)),this.attrStoreArn=cdk().Token.asString(this.getAtt("StoreArn",cdk().ResolutionTypeHint.STRING)),this.attrStoreSizeBytes=this.getAtt("StoreSizeBytes",cdk().ResolutionTypeHint.NUMBER),this.attrUpdateTime=cdk().Token.asString(this.getAtt("UpdateTime",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.name=props.name,this.reference=props.reference,this.sseConfig=props.sseConfig,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::VariantStore",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{description:this.description,name:this.name,reference:this.reference,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnVariantStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnVariantStorePropsToCloudFormation(props)}}exports.CfnVariantStore=CfnVariantStore,_e=JSII_RTTI_SYMBOL_1,CfnVariantStore[_e]={fqn:"aws-cdk-lib.aws_omics.CfnVariantStore",version:"2.160.0"},CfnVariantStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::VariantStore";function CfnVariantStoreReferenceItemPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("referenceArn",cdk().requiredValidator)(properties.referenceArn)),errors.collect(cdk().propertyValidator("referenceArn",cdk().validateString)(properties.referenceArn)),errors.wrap('supplied properties not correct for "ReferenceItemProperty"')}function convertCfnVariantStoreReferenceItemPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnVariantStoreReferenceItemPropertyValidator(properties).assertSuccess(),{ReferenceArn:cdk().stringToCloudFormation(properties.referenceArn)}):properties}function CfnVariantStoreReferenceItemPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("referenceArn","ReferenceArn",properties.ReferenceArn!=null?cfn_parse().FromCloudFormation.getString(properties.ReferenceArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnVariantStoreSseConfigPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("keyArn",cdk().validateString)(properties.keyArn)),errors.collect(cdk().propertyValidator("type",cdk().requiredValidator)(properties.type)),errors.collect(cdk().propertyValidator("type",cdk().validateString)(properties.type)),errors.wrap('supplied properties not correct for "SseConfigProperty"')}function convertCfnVariantStoreSseConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnVariantStoreSseConfigPropertyValidator(properties).assertSuccess(),{KeyArn:cdk().stringToCloudFormation(properties.keyArn),Type:cdk().stringToCloudFormation(properties.type)}):properties}function CfnVariantStoreSseConfigPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("keyArn","KeyArn",properties.KeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KeyArn):void 0),ret.addPropertyResult("type","Type",properties.Type!=null?cfn_parse().FromCloudFormation.getString(properties.Type):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnVariantStorePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("reference",cdk().requiredValidator)(properties.reference)),errors.collect(cdk().propertyValidator("reference",CfnVariantStoreReferenceItemPropertyValidator)(properties.reference)),errors.collect(cdk().propertyValidator("sseConfig",CfnVariantStoreSseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnVariantStoreProps"')}function convertCfnVariantStorePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnVariantStorePropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),Reference:convertCfnVariantStoreReferenceItemPropertyToCloudFormation(properties.reference),SseConfig:convertCfnVariantStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnVariantStorePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("reference","Reference",properties.Reference!=null?CfnVariantStoreReferenceItemPropertyFromCloudFormation(properties.Reference):void 0),ret.addPropertyResult("sseConfig","SseConfig",properties.SseConfig!=null?CfnVariantStoreSseConfigPropertyFromCloudFormation(properties.SseConfig):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnWorkflow extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnWorkflowPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new Error("Unexpected IResolvable");const ret=new CfnWorkflow(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props={}){super(scope,id,{type:CfnWorkflow.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnWorkflowProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnWorkflow),error}this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrCreationTime=cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.attrStatus=cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING)),this.attrType=cdk().Token.asString(this.getAtt("Type",cdk().ResolutionTypeHint.STRING)),this.accelerators=props.accelerators,this.definitionUri=props.definitionUri,this.description=props.description,this.engine=props.engine,this.main=props.main,this.name=props.name,this.parameterTemplate=props.parameterTemplate,this.storageCapacity=props.storageCapacity,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::Workflow",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{accelerators:this.accelerators,definitionUri:this.definitionUri,description:this.description,engine:this.engine,main:this.main,name:this.name,parameterTemplate:this.parameterTemplate,storageCapacity:this.storageCapacity,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnWorkflow.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnWorkflowPropsToCloudFormation(props)}}exports.CfnWorkflow=CfnWorkflow,_f=JSII_RTTI_SYMBOL_1,CfnWorkflow[_f]={fqn:"aws-cdk-lib.aws_omics.CfnWorkflow",version:"2.160.0"},CfnWorkflow.CFN_RESOURCE_TYPE_NAME="AWS::Omics::Workflow";function CfnWorkflowWorkflowParameterPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("optional",cdk().validateBoolean)(properties.optional)),errors.wrap('supplied properties not correct for "WorkflowParameterProperty"')}function convertCfnWorkflowWorkflowParameterPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowWorkflowParameterPropertyValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Optional:cdk().booleanToCloudFormation(properties.optional)}):properties}function CfnWorkflowWorkflowParameterPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("optional","Optional",properties.Optional!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Optional):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("accelerators",cdk().validateString)(properties.accelerators)),errors.collect(cdk().propertyValidator("definitionUri",cdk().validateString)(properties.definitionUri)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("engine",cdk().validateString)(properties.engine)),errors.collect(cdk().propertyValidator("main",cdk().validateString)(properties.main)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("parameterTemplate",cdk().hashValidator(CfnWorkflowWorkflowParameterPropertyValidator))(properties.parameterTemplate)),errors.collect(cdk().propertyValidator("storageCapacity",cdk().validateNumber)(properties.storageCapacity)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnWorkflowProps"')}function convertCfnWorkflowPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowPropsValidator(properties).assertSuccess(),{Accelerators:cdk().stringToCloudFormation(properties.accelerators),DefinitionUri:cdk().stringToCloudFormation(properties.definitionUri),Description:cdk().stringToCloudFormation(properties.description),Engine:cdk().stringToCloudFormation(properties.engine),Main:cdk().stringToCloudFormation(properties.main),Name:cdk().stringToCloudFormation(properties.name),ParameterTemplate:cdk().hashMapper(convertCfnWorkflowWorkflowParameterPropertyToCloudFormation)(properties.parameterTemplate),StorageCapacity:cdk().numberToCloudFormation(properties.storageCapacity),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnWorkflowPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("accelerators","Accelerators",properties.Accelerators!=null?cfn_parse().FromCloudFormation.getString(properties.Accelerators):void 0),ret.addPropertyResult("definitionUri","DefinitionUri",properties.DefinitionUri!=null?cfn_parse().FromCloudFormation.getString(properties.DefinitionUri):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("engine","Engine",properties.Engine!=null?cfn_parse().FromCloudFormation.getString(properties.Engine):void 0),ret.addPropertyResult("main","Main",properties.Main!=null?cfn_parse().FromCloudFormation.getString(properties.Main):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("parameterTemplate","ParameterTemplate",properties.ParameterTemplate!=null?cfn_parse().FromCloudFormation.getMap(CfnWorkflowWorkflowParameterPropertyFromCloudFormation)(properties.ParameterTemplate):void 0),ret.addPropertyResult("storageCapacity","StorageCapacity",properties.StorageCapacity!=null?cfn_parse().FromCloudFormation.getNumber(properties.StorageCapacity):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPro