UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 80.3 kB
"use strict";var _a,_b,_c,_d,_e,_f;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnVehicle=exports.CfnSignalCatalog=exports.CfnModelManifest=exports.CfnFleet=exports.CfnDecoderManifest=exports.CfnCampaign=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 CfnCampaignPropsValidator(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("action",cdk.requiredValidator)(properties.action)),errors.collect(cdk.propertyValidator("action",cdk.validateString)(properties.action)),errors.collect(cdk.propertyValidator("collectionScheme",cdk.requiredValidator)(properties.collectionScheme)),errors.collect(cdk.propertyValidator("collectionScheme",CfnCampaign_CollectionSchemePropertyValidator)(properties.collectionScheme)),errors.collect(cdk.propertyValidator("compression",cdk.validateString)(properties.compression)),errors.collect(cdk.propertyValidator("dataExtraDimensions",cdk.listValidator(cdk.validateString))(properties.dataExtraDimensions)),errors.collect(cdk.propertyValidator("description",cdk.validateString)(properties.description)),errors.collect(cdk.propertyValidator("diagnosticsMode",cdk.validateString)(properties.diagnosticsMode)),errors.collect(cdk.propertyValidator("expiryTime",cdk.validateString)(properties.expiryTime)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("postTriggerCollectionDuration",cdk.validateNumber)(properties.postTriggerCollectionDuration)),errors.collect(cdk.propertyValidator("priority",cdk.validateNumber)(properties.priority)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.requiredValidator)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.validateString)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("signalsToCollect",cdk.listValidator(CfnCampaign_SignalInformationPropertyValidator))(properties.signalsToCollect)),errors.collect(cdk.propertyValidator("spoolingMode",cdk.validateString)(properties.spoolingMode)),errors.collect(cdk.propertyValidator("startTime",cdk.validateString)(properties.startTime)),errors.collect(cdk.propertyValidator("tags",cdk.listValidator(cdk.validateCfnTag))(properties.tags)),errors.collect(cdk.propertyValidator("targetArn",cdk.requiredValidator)(properties.targetArn)),errors.collect(cdk.propertyValidator("targetArn",cdk.validateString)(properties.targetArn)),errors.wrap('supplied properties not correct for "CfnCampaignProps"')}function cfnCampaignPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnCampaignPropsValidator(properties).assertSuccess(),{Action:cdk.stringToCloudFormation(properties.action),CollectionScheme:cfnCampaignCollectionSchemePropertyToCloudFormation(properties.collectionScheme),Name:cdk.stringToCloudFormation(properties.name),SignalCatalogArn:cdk.stringToCloudFormation(properties.signalCatalogArn),TargetArn:cdk.stringToCloudFormation(properties.targetArn),Compression:cdk.stringToCloudFormation(properties.compression),DataExtraDimensions:cdk.listMapper(cdk.stringToCloudFormation)(properties.dataExtraDimensions),Description:cdk.stringToCloudFormation(properties.description),DiagnosticsMode:cdk.stringToCloudFormation(properties.diagnosticsMode),ExpiryTime:cdk.stringToCloudFormation(properties.expiryTime),PostTriggerCollectionDuration:cdk.numberToCloudFormation(properties.postTriggerCollectionDuration),Priority:cdk.numberToCloudFormation(properties.priority),SignalsToCollect:cdk.listMapper(cfnCampaignSignalInformationPropertyToCloudFormation)(properties.signalsToCollect),SpoolingMode:cdk.stringToCloudFormation(properties.spoolingMode),StartTime:cdk.stringToCloudFormation(properties.startTime),Tags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.tags)}):properties}function CfnCampaignPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("action","Action",cfn_parse.FromCloudFormation.getString(properties.Action)),ret.addPropertyResult("collectionScheme","CollectionScheme",CfnCampaignCollectionSchemePropertyFromCloudFormation(properties.CollectionScheme)),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("signalCatalogArn","SignalCatalogArn",cfn_parse.FromCloudFormation.getString(properties.SignalCatalogArn)),ret.addPropertyResult("targetArn","TargetArn",cfn_parse.FromCloudFormation.getString(properties.TargetArn)),ret.addPropertyResult("compression","Compression",properties.Compression!=null?cfn_parse.FromCloudFormation.getString(properties.Compression):void 0),ret.addPropertyResult("dataExtraDimensions","DataExtraDimensions",properties.DataExtraDimensions!=null?cfn_parse.FromCloudFormation.getStringArray(properties.DataExtraDimensions):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("diagnosticsMode","DiagnosticsMode",properties.DiagnosticsMode!=null?cfn_parse.FromCloudFormation.getString(properties.DiagnosticsMode):void 0),ret.addPropertyResult("expiryTime","ExpiryTime",properties.ExpiryTime!=null?cfn_parse.FromCloudFormation.getString(properties.ExpiryTime):void 0),ret.addPropertyResult("postTriggerCollectionDuration","PostTriggerCollectionDuration",properties.PostTriggerCollectionDuration!=null?cfn_parse.FromCloudFormation.getNumber(properties.PostTriggerCollectionDuration):void 0),ret.addPropertyResult("priority","Priority",properties.Priority!=null?cfn_parse.FromCloudFormation.getNumber(properties.Priority):void 0),ret.addPropertyResult("signalsToCollect","SignalsToCollect",properties.SignalsToCollect!=null?cfn_parse.FromCloudFormation.getArray(CfnCampaignSignalInformationPropertyFromCloudFormation)(properties.SignalsToCollect):void 0),ret.addPropertyResult("spoolingMode","SpoolingMode",properties.SpoolingMode!=null?cfn_parse.FromCloudFormation.getString(properties.SpoolingMode):void 0),ret.addPropertyResult("startTime","StartTime",properties.StartTime!=null?cfn_parse.FromCloudFormation.getString(properties.StartTime):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnCampaign extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnCampaign.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_iotfleetwise_CfnCampaignProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnCampaign),error}cdk.requireProperty(props,"action",this),cdk.requireProperty(props,"collectionScheme",this),cdk.requireProperty(props,"name",this),cdk.requireProperty(props,"signalCatalogArn",this),cdk.requireProperty(props,"targetArn",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrLastModificationTime=cdk.Token.asString(this.getAtt("LastModificationTime",cdk.ResolutionTypeHint.STRING)),this.attrStatus=cdk.Token.asString(this.getAtt("Status",cdk.ResolutionTypeHint.STRING)),this.action=props.action,this.collectionScheme=props.collectionScheme,this.name=props.name,this.signalCatalogArn=props.signalCatalogArn,this.targetArn=props.targetArn,this.compression=props.compression,this.dataExtraDimensions=props.dataExtraDimensions,this.description=props.description,this.diagnosticsMode=props.diagnosticsMode,this.expiryTime=props.expiryTime,this.postTriggerCollectionDuration=props.postTriggerCollectionDuration,this.priority=props.priority,this.signalsToCollect=props.signalsToCollect,this.spoolingMode=props.spoolingMode,this.startTime=props.startTime,this.tags=new cdk.TagManager(cdk.TagType.STANDARD,"AWS::IoTFleetWise::Campaign",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnCampaignPropsFromCloudFormation(resourceProperties),ret=new CfnCampaign(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",CfnCampaign.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{action:this.action,collectionScheme:this.collectionScheme,name:this.name,signalCatalogArn:this.signalCatalogArn,targetArn:this.targetArn,compression:this.compression,dataExtraDimensions:this.dataExtraDimensions,description:this.description,diagnosticsMode:this.diagnosticsMode,expiryTime:this.expiryTime,postTriggerCollectionDuration:this.postTriggerCollectionDuration,priority:this.priority,signalsToCollect:this.signalsToCollect,spoolingMode:this.spoolingMode,startTime:this.startTime,tags:this.tags.renderTags()}}renderProperties(props){return cfnCampaignPropsToCloudFormation(props)}}exports.CfnCampaign=CfnCampaign,_a=JSII_RTTI_SYMBOL_1,CfnCampaign[_a]={fqn:"aws-cdk-lib.aws_iotfleetwise.CfnCampaign",version:"2.70.0"},CfnCampaign.CFN_RESOURCE_TYPE_NAME="AWS::IoTFleetWise::Campaign";function CfnCampaign_CollectionSchemePropertyValidator(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("conditionBasedCollectionScheme",CfnCampaign_ConditionBasedCollectionSchemePropertyValidator)(properties.conditionBasedCollectionScheme)),errors.collect(cdk.propertyValidator("timeBasedCollectionScheme",CfnCampaign_TimeBasedCollectionSchemePropertyValidator)(properties.timeBasedCollectionScheme)),errors.wrap('supplied properties not correct for "CollectionSchemeProperty"')}function cfnCampaignCollectionSchemePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnCampaign_CollectionSchemePropertyValidator(properties).assertSuccess(),{ConditionBasedCollectionScheme:cfnCampaignConditionBasedCollectionSchemePropertyToCloudFormation(properties.conditionBasedCollectionScheme),TimeBasedCollectionScheme:cfnCampaignTimeBasedCollectionSchemePropertyToCloudFormation(properties.timeBasedCollectionScheme)}):properties}function CfnCampaignCollectionSchemePropertyFromCloudFormation(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("conditionBasedCollectionScheme","ConditionBasedCollectionScheme",properties.ConditionBasedCollectionScheme!=null?CfnCampaignConditionBasedCollectionSchemePropertyFromCloudFormation(properties.ConditionBasedCollectionScheme):void 0),ret.addPropertyResult("timeBasedCollectionScheme","TimeBasedCollectionScheme",properties.TimeBasedCollectionScheme!=null?CfnCampaignTimeBasedCollectionSchemePropertyFromCloudFormation(properties.TimeBasedCollectionScheme):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCampaign_ConditionBasedCollectionSchemePropertyValidator(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("conditionLanguageVersion",cdk.validateNumber)(properties.conditionLanguageVersion)),errors.collect(cdk.propertyValidator("expression",cdk.requiredValidator)(properties.expression)),errors.collect(cdk.propertyValidator("expression",cdk.validateString)(properties.expression)),errors.collect(cdk.propertyValidator("minimumTriggerIntervalMs",cdk.validateNumber)(properties.minimumTriggerIntervalMs)),errors.collect(cdk.propertyValidator("triggerMode",cdk.validateString)(properties.triggerMode)),errors.wrap('supplied properties not correct for "ConditionBasedCollectionSchemeProperty"')}function cfnCampaignConditionBasedCollectionSchemePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnCampaign_ConditionBasedCollectionSchemePropertyValidator(properties).assertSuccess(),{ConditionLanguageVersion:cdk.numberToCloudFormation(properties.conditionLanguageVersion),Expression:cdk.stringToCloudFormation(properties.expression),MinimumTriggerIntervalMs:cdk.numberToCloudFormation(properties.minimumTriggerIntervalMs),TriggerMode:cdk.stringToCloudFormation(properties.triggerMode)}):properties}function CfnCampaignConditionBasedCollectionSchemePropertyFromCloudFormation(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("conditionLanguageVersion","ConditionLanguageVersion",properties.ConditionLanguageVersion!=null?cfn_parse.FromCloudFormation.getNumber(properties.ConditionLanguageVersion):void 0),ret.addPropertyResult("expression","Expression",cfn_parse.FromCloudFormation.getString(properties.Expression)),ret.addPropertyResult("minimumTriggerIntervalMs","MinimumTriggerIntervalMs",properties.MinimumTriggerIntervalMs!=null?cfn_parse.FromCloudFormation.getNumber(properties.MinimumTriggerIntervalMs):void 0),ret.addPropertyResult("triggerMode","TriggerMode",properties.TriggerMode!=null?cfn_parse.FromCloudFormation.getString(properties.TriggerMode):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCampaign_SignalInformationPropertyValidator(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("maxSampleCount",cdk.validateNumber)(properties.maxSampleCount)),errors.collect(cdk.propertyValidator("minimumSamplingIntervalMs",cdk.validateNumber)(properties.minimumSamplingIntervalMs)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.wrap('supplied properties not correct for "SignalInformationProperty"')}function cfnCampaignSignalInformationPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnCampaign_SignalInformationPropertyValidator(properties).assertSuccess(),{MaxSampleCount:cdk.numberToCloudFormation(properties.maxSampleCount),MinimumSamplingIntervalMs:cdk.numberToCloudFormation(properties.minimumSamplingIntervalMs),Name:cdk.stringToCloudFormation(properties.name)}):properties}function CfnCampaignSignalInformationPropertyFromCloudFormation(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("maxSampleCount","MaxSampleCount",properties.MaxSampleCount!=null?cfn_parse.FromCloudFormation.getNumber(properties.MaxSampleCount):void 0),ret.addPropertyResult("minimumSamplingIntervalMs","MinimumSamplingIntervalMs",properties.MinimumSamplingIntervalMs!=null?cfn_parse.FromCloudFormation.getNumber(properties.MinimumSamplingIntervalMs):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCampaign_TimeBasedCollectionSchemePropertyValidator(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("periodMs",cdk.requiredValidator)(properties.periodMs)),errors.collect(cdk.propertyValidator("periodMs",cdk.validateNumber)(properties.periodMs)),errors.wrap('supplied properties not correct for "TimeBasedCollectionSchemeProperty"')}function cfnCampaignTimeBasedCollectionSchemePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnCampaign_TimeBasedCollectionSchemePropertyValidator(properties).assertSuccess(),{PeriodMs:cdk.numberToCloudFormation(properties.periodMs)}):properties}function CfnCampaignTimeBasedCollectionSchemePropertyFromCloudFormation(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("periodMs","PeriodMs",cfn_parse.FromCloudFormation.getNumber(properties.PeriodMs)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifestPropsValidator(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("modelManifestArn",cdk.requiredValidator)(properties.modelManifestArn)),errors.collect(cdk.propertyValidator("modelManifestArn",cdk.validateString)(properties.modelManifestArn)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("networkInterfaces",cdk.listValidator(CfnDecoderManifest_NetworkInterfacesItemsPropertyValidator))(properties.networkInterfaces)),errors.collect(cdk.propertyValidator("signalDecoders",cdk.listValidator(CfnDecoderManifest_SignalDecodersItemsPropertyValidator))(properties.signalDecoders)),errors.collect(cdk.propertyValidator("status",cdk.validateString)(properties.status)),errors.collect(cdk.propertyValidator("tags",cdk.listValidator(cdk.validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnDecoderManifestProps"')}function cfnDecoderManifestPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifestPropsValidator(properties).assertSuccess(),{ModelManifestArn:cdk.stringToCloudFormation(properties.modelManifestArn),Name:cdk.stringToCloudFormation(properties.name),Description:cdk.stringToCloudFormation(properties.description),NetworkInterfaces:cdk.listMapper(cfnDecoderManifestNetworkInterfacesItemsPropertyToCloudFormation)(properties.networkInterfaces),SignalDecoders:cdk.listMapper(cfnDecoderManifestSignalDecodersItemsPropertyToCloudFormation)(properties.signalDecoders),Status:cdk.stringToCloudFormation(properties.status),Tags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.tags)}):properties}function CfnDecoderManifestPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("modelManifestArn","ModelManifestArn",cfn_parse.FromCloudFormation.getString(properties.ModelManifestArn)),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("networkInterfaces","NetworkInterfaces",properties.NetworkInterfaces!=null?cfn_parse.FromCloudFormation.getArray(CfnDecoderManifestNetworkInterfacesItemsPropertyFromCloudFormation)(properties.NetworkInterfaces):void 0),ret.addPropertyResult("signalDecoders","SignalDecoders",properties.SignalDecoders!=null?cfn_parse.FromCloudFormation.getArray(CfnDecoderManifestSignalDecodersItemsPropertyFromCloudFormation)(properties.SignalDecoders):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse.FromCloudFormation.getString(properties.Status):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnDecoderManifest extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnDecoderManifest.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_iotfleetwise_CfnDecoderManifestProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDecoderManifest),error}cdk.requireProperty(props,"modelManifestArn",this),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.attrLastModificationTime=cdk.Token.asString(this.getAtt("LastModificationTime",cdk.ResolutionTypeHint.STRING)),this.modelManifestArn=props.modelManifestArn,this.name=props.name,this.description=props.description,this.networkInterfaces=props.networkInterfaces,this.signalDecoders=props.signalDecoders,this.status=props.status,this.tags=new cdk.TagManager(cdk.TagType.STANDARD,"AWS::IoTFleetWise::DecoderManifest",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDecoderManifestPropsFromCloudFormation(resourceProperties),ret=new CfnDecoderManifest(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",CfnDecoderManifest.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{modelManifestArn:this.modelManifestArn,name:this.name,description:this.description,networkInterfaces:this.networkInterfaces,signalDecoders:this.signalDecoders,status:this.status,tags:this.tags.renderTags()}}renderProperties(props){return cfnDecoderManifestPropsToCloudFormation(props)}}exports.CfnDecoderManifest=CfnDecoderManifest,_b=JSII_RTTI_SYMBOL_1,CfnDecoderManifest[_b]={fqn:"aws-cdk-lib.aws_iotfleetwise.CfnDecoderManifest",version:"2.70.0"},CfnDecoderManifest.CFN_RESOURCE_TYPE_NAME="AWS::IoTFleetWise::DecoderManifest";function CfnDecoderManifest_CanInterfacePropertyValidator(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("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("protocolName",cdk.validateString)(properties.protocolName)),errors.collect(cdk.propertyValidator("protocolVersion",cdk.validateString)(properties.protocolVersion)),errors.wrap('supplied properties not correct for "CanInterfaceProperty"')}function cfnDecoderManifestCanInterfacePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_CanInterfacePropertyValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),ProtocolName:cdk.stringToCloudFormation(properties.protocolName),ProtocolVersion:cdk.stringToCloudFormation(properties.protocolVersion)}):properties}function CfnDecoderManifestCanInterfacePropertyFromCloudFormation(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("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("protocolName","ProtocolName",properties.ProtocolName!=null?cfn_parse.FromCloudFormation.getString(properties.ProtocolName):void 0),ret.addPropertyResult("protocolVersion","ProtocolVersion",properties.ProtocolVersion!=null?cfn_parse.FromCloudFormation.getString(properties.ProtocolVersion):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifest_CanSignalPropertyValidator(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("factor",cdk.requiredValidator)(properties.factor)),errors.collect(cdk.propertyValidator("factor",cdk.validateString)(properties.factor)),errors.collect(cdk.propertyValidator("isBigEndian",cdk.requiredValidator)(properties.isBigEndian)),errors.collect(cdk.propertyValidator("isBigEndian",cdk.validateString)(properties.isBigEndian)),errors.collect(cdk.propertyValidator("isSigned",cdk.requiredValidator)(properties.isSigned)),errors.collect(cdk.propertyValidator("isSigned",cdk.validateString)(properties.isSigned)),errors.collect(cdk.propertyValidator("length",cdk.requiredValidator)(properties.length)),errors.collect(cdk.propertyValidator("length",cdk.validateString)(properties.length)),errors.collect(cdk.propertyValidator("messageId",cdk.requiredValidator)(properties.messageId)),errors.collect(cdk.propertyValidator("messageId",cdk.validateString)(properties.messageId)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("offset",cdk.requiredValidator)(properties.offset)),errors.collect(cdk.propertyValidator("offset",cdk.validateString)(properties.offset)),errors.collect(cdk.propertyValidator("startBit",cdk.requiredValidator)(properties.startBit)),errors.collect(cdk.propertyValidator("startBit",cdk.validateString)(properties.startBit)),errors.wrap('supplied properties not correct for "CanSignalProperty"')}function cfnDecoderManifestCanSignalPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_CanSignalPropertyValidator(properties).assertSuccess(),{Factor:cdk.stringToCloudFormation(properties.factor),IsBigEndian:cdk.stringToCloudFormation(properties.isBigEndian),IsSigned:cdk.stringToCloudFormation(properties.isSigned),Length:cdk.stringToCloudFormation(properties.length),MessageId:cdk.stringToCloudFormation(properties.messageId),Name:cdk.stringToCloudFormation(properties.name),Offset:cdk.stringToCloudFormation(properties.offset),StartBit:cdk.stringToCloudFormation(properties.startBit)}):properties}function CfnDecoderManifestCanSignalPropertyFromCloudFormation(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("factor","Factor",cfn_parse.FromCloudFormation.getString(properties.Factor)),ret.addPropertyResult("isBigEndian","IsBigEndian",cfn_parse.FromCloudFormation.getString(properties.IsBigEndian)),ret.addPropertyResult("isSigned","IsSigned",cfn_parse.FromCloudFormation.getString(properties.IsSigned)),ret.addPropertyResult("length","Length",cfn_parse.FromCloudFormation.getString(properties.Length)),ret.addPropertyResult("messageId","MessageId",cfn_parse.FromCloudFormation.getString(properties.MessageId)),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse.FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("offset","Offset",cfn_parse.FromCloudFormation.getString(properties.Offset)),ret.addPropertyResult("startBit","StartBit",cfn_parse.FromCloudFormation.getString(properties.StartBit)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifest_NetworkInterfacesItemsPropertyValidator(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("canInterface",CfnDecoderManifest_CanInterfacePropertyValidator)(properties.canInterface)),errors.collect(cdk.propertyValidator("interfaceId",cdk.requiredValidator)(properties.interfaceId)),errors.collect(cdk.propertyValidator("interfaceId",cdk.validateString)(properties.interfaceId)),errors.collect(cdk.propertyValidator("obdInterface",CfnDecoderManifest_ObdInterfacePropertyValidator)(properties.obdInterface)),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 "NetworkInterfacesItemsProperty"')}function cfnDecoderManifestNetworkInterfacesItemsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_NetworkInterfacesItemsPropertyValidator(properties).assertSuccess(),{CanInterface:cfnDecoderManifestCanInterfacePropertyToCloudFormation(properties.canInterface),InterfaceId:cdk.stringToCloudFormation(properties.interfaceId),ObdInterface:cfnDecoderManifestObdInterfacePropertyToCloudFormation(properties.obdInterface),Type:cdk.stringToCloudFormation(properties.type)}):properties}function CfnDecoderManifestNetworkInterfacesItemsPropertyFromCloudFormation(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("canInterface","CanInterface",properties.CanInterface!=null?CfnDecoderManifestCanInterfacePropertyFromCloudFormation(properties.CanInterface):void 0),ret.addPropertyResult("interfaceId","InterfaceId",cfn_parse.FromCloudFormation.getString(properties.InterfaceId)),ret.addPropertyResult("obdInterface","ObdInterface",properties.ObdInterface!=null?CfnDecoderManifestObdInterfacePropertyFromCloudFormation(properties.ObdInterface):void 0),ret.addPropertyResult("type","Type",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifest_ObdInterfacePropertyValidator(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("dtcRequestIntervalSeconds",cdk.validateString)(properties.dtcRequestIntervalSeconds)),errors.collect(cdk.propertyValidator("hasTransmissionEcu",cdk.validateString)(properties.hasTransmissionEcu)),errors.collect(cdk.propertyValidator("name",cdk.requiredValidator)(properties.name)),errors.collect(cdk.propertyValidator("name",cdk.validateString)(properties.name)),errors.collect(cdk.propertyValidator("obdStandard",cdk.validateString)(properties.obdStandard)),errors.collect(cdk.propertyValidator("pidRequestIntervalSeconds",cdk.validateString)(properties.pidRequestIntervalSeconds)),errors.collect(cdk.propertyValidator("requestMessageId",cdk.requiredValidator)(properties.requestMessageId)),errors.collect(cdk.propertyValidator("requestMessageId",cdk.validateString)(properties.requestMessageId)),errors.collect(cdk.propertyValidator("useExtendedIds",cdk.validateString)(properties.useExtendedIds)),errors.wrap('supplied properties not correct for "ObdInterfaceProperty"')}function cfnDecoderManifestObdInterfacePropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_ObdInterfacePropertyValidator(properties).assertSuccess(),{DtcRequestIntervalSeconds:cdk.stringToCloudFormation(properties.dtcRequestIntervalSeconds),HasTransmissionEcu:cdk.stringToCloudFormation(properties.hasTransmissionEcu),Name:cdk.stringToCloudFormation(properties.name),ObdStandard:cdk.stringToCloudFormation(properties.obdStandard),PidRequestIntervalSeconds:cdk.stringToCloudFormation(properties.pidRequestIntervalSeconds),RequestMessageId:cdk.stringToCloudFormation(properties.requestMessageId),UseExtendedIds:cdk.stringToCloudFormation(properties.useExtendedIds)}):properties}function CfnDecoderManifestObdInterfacePropertyFromCloudFormation(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("dtcRequestIntervalSeconds","DtcRequestIntervalSeconds",properties.DtcRequestIntervalSeconds!=null?cfn_parse.FromCloudFormation.getString(properties.DtcRequestIntervalSeconds):void 0),ret.addPropertyResult("hasTransmissionEcu","HasTransmissionEcu",properties.HasTransmissionEcu!=null?cfn_parse.FromCloudFormation.getString(properties.HasTransmissionEcu):void 0),ret.addPropertyResult("name","Name",cfn_parse.FromCloudFormation.getString(properties.Name)),ret.addPropertyResult("obdStandard","ObdStandard",properties.ObdStandard!=null?cfn_parse.FromCloudFormation.getString(properties.ObdStandard):void 0),ret.addPropertyResult("pidRequestIntervalSeconds","PidRequestIntervalSeconds",properties.PidRequestIntervalSeconds!=null?cfn_parse.FromCloudFormation.getString(properties.PidRequestIntervalSeconds):void 0),ret.addPropertyResult("requestMessageId","RequestMessageId",cfn_parse.FromCloudFormation.getString(properties.RequestMessageId)),ret.addPropertyResult("useExtendedIds","UseExtendedIds",properties.UseExtendedIds!=null?cfn_parse.FromCloudFormation.getString(properties.UseExtendedIds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifest_ObdSignalPropertyValidator(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("bitMaskLength",cdk.validateString)(properties.bitMaskLength)),errors.collect(cdk.propertyValidator("bitRightShift",cdk.validateString)(properties.bitRightShift)),errors.collect(cdk.propertyValidator("byteLength",cdk.requiredValidator)(properties.byteLength)),errors.collect(cdk.propertyValidator("byteLength",cdk.validateString)(properties.byteLength)),errors.collect(cdk.propertyValidator("offset",cdk.requiredValidator)(properties.offset)),errors.collect(cdk.propertyValidator("offset",cdk.validateString)(properties.offset)),errors.collect(cdk.propertyValidator("pid",cdk.requiredValidator)(properties.pid)),errors.collect(cdk.propertyValidator("pid",cdk.validateString)(properties.pid)),errors.collect(cdk.propertyValidator("pidResponseLength",cdk.requiredValidator)(properties.pidResponseLength)),errors.collect(cdk.propertyValidator("pidResponseLength",cdk.validateString)(properties.pidResponseLength)),errors.collect(cdk.propertyValidator("scaling",cdk.requiredValidator)(properties.scaling)),errors.collect(cdk.propertyValidator("scaling",cdk.validateString)(properties.scaling)),errors.collect(cdk.propertyValidator("serviceMode",cdk.requiredValidator)(properties.serviceMode)),errors.collect(cdk.propertyValidator("serviceMode",cdk.validateString)(properties.serviceMode)),errors.collect(cdk.propertyValidator("startByte",cdk.requiredValidator)(properties.startByte)),errors.collect(cdk.propertyValidator("startByte",cdk.validateString)(properties.startByte)),errors.wrap('supplied properties not correct for "ObdSignalProperty"')}function cfnDecoderManifestObdSignalPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_ObdSignalPropertyValidator(properties).assertSuccess(),{BitMaskLength:cdk.stringToCloudFormation(properties.bitMaskLength),BitRightShift:cdk.stringToCloudFormation(properties.bitRightShift),ByteLength:cdk.stringToCloudFormation(properties.byteLength),Offset:cdk.stringToCloudFormation(properties.offset),Pid:cdk.stringToCloudFormation(properties.pid),PidResponseLength:cdk.stringToCloudFormation(properties.pidResponseLength),Scaling:cdk.stringToCloudFormation(properties.scaling),ServiceMode:cdk.stringToCloudFormation(properties.serviceMode),StartByte:cdk.stringToCloudFormation(properties.startByte)}):properties}function CfnDecoderManifestObdSignalPropertyFromCloudFormation(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("bitMaskLength","BitMaskLength",properties.BitMaskLength!=null?cfn_parse.FromCloudFormation.getString(properties.BitMaskLength):void 0),ret.addPropertyResult("bitRightShift","BitRightShift",properties.BitRightShift!=null?cfn_parse.FromCloudFormation.getString(properties.BitRightShift):void 0),ret.addPropertyResult("byteLength","ByteLength",cfn_parse.FromCloudFormation.getString(properties.ByteLength)),ret.addPropertyResult("offset","Offset",cfn_parse.FromCloudFormation.getString(properties.Offset)),ret.addPropertyResult("pid","Pid",cfn_parse.FromCloudFormation.getString(properties.Pid)),ret.addPropertyResult("pidResponseLength","PidResponseLength",cfn_parse.FromCloudFormation.getString(properties.PidResponseLength)),ret.addPropertyResult("scaling","Scaling",cfn_parse.FromCloudFormation.getString(properties.Scaling)),ret.addPropertyResult("serviceMode","ServiceMode",cfn_parse.FromCloudFormation.getString(properties.ServiceMode)),ret.addPropertyResult("startByte","StartByte",cfn_parse.FromCloudFormation.getString(properties.StartByte)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDecoderManifest_SignalDecodersItemsPropertyValidator(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("canSignal",CfnDecoderManifest_CanSignalPropertyValidator)(properties.canSignal)),errors.collect(cdk.propertyValidator("fullyQualifiedName",cdk.requiredValidator)(properties.fullyQualifiedName)),errors.collect(cdk.propertyValidator("fullyQualifiedName",cdk.validateString)(properties.fullyQualifiedName)),errors.collect(cdk.propertyValidator("interfaceId",cdk.requiredValidator)(properties.interfaceId)),errors.collect(cdk.propertyValidator("interfaceId",cdk.validateString)(properties.interfaceId)),errors.collect(cdk.propertyValidator("obdSignal",CfnDecoderManifest_ObdSignalPropertyValidator)(properties.obdSignal)),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 "SignalDecodersItemsProperty"')}function cfnDecoderManifestSignalDecodersItemsPropertyToCloudFormation(properties){return cdk.canInspect(properties)?(CfnDecoderManifest_SignalDecodersItemsPropertyValidator(properties).assertSuccess(),{CanSignal:cfnDecoderManifestCanSignalPropertyToCloudFormation(properties.canSignal),FullyQualifiedName:cdk.stringToCloudFormation(properties.fullyQualifiedName),InterfaceId:cdk.stringToCloudFormation(properties.interfaceId),ObdSignal:cfnDecoderManifestObdSignalPropertyToCloudFormation(properties.obdSignal),Type:cdk.stringToCloudFormation(properties.type)}):properties}function CfnDecoderManifestSignalDecodersItemsPropertyFromCloudFormation(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("canSignal","CanSignal",properties.CanSignal!=null?CfnDecoderManifestCanSignalPropertyFromCloudFormation(properties.CanSignal):void 0),ret.addPropertyResult("fullyQualifiedName","FullyQualifiedName",cfn_parse.FromCloudFormation.getString(properties.FullyQualifiedName)),ret.addPropertyResult("interfaceId","InterfaceId",cfn_parse.FromCloudFormation.getString(properties.InterfaceId)),ret.addPropertyResult("obdSignal","ObdSignal",properties.ObdSignal!=null?CfnDecoderManifestObdSignalPropertyFromCloudFormation(properties.ObdSignal):void 0),ret.addPropertyResult("type","Type",cfn_parse.FromCloudFormation.getString(properties.Type)),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnFleetPropsValidator(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("id",cdk.requiredValidator)(properties.id)),errors.collect(cdk.propertyValidator("id",cdk.validateString)(properties.id)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.requiredValidator)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.validateString)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("tags",cdk.listValidator(cdk.validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnFleetProps"')}function cfnFleetPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnFleetPropsValidator(properties).assertSuccess(),{Id:cdk.stringToCloudFormation(properties.id),SignalCatalogArn:cdk.stringToCloudFormation(properties.signalCatalogArn),Description:cdk.stringToCloudFormation(properties.description),Tags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.tags)}):properties}function CfnFleetPropsFromCloudFormation(properties){if(properties=properties??{},typeof properties!="object")return new cfn_parse.FromCloudFormationResult(properties);const ret=new cfn_parse.FromCloudFormationPropertyObject;return ret.addPropertyResult("id","Id",cfn_parse.FromCloudFormation.getString(properties.Id)),ret.addPropertyResult("signalCatalogArn","SignalCatalogArn",cfn_parse.FromCloudFormation.getString(properties.SignalCatalogArn)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse.FromCloudFormation.getArray(cfn_parse.FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnFleet extends cdk.CfnResource{constructor(scope,id,props){super(scope,id,{type:CfnFleet.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings.aws_cdk_lib_aws_iotfleetwise_CfnFleetProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnFleet),error}cdk.requireProperty(props,"id",this),cdk.requireProperty(props,"signalCatalogArn",this),this.attrArn=cdk.Token.asString(this.getAtt("Arn",cdk.ResolutionTypeHint.STRING)),this.attrCreationTime=cdk.Token.asString(this.getAtt("CreationTime",cdk.ResolutionTypeHint.STRING)),this.attrLastModificationTime=cdk.Token.asString(this.getAtt("LastModificationTime",cdk.ResolutionTypeHint.STRING)),this.id=props.id,this.signalCatalogArn=props.signalCatalogArn,this.description=props.description,this.tags=new cdk.TagManager(cdk.TagType.STANDARD,"AWS::IoTFleetWise::Fleet",props.tags,{tagPropertyName:"tags"})}static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnFleetPropsFromCloudFormation(resourceProperties),ret=new CfnFleet(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",CfnFleet.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}get cfnProperties(){return{id:this.id,signalCatalogArn:this.signalCatalogArn,description:this.description,tags:this.tags.renderTags()}}renderProperties(props){return cfnFleetPropsToCloudFormation(props)}}exports.CfnFleet=CfnFleet,_c=JSII_RTTI_SYMBOL_1,CfnFleet[_c]={fqn:"aws-cdk-lib.aws_iotfleetwise.CfnFleet",version:"2.70.0"},CfnFleet.CFN_RESOURCE_TYPE_NAME="AWS::IoTFleetWise::Fleet";function CfnModelManifestPropsValidator(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("nodes",cdk.listValidator(cdk.validateString))(properties.nodes)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.requiredValidator)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("signalCatalogArn",cdk.validateString)(properties.signalCatalogArn)),errors.collect(cdk.propertyValidator("status",cdk.validateString)(properties.status)),errors.collect(cdk.propertyValidator("tags",cdk.listValidator(cdk.validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnModelManifestProps"')}function cfnModelManifestPropsToCloudFormation(properties){return cdk.canInspect(properties)?(CfnModelManifestPropsValidator(properties).assertSuccess(),{Name:cdk.stringToCloudFormation(properties.name),SignalCatalogArn:cdk.stringToCloudFormation(properties.signalCatalogArn),Description:cdk.stringToCloudFormation(properties.description),Nodes:cdk.listMapper(cdk.stringToCloudFormation)(properties.nodes),Status:cdk.stringToCloudFormation(properties.status),Tags:cdk.listMapper(cdk.cfnTagToCloudFormation)(properties.tags)}):properties}function CfnModelManifestPropsFromCloudFormation(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("signalCatalogArn","SignalCatalogArn",cfn_parse.FromCloudFormation.getString(properties.SignalCatalogArn)),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse.FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("nodes","Nodes",properties.Nodes!=null?cfn_parse.FromCloudFormation.getStringArray(properties.Nodes):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse.FromCloudFormation.getString(properties.Status):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse.FromCl