Files
agent-claw/cdk/node_modules/aws-cdk-lib/aws-omics/lib/omics.generated.js
2026-05-06 18:55:16 -05:00

2 lines
120 KiB
JavaScript

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnWorkflowVersion=exports.CfnConfiguration=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/lib");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp},cdk_errors=()=>{var tmp=require("../../core/lib/errors");return cdk_errors=()=>tmp,tmp};class CfnAnnotationStore extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnAnnotationStore",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::AnnotationStore";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnAnnotationStore(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME}static fromAnnotationStoreName(scope,id,annotationStoreName){class Import extends cdk().Resource{annotationStoreRef;constructor(scope2,id2,annotationStoreName2){super(scope2,id2),this.annotationStoreRef={annotationStoreName:annotationStoreName2}}}return new Import(scope,id,annotationStoreName)}static arnForAnnotationStore(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IAnnotationStoreRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForAnnotationStore),error}return new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:annotationStore/${AnnotationStoreName}").interpolate({Partition:cdk().Stack.of(resource).partition,Region:resource.env.region,Account:resource.env.account,AnnotationStoreName:resource.annotationStoreRef.annotationStoreName})}_description;_name;_reference;_sseConfig;_storeFormat;_storeOptions;tags;_tagsRaw;cfnPropertyNames={description:"Description",name:"Name",reference:"Reference",sseConfig:"SseConfig",storeFormat:"StoreFormat",storeOptions:"StoreOptions",tags:"Tags"};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._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 annotationStoreRef(){return{annotationStoreName:this.ref}}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get reference(){return this._reference}set reference(value){cdk().traceProperty(this.node,"Reference"),this._reference=value}get sseConfig(){return this._sseConfig}set sseConfig(value){cdk().traceProperty(this.node,"SseConfig"),this._sseConfig=value}get storeFormat(){return this._storeFormat}set storeFormat(value){cdk().traceProperty(this.node,"StoreFormat"),this._storeFormat=value}get storeOptions(){return this._storeOptions}set storeOptions(value){cdk().traceProperty(this.node,"StoreOptions"),this._storeOptions=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrStatusMessage(){return cdk().Token.asString(this.getAtt("StatusMessage",cdk().ResolutionTypeHint.STRING))}get attrStoreArn(){return cdk().Token.asString(this.getAtt("StoreArn",cdk().ResolutionTypeHint.STRING))}get attrStoreSizeBytes(){return this.getAtt("StoreSizeBytes",cdk().ResolutionTypeHint.NUMBER)}get attrUpdateTime(){return cdk().Token.asString(this.getAtt("UpdateTime",cdk().ResolutionTypeHint.STRING))}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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnAnnotationStorePropsToCloudFormation(props)}}exports.CfnAnnotationStore=CfnAnnotationStore;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[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnReferenceStore",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::ReferenceStore";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnReferenceStore(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnReferenceStore.CFN_RESOURCE_TYPE_NAME}static fromReferenceStoreArn(scope,id,arn){class Import extends cdk().Resource{referenceStoreRef;constructor(scope2,id2,arn2){super(scope2,id2,{environmentFromArn:arn2});const variables=new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:referenceStore/${ReferenceStoreId}").parse(arn2);this.referenceStoreRef={referenceStoreId:variables.ReferenceStoreId,referenceStoreArn:arn2}}}return new Import(scope,id,arn)}static fromReferenceStoreId(scope,id,referenceStoreId){class Import extends cdk().Resource{referenceStoreRef;constructor(scope2,id2,referenceStoreId2){const arn=new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:referenceStore/${ReferenceStoreId}").interpolate({Partition:cdk().Stack.of(scope2).partition,Region:cdk().Stack.of(scope2).region,Account:cdk().Stack.of(scope2).account,ReferenceStoreId:referenceStoreId2});super(scope2,id2,{environmentFromArn:arn}),this.referenceStoreRef={referenceStoreId:referenceStoreId2,referenceStoreArn:arn}}}return new Import(scope,id,referenceStoreId)}static arnForReferenceStore(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IReferenceStoreRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForReferenceStore),error}return resource.referenceStoreRef.referenceStoreArn}_description;_name;_sseConfig;tags;_tagsRaw;cfnPropertyNames={description:"Description",name:"Name",sseConfig:"SseConfig",tags:"Tags"};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._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 referenceStoreRef(){return{referenceStoreId:this.ref,referenceStoreArn:this.attrArn}}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get sseConfig(){return this._sseConfig}set sseConfig(value){cdk().traceProperty(this.node,"SseConfig"),this._sseConfig=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrReferenceStoreId(){return cdk().Token.asString(this.getAtt("ReferenceStoreId",cdk().ResolutionTypeHint.STRING))}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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnReferenceStorePropsToCloudFormation(props)}}exports.CfnReferenceStore=CfnReferenceStore;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[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnRunGroup",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::RunGroup";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnRunGroup(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnRunGroup.CFN_RESOURCE_TYPE_NAME}static arnForRunGroup(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IRunGroupRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForRunGroup),error}return resource.runGroupRef.runGroupArn}_maxCpus;_maxDuration;_maxGpus;_maxRuns;_name;tags;_tagsRaw;cfnPropertyNames={maxCpus:"MaxCpus",maxDuration:"MaxDuration",maxGpus:"MaxGpus",maxRuns:"MaxRuns",name:"Name",tags:"Tags"};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._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 runGroupRef(){return{runGroupId:this.ref,runGroupArn:this.attrArn}}get maxCpus(){return this._maxCpus}set maxCpus(value){cdk().traceProperty(this.node,"MaxCpus"),this._maxCpus=value}get maxDuration(){return this._maxDuration}set maxDuration(value){cdk().traceProperty(this.node,"MaxDuration"),this._maxDuration=value}get maxGpus(){return this._maxGpus}set maxGpus(value){cdk().traceProperty(this.node,"MaxGpus"),this._maxGpus=value}get maxRuns(){return this._maxRuns}set maxRuns(value){cdk().traceProperty(this.node,"MaxRuns"),this._maxRuns=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnRunGroupPropsToCloudFormation(props)}}exports.CfnRunGroup=CfnRunGroup;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[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnSequenceStore",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::SequenceStore";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnSequenceStore(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnSequenceStore.CFN_RESOURCE_TYPE_NAME}static fromSequenceStoreArn(scope,id,arn){class Import extends cdk().Resource{sequenceStoreRef;constructor(scope2,id2,arn2){super(scope2,id2,{environmentFromArn:arn2});const variables=new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:sequenceStore/${SequenceStoreId}").parse(arn2);this.sequenceStoreRef={sequenceStoreId:variables.SequenceStoreId,sequenceStoreArn:arn2}}}return new Import(scope,id,arn)}static fromSequenceStoreId(scope,id,sequenceStoreId){class Import extends cdk().Resource{sequenceStoreRef;constructor(scope2,id2,sequenceStoreId2){const arn=new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:sequenceStore/${SequenceStoreId}").interpolate({Partition:cdk().Stack.of(scope2).partition,Region:cdk().Stack.of(scope2).region,Account:cdk().Stack.of(scope2).account,SequenceStoreId:sequenceStoreId2});super(scope2,id2,{environmentFromArn:arn}),this.sequenceStoreRef={sequenceStoreId:sequenceStoreId2,sequenceStoreArn:arn}}}return new Import(scope,id,sequenceStoreId)}static arnForSequenceStore(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_ISequenceStoreRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForSequenceStore),error}return resource.sequenceStoreRef.sequenceStoreArn}_accessLogLocation;_description;_eTagAlgorithmFamily;_fallbackLocation;_name;_propagatedSetLevelTags;_s3AccessPolicy;_sseConfig;tags;_tagsRaw;cfnPropertyNames={accessLogLocation:"AccessLogLocation",description:"Description",eTagAlgorithmFamily:"ETagAlgorithmFamily",fallbackLocation:"FallbackLocation",name:"Name",propagatedSetLevelTags:"PropagatedSetLevelTags",s3AccessPolicy:"S3AccessPolicy",sseConfig:"SseConfig",tags:"Tags"};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._accessLogLocation=props.accessLogLocation,this._description=props.description,this._eTagAlgorithmFamily=props.eTagAlgorithmFamily,this._fallbackLocation=props.fallbackLocation,this._name=props.name,this._propagatedSetLevelTags=props.propagatedSetLevelTags,this._s3AccessPolicy=props.s3AccessPolicy,this._sseConfig=props.sseConfig,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::SequenceStore",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get sequenceStoreRef(){return{sequenceStoreId:this.ref,sequenceStoreArn:this.attrArn}}get accessLogLocation(){return this._accessLogLocation}set accessLogLocation(value){cdk().traceProperty(this.node,"AccessLogLocation"),this._accessLogLocation=value}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get eTagAlgorithmFamily(){return this._eTagAlgorithmFamily}set eTagAlgorithmFamily(value){cdk().traceProperty(this.node,"ETagAlgorithmFamily"),this._eTagAlgorithmFamily=value}get fallbackLocation(){return this._fallbackLocation}set fallbackLocation(value){cdk().traceProperty(this.node,"FallbackLocation"),this._fallbackLocation=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get propagatedSetLevelTags(){return this._propagatedSetLevelTags}set propagatedSetLevelTags(value){cdk().traceProperty(this.node,"PropagatedSetLevelTags"),this._propagatedSetLevelTags=value}get s3AccessPolicy(){return this._s3AccessPolicy}set s3AccessPolicy(value){cdk().traceProperty(this.node,"S3AccessPolicy"),this._s3AccessPolicy=value}get sseConfig(){return this._sseConfig}set sseConfig(value){cdk().traceProperty(this.node,"SseConfig"),this._sseConfig=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrS3AccessPointArn(){return cdk().Token.asString(this.getAtt("S3AccessPointArn",cdk().ResolutionTypeHint.STRING))}get attrS3Uri(){return cdk().Token.asString(this.getAtt("S3Uri",cdk().ResolutionTypeHint.STRING))}get attrSequenceStoreId(){return cdk().Token.asString(this.getAtt("SequenceStoreId",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrStatusMessage(){return cdk().Token.asString(this.getAtt("StatusMessage",cdk().ResolutionTypeHint.STRING))}get attrUpdateTime(){return cdk().Token.asString(this.getAtt("UpdateTime",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{accessLogLocation:this._accessLogLocation,description:this._description,eTagAlgorithmFamily:this._eTagAlgorithmFamily,fallbackLocation:this._fallbackLocation,name:this._name,propagatedSetLevelTags:this._propagatedSetLevelTags,s3AccessPolicy:this._s3AccessPolicy,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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnSequenceStorePropsToCloudFormation(props)}}exports.CfnSequenceStore=CfnSequenceStore;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("accessLogLocation",cdk().validateString)(properties.accessLogLocation)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("eTagAlgorithmFamily",cdk().validateString)(properties.eTagAlgorithmFamily)),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("propagatedSetLevelTags",cdk().listValidator(cdk().validateString))(properties.propagatedSetLevelTags)),errors.collect(cdk().propertyValidator("s3AccessPolicy",cdk().validateObject)(properties.s3AccessPolicy)),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(),{AccessLogLocation:cdk().stringToCloudFormation(properties.accessLogLocation),Description:cdk().stringToCloudFormation(properties.description),ETagAlgorithmFamily:cdk().stringToCloudFormation(properties.eTagAlgorithmFamily),FallbackLocation:cdk().stringToCloudFormation(properties.fallbackLocation),Name:cdk().stringToCloudFormation(properties.name),PropagatedSetLevelTags:cdk().listMapper(cdk().stringToCloudFormation)(properties.propagatedSetLevelTags),S3AccessPolicy:cdk().objectToCloudFormation(properties.s3AccessPolicy),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("accessLogLocation","AccessLogLocation",properties.AccessLogLocation!=null?cfn_parse().FromCloudFormation.getString(properties.AccessLogLocation):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("eTagAlgorithmFamily","ETagAlgorithmFamily",properties.ETagAlgorithmFamily!=null?cfn_parse().FromCloudFormation.getString(properties.ETagAlgorithmFamily):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("propagatedSetLevelTags","PropagatedSetLevelTags",properties.PropagatedSetLevelTags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.PropagatedSetLevelTags):void 0),ret.addPropertyResult("s3AccessPolicy","S3AccessPolicy",properties.S3AccessPolicy!=null?cfn_parse().FromCloudFormation.getAny(properties.S3AccessPolicy):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[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnVariantStore",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::VariantStore";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnVariantStore(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnVariantStore.CFN_RESOURCE_TYPE_NAME}static fromVariantStoreName(scope,id,variantStoreName){class Import extends cdk().Resource{variantStoreRef;constructor(scope2,id2,variantStoreName2){super(scope2,id2),this.variantStoreRef={variantStoreName:variantStoreName2}}}return new Import(scope,id,variantStoreName)}static arnForVariantStore(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IVariantStoreRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForVariantStore),error}return new(cfn_parse()).TemplateString("arn:${Partition}:omics:${Region}:${Account}:variantStore/${VariantStoreName}").interpolate({Partition:cdk().Stack.of(resource).partition,Region:resource.env.region,Account:resource.env.account,VariantStoreName:resource.variantStoreRef.variantStoreName})}_description;_name;_reference;_sseConfig;tags;_tagsRaw;cfnPropertyNames={description:"Description",name:"Name",reference:"Reference",sseConfig:"SseConfig",tags:"Tags"};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._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 variantStoreRef(){return{variantStoreName:this.ref}}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get reference(){return this._reference}set reference(value){cdk().traceProperty(this.node,"Reference"),this._reference=value}get sseConfig(){return this._sseConfig}set sseConfig(value){cdk().traceProperty(this.node,"SseConfig"),this._sseConfig=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrStatusMessage(){return cdk().Token.asString(this.getAtt("StatusMessage",cdk().ResolutionTypeHint.STRING))}get attrStoreArn(){return cdk().Token.asString(this.getAtt("StoreArn",cdk().ResolutionTypeHint.STRING))}get attrStoreSizeBytes(){return this.getAtt("StoreSizeBytes",cdk().ResolutionTypeHint.NUMBER)}get attrUpdateTime(){return cdk().Token.asString(this.getAtt("UpdateTime",cdk().ResolutionTypeHint.STRING))}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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnVariantStorePropsToCloudFormation(props)}}exports.CfnVariantStore=CfnVariantStore;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[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnWorkflow",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::Workflow";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(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);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}static isCfnWorkflow(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnWorkflow.CFN_RESOURCE_TYPE_NAME}static arnForWorkflow(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IWorkflowRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForWorkflow),error}return resource.workflowRef.workflowArn}_accelerators;_containerRegistryMap;_containerRegistryMapUri;_definitionRepository;_definitionUri;_description;_engine;_main;_name;_parameterTemplate;_parameterTemplatePath;_readmeMarkdown;_readmePath;_readmeUri;_storageCapacity;_storageType;tags;_tagsRaw;_workflowBucketOwnerId;cfnPropertyNames={accelerators:"Accelerators",containerRegistryMap:"ContainerRegistryMap",containerRegistryMapUri:"ContainerRegistryMapUri",definitionRepository:"DefinitionRepository",definitionUri:"DefinitionUri",description:"Description",engine:"Engine",main:"Main",name:"Name",parameterTemplate:"ParameterTemplate",parameterTemplatePath:"ParameterTemplatePath",readmeMarkdown:"readmeMarkdown",readmePath:"readmePath",readmeUri:"readmeUri",storageCapacity:"StorageCapacity",storageType:"StorageType",tags:"Tags",workflowBucketOwnerId:"WorkflowBucketOwnerId"};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._accelerators=props.accelerators,this._containerRegistryMap=props.containerRegistryMap,this._containerRegistryMapUri=props.containerRegistryMapUri,this._definitionRepository=props.definitionRepository,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._parameterTemplatePath=props.parameterTemplatePath,this._readmeMarkdown=props.readmeMarkdown,this._readmePath=props.readmePath,this._readmeUri=props.readmeUri,this._storageCapacity=props.storageCapacity,this._storageType=props.storageType,this.tags=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::Workflow",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags,this._workflowBucketOwnerId=props.workflowBucketOwnerId}get workflowRef(){return{workflowId:this.ref,workflowArn:this.attrArn}}get accelerators(){return this._accelerators}set accelerators(value){cdk().traceProperty(this.node,"Accelerators"),this._accelerators=value}get containerRegistryMap(){return this._containerRegistryMap}set containerRegistryMap(value){cdk().traceProperty(this.node,"ContainerRegistryMap"),this._containerRegistryMap=value}get containerRegistryMapUri(){return this._containerRegistryMapUri}set containerRegistryMapUri(value){cdk().traceProperty(this.node,"ContainerRegistryMapUri"),this._containerRegistryMapUri=value}get definitionRepository(){return this._definitionRepository}set definitionRepository(value){cdk().traceProperty(this.node,"DefinitionRepository"),this._definitionRepository=value}get definitionUri(){return this._definitionUri}set definitionUri(value){cdk().traceProperty(this.node,"DefinitionUri"),this._definitionUri=value}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get engine(){return this._engine}set engine(value){cdk().traceProperty(this.node,"Engine"),this._engine=value}get main(){return this._main}set main(value){cdk().traceProperty(this.node,"Main"),this._main=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get parameterTemplate(){return this._parameterTemplate}set parameterTemplate(value){cdk().traceProperty(this.node,"ParameterTemplate"),this._parameterTemplate=value}get parameterTemplatePath(){return this._parameterTemplatePath}set parameterTemplatePath(value){cdk().traceProperty(this.node,"ParameterTemplatePath"),this._parameterTemplatePath=value}get readmeMarkdown(){return this._readmeMarkdown}set readmeMarkdown(value){cdk().traceProperty(this.node,"readmeMarkdown"),this._readmeMarkdown=value}get readmePath(){return this._readmePath}set readmePath(value){cdk().traceProperty(this.node,"readmePath"),this._readmePath=value}get readmeUri(){return this._readmeUri}set readmeUri(value){cdk().traceProperty(this.node,"readmeUri"),this._readmeUri=value}get storageCapacity(){return this._storageCapacity}set storageCapacity(value){cdk().traceProperty(this.node,"StorageCapacity"),this._storageCapacity=value}get storageType(){return this._storageType}set storageType(value){cdk().traceProperty(this.node,"StorageType"),this._storageType=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get workflowBucketOwnerId(){return this._workflowBucketOwnerId}set workflowBucketOwnerId(value){cdk().traceProperty(this.node,"WorkflowBucketOwnerId"),this._workflowBucketOwnerId=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrType(){return cdk().Token.asString(this.getAtt("Type",cdk().ResolutionTypeHint.STRING))}get attrUuid(){return cdk().Token.asString(this.getAtt("Uuid",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{accelerators:this._accelerators,containerRegistryMap:this._containerRegistryMap,containerRegistryMapUri:this._containerRegistryMapUri,definitionRepository:this._definitionRepository,definitionUri:this._definitionUri,description:this._description,engine:this._engine,main:this._main,name:this._name,parameterTemplate:this._parameterTemplate,parameterTemplatePath:this._parameterTemplatePath,readmeMarkdown:this._readmeMarkdown,readmePath:this._readmePath,readmeUri:this._readmeUri,storageCapacity:this._storageCapacity,storageType:this._storageType,tags:this.tags.renderTags(),workflowBucketOwnerId:this._workflowBucketOwnerId}}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:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnWorkflowPropsToCloudFormation(props)}}exports.CfnWorkflow=CfnWorkflow;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 CfnWorkflowSourceReferencePropertyValidator(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("type",cdk().validateString)(properties.type)),errors.collect(cdk().propertyValidator("value",cdk().validateString)(properties.value)),errors.wrap('supplied properties not correct for "SourceReferenceProperty"')}function convertCfnWorkflowSourceReferencePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowSourceReferencePropertyValidator(properties).assertSuccess(),{type:cdk().stringToCloudFormation(properties.type),value:cdk().stringToCloudFormation(properties.value)}):properties}function CfnWorkflowSourceReferencePropertyFromCloudFormation(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("type","type",properties.type!=null?cfn_parse().FromCloudFormation.getString(properties.type):void 0),ret.addPropertyResult("value","value",properties.value!=null?cfn_parse().FromCloudFormation.getString(properties.value):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowDefinitionRepositoryPropertyValidator(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("connectionArn",cdk().validateString)(properties.connectionArn)),errors.collect(cdk().propertyValidator("excludeFilePatterns",cdk().listValidator(cdk().validateString))(properties.excludeFilePatterns)),errors.collect(cdk().propertyValidator("fullRepositoryId",cdk().validateString)(properties.fullRepositoryId)),errors.collect(cdk().propertyValidator("sourceReference",CfnWorkflowSourceReferencePropertyValidator)(properties.sourceReference)),errors.wrap('supplied properties not correct for "DefinitionRepositoryProperty"')}function convertCfnWorkflowDefinitionRepositoryPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowDefinitionRepositoryPropertyValidator(properties).assertSuccess(),{connectionArn:cdk().stringToCloudFormation(properties.connectionArn),excludeFilePatterns:cdk().listMapper(cdk().stringToCloudFormation)(properties.excludeFilePatterns),fullRepositoryId:cdk().stringToCloudFormation(properties.fullRepositoryId),sourceReference:convertCfnWorkflowSourceReferencePropertyToCloudFormation(properties.sourceReference)}):properties}function CfnWorkflowDefinitionRepositoryPropertyFromCloudFormation(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("connectionArn","connectionArn",properties.connectionArn!=null?cfn_parse().FromCloudFormation.getString(properties.connectionArn):void 0),ret.addPropertyResult("excludeFilePatterns","excludeFilePatterns",properties.excludeFilePatterns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.excludeFilePatterns):void 0),ret.addPropertyResult("fullRepositoryId","fullRepositoryId",properties.fullRepositoryId!=null?cfn_parse().FromCloudFormation.getString(properties.fullRepositoryId):void 0),ret.addPropertyResult("sourceReference","sourceReference",properties.sourceReference!=null?CfnWorkflowSourceReferencePropertyFromCloudFormation(properties.sourceReference):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowRegistryMappingPropertyValidator(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("ecrAccountId",cdk().validateString)(properties.ecrAccountId)),errors.collect(cdk().propertyValidator("ecrRepositoryPrefix",cdk().validateString)(properties.ecrRepositoryPrefix)),errors.collect(cdk().propertyValidator("upstreamRegistryUrl",cdk().validateString)(properties.upstreamRegistryUrl)),errors.collect(cdk().propertyValidator("upstreamRepositoryPrefix",cdk().validateString)(properties.upstreamRepositoryPrefix)),errors.wrap('supplied properties not correct for "RegistryMappingProperty"')}function convertCfnWorkflowRegistryMappingPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowRegistryMappingPropertyValidator(properties).assertSuccess(),{EcrAccountId:cdk().stringToCloudFormation(properties.ecrAccountId),EcrRepositoryPrefix:cdk().stringToCloudFormation(properties.ecrRepositoryPrefix),UpstreamRegistryUrl:cdk().stringToCloudFormation(properties.upstreamRegistryUrl),UpstreamRepositoryPrefix:cdk().stringToCloudFormation(properties.upstreamRepositoryPrefix)}):properties}function CfnWorkflowRegistryMappingPropertyFromCloudFormation(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("ecrAccountId","EcrAccountId",properties.EcrAccountId!=null?cfn_parse().FromCloudFormation.getString(properties.EcrAccountId):void 0),ret.addPropertyResult("ecrRepositoryPrefix","EcrRepositoryPrefix",properties.EcrRepositoryPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.EcrRepositoryPrefix):void 0),ret.addPropertyResult("upstreamRegistryUrl","UpstreamRegistryUrl",properties.UpstreamRegistryUrl!=null?cfn_parse().FromCloudFormation.getString(properties.UpstreamRegistryUrl):void 0),ret.addPropertyResult("upstreamRepositoryPrefix","UpstreamRepositoryPrefix",properties.UpstreamRepositoryPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.UpstreamRepositoryPrefix):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowImageMappingPropertyValidator(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("destinationImage",cdk().validateString)(properties.destinationImage)),errors.collect(cdk().propertyValidator("sourceImage",cdk().validateString)(properties.sourceImage)),errors.wrap('supplied properties not correct for "ImageMappingProperty"')}function convertCfnWorkflowImageMappingPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowImageMappingPropertyValidator(properties).assertSuccess(),{DestinationImage:cdk().stringToCloudFormation(properties.destinationImage),SourceImage:cdk().stringToCloudFormation(properties.sourceImage)}):properties}function CfnWorkflowImageMappingPropertyFromCloudFormation(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("destinationImage","DestinationImage",properties.DestinationImage!=null?cfn_parse().FromCloudFormation.getString(properties.DestinationImage):void 0),ret.addPropertyResult("sourceImage","SourceImage",properties.SourceImage!=null?cfn_parse().FromCloudFormation.getString(properties.SourceImage):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowContainerRegistryMapPropertyValidator(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("imageMappings",cdk().listValidator(CfnWorkflowImageMappingPropertyValidator))(properties.imageMappings)),errors.collect(cdk().propertyValidator("registryMappings",cdk().listValidator(CfnWorkflowRegistryMappingPropertyValidator))(properties.registryMappings)),errors.wrap('supplied properties not correct for "ContainerRegistryMapProperty"')}function convertCfnWorkflowContainerRegistryMapPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowContainerRegistryMapPropertyValidator(properties).assertSuccess(),{ImageMappings:cdk().listMapper(convertCfnWorkflowImageMappingPropertyToCloudFormation)(properties.imageMappings),RegistryMappings:cdk().listMapper(convertCfnWorkflowRegistryMappingPropertyToCloudFormation)(properties.registryMappings)}):properties}function CfnWorkflowContainerRegistryMapPropertyFromCloudFormation(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("imageMappings","ImageMappings",properties.ImageMappings!=null?cfn_parse().FromCloudFormation.getArray(CfnWorkflowImageMappingPropertyFromCloudFormation)(properties.ImageMappings):void 0),ret.addPropertyResult("registryMappings","RegistryMappings",properties.RegistryMappings!=null?cfn_parse().FromCloudFormation.getArray(CfnWorkflowRegistryMappingPropertyFromCloudFormation)(properties.RegistryMappings):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("containerRegistryMap",CfnWorkflowContainerRegistryMapPropertyValidator)(properties.containerRegistryMap)),errors.collect(cdk().propertyValidator("containerRegistryMapUri",cdk().validateString)(properties.containerRegistryMapUri)),errors.collect(cdk().propertyValidator("definitionRepository",CfnWorkflowDefinitionRepositoryPropertyValidator)(properties.definitionRepository)),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("parameterTemplatePath",cdk().validateString)(properties.parameterTemplatePath)),errors.collect(cdk().propertyValidator("storageCapacity",cdk().validateNumber)(properties.storageCapacity)),errors.collect(cdk().propertyValidator("storageType",cdk().validateString)(properties.storageType)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.collect(cdk().propertyValidator("workflowBucketOwnerId",cdk().validateString)(properties.workflowBucketOwnerId)),errors.collect(cdk().propertyValidator("readmeMarkdown",cdk().validateString)(properties.readmeMarkdown)),errors.collect(cdk().propertyValidator("readmePath",cdk().validateString)(properties.readmePath)),errors.collect(cdk().propertyValidator("readmeUri",cdk().validateString)(properties.readmeUri)),errors.wrap('supplied properties not correct for "CfnWorkflowProps"')}function convertCfnWorkflowPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowPropsValidator(properties).assertSuccess(),{Accelerators:cdk().stringToCloudFormation(properties.accelerators),ContainerRegistryMap:convertCfnWorkflowContainerRegistryMapPropertyToCloudFormation(properties.containerRegistryMap),ContainerRegistryMapUri:cdk().stringToCloudFormation(properties.containerRegistryMapUri),DefinitionRepository:convertCfnWorkflowDefinitionRepositoryPropertyToCloudFormation(properties.definitionRepository),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),ParameterTemplatePath:cdk().stringToCloudFormation(properties.parameterTemplatePath),StorageCapacity:cdk().numberToCloudFormation(properties.storageCapacity),StorageType:cdk().stringToCloudFormation(properties.storageType),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags),WorkflowBucketOwnerId:cdk().stringToCloudFormation(properties.workflowBucketOwnerId),readmeMarkdown:cdk().stringToCloudFormation(properties.readmeMarkdown),readmePath:cdk().stringToCloudFormation(properties.readmePath),readmeUri:cdk().stringToCloudFormation(properties.readmeUri)}):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("containerRegistryMap","ContainerRegistryMap",properties.ContainerRegistryMap!=null?CfnWorkflowContainerRegistryMapPropertyFromCloudFormation(properties.ContainerRegistryMap):void 0),ret.addPropertyResult("containerRegistryMapUri","ContainerRegistryMapUri",properties.ContainerRegistryMapUri!=null?cfn_parse().FromCloudFormation.getString(properties.ContainerRegistryMapUri):void 0),ret.addPropertyResult("definitionRepository","DefinitionRepository",properties.DefinitionRepository!=null?CfnWorkflowDefinitionRepositoryPropertyFromCloudFormation(properties.DefinitionRepository):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("parameterTemplatePath","ParameterTemplatePath",properties.ParameterTemplatePath!=null?cfn_parse().FromCloudFormation.getString(properties.ParameterTemplatePath):void 0),ret.addPropertyResult("readmeMarkdown","readmeMarkdown",properties.readmeMarkdown!=null?cfn_parse().FromCloudFormation.getString(properties.readmeMarkdown):void 0),ret.addPropertyResult("readmePath","readmePath",properties.readmePath!=null?cfn_parse().FromCloudFormation.getString(properties.readmePath):void 0),ret.addPropertyResult("readmeUri","readmeUri",properties.readmeUri!=null?cfn_parse().FromCloudFormation.getString(properties.readmeUri):void 0),ret.addPropertyResult("storageCapacity","StorageCapacity",properties.StorageCapacity!=null?cfn_parse().FromCloudFormation.getNumber(properties.StorageCapacity):void 0),ret.addPropertyResult("storageType","StorageType",properties.StorageType!=null?cfn_parse().FromCloudFormation.getString(properties.StorageType):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addPropertyResult("workflowBucketOwnerId","WorkflowBucketOwnerId",properties.WorkflowBucketOwnerId!=null?cfn_parse().FromCloudFormation.getString(properties.WorkflowBucketOwnerId):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnConfiguration extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnConfiguration",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::Configuration";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnConfiguration(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}static isCfnConfiguration(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnConfiguration.CFN_RESOURCE_TYPE_NAME}static arnForConfiguration(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IConfigurationRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForConfiguration),error}return resource.configurationRef.configurationArn}cdkTagManager;_description;_name;_runConfigurations;_tags;cfnPropertyNames={tags:"Tags",description:"Description",name:"Name",runConfigurations:"RunConfigurations"};constructor(scope,id,props){super(scope,id,{type:CfnConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnConfiguration),error}cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"runConfigurations",this),this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::Configuration",void 0,{tagPropertyName:"tags"}),this._description=props.description,this._name=props.name,this._runConfigurations=props.runConfigurations,this._tags=props.tags}get configurationRef(){return{configurationName:this.ref,configurationArn:this.attrArn}}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get runConfigurations(){return this._runConfigurations}set runConfigurations(value){cdk().traceProperty(this.node,"RunConfigurations"),this._runConfigurations=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrUuid(){return cdk().Token.asString(this.getAtt("Uuid",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),description:this._description,name:this._name,runConfigurations:this._runConfigurations}}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",CfnConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnConfigurationPropsToCloudFormation(props)}}exports.CfnConfiguration=CfnConfiguration;function CfnConfigurationVpcConfigPropertyValidator(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("securityGroupIds",cdk().listValidator(cdk().validateString))(properties.securityGroupIds)),errors.collect(cdk().propertyValidator("subnetIds",cdk().listValidator(cdk().validateString))(properties.subnetIds)),errors.wrap('supplied properties not correct for "VpcConfigProperty"')}function convertCfnConfigurationVpcConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigurationVpcConfigPropertyValidator(properties).assertSuccess(),{SecurityGroupIds:cdk().listMapper(cdk().stringToCloudFormation)(properties.securityGroupIds),SubnetIds:cdk().listMapper(cdk().stringToCloudFormation)(properties.subnetIds)}):properties}function CfnConfigurationVpcConfigPropertyFromCloudFormation(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("securityGroupIds","SecurityGroupIds",properties.SecurityGroupIds!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.SecurityGroupIds):void 0),ret.addPropertyResult("subnetIds","SubnetIds",properties.SubnetIds!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.SubnetIds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigurationRunConfigurationsPropertyValidator(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("vpcConfig",CfnConfigurationVpcConfigPropertyValidator)(properties.vpcConfig)),errors.wrap('supplied properties not correct for "RunConfigurationsProperty"')}function convertCfnConfigurationRunConfigurationsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigurationRunConfigurationsPropertyValidator(properties).assertSuccess(),{VpcConfig:convertCfnConfigurationVpcConfigPropertyToCloudFormation(properties.vpcConfig)}):properties}function CfnConfigurationRunConfigurationsPropertyFromCloudFormation(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("vpcConfig","VpcConfig",properties.VpcConfig!=null?CfnConfigurationVpcConfigPropertyFromCloudFormation(properties.VpcConfig):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigurationPropsValidator(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("runConfigurations",cdk().requiredValidator)(properties.runConfigurations)),errors.collect(cdk().propertyValidator("runConfigurations",CfnConfigurationRunConfigurationsPropertyValidator)(properties.runConfigurations)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnConfigurationProps"')}function convertCfnConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigurationPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),RunConfigurations:convertCfnConfigurationRunConfigurationsPropertyToCloudFormation(properties.runConfigurations),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags)}):properties}function CfnConfigurationPropsFromCloudFormation(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("runConfigurations","RunConfigurations",properties.RunConfigurations!=null?CfnConfigurationRunConfigurationsPropertyFromCloudFormation(properties.RunConfigurations):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 CfnWorkflowVersion extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_omics.CfnWorkflowVersion",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::Omics::WorkflowVersion";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnWorkflowVersionPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnWorkflowVersion(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}static isCfnWorkflowVersion(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnWorkflowVersion.CFN_RESOURCE_TYPE_NAME}static arnForWorkflowVersion(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_omics_IWorkflowVersionRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForWorkflowVersion),error}return resource.workflowVersionRef.workflowVersionArn}_accelerators;cdkTagManager;_containerRegistryMap;_containerRegistryMapUri;_definitionRepository;_definitionUri;_description;_engine;_main;_parameterTemplate;_parameterTemplatePath;_readmeMarkdown;_readmePath;_readmeUri;_storageCapacity;_storageType;_tags;_versionName;_workflowBucketOwnerId;_workflowId;cfnPropertyNames={accelerators:"Accelerators",tags:"Tags",containerRegistryMap:"ContainerRegistryMap",containerRegistryMapUri:"ContainerRegistryMapUri",definitionRepository:"DefinitionRepository",definitionUri:"DefinitionUri",description:"Description",engine:"Engine",main:"Main",parameterTemplate:"ParameterTemplate",parameterTemplatePath:"ParameterTemplatePath",readmeMarkdown:"readmeMarkdown",readmePath:"readmePath",readmeUri:"readmeUri",storageCapacity:"StorageCapacity",storageType:"StorageType",versionName:"VersionName",workflowBucketOwnerId:"WorkflowBucketOwnerId",workflowId:"WorkflowId"};constructor(scope,id,props){super(scope,id,{type:CfnWorkflowVersion.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_omics_CfnWorkflowVersionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnWorkflowVersion),error}cdk().requireProperty(props,"versionName",this),cdk().requireProperty(props,"workflowId",this),this._accelerators=props.accelerators,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.MAP,"AWS::Omics::WorkflowVersion",void 0,{tagPropertyName:"tags"}),this._containerRegistryMap=props.containerRegistryMap,this._containerRegistryMapUri=props.containerRegistryMapUri,this._definitionRepository=props.definitionRepository,this._definitionUri=props.definitionUri,this._description=props.description,this._engine=props.engine,this._main=props.main,this._parameterTemplate=props.parameterTemplate,this._parameterTemplatePath=props.parameterTemplatePath,this._readmeMarkdown=props.readmeMarkdown,this._readmePath=props.readmePath,this._readmeUri=props.readmeUri,this._storageCapacity=props.storageCapacity,this._storageType=props.storageType,this._tags=props.tags,this._versionName=props.versionName,this._workflowBucketOwnerId=props.workflowBucketOwnerId,this._workflowId=props.workflowId}get workflowVersionRef(){return{workflowVersionArn:this.ref}}get accelerators(){return this._accelerators}set accelerators(value){cdk().traceProperty(this.node,"Accelerators"),this._accelerators=value}get containerRegistryMap(){return this._containerRegistryMap}set containerRegistryMap(value){cdk().traceProperty(this.node,"ContainerRegistryMap"),this._containerRegistryMap=value}get containerRegistryMapUri(){return this._containerRegistryMapUri}set containerRegistryMapUri(value){cdk().traceProperty(this.node,"ContainerRegistryMapUri"),this._containerRegistryMapUri=value}get definitionRepository(){return this._definitionRepository}set definitionRepository(value){cdk().traceProperty(this.node,"DefinitionRepository"),this._definitionRepository=value}get definitionUri(){return this._definitionUri}set definitionUri(value){cdk().traceProperty(this.node,"DefinitionUri"),this._definitionUri=value}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get engine(){return this._engine}set engine(value){cdk().traceProperty(this.node,"Engine"),this._engine=value}get main(){return this._main}set main(value){cdk().traceProperty(this.node,"Main"),this._main=value}get parameterTemplate(){return this._parameterTemplate}set parameterTemplate(value){cdk().traceProperty(this.node,"ParameterTemplate"),this._parameterTemplate=value}get parameterTemplatePath(){return this._parameterTemplatePath}set parameterTemplatePath(value){cdk().traceProperty(this.node,"ParameterTemplatePath"),this._parameterTemplatePath=value}get readmeMarkdown(){return this._readmeMarkdown}set readmeMarkdown(value){cdk().traceProperty(this.node,"readmeMarkdown"),this._readmeMarkdown=value}get readmePath(){return this._readmePath}set readmePath(value){cdk().traceProperty(this.node,"readmePath"),this._readmePath=value}get readmeUri(){return this._readmeUri}set readmeUri(value){cdk().traceProperty(this.node,"readmeUri"),this._readmeUri=value}get storageCapacity(){return this._storageCapacity}set storageCapacity(value){cdk().traceProperty(this.node,"StorageCapacity"),this._storageCapacity=value}get storageType(){return this._storageType}set storageType(value){cdk().traceProperty(this.node,"StorageType"),this._storageType=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get versionName(){return this._versionName}set versionName(value){cdk().traceProperty(this.node,"VersionName"),this._versionName=value}get workflowBucketOwnerId(){return this._workflowBucketOwnerId}set workflowBucketOwnerId(value){cdk().traceProperty(this.node,"WorkflowBucketOwnerId"),this._workflowBucketOwnerId=value}get workflowId(){return this._workflowId}set workflowId(value){cdk().traceProperty(this.node,"WorkflowId"),this._workflowId=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrCreationTime(){return cdk().Token.asString(this.getAtt("CreationTime",cdk().ResolutionTypeHint.STRING))}get attrStatus(){return cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING))}get attrType(){return cdk().Token.asString(this.getAtt("Type",cdk().ResolutionTypeHint.STRING))}get attrUuid(){return cdk().Token.asString(this.getAtt("Uuid",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{accelerators:this._accelerators,tags:this.cdkTagManager.renderTags(this._tags),containerRegistryMap:this._containerRegistryMap,containerRegistryMapUri:this._containerRegistryMapUri,definitionRepository:this._definitionRepository,definitionUri:this._definitionUri,description:this._description,engine:this._engine,main:this._main,parameterTemplate:this._parameterTemplate,parameterTemplatePath:this._parameterTemplatePath,readmeMarkdown:this._readmeMarkdown,readmePath:this._readmePath,readmeUri:this._readmeUri,storageCapacity:this._storageCapacity,storageType:this._storageType,versionName:this._versionName,workflowBucketOwnerId:this._workflowBucketOwnerId,workflowId:this._workflowId}}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",CfnWorkflowVersion.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnWorkflowVersionPropsToCloudFormation(props)}}exports.CfnWorkflowVersion=CfnWorkflowVersion;function CfnWorkflowVersionWorkflowParameterPropertyValidator(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 convertCfnWorkflowVersionWorkflowParameterPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionWorkflowParameterPropertyValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Optional:cdk().booleanToCloudFormation(properties.optional)}):properties}function CfnWorkflowVersionWorkflowParameterPropertyFromCloudFormation(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 CfnWorkflowVersionSourceReferencePropertyValidator(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("type",cdk().validateString)(properties.type)),errors.collect(cdk().propertyValidator("value",cdk().validateString)(properties.value)),errors.wrap('supplied properties not correct for "SourceReferenceProperty"')}function convertCfnWorkflowVersionSourceReferencePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionSourceReferencePropertyValidator(properties).assertSuccess(),{type:cdk().stringToCloudFormation(properties.type),value:cdk().stringToCloudFormation(properties.value)}):properties}function CfnWorkflowVersionSourceReferencePropertyFromCloudFormation(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("type","type",properties.type!=null?cfn_parse().FromCloudFormation.getString(properties.type):void 0),ret.addPropertyResult("value","value",properties.value!=null?cfn_parse().FromCloudFormation.getString(properties.value):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowVersionDefinitionRepositoryPropertyValidator(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("connectionArn",cdk().validateString)(properties.connectionArn)),errors.collect(cdk().propertyValidator("excludeFilePatterns",cdk().listValidator(cdk().validateString))(properties.excludeFilePatterns)),errors.collect(cdk().propertyValidator("fullRepositoryId",cdk().validateString)(properties.fullRepositoryId)),errors.collect(cdk().propertyValidator("sourceReference",CfnWorkflowVersionSourceReferencePropertyValidator)(properties.sourceReference)),errors.wrap('supplied properties not correct for "DefinitionRepositoryProperty"')}function convertCfnWorkflowVersionDefinitionRepositoryPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionDefinitionRepositoryPropertyValidator(properties).assertSuccess(),{connectionArn:cdk().stringToCloudFormation(properties.connectionArn),excludeFilePatterns:cdk().listMapper(cdk().stringToCloudFormation)(properties.excludeFilePatterns),fullRepositoryId:cdk().stringToCloudFormation(properties.fullRepositoryId),sourceReference:convertCfnWorkflowVersionSourceReferencePropertyToCloudFormation(properties.sourceReference)}):properties}function CfnWorkflowVersionDefinitionRepositoryPropertyFromCloudFormation(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("connectionArn","connectionArn",properties.connectionArn!=null?cfn_parse().FromCloudFormation.getString(properties.connectionArn):void 0),ret.addPropertyResult("excludeFilePatterns","excludeFilePatterns",properties.excludeFilePatterns!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.excludeFilePatterns):void 0),ret.addPropertyResult("fullRepositoryId","fullRepositoryId",properties.fullRepositoryId!=null?cfn_parse().FromCloudFormation.getString(properties.fullRepositoryId):void 0),ret.addPropertyResult("sourceReference","sourceReference",properties.sourceReference!=null?CfnWorkflowVersionSourceReferencePropertyFromCloudFormation(properties.sourceReference):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowVersionRegistryMappingPropertyValidator(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("ecrAccountId",cdk().validateString)(properties.ecrAccountId)),errors.collect(cdk().propertyValidator("ecrRepositoryPrefix",cdk().validateString)(properties.ecrRepositoryPrefix)),errors.collect(cdk().propertyValidator("upstreamRegistryUrl",cdk().validateString)(properties.upstreamRegistryUrl)),errors.collect(cdk().propertyValidator("upstreamRepositoryPrefix",cdk().validateString)(properties.upstreamRepositoryPrefix)),errors.wrap('supplied properties not correct for "RegistryMappingProperty"')}function convertCfnWorkflowVersionRegistryMappingPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionRegistryMappingPropertyValidator(properties).assertSuccess(),{EcrAccountId:cdk().stringToCloudFormation(properties.ecrAccountId),EcrRepositoryPrefix:cdk().stringToCloudFormation(properties.ecrRepositoryPrefix),UpstreamRegistryUrl:cdk().stringToCloudFormation(properties.upstreamRegistryUrl),UpstreamRepositoryPrefix:cdk().stringToCloudFormation(properties.upstreamRepositoryPrefix)}):properties}function CfnWorkflowVersionRegistryMappingPropertyFromCloudFormation(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("ecrAccountId","EcrAccountId",properties.EcrAccountId!=null?cfn_parse().FromCloudFormation.getString(properties.EcrAccountId):void 0),ret.addPropertyResult("ecrRepositoryPrefix","EcrRepositoryPrefix",properties.EcrRepositoryPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.EcrRepositoryPrefix):void 0),ret.addPropertyResult("upstreamRegistryUrl","UpstreamRegistryUrl",properties.UpstreamRegistryUrl!=null?cfn_parse().FromCloudFormation.getString(properties.UpstreamRegistryUrl):void 0),ret.addPropertyResult("upstreamRepositoryPrefix","UpstreamRepositoryPrefix",properties.UpstreamRepositoryPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.UpstreamRepositoryPrefix):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowVersionImageMappingPropertyValidator(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("destinationImage",cdk().validateString)(properties.destinationImage)),errors.collect(cdk().propertyValidator("sourceImage",cdk().validateString)(properties.sourceImage)),errors.wrap('supplied properties not correct for "ImageMappingProperty"')}function convertCfnWorkflowVersionImageMappingPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionImageMappingPropertyValidator(properties).assertSuccess(),{DestinationImage:cdk().stringToCloudFormation(properties.destinationImage),SourceImage:cdk().stringToCloudFormation(properties.sourceImage)}):properties}function CfnWorkflowVersionImageMappingPropertyFromCloudFormation(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("destinationImage","DestinationImage",properties.DestinationImage!=null?cfn_parse().FromCloudFormation.getString(properties.DestinationImage):void 0),ret.addPropertyResult("sourceImage","SourceImage",properties.SourceImage!=null?cfn_parse().FromCloudFormation.getString(properties.SourceImage):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowVersionContainerRegistryMapPropertyValidator(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("imageMappings",cdk().listValidator(CfnWorkflowVersionImageMappingPropertyValidator))(properties.imageMappings)),errors.collect(cdk().propertyValidator("registryMappings",cdk().listValidator(CfnWorkflowVersionRegistryMappingPropertyValidator))(properties.registryMappings)),errors.wrap('supplied properties not correct for "ContainerRegistryMapProperty"')}function convertCfnWorkflowVersionContainerRegistryMapPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionContainerRegistryMapPropertyValidator(properties).assertSuccess(),{ImageMappings:cdk().listMapper(convertCfnWorkflowVersionImageMappingPropertyToCloudFormation)(properties.imageMappings),RegistryMappings:cdk().listMapper(convertCfnWorkflowVersionRegistryMappingPropertyToCloudFormation)(properties.registryMappings)}):properties}function CfnWorkflowVersionContainerRegistryMapPropertyFromCloudFormation(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("imageMappings","ImageMappings",properties.ImageMappings!=null?cfn_parse().FromCloudFormation.getArray(CfnWorkflowVersionImageMappingPropertyFromCloudFormation)(properties.ImageMappings):void 0),ret.addPropertyResult("registryMappings","RegistryMappings",properties.RegistryMappings!=null?cfn_parse().FromCloudFormation.getArray(CfnWorkflowVersionRegistryMappingPropertyFromCloudFormation)(properties.RegistryMappings):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowVersionPropsValidator(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("containerRegistryMap",CfnWorkflowVersionContainerRegistryMapPropertyValidator)(properties.containerRegistryMap)),errors.collect(cdk().propertyValidator("containerRegistryMapUri",cdk().validateString)(properties.containerRegistryMapUri)),errors.collect(cdk().propertyValidator("definitionRepository",CfnWorkflowVersionDefinitionRepositoryPropertyValidator)(properties.definitionRepository)),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("parameterTemplate",cdk().hashValidator(CfnWorkflowVersionWorkflowParameterPropertyValidator))(properties.parameterTemplate)),errors.collect(cdk().propertyValidator("parameterTemplatePath",cdk().validateString)(properties.parameterTemplatePath)),errors.collect(cdk().propertyValidator("storageCapacity",cdk().validateNumber)(properties.storageCapacity)),errors.collect(cdk().propertyValidator("storageType",cdk().validateString)(properties.storageType)),errors.collect(cdk().propertyValidator("tags",cdk().hashValidator(cdk().validateString))(properties.tags)),errors.collect(cdk().propertyValidator("versionName",cdk().requiredValidator)(properties.versionName)),errors.collect(cdk().propertyValidator("versionName",cdk().validateString)(properties.versionName)),errors.collect(cdk().propertyValidator("workflowBucketOwnerId",cdk().validateString)(properties.workflowBucketOwnerId)),errors.collect(cdk().propertyValidator("workflowId",cdk().requiredValidator)(properties.workflowId)),errors.collect(cdk().propertyValidator("workflowId",cdk().validateString)(properties.workflowId)),errors.collect(cdk().propertyValidator("readmeMarkdown",cdk().validateString)(properties.readmeMarkdown)),errors.collect(cdk().propertyValidator("readmePath",cdk().validateString)(properties.readmePath)),errors.collect(cdk().propertyValidator("readmeUri",cdk().validateString)(properties.readmeUri)),errors.wrap('supplied properties not correct for "CfnWorkflowVersionProps"')}function convertCfnWorkflowVersionPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnWorkflowVersionPropsValidator(properties).assertSuccess(),{Accelerators:cdk().stringToCloudFormation(properties.accelerators),ContainerRegistryMap:convertCfnWorkflowVersionContainerRegistryMapPropertyToCloudFormation(properties.containerRegistryMap),ContainerRegistryMapUri:cdk().stringToCloudFormation(properties.containerRegistryMapUri),DefinitionRepository:convertCfnWorkflowVersionDefinitionRepositoryPropertyToCloudFormation(properties.definitionRepository),DefinitionUri:cdk().stringToCloudFormation(properties.definitionUri),Description:cdk().stringToCloudFormation(properties.description),Engine:cdk().stringToCloudFormation(properties.engine),Main:cdk().stringToCloudFormation(properties.main),ParameterTemplate:cdk().hashMapper(convertCfnWorkflowVersionWorkflowParameterPropertyToCloudFormation)(properties.parameterTemplate),ParameterTemplatePath:cdk().stringToCloudFormation(properties.parameterTemplatePath),StorageCapacity:cdk().numberToCloudFormation(properties.storageCapacity),StorageType:cdk().stringToCloudFormation(properties.storageType),Tags:cdk().hashMapper(cdk().stringToCloudFormation)(properties.tags),VersionName:cdk().stringToCloudFormation(properties.versionName),WorkflowBucketOwnerId:cdk().stringToCloudFormation(properties.workflowBucketOwnerId),WorkflowId:cdk().stringToCloudFormation(properties.workflowId),readmeMarkdown:cdk().stringToCloudFormation(properties.readmeMarkdown),readmePath:cdk().stringToCloudFormation(properties.readmePath),readmeUri:cdk().stringToCloudFormation(properties.readmeUri)}):properties}function CfnWorkflowVersionPropsFromCloudFormation(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("containerRegistryMap","ContainerRegistryMap",properties.ContainerRegistryMap!=null?CfnWorkflowVersionContainerRegistryMapPropertyFromCloudFormation(properties.ContainerRegistryMap):void 0),ret.addPropertyResult("containerRegistryMapUri","ContainerRegistryMapUri",properties.ContainerRegistryMapUri!=null?cfn_parse().FromCloudFormation.getString(properties.ContainerRegistryMapUri):void 0),ret.addPropertyResult("definitionRepository","DefinitionRepository",properties.DefinitionRepository!=null?CfnWorkflowVersionDefinitionRepositoryPropertyFromCloudFormation(properties.DefinitionRepository):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("parameterTemplate","ParameterTemplate",properties.ParameterTemplate!=null?cfn_parse().FromCloudFormation.getMap(CfnWorkflowVersionWorkflowParameterPropertyFromCloudFormation)(properties.ParameterTemplate):void 0),ret.addPropertyResult("parameterTemplatePath","ParameterTemplatePath",properties.ParameterTemplatePath!=null?cfn_parse().FromCloudFormation.getString(properties.ParameterTemplatePath):void 0),ret.addPropertyResult("readmeMarkdown","readmeMarkdown",properties.readmeMarkdown!=null?cfn_parse().FromCloudFormation.getString(properties.readmeMarkdown):void 0),ret.addPropertyResult("readmePath","readmePath",properties.readmePath!=null?cfn_parse().FromCloudFormation.getString(properties.readmePath):void 0),ret.addPropertyResult("readmeUri","readmeUri",properties.readmeUri!=null?cfn_parse().FromCloudFormation.getString(properties.readmeUri):void 0),ret.addPropertyResult("storageCapacity","StorageCapacity",properties.StorageCapacity!=null?cfn_parse().FromCloudFormation.getNumber(properties.StorageCapacity):void 0),ret.addPropertyResult("storageType","StorageType",properties.StorageType!=null?cfn_parse().FromCloudFormation.getString(properties.StorageType):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getMap(cfn_parse().FromCloudFormation.getString)(properties.Tags):void 0),ret.addPropertyResult("versionName","VersionName",properties.VersionName!=null?cfn_parse().FromCloudFormation.getString(properties.VersionName):void 0),ret.addPropertyResult("workflowBucketOwnerId","WorkflowBucketOwnerId",properties.WorkflowBucketOwnerId!=null?cfn_parse().FromCloudFormation.getString(properties.WorkflowBucketOwnerId):void 0),ret.addPropertyResult("workflowId","WorkflowId",properties.WorkflowId!=null?cfn_parse().FromCloudFormation.getString(properties.WorkflowId):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}