UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 128 kB
"use strict";var _a,_b,_c,_d,_e,_f,_g,_h,_j,_k,_l;Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnWirelessGateway=exports.CfnWirelessDeviceImportTask=exports.CfnWirelessDevice=exports.CfnTaskDefinition=exports.CfnServiceProfile=exports.CfnPartnerAccount=exports.CfnNetworkAnalyzerConfiguration=exports.CfnMulticastGroup=exports.CfnFuotaTask=exports.CfnDeviceProfile=exports.CfnDestination=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cdk=()=>{var tmp=require("../../core");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp},cdk_errors=()=>{var tmp=require("../../core/lib/errors");return cdk_errors=()=>tmp,tmp};class CfnDestination extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDestinationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnDestination(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnDestination.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnDestinationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDestination),error}cdk().requireProperty(props,"expression",this),cdk().requireProperty(props,"expressionType",this),cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.expression=props.expression,this.expressionType=props.expressionType,this.name=props.name,this.roleArn=props.roleArn,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::Destination",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{description:this.description,expression:this.expression,expressionType:this.expressionType,name:this.name,roleArn:this.roleArn,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnDestination.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnDestinationPropsToCloudFormation(props)}}exports.CfnDestination=CfnDestination,_a=JSII_RTTI_SYMBOL_1,CfnDestination[_a]={fqn:"aws-cdk-lib.aws_iotwireless.CfnDestination",version:"2.202.0"},CfnDestination.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::Destination";function CfnDestinationPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("expression",cdk().requiredValidator)(properties.expression)),errors.collect(cdk().propertyValidator("expression",cdk().validateString)(properties.expression)),errors.collect(cdk().propertyValidator("expressionType",cdk().requiredValidator)(properties.expressionType)),errors.collect(cdk().propertyValidator("expressionType",cdk().validateString)(properties.expressionType)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnDestinationProps"')}function convertCfnDestinationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDestinationPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Expression:cdk().stringToCloudFormation(properties.expression),ExpressionType:cdk().stringToCloudFormation(properties.expressionType),Name:cdk().stringToCloudFormation(properties.name),RoleArn:cdk().stringToCloudFormation(properties.roleArn),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnDestinationPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("expression","Expression",properties.Expression!=null?cfn_parse().FromCloudFormation.getString(properties.Expression):void 0),ret.addPropertyResult("expressionType","ExpressionType",properties.ExpressionType!=null?cfn_parse().FromCloudFormation.getString(properties.ExpressionType):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):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 CfnDeviceProfile extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDeviceProfilePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnDeviceProfile(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props={}){super(scope,id,{type:CfnDeviceProfile.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnDeviceProfileProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDeviceProfile),error}this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.loRaWan=props.loRaWan,this.name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::DeviceProfile",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{loRaWan:this.loRaWan,name:this.name,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnDeviceProfile.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnDeviceProfilePropsToCloudFormation(props)}}exports.CfnDeviceProfile=CfnDeviceProfile,_b=JSII_RTTI_SYMBOL_1,CfnDeviceProfile[_b]={fqn:"aws-cdk-lib.aws_iotwireless.CfnDeviceProfile",version:"2.202.0"},CfnDeviceProfile.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::DeviceProfile";function CfnDeviceProfileLoRaWANDeviceProfilePropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("classBTimeout",cdk().validateNumber)(properties.classBTimeout)),errors.collect(cdk().propertyValidator("classCTimeout",cdk().validateNumber)(properties.classCTimeout)),errors.collect(cdk().propertyValidator("factoryPresetFreqsList",cdk().listValidator(cdk().validateNumber))(properties.factoryPresetFreqsList)),errors.collect(cdk().propertyValidator("macVersion",cdk().validateString)(properties.macVersion)),errors.collect(cdk().propertyValidator("maxDutyCycle",cdk().validateNumber)(properties.maxDutyCycle)),errors.collect(cdk().propertyValidator("maxEirp",cdk().validateNumber)(properties.maxEirp)),errors.collect(cdk().propertyValidator("pingSlotDr",cdk().validateNumber)(properties.pingSlotDr)),errors.collect(cdk().propertyValidator("pingSlotFreq",cdk().validateNumber)(properties.pingSlotFreq)),errors.collect(cdk().propertyValidator("pingSlotPeriod",cdk().validateNumber)(properties.pingSlotPeriod)),errors.collect(cdk().propertyValidator("regParamsRevision",cdk().validateString)(properties.regParamsRevision)),errors.collect(cdk().propertyValidator("rfRegion",cdk().validateString)(properties.rfRegion)),errors.collect(cdk().propertyValidator("rxDataRate2",cdk().validateNumber)(properties.rxDataRate2)),errors.collect(cdk().propertyValidator("rxDelay1",cdk().validateNumber)(properties.rxDelay1)),errors.collect(cdk().propertyValidator("rxDrOffset1",cdk().validateNumber)(properties.rxDrOffset1)),errors.collect(cdk().propertyValidator("rxFreq2",cdk().validateNumber)(properties.rxFreq2)),errors.collect(cdk().propertyValidator("supports32BitFCnt",cdk().validateBoolean)(properties.supports32BitFCnt)),errors.collect(cdk().propertyValidator("supportsClassB",cdk().validateBoolean)(properties.supportsClassB)),errors.collect(cdk().propertyValidator("supportsClassC",cdk().validateBoolean)(properties.supportsClassC)),errors.collect(cdk().propertyValidator("supportsJoin",cdk().validateBoolean)(properties.supportsJoin)),errors.wrap('supplied properties not correct for "LoRaWANDeviceProfileProperty"')}function convertCfnDeviceProfileLoRaWANDeviceProfilePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDeviceProfileLoRaWANDeviceProfilePropertyValidator(properties).assertSuccess(),{ClassBTimeout:cdk().numberToCloudFormation(properties.classBTimeout),ClassCTimeout:cdk().numberToCloudFormation(properties.classCTimeout),FactoryPresetFreqsList:cdk().listMapper(cdk().numberToCloudFormation)(properties.factoryPresetFreqsList),MacVersion:cdk().stringToCloudFormation(properties.macVersion),MaxDutyCycle:cdk().numberToCloudFormation(properties.maxDutyCycle),MaxEirp:cdk().numberToCloudFormation(properties.maxEirp),PingSlotDr:cdk().numberToCloudFormation(properties.pingSlotDr),PingSlotFreq:cdk().numberToCloudFormation(properties.pingSlotFreq),PingSlotPeriod:cdk().numberToCloudFormation(properties.pingSlotPeriod),RegParamsRevision:cdk().stringToCloudFormation(properties.regParamsRevision),RfRegion:cdk().stringToCloudFormation(properties.rfRegion),RxDataRate2:cdk().numberToCloudFormation(properties.rxDataRate2),RxDelay1:cdk().numberToCloudFormation(properties.rxDelay1),RxDrOffset1:cdk().numberToCloudFormation(properties.rxDrOffset1),RxFreq2:cdk().numberToCloudFormation(properties.rxFreq2),Supports32BitFCnt:cdk().booleanToCloudFormation(properties.supports32BitFCnt),SupportsClassB:cdk().booleanToCloudFormation(properties.supportsClassB),SupportsClassC:cdk().booleanToCloudFormation(properties.supportsClassC),SupportsJoin:cdk().booleanToCloudFormation(properties.supportsJoin)}):properties}function CfnDeviceProfileLoRaWANDeviceProfilePropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("classBTimeout","ClassBTimeout",properties.ClassBTimeout!=null?cfn_parse().FromCloudFormation.getNumber(properties.ClassBTimeout):void 0),ret.addPropertyResult("classCTimeout","ClassCTimeout",properties.ClassCTimeout!=null?cfn_parse().FromCloudFormation.getNumber(properties.ClassCTimeout):void 0),ret.addPropertyResult("factoryPresetFreqsList","FactoryPresetFreqsList",properties.FactoryPresetFreqsList!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getNumber)(properties.FactoryPresetFreqsList):void 0),ret.addPropertyResult("macVersion","MacVersion",properties.MacVersion!=null?cfn_parse().FromCloudFormation.getString(properties.MacVersion):void 0),ret.addPropertyResult("maxDutyCycle","MaxDutyCycle",properties.MaxDutyCycle!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxDutyCycle):void 0),ret.addPropertyResult("maxEirp","MaxEirp",properties.MaxEirp!=null?cfn_parse().FromCloudFormation.getNumber(properties.MaxEirp):void 0),ret.addPropertyResult("pingSlotDr","PingSlotDr",properties.PingSlotDr!=null?cfn_parse().FromCloudFormation.getNumber(properties.PingSlotDr):void 0),ret.addPropertyResult("pingSlotFreq","PingSlotFreq",properties.PingSlotFreq!=null?cfn_parse().FromCloudFormation.getNumber(properties.PingSlotFreq):void 0),ret.addPropertyResult("pingSlotPeriod","PingSlotPeriod",properties.PingSlotPeriod!=null?cfn_parse().FromCloudFormation.getNumber(properties.PingSlotPeriod):void 0),ret.addPropertyResult("regParamsRevision","RegParamsRevision",properties.RegParamsRevision!=null?cfn_parse().FromCloudFormation.getString(properties.RegParamsRevision):void 0),ret.addPropertyResult("rfRegion","RfRegion",properties.RfRegion!=null?cfn_parse().FromCloudFormation.getString(properties.RfRegion):void 0),ret.addPropertyResult("rxDataRate2","RxDataRate2",properties.RxDataRate2!=null?cfn_parse().FromCloudFormation.getNumber(properties.RxDataRate2):void 0),ret.addPropertyResult("rxDelay1","RxDelay1",properties.RxDelay1!=null?cfn_parse().FromCloudFormation.getNumber(properties.RxDelay1):void 0),ret.addPropertyResult("rxDrOffset1","RxDrOffset1",properties.RxDrOffset1!=null?cfn_parse().FromCloudFormation.getNumber(properties.RxDrOffset1):void 0),ret.addPropertyResult("rxFreq2","RxFreq2",properties.RxFreq2!=null?cfn_parse().FromCloudFormation.getNumber(properties.RxFreq2):void 0),ret.addPropertyResult("supports32BitFCnt","Supports32BitFCnt",properties.Supports32BitFCnt!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Supports32BitFCnt):void 0),ret.addPropertyResult("supportsClassB","SupportsClassB",properties.SupportsClassB!=null?cfn_parse().FromCloudFormation.getBoolean(properties.SupportsClassB):void 0),ret.addPropertyResult("supportsClassC","SupportsClassC",properties.SupportsClassC!=null?cfn_parse().FromCloudFormation.getBoolean(properties.SupportsClassC):void 0),ret.addPropertyResult("supportsJoin","SupportsJoin",properties.SupportsJoin!=null?cfn_parse().FromCloudFormation.getBoolean(properties.SupportsJoin):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDeviceProfilePropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("loRaWan",CfnDeviceProfileLoRaWANDeviceProfilePropertyValidator)(properties.loRaWan)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnDeviceProfileProps"')}function convertCfnDeviceProfilePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDeviceProfilePropsValidator(properties).assertSuccess(),{LoRaWAN:convertCfnDeviceProfileLoRaWANDeviceProfilePropertyToCloudFormation(properties.loRaWan),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnDeviceProfilePropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("loRaWan","LoRaWAN",properties.LoRaWAN!=null?CfnDeviceProfileLoRaWANDeviceProfilePropertyFromCloudFormation(properties.LoRaWAN):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.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnFuotaTask extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnFuotaTaskPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnFuotaTask(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnFuotaTask.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnFuotaTaskProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnFuotaTask),error}cdk().requireProperty(props,"firmwareUpdateImage",this),cdk().requireProperty(props,"firmwareUpdateRole",this),cdk().requireProperty(props,"loRaWan",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrFuotaTaskStatus=cdk().Token.asString(this.getAtt("FuotaTaskStatus",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.attrLoRaWanStartTime=cdk().Token.asString(this.getAtt("LoRaWAN.StartTime",cdk().ResolutionTypeHint.STRING)),this.associateMulticastGroup=props.associateMulticastGroup,this.associateWirelessDevice=props.associateWirelessDevice,this.description=props.description,this.disassociateMulticastGroup=props.disassociateMulticastGroup,this.disassociateWirelessDevice=props.disassociateWirelessDevice,this.firmwareUpdateImage=props.firmwareUpdateImage,this.firmwareUpdateRole=props.firmwareUpdateRole,this.loRaWan=props.loRaWan,this.name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::FuotaTask",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{associateMulticastGroup:this.associateMulticastGroup,associateWirelessDevice:this.associateWirelessDevice,description:this.description,disassociateMulticastGroup:this.disassociateMulticastGroup,disassociateWirelessDevice:this.disassociateWirelessDevice,firmwareUpdateImage:this.firmwareUpdateImage,firmwareUpdateRole:this.firmwareUpdateRole,loRaWan:this.loRaWan,name:this.name,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnFuotaTask.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnFuotaTaskPropsToCloudFormation(props)}}exports.CfnFuotaTask=CfnFuotaTask,_c=JSII_RTTI_SYMBOL_1,CfnFuotaTask[_c]={fqn:"aws-cdk-lib.aws_iotwireless.CfnFuotaTask",version:"2.202.0"},CfnFuotaTask.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::FuotaTask";function CfnFuotaTaskLoRaWANPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("rfRegion",cdk().requiredValidator)(properties.rfRegion)),errors.collect(cdk().propertyValidator("rfRegion",cdk().validateString)(properties.rfRegion)),errors.collect(cdk().propertyValidator("startTime",cdk().validateString)(properties.startTime)),errors.wrap('supplied properties not correct for "LoRaWANProperty"')}function convertCfnFuotaTaskLoRaWANPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnFuotaTaskLoRaWANPropertyValidator(properties).assertSuccess(),{RfRegion:cdk().stringToCloudFormation(properties.rfRegion),StartTime:cdk().stringToCloudFormation(properties.startTime)}):properties}function CfnFuotaTaskLoRaWANPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("rfRegion","RfRegion",properties.RfRegion!=null?cfn_parse().FromCloudFormation.getString(properties.RfRegion):void 0),ret.addPropertyResult("startTime","StartTime",properties.StartTime!=null?cfn_parse().FromCloudFormation.getString(properties.StartTime):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnFuotaTaskPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("associateMulticastGroup",cdk().validateString)(properties.associateMulticastGroup)),errors.collect(cdk().propertyValidator("associateWirelessDevice",cdk().validateString)(properties.associateWirelessDevice)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("disassociateMulticastGroup",cdk().validateString)(properties.disassociateMulticastGroup)),errors.collect(cdk().propertyValidator("disassociateWirelessDevice",cdk().validateString)(properties.disassociateWirelessDevice)),errors.collect(cdk().propertyValidator("firmwareUpdateImage",cdk().requiredValidator)(properties.firmwareUpdateImage)),errors.collect(cdk().propertyValidator("firmwareUpdateImage",cdk().validateString)(properties.firmwareUpdateImage)),errors.collect(cdk().propertyValidator("firmwareUpdateRole",cdk().requiredValidator)(properties.firmwareUpdateRole)),errors.collect(cdk().propertyValidator("firmwareUpdateRole",cdk().validateString)(properties.firmwareUpdateRole)),errors.collect(cdk().propertyValidator("loRaWan",cdk().requiredValidator)(properties.loRaWan)),errors.collect(cdk().propertyValidator("loRaWan",CfnFuotaTaskLoRaWANPropertyValidator)(properties.loRaWan)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnFuotaTaskProps"')}function convertCfnFuotaTaskPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnFuotaTaskPropsValidator(properties).assertSuccess(),{AssociateMulticastGroup:cdk().stringToCloudFormation(properties.associateMulticastGroup),AssociateWirelessDevice:cdk().stringToCloudFormation(properties.associateWirelessDevice),Description:cdk().stringToCloudFormation(properties.description),DisassociateMulticastGroup:cdk().stringToCloudFormation(properties.disassociateMulticastGroup),DisassociateWirelessDevice:cdk().stringToCloudFormation(properties.disassociateWirelessDevice),FirmwareUpdateImage:cdk().stringToCloudFormation(properties.firmwareUpdateImage),FirmwareUpdateRole:cdk().stringToCloudFormation(properties.firmwareUpdateRole),LoRaWAN:convertCfnFuotaTaskLoRaWANPropertyToCloudFormation(properties.loRaWan),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnFuotaTaskPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("associateMulticastGroup","AssociateMulticastGroup",properties.AssociateMulticastGroup!=null?cfn_parse().FromCloudFormation.getString(properties.AssociateMulticastGroup):void 0),ret.addPropertyResult("associateWirelessDevice","AssociateWirelessDevice",properties.AssociateWirelessDevice!=null?cfn_parse().FromCloudFormation.getString(properties.AssociateWirelessDevice):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("disassociateMulticastGroup","DisassociateMulticastGroup",properties.DisassociateMulticastGroup!=null?cfn_parse().FromCloudFormation.getString(properties.DisassociateMulticastGroup):void 0),ret.addPropertyResult("disassociateWirelessDevice","DisassociateWirelessDevice",properties.DisassociateWirelessDevice!=null?cfn_parse().FromCloudFormation.getString(properties.DisassociateWirelessDevice):void 0),ret.addPropertyResult("firmwareUpdateImage","FirmwareUpdateImage",properties.FirmwareUpdateImage!=null?cfn_parse().FromCloudFormation.getString(properties.FirmwareUpdateImage):void 0),ret.addPropertyResult("firmwareUpdateRole","FirmwareUpdateRole",properties.FirmwareUpdateRole!=null?cfn_parse().FromCloudFormation.getString(properties.FirmwareUpdateRole):void 0),ret.addPropertyResult("loRaWan","LoRaWAN",properties.LoRaWAN!=null?CfnFuotaTaskLoRaWANPropertyFromCloudFormation(properties.LoRaWAN):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.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnMulticastGroup extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnMulticastGroupPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnMulticastGroup(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnMulticastGroup.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnMulticastGroupProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnMulticastGroup),error}cdk().requireProperty(props,"loRaWan",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrId=cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING)),this.attrLoRaWanNumberOfDevicesInGroup=cdk().Token.asNumber(this.getAtt("LoRaWAN.NumberOfDevicesInGroup",cdk().ResolutionTypeHint.NUMBER)),this.attrLoRaWanNumberOfDevicesRequested=cdk().Token.asNumber(this.getAtt("LoRaWAN.NumberOfDevicesRequested",cdk().ResolutionTypeHint.NUMBER)),this.attrStatus=cdk().Token.asString(this.getAtt("Status",cdk().ResolutionTypeHint.STRING)),this.associateWirelessDevice=props.associateWirelessDevice,this.description=props.description,this.disassociateWirelessDevice=props.disassociateWirelessDevice,this.loRaWan=props.loRaWan,this.name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::MulticastGroup",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{associateWirelessDevice:this.associateWirelessDevice,description:this.description,disassociateWirelessDevice:this.disassociateWirelessDevice,loRaWan:this.loRaWan,name:this.name,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnMulticastGroup.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnMulticastGroupPropsToCloudFormation(props)}}exports.CfnMulticastGroup=CfnMulticastGroup,_d=JSII_RTTI_SYMBOL_1,CfnMulticastGroup[_d]={fqn:"aws-cdk-lib.aws_iotwireless.CfnMulticastGroup",version:"2.202.0"},CfnMulticastGroup.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::MulticastGroup";function CfnMulticastGroupLoRaWANPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("dlClass",cdk().requiredValidator)(properties.dlClass)),errors.collect(cdk().propertyValidator("dlClass",cdk().validateString)(properties.dlClass)),errors.collect(cdk().propertyValidator("numberOfDevicesInGroup",cdk().validateNumber)(properties.numberOfDevicesInGroup)),errors.collect(cdk().propertyValidator("numberOfDevicesRequested",cdk().validateNumber)(properties.numberOfDevicesRequested)),errors.collect(cdk().propertyValidator("rfRegion",cdk().requiredValidator)(properties.rfRegion)),errors.collect(cdk().propertyValidator("rfRegion",cdk().validateString)(properties.rfRegion)),errors.wrap('supplied properties not correct for "LoRaWANProperty"')}function convertCfnMulticastGroupLoRaWANPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMulticastGroupLoRaWANPropertyValidator(properties).assertSuccess(),{DlClass:cdk().stringToCloudFormation(properties.dlClass),NumberOfDevicesInGroup:cdk().numberToCloudFormation(properties.numberOfDevicesInGroup),NumberOfDevicesRequested:cdk().numberToCloudFormation(properties.numberOfDevicesRequested),RfRegion:cdk().stringToCloudFormation(properties.rfRegion)}):properties}function CfnMulticastGroupLoRaWANPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("dlClass","DlClass",properties.DlClass!=null?cfn_parse().FromCloudFormation.getString(properties.DlClass):void 0),ret.addPropertyResult("numberOfDevicesInGroup","NumberOfDevicesInGroup",properties.NumberOfDevicesInGroup!=null?cfn_parse().FromCloudFormation.getNumber(properties.NumberOfDevicesInGroup):void 0),ret.addPropertyResult("numberOfDevicesRequested","NumberOfDevicesRequested",properties.NumberOfDevicesRequested!=null?cfn_parse().FromCloudFormation.getNumber(properties.NumberOfDevicesRequested):void 0),ret.addPropertyResult("rfRegion","RfRegion",properties.RfRegion!=null?cfn_parse().FromCloudFormation.getString(properties.RfRegion):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMulticastGroupPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("associateWirelessDevice",cdk().validateString)(properties.associateWirelessDevice)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("disassociateWirelessDevice",cdk().validateString)(properties.disassociateWirelessDevice)),errors.collect(cdk().propertyValidator("loRaWan",cdk().requiredValidator)(properties.loRaWan)),errors.collect(cdk().propertyValidator("loRaWan",CfnMulticastGroupLoRaWANPropertyValidator)(properties.loRaWan)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnMulticastGroupProps"')}function convertCfnMulticastGroupPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMulticastGroupPropsValidator(properties).assertSuccess(),{AssociateWirelessDevice:cdk().stringToCloudFormation(properties.associateWirelessDevice),Description:cdk().stringToCloudFormation(properties.description),DisassociateWirelessDevice:cdk().stringToCloudFormation(properties.disassociateWirelessDevice),LoRaWAN:convertCfnMulticastGroupLoRaWANPropertyToCloudFormation(properties.loRaWan),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnMulticastGroupPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("associateWirelessDevice","AssociateWirelessDevice",properties.AssociateWirelessDevice!=null?cfn_parse().FromCloudFormation.getString(properties.AssociateWirelessDevice):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("disassociateWirelessDevice","DisassociateWirelessDevice",properties.DisassociateWirelessDevice!=null?cfn_parse().FromCloudFormation.getString(properties.DisassociateWirelessDevice):void 0),ret.addPropertyResult("loRaWan","LoRaWAN",properties.LoRaWAN!=null?CfnMulticastGroupLoRaWANPropertyFromCloudFormation(properties.LoRaWAN):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.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnNetworkAnalyzerConfiguration extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnNetworkAnalyzerConfigurationPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnNetworkAnalyzerConfiguration(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props){super(scope,id,{type:CfnNetworkAnalyzerConfiguration.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnNetworkAnalyzerConfigurationProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnNetworkAnalyzerConfiguration),error}cdk().requireProperty(props,"name",this),this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.description=props.description,this.name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::NetworkAnalyzerConfiguration",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags,this.traceContent=props.traceContent,this.wirelessDevices=props.wirelessDevices,this.wirelessGateways=props.wirelessGateways}get cfnProperties(){return{description:this.description,name:this.name,tags:this.tags.renderTags(),traceContent:this.traceContent,wirelessDevices:this.wirelessDevices,wirelessGateways:this.wirelessGateways}}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",CfnNetworkAnalyzerConfiguration.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnNetworkAnalyzerConfigurationPropsToCloudFormation(props)}}exports.CfnNetworkAnalyzerConfiguration=CfnNetworkAnalyzerConfiguration,_e=JSII_RTTI_SYMBOL_1,CfnNetworkAnalyzerConfiguration[_e]={fqn:"aws-cdk-lib.aws_iotwireless.CfnNetworkAnalyzerConfiguration",version:"2.202.0"},CfnNetworkAnalyzerConfiguration.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::NetworkAnalyzerConfiguration";function CfnNetworkAnalyzerConfigurationTraceContentPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("logLevel",cdk().validateString)(properties.logLevel)),errors.collect(cdk().propertyValidator("wirelessDeviceFrameInfo",cdk().validateString)(properties.wirelessDeviceFrameInfo)),errors.wrap('supplied properties not correct for "TraceContentProperty"')}function convertCfnNetworkAnalyzerConfigurationTraceContentPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnNetworkAnalyzerConfigurationTraceContentPropertyValidator(properties).assertSuccess(),{LogLevel:cdk().stringToCloudFormation(properties.logLevel),WirelessDeviceFrameInfo:cdk().stringToCloudFormation(properties.wirelessDeviceFrameInfo)}):properties}function CfnNetworkAnalyzerConfigurationTraceContentPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("logLevel","LogLevel",properties.LogLevel!=null?cfn_parse().FromCloudFormation.getString(properties.LogLevel):void 0),ret.addPropertyResult("wirelessDeviceFrameInfo","WirelessDeviceFrameInfo",properties.WirelessDeviceFrameInfo!=null?cfn_parse().FromCloudFormation.getString(properties.WirelessDeviceFrameInfo):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnNetworkAnalyzerConfigurationPropsValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("traceContent",cdk().validateObject)(properties.traceContent)),errors.collect(cdk().propertyValidator("wirelessDevices",cdk().listValidator(cdk().validateString))(properties.wirelessDevices)),errors.collect(cdk().propertyValidator("wirelessGateways",cdk().listValidator(cdk().validateString))(properties.wirelessGateways)),errors.wrap('supplied properties not correct for "CfnNetworkAnalyzerConfigurationProps"')}function convertCfnNetworkAnalyzerConfigurationPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnNetworkAnalyzerConfigurationPropsValidator(properties).assertSuccess(),{Description:cdk().stringToCloudFormation(properties.description),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),TraceContent:cdk().objectToCloudFormation(properties.traceContent),WirelessDevices:cdk().listMapper(cdk().stringToCloudFormation)(properties.wirelessDevices),WirelessGateways:cdk().listMapper(cdk().stringToCloudFormation)(properties.wirelessGateways)}):properties}function CfnNetworkAnalyzerConfigurationPropsFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("traceContent","TraceContent",properties.TraceContent!=null?cfn_parse().FromCloudFormation.getAny(properties.TraceContent):void 0),ret.addPropertyResult("wirelessDevices","WirelessDevices",properties.WirelessDevices!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.WirelessDevices):void 0),ret.addPropertyResult("wirelessGateways","WirelessGateways",properties.WirelessGateways!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.WirelessGateways):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnPartnerAccount extends cdk().CfnResource{static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnPartnerAccountPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError("Unexpected IResolvable",scope);const ret=new CfnPartnerAccount(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}constructor(scope,id,props={}){super(scope,id,{type:CfnPartnerAccount.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_iotwireless_CfnPartnerAccountProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnPartnerAccount),error}this.attrArn=cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING)),this.attrFingerprint=cdk().Token.asString(this.getAtt("Fingerprint",cdk().ResolutionTypeHint.STRING)),this.accountLinked=props.accountLinked,this.partnerAccountId=props.partnerAccountId,this.partnerType=props.partnerType,this.sidewalk=props.sidewalk,this.sidewalkResponse=props.sidewalkResponse,this.sidewalkUpdate=props.sidewalkUpdate,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::IoTWireless::PartnerAccount",props.tags,{tagPropertyName:"tags"}),this.tagsRaw=props.tags}get cfnProperties(){return{accountLinked:this.accountLinked,partnerAccountId:this.partnerAccountId,partnerType:this.partnerType,sidewalk:this.sidewalk,sidewalkResponse:this.sidewalkResponse,sidewalkUpdate:this.sidewalkUpdate,tags:this.tags.renderTags()}}inspect(inspector){try{jsiiDeprecationWarnings().aws_cdk_lib_TreeInspector(inspector)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.inspect),error}inspector.addAttribute("aws:cdk:cloudformation:type",CfnPartnerAccount.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnPartnerAccountPropsToCloudFormation(props)}}exports.CfnPartnerAccount=CfnPartnerAccount,_f=JSII_RTTI_SYMBOL_1,CfnPartnerAccount[_f]={fqn:"aws-cdk-lib.aws_iotwireless.CfnPartnerAccount",version:"2.202.0"},CfnPartnerAccount.CFN_RESOURCE_TYPE_NAME="AWS::IoTWireless::PartnerAccount";function CfnPartnerAccountSidewalkAccountInfoWithFingerprintPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("amazonId",cdk().validateString)(properties.amazonId)),errors.collect(cdk().propertyValidator("arn",cdk().validateString)(properties.arn)),errors.collect(cdk().propertyValidator("fingerprint",cdk().validateString)(properties.fingerprint)),errors.wrap('supplied properties not correct for "SidewalkAccountInfoWithFingerprintProperty"')}function convertCfnPartnerAccountSidewalkAccountInfoWithFingerprintPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnPartnerAccountSidewalkAccountInfoWithFingerprintPropertyValidator(properties).assertSuccess(),{AmazonId:cdk().stringToCloudFormation(properties.amazonId),Arn:cdk().stringToCloudFormation(properties.arn),Fingerprint:cdk().stringToCloudFormation(properties.fingerprint)}):properties}function CfnPartnerAccountSidewalkAccountInfoWithFingerprintPropertyFromCloudFormation(properties){if(cdk().isResolvableObject(properties))return new(cfn_parse()).FromCloudFormationResult(properties);if(properties=properties??{},!(properties&&typeof properties=="object"&&!Array.isArray(properties)))return new(cfn_parse()).FromCloudFormationResult(properties);const ret=new(cfn_parse()).FromCloudFormationPropertyObject;return ret.addPropertyResult("amazonId","AmazonId",properties.AmazonId!=null?cfn_parse().FromCloudFormation.getString(properties.AmazonId):void 0),ret.addPropertyResult("arn","Arn",properties.Arn!=null?cfn_parse().FromCloudFormation.getString(properties.Arn):void 0),ret.addPropertyResult("fingerprint","Fingerprint",properties.Fingerprint!=null?cfn_parse().FromCloudFormation.getString(properties.Fingerprint):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnPartnerAccountSidewalkAccountInfoPropertyValidator(properties){if(!cdk().canInspect(properties))return cdk().VALIDATION_SUCCESS;const errors=new(cdk()).ValidationResults;return properties&&typeof properties=="object"&&!Array.isArray(properties)||errors.collect(new(cdk()).ValidationResult("Expected an object, but received: "+JSON.stringify(properties))),errors.collect(cdk().propertyValidator("appServerPrivateKey",cdk().requiredValidator)(properties.appServerPrivateKey)),errors.collect(cdk().propertyValidator("appServerPrivateKey",cdk().validateString)(properties.appServerPrivateKey)),errors.wrap('supplied properties not correct for "SidewalkAccountInfoProperty"')}function convertCfnPartnerAccountSidewalkAccountInfoPropertyToCloudFormation(properties){retu