UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 44.6 kB
"use strict";var _a,_b,_c,_d,_e,_f;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnWorkflow=exports.CfnVariantStore=exports.CfnSequenceStore=exports.CfnRunGroup=exports.CfnReferenceStore=exports.CfnAnnotationStore=void 0;const jsiiDeprecationWarnings=require("../../.warnings.jsii.js"),JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti"),cdk=require("../../core"),cfn_parse=require("../../core/lib/helpers-internal");function CfnAnnotationStorePropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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",CfnAnnotationStore_ReferenceItemPropertyValidator)(properties.reference)),errors.collect(cdk.propertyValidator("sseConfig",CfnAnnotationStore_SseConfigPropertyValidator)(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",CfnAnnotationStore_StoreOptionsPropertyValidator)(properties.storeOptions)),errors.collect(cdk.propertyValidator("tags",cdk.hashValidator(cdk.validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnAnnotationStoreProps"')}function cfnAnnotationStorePropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAnnotationStorePropsValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),StoreFormat:cdk.stringToCloudFormation(properties.storeFormat),Description:cdk.stringToCloudFormation(properties.description),Reference:cfnAnnotationStoreReferenceItemPropertyToCloudFormation(properties.reference),SseConfig:cfnAnnotationStoreSseConfigPropertyToCloudFormation(properties.sseConfig),StoreOptions:cfnAnnotationStoreStoreOptionsPropertyToCloudFormation(properties.storeOptions),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnAnnotationStorePropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("storeFormat","StoreFormat",cfn_parse.FromCloudFormation.getString(properties.StoreFormat)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):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("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 CfnAnnotationStore extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnAnnotationStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnAnnotationStore),error}cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"storeFormat",this),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrId=cdk.Token.asString(this.getAtt("Id",cdk.ResolutionTypeHint.STRING)),this.attrStatus=cdk.Token.asString(this.getAtt("Status",cdk.ResolutionTypeHint.STRING)),this.attrStatusMessage=cdk.Token.asString(this.getAtt("StatusMessage",cdk.ResolutionTypeHint.STRING)),this.attrStoreArn=cdk.Token.asString(this.getAtt("StoreArn",cdk.ResolutionTypeHint.STRING)),this.attrStoreSizeBytes=this.getAtt("StoreSizeBytes",cdk.ResolutionTypeHint.STRING),this.attrUpdateTime=cdk.Token.asString(this.getAtt("UpdateTime",cdk.ResolutionTypeHint.STRING)),this.name=props.name,this.storeFormat=props.storeFormat,this.description=props.description,this.reference=props.reference,this.sseConfig=props.sseConfig,this.storeOptions=props.storeOptions,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::AnnotationStore",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnAnnotationStorePropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{name:this.name,storeFormat:this.storeFormat,description:this.description,reference:this.reference,sseConfig:this.sseConfig,storeOptions:this.storeOptions,tags:this.tags.renderTags()}}renderProperties(props){return cfnAnnotationStorePropsToCloudFormation(props)}}exports.CfnAnnotationStore=CfnAnnotationStore,_a=JSII_RTTI_SYMBOL_1,CfnAnnotationStore[_a]={fqn:"aws-cdk-lib.aws_omics.CfnAnnotationStore",version:"2.70.0"},CfnAnnotationStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::AnnotationStore";function CfnAnnotationStore_ReferenceItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnAnnotationStoreReferenceItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAnnotationStore_ReferenceItemPropertyValidator(properties).assertSuccess(),{ReferenceArn:cdk.stringToCloudFormation(properties.referenceArn)}):properties}function CfnAnnotationStoreReferenceItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("referenceArn","ReferenceArn",cfn_parse.FromCloudFormation.getString(properties.ReferenceArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStore_SseConfigPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnAnnotationStoreSseConfigPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAnnotationStore_SseConfigPropertyValidator(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??{},typeof properties!="object")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",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStore_StoreOptionsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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",CfnAnnotationStore_TsvStoreOptionsPropertyValidator)(properties.tsvStoreOptions)),errors.wrap('supplied properties not correct for "StoreOptionsProperty"')}function cfnAnnotationStoreStoreOptionsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAnnotationStore_StoreOptionsPropertyValidator(properties).assertSuccess(),{TsvStoreOptions:cfnAnnotationStoreTsvStoreOptionsPropertyToCloudFormation(properties.tsvStoreOptions)}):properties}function CfnAnnotationStoreStoreOptionsPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("tsvStoreOptions","TsvStoreOptions",CfnAnnotationStoreTsvStoreOptionsPropertyFromCloudFormation(properties.TsvStoreOptions)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnAnnotationStore_TsvStoreOptionsPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnAnnotationStoreTsvStoreOptionsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnAnnotationStore_TsvStoreOptionsPropertyValidator(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??{},typeof properties!="object")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 CfnReferenceStorePropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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",CfnReferenceStore_SseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk.propertyValidator("tags",cdk.hashValidator(cdk.validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnReferenceStoreProps"')}function cfnReferenceStorePropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnReferenceStorePropsValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),Description:cdk.stringToCloudFormation(properties.description),SseConfig:cfnReferenceStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnReferenceStorePropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):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 CfnReferenceStore extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnReferenceStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnReferenceStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnReferenceStore),error}cdk.requireProperty(props,"name",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrReferenceStoreId=cdk.Token.asString(this.getAtt("ReferenceStoreId",cdk.ResolutionTypeHint.STRING)),this.name=props.name,this.description=props.description,this.sseConfig=props.sseConfig,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::ReferenceStore",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnReferenceStorePropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnReferenceStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{name:this.name,description:this.description,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}renderProperties(props){return cfnReferenceStorePropsToCloudFormation(props)}}exports.CfnReferenceStore=CfnReferenceStore,_b=JSII_RTTI_SYMBOL_1,CfnReferenceStore[_b]={fqn:"aws-cdk-lib.aws_omics.CfnReferenceStore",version:"2.70.0"},CfnReferenceStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::ReferenceStore";function CfnReferenceStore_SseConfigPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnReferenceStoreSseConfigPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnReferenceStore_SseConfigPropertyValidator(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??{},typeof properties!="object")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",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnRunGroupPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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("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 cfnRunGroupPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnRunGroupPropsValidator(properties).assertSuccess(),{MaxCpus:cdk.numberToCloudFormation(properties.maxCpus),MaxDuration:cdk.numberToCloudFormation(properties.maxDuration),MaxRuns:cdk.numberToCloudFormation(properties.maxRuns),Name:cdk.stringToCloudFormation(properties.name),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnRunGroupPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")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("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 CfnRunGroup extends cdk.CfnResource{constructor(scope,id,props={}){super(scope,id,{type:CfnRunGroup.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnRunGroupProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnRunGroup),error}this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrId=cdk.Token.asString(this.getAtt("Id",cdk.ResolutionTypeHint.STRING)),this.maxCpus=props.maxCpus,this.maxDuration=props.maxDuration,this.maxRuns=props.maxRuns,this.name=props.name,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::RunGroup",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnRunGroupPropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnRunGroup.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{maxCpus:this.maxCpus,maxDuration:this.maxDuration,maxRuns:this.maxRuns,name:this.name,tags:this.tags.renderTags()}}renderProperties(props){return cfnRunGroupPropsToCloudFormation(props)}}exports.CfnRunGroup=CfnRunGroup,_c=JSII_RTTI_SYMBOL_1,CfnRunGroup[_c]={fqn:"aws-cdk-lib.aws_omics.CfnRunGroup",version:"2.70.0"},CfnRunGroup.CFN_RESOURCE_TYPE_NAME="AWS::Omics::RunGroup";function CfnSequenceStorePropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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",CfnSequenceStore_SseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk.propertyValidator("tags",cdk.hashValidator(cdk.validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnSequenceStoreProps"')}function cfnSequenceStorePropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnSequenceStorePropsValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),Description:cdk.stringToCloudFormation(properties.description),SseConfig:cfnSequenceStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnSequenceStorePropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):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 CfnSequenceStore extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnSequenceStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnSequenceStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnSequenceStore),error}cdk.requireProperty(props,"name",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrSequenceStoreId=cdk.Token.asString(this.getAtt("SequenceStoreId",cdk.ResolutionTypeHint.STRING)),this.name=props.name,this.description=props.description,this.sseConfig=props.sseConfig,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::SequenceStore",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnSequenceStorePropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnSequenceStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{name:this.name,description:this.description,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}renderProperties(props){return cfnSequenceStorePropsToCloudFormation(props)}}exports.CfnSequenceStore=CfnSequenceStore,_d=JSII_RTTI_SYMBOL_1,CfnSequenceStore[_d]={fqn:"aws-cdk-lib.aws_omics.CfnSequenceStore",version:"2.70.0"},CfnSequenceStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::SequenceStore";function CfnSequenceStore_SseConfigPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnSequenceStoreSseConfigPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnSequenceStore_SseConfigPropertyValidator(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??{},typeof properties!="object")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",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnVariantStorePropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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",CfnVariantStore_ReferenceItemPropertyValidator)(properties.reference)),errors.collect(cdk.propertyValidator("sseConfig",CfnVariantStore_SseConfigPropertyValidator)(properties.sseConfig)),errors.collect(cdk.propertyValidator("tags",cdk.hashValidator(cdk.validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnVariantStoreProps"')}function cfnVariantStorePropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnVariantStorePropsValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),Reference:cfnVariantStoreReferenceItemPropertyToCloudFormation(properties.reference),Description:cdk.stringToCloudFormation(properties.description),SseConfig:cfnVariantStoreSseConfigPropertyToCloudFormation(properties.sseConfig),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnVariantStorePropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("reference","Reference",CfnVariantStoreReferenceItemPropertyFromCloudFormation(properties.Reference)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):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 CfnVariantStore extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnVariantStore.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnVariantStoreProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnVariantStore),error}cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"reference",this),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrId=cdk.Token.asString(this.getAtt("Id",cdk.ResolutionTypeHint.STRING)),this.attrStatus=cdk.Token.asString(this.getAtt("Status",cdk.ResolutionTypeHint.STRING)),this.attrStatusMessage=cdk.Token.asString(this.getAtt("StatusMessage",cdk.ResolutionTypeHint.STRING)),this.attrStoreArn=cdk.Token.asString(this.getAtt("StoreArn",cdk.ResolutionTypeHint.STRING)),this.attrStoreSizeBytes=this.getAtt("StoreSizeBytes",cdk.ResolutionTypeHint.STRING),this.attrUpdateTime=cdk.Token.asString(this.getAtt("UpdateTime",cdk.ResolutionTypeHint.STRING)),this.name=props.name,this.reference=props.reference,this.description=props.description,this.sseConfig=props.sseConfig,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::VariantStore",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnVariantStorePropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnVariantStore.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{name:this.name,reference:this.reference,description:this.description,sseConfig:this.sseConfig,tags:this.tags.renderTags()}}renderProperties(props){return cfnVariantStorePropsToCloudFormation(props)}}exports.CfnVariantStore=CfnVariantStore,_e=JSII_RTTI_SYMBOL_1,CfnVariantStore[_e]={fqn:"aws-cdk-lib.aws_omics.CfnVariantStore",version:"2.70.0"},CfnVariantStore.CFN_RESOURCE_TYPE_NAME="AWS::Omics::VariantStore";function CfnVariantStore_ReferenceItemPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnVariantStoreReferenceItemPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnVariantStore_ReferenceItemPropertyValidator(properties).assertSuccess(),{ReferenceArn:cdk.stringToCloudFormation(properties.referenceArn)}):properties}function CfnVariantStoreReferenceItemPropertyFromCloudFormation(properties){if(cdk.isResolvableObject(properties))return new cfn_parse.FromCloudFormationResult(properties);if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("referenceArn","ReferenceArn",cfn_parse.FromCloudFormation.getString(properties.ReferenceArn)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnVariantStore_SseConfigPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnVariantStoreSseConfigPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnVariantStore_SseConfigPropertyValidator(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??{},typeof properties!="object")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",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnWorkflowPropsValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&errors.collect(new cdk.ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),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(CfnWorkflow_WorkflowParameterPropertyValidator))(properties.parameterTemplate)),errors.collect(cdk.propertyValidator("storageCapacity",cdk.validateNumber)(properties.storageCapacity)),errors.collect(cdk.propertyValidator("tags",cdk.hashValidator(cdk.validateString))(properties.tags)),errors.wrap('supplied properties not correct for "CfnWorkflowProps"')}function cfnWorkflowPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnWorkflowPropsValidator(properties).assertSuccess(),{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(cfnWorkflowWorkflowParameterPropertyToCloudFormation)(properties.parameterTemplate),StorageCapacity:cdk.numberToCloudFormation(properties.storageCapacity),Tags:cdk.hashMapper(cdk.stringToCloudFormation)(properties.tags)}):properties}function CfnWorkflowPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("definitionUri","DefinitionUri",properties.DefinitionUri!=null?cfn_parse.FromCloudFormation.getString(properties.DefinitionUri):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("engine","Engine",properties.Engine!=null?cfn_parse.FromCloudFormation.getString(properties.Engine):void 0),ret.addPropertyResult("main","Main",properties.Main!=null?cfn_parse.FromCloudFormation.getString(properties.Main):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse.FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("parameterTemplate","ParameterTemplate",properties.ParameterTemplate!=null?cfn_parse.FromCloudFormation.getMap(CfnWorkflowWorkflowParameterPropertyFromCloudFormation)(properties.ParameterTemplate):void 0),ret.addPropertyResult("storageCapacity","StorageCapacity",properties.StorageCapacity!=null?cfn_parse.FromCloudFormation.getNumber(properties.StorageCapacity):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse.FromCloudFormation.getMap(cfn_parse.FromCloudFormation.getString)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnWorkflow extends cdk.CfnResource{constructor(scope,id,props={}){super(scope,id,{type:CfnWorkflow.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_omics_CfnWorkflowProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnWorkflow),error}this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrId=cdk.Token.asString(this.getAtt("Id",cdk.ResolutionTypeHint.STRING)),this.attrStatus=cdk.Token.asString(this.getAtt("Status",cdk.ResolutionTypeHint.STRING)),this.attrType=cdk.Token.asString(this.getAtt("Type",cdk.ResolutionTypeHint.STRING)),this.definitionUri=props.definitionUri,this.description=props.description,this.engine=props.engine,this.main=props.main,this.name=props.name,this.parameterTemplate=props.parameterTemplate,this.storageCapacity=props.storageCapacity,this.tags=new cdk.TagManager(cdk.TagType.MAP,"AWS::Omics::Workflow",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnWorkflowPropsFromCloudFormation(resourceProperties),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}inspect(inspector){try{jsiiDeprecationWarnings.aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnWorkflow.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{definitionUri:this.definitionUri,description:this.description,engine:this.engine,main:this.main,name:this.name,parameterTemplate:this.parameterTemplate,storageCapacity:this.storageCapacity,tags:this.tags.renderTags()}}renderProperties(props){return cfnWorkflowPropsToCloudFormation(props)}}exports.CfnWorkflow=CfnWorkflow,_f=JSII_RTTI_SYMBOL_1,CfnWorkflow[_f]={fqn:"aws-cdk-lib.aws_omics.CfnWorkflow",version:"2.70.0"},CfnWorkflow.CFN_RESOURCE_TYPE_NAME="AWS::Omics::Workflow";function CfnWorkflow_WorkflowParameterPropertyValidator(properties){if(!cdk.canInspect(properties))return cdk.VALIDATION_SUCCESS;const errors=new cdk.ValidationResults;return typeof properties!="object"&&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 cfnWorkflowWorkflowParameterPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnWorkflow_WorkflowParameterPropertyValidator(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??{},typeof properties!="object")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}