2 lines
123 KiB
JavaScript
2 lines
123 KiB
JavaScript
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnDataflowEndpointGroupV2=exports.CfnMissionProfile=exports.CfnDataflowEndpointGroup=exports.CfnConfig=void 0;var jsiiDeprecationWarnings=()=>{var tmp=require("../../.warnings.jsii.js");return jsiiDeprecationWarnings=()=>tmp,tmp};const JSII_RTTI_SYMBOL_1=Symbol.for("jsii.rtti");var cdk=()=>{var tmp=require("../../core/lib");return cdk=()=>tmp,tmp},cfn_parse=()=>{var tmp=require("../../core/lib/helpers-internal");return cfn_parse=()=>tmp,tmp},cdk_errors=()=>{var tmp=require("../../core/lib/errors");return cdk_errors=()=>tmp,tmp};class CfnConfig extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_groundstation.CfnConfig",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::GroundStation::Config";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnConfigPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnConfig(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}static isCfnConfig(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnConfig.CFN_RESOURCE_TYPE_NAME}static arnForConfig(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_groundstation_IConfigRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForConfig),error}return resource.configRef.configArn}_configData;_name;tags;_tagsRaw;cfnPropertyNames={configData:"ConfigData",name:"Name",tags:"Tags"};constructor(scope,id,props){super(scope,id,{type:CfnConfig.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_groundstation_CfnConfigProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnConfig),error}cdk().requireProperty(props,"configData",this),cdk().requireProperty(props,"name",this),this._configData=props.configData,this._name=props.name,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::GroundStation::Config",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get configRef(){return{configArn:this.ref}}get configData(){return this._configData}set configData(value){cdk().traceProperty(this.node,"ConfigData"),this._configData=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get attrType(){return cdk().Token.asString(this.getAtt("Type",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{configData:this._configData,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",CfnConfig.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnConfigPropsToCloudFormation(props)}}exports.CfnConfig=CfnConfig;function CfnConfigDataflowEndpointConfigPropertyValidator(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("dataflowEndpointName",cdk().validateString)(properties.dataflowEndpointName)),errors.collect(cdk().propertyValidator("dataflowEndpointRegion",cdk().validateString)(properties.dataflowEndpointRegion)),errors.wrap('supplied properties not correct for "DataflowEndpointConfigProperty"')}function convertCfnConfigDataflowEndpointConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigDataflowEndpointConfigPropertyValidator(properties).assertSuccess(),{DataflowEndpointName:cdk().stringToCloudFormation(properties.dataflowEndpointName),DataflowEndpointRegion:cdk().stringToCloudFormation(properties.dataflowEndpointRegion)}):properties}function CfnConfigDataflowEndpointConfigPropertyFromCloudFormation(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("dataflowEndpointName","DataflowEndpointName",properties.DataflowEndpointName!=null?cfn_parse().FromCloudFormation.getString(properties.DataflowEndpointName):void 0),ret.addPropertyResult("dataflowEndpointRegion","DataflowEndpointRegion",properties.DataflowEndpointRegion!=null?cfn_parse().FromCloudFormation.getString(properties.DataflowEndpointRegion):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigUplinkEchoConfigPropertyValidator(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("antennaUplinkConfigArn",cdk().validateString)(properties.antennaUplinkConfigArn)),errors.collect(cdk().propertyValidator("enabled",cdk().validateBoolean)(properties.enabled)),errors.wrap('supplied properties not correct for "UplinkEchoConfigProperty"')}function convertCfnConfigUplinkEchoConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigUplinkEchoConfigPropertyValidator(properties).assertSuccess(),{AntennaUplinkConfigArn:cdk().stringToCloudFormation(properties.antennaUplinkConfigArn),Enabled:cdk().booleanToCloudFormation(properties.enabled)}):properties}function CfnConfigUplinkEchoConfigPropertyFromCloudFormation(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("antennaUplinkConfigArn","AntennaUplinkConfigArn",properties.AntennaUplinkConfigArn!=null?cfn_parse().FromCloudFormation.getString(properties.AntennaUplinkConfigArn):void 0),ret.addPropertyResult("enabled","Enabled",properties.Enabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.Enabled):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigFrequencyBandwidthPropertyValidator(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("units",cdk().validateString)(properties.units)),errors.collect(cdk().propertyValidator("value",cdk().validateNumber)(properties.value)),errors.wrap('supplied properties not correct for "FrequencyBandwidthProperty"')}function convertCfnConfigFrequencyBandwidthPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigFrequencyBandwidthPropertyValidator(properties).assertSuccess(),{Units:cdk().stringToCloudFormation(properties.units),Value:cdk().numberToCloudFormation(properties.value)}):properties}function CfnConfigFrequencyBandwidthPropertyFromCloudFormation(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("units","Units",properties.Units!=null?cfn_parse().FromCloudFormation.getString(properties.Units):void 0),ret.addPropertyResult("value","Value",properties.Value!=null?cfn_parse().FromCloudFormation.getNumber(properties.Value):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigFrequencyPropertyValidator(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("units",cdk().validateString)(properties.units)),errors.collect(cdk().propertyValidator("value",cdk().validateNumber)(properties.value)),errors.wrap('supplied properties not correct for "FrequencyProperty"')}function convertCfnConfigFrequencyPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigFrequencyPropertyValidator(properties).assertSuccess(),{Units:cdk().stringToCloudFormation(properties.units),Value:cdk().numberToCloudFormation(properties.value)}):properties}function CfnConfigFrequencyPropertyFromCloudFormation(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("units","Units",properties.Units!=null?cfn_parse().FromCloudFormation.getString(properties.Units):void 0),ret.addPropertyResult("value","Value",properties.Value!=null?cfn_parse().FromCloudFormation.getNumber(properties.Value):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigSpectrumConfigPropertyValidator(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("bandwidth",CfnConfigFrequencyBandwidthPropertyValidator)(properties.bandwidth)),errors.collect(cdk().propertyValidator("centerFrequency",CfnConfigFrequencyPropertyValidator)(properties.centerFrequency)),errors.collect(cdk().propertyValidator("polarization",cdk().validateString)(properties.polarization)),errors.wrap('supplied properties not correct for "SpectrumConfigProperty"')}function convertCfnConfigSpectrumConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigSpectrumConfigPropertyValidator(properties).assertSuccess(),{Bandwidth:convertCfnConfigFrequencyBandwidthPropertyToCloudFormation(properties.bandwidth),CenterFrequency:convertCfnConfigFrequencyPropertyToCloudFormation(properties.centerFrequency),Polarization:cdk().stringToCloudFormation(properties.polarization)}):properties}function CfnConfigSpectrumConfigPropertyFromCloudFormation(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("bandwidth","Bandwidth",properties.Bandwidth!=null?CfnConfigFrequencyBandwidthPropertyFromCloudFormation(properties.Bandwidth):void 0),ret.addPropertyResult("centerFrequency","CenterFrequency",properties.CenterFrequency!=null?CfnConfigFrequencyPropertyFromCloudFormation(properties.CenterFrequency):void 0),ret.addPropertyResult("polarization","Polarization",properties.Polarization!=null?cfn_parse().FromCloudFormation.getString(properties.Polarization):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigAntennaDownlinkConfigPropertyValidator(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("spectrumConfig",CfnConfigSpectrumConfigPropertyValidator)(properties.spectrumConfig)),errors.wrap('supplied properties not correct for "AntennaDownlinkConfigProperty"')}function convertCfnConfigAntennaDownlinkConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigAntennaDownlinkConfigPropertyValidator(properties).assertSuccess(),{SpectrumConfig:convertCfnConfigSpectrumConfigPropertyToCloudFormation(properties.spectrumConfig)}):properties}function CfnConfigAntennaDownlinkConfigPropertyFromCloudFormation(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("spectrumConfig","SpectrumConfig",properties.SpectrumConfig!=null?CfnConfigSpectrumConfigPropertyFromCloudFormation(properties.SpectrumConfig):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigDemodulationConfigPropertyValidator(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("unvalidatedJson",cdk().validateString)(properties.unvalidatedJson)),errors.wrap('supplied properties not correct for "DemodulationConfigProperty"')}function convertCfnConfigDemodulationConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigDemodulationConfigPropertyValidator(properties).assertSuccess(),{UnvalidatedJSON:cdk().stringToCloudFormation(properties.unvalidatedJson)}):properties}function CfnConfigDemodulationConfigPropertyFromCloudFormation(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("unvalidatedJson","UnvalidatedJSON",properties.UnvalidatedJSON!=null?cfn_parse().FromCloudFormation.getString(properties.UnvalidatedJSON):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigDecodeConfigPropertyValidator(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("unvalidatedJson",cdk().validateString)(properties.unvalidatedJson)),errors.wrap('supplied properties not correct for "DecodeConfigProperty"')}function convertCfnConfigDecodeConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigDecodeConfigPropertyValidator(properties).assertSuccess(),{UnvalidatedJSON:cdk().stringToCloudFormation(properties.unvalidatedJson)}):properties}function CfnConfigDecodeConfigPropertyFromCloudFormation(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("unvalidatedJson","UnvalidatedJSON",properties.UnvalidatedJSON!=null?cfn_parse().FromCloudFormation.getString(properties.UnvalidatedJSON):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigAntennaDownlinkDemodDecodeConfigPropertyValidator(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("decodeConfig",CfnConfigDecodeConfigPropertyValidator)(properties.decodeConfig)),errors.collect(cdk().propertyValidator("demodulationConfig",CfnConfigDemodulationConfigPropertyValidator)(properties.demodulationConfig)),errors.collect(cdk().propertyValidator("spectrumConfig",CfnConfigSpectrumConfigPropertyValidator)(properties.spectrumConfig)),errors.wrap('supplied properties not correct for "AntennaDownlinkDemodDecodeConfigProperty"')}function convertCfnConfigAntennaDownlinkDemodDecodeConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigAntennaDownlinkDemodDecodeConfigPropertyValidator(properties).assertSuccess(),{DecodeConfig:convertCfnConfigDecodeConfigPropertyToCloudFormation(properties.decodeConfig),DemodulationConfig:convertCfnConfigDemodulationConfigPropertyToCloudFormation(properties.demodulationConfig),SpectrumConfig:convertCfnConfigSpectrumConfigPropertyToCloudFormation(properties.spectrumConfig)}):properties}function CfnConfigAntennaDownlinkDemodDecodeConfigPropertyFromCloudFormation(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("decodeConfig","DecodeConfig",properties.DecodeConfig!=null?CfnConfigDecodeConfigPropertyFromCloudFormation(properties.DecodeConfig):void 0),ret.addPropertyResult("demodulationConfig","DemodulationConfig",properties.DemodulationConfig!=null?CfnConfigDemodulationConfigPropertyFromCloudFormation(properties.DemodulationConfig):void 0),ret.addPropertyResult("spectrumConfig","SpectrumConfig",properties.SpectrumConfig!=null?CfnConfigSpectrumConfigPropertyFromCloudFormation(properties.SpectrumConfig):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigTrackingConfigPropertyValidator(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("autotrack",cdk().validateString)(properties.autotrack)),errors.wrap('supplied properties not correct for "TrackingConfigProperty"')}function convertCfnConfigTrackingConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigTrackingConfigPropertyValidator(properties).assertSuccess(),{Autotrack:cdk().stringToCloudFormation(properties.autotrack)}):properties}function CfnConfigTrackingConfigPropertyFromCloudFormation(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("autotrack","Autotrack",properties.Autotrack!=null?cfn_parse().FromCloudFormation.getString(properties.Autotrack):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigUplinkSpectrumConfigPropertyValidator(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("centerFrequency",CfnConfigFrequencyPropertyValidator)(properties.centerFrequency)),errors.collect(cdk().propertyValidator("polarization",cdk().validateString)(properties.polarization)),errors.wrap('supplied properties not correct for "UplinkSpectrumConfigProperty"')}function convertCfnConfigUplinkSpectrumConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigUplinkSpectrumConfigPropertyValidator(properties).assertSuccess(),{CenterFrequency:convertCfnConfigFrequencyPropertyToCloudFormation(properties.centerFrequency),Polarization:cdk().stringToCloudFormation(properties.polarization)}):properties}function CfnConfigUplinkSpectrumConfigPropertyFromCloudFormation(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("centerFrequency","CenterFrequency",properties.CenterFrequency!=null?CfnConfigFrequencyPropertyFromCloudFormation(properties.CenterFrequency):void 0),ret.addPropertyResult("polarization","Polarization",properties.Polarization!=null?cfn_parse().FromCloudFormation.getString(properties.Polarization):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigEirpPropertyValidator(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("units",cdk().validateString)(properties.units)),errors.collect(cdk().propertyValidator("value",cdk().validateNumber)(properties.value)),errors.wrap('supplied properties not correct for "EirpProperty"')}function convertCfnConfigEirpPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigEirpPropertyValidator(properties).assertSuccess(),{Units:cdk().stringToCloudFormation(properties.units),Value:cdk().numberToCloudFormation(properties.value)}):properties}function CfnConfigEirpPropertyFromCloudFormation(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("units","Units",properties.Units!=null?cfn_parse().FromCloudFormation.getString(properties.Units):void 0),ret.addPropertyResult("value","Value",properties.Value!=null?cfn_parse().FromCloudFormation.getNumber(properties.Value):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigAntennaUplinkConfigPropertyValidator(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("spectrumConfig",CfnConfigUplinkSpectrumConfigPropertyValidator)(properties.spectrumConfig)),errors.collect(cdk().propertyValidator("targetEirp",CfnConfigEirpPropertyValidator)(properties.targetEirp)),errors.collect(cdk().propertyValidator("transmitDisabled",cdk().validateBoolean)(properties.transmitDisabled)),errors.wrap('supplied properties not correct for "AntennaUplinkConfigProperty"')}function convertCfnConfigAntennaUplinkConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigAntennaUplinkConfigPropertyValidator(properties).assertSuccess(),{SpectrumConfig:convertCfnConfigUplinkSpectrumConfigPropertyToCloudFormation(properties.spectrumConfig),TargetEirp:convertCfnConfigEirpPropertyToCloudFormation(properties.targetEirp),TransmitDisabled:cdk().booleanToCloudFormation(properties.transmitDisabled)}):properties}function CfnConfigAntennaUplinkConfigPropertyFromCloudFormation(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("spectrumConfig","SpectrumConfig",properties.SpectrumConfig!=null?CfnConfigUplinkSpectrumConfigPropertyFromCloudFormation(properties.SpectrumConfig):void 0),ret.addPropertyResult("targetEirp","TargetEirp",properties.TargetEirp!=null?CfnConfigEirpPropertyFromCloudFormation(properties.TargetEirp):void 0),ret.addPropertyResult("transmitDisabled","TransmitDisabled",properties.TransmitDisabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.TransmitDisabled):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigS3RecordingConfigPropertyValidator(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("bucketArn",cdk().validateString)(properties.bucketArn)),errors.collect(cdk().propertyValidator("prefix",cdk().validateString)(properties.prefix)),errors.collect(cdk().propertyValidator("roleArn",cdk().validateString)(properties.roleArn)),errors.wrap('supplied properties not correct for "S3RecordingConfigProperty"')}function convertCfnConfigS3RecordingConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigS3RecordingConfigPropertyValidator(properties).assertSuccess(),{BucketArn:cdk().stringToCloudFormation(properties.bucketArn),Prefix:cdk().stringToCloudFormation(properties.prefix),RoleArn:cdk().stringToCloudFormation(properties.roleArn)}):properties}function CfnConfigS3RecordingConfigPropertyFromCloudFormation(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("bucketArn","BucketArn",properties.BucketArn!=null?cfn_parse().FromCloudFormation.getString(properties.BucketArn):void 0),ret.addPropertyResult("prefix","Prefix",properties.Prefix!=null?cfn_parse().FromCloudFormation.getString(properties.Prefix):void 0),ret.addPropertyResult("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigKinesisDataStreamDataPropertyValidator(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("kinesisDataStreamArn",cdk().requiredValidator)(properties.kinesisDataStreamArn)),errors.collect(cdk().propertyValidator("kinesisDataStreamArn",cdk().validateString)(properties.kinesisDataStreamArn)),errors.collect(cdk().propertyValidator("kinesisRoleArn",cdk().requiredValidator)(properties.kinesisRoleArn)),errors.collect(cdk().propertyValidator("kinesisRoleArn",cdk().validateString)(properties.kinesisRoleArn)),errors.wrap('supplied properties not correct for "KinesisDataStreamDataProperty"')}function convertCfnConfigKinesisDataStreamDataPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigKinesisDataStreamDataPropertyValidator(properties).assertSuccess(),{KinesisDataStreamArn:cdk().stringToCloudFormation(properties.kinesisDataStreamArn),KinesisRoleArn:cdk().stringToCloudFormation(properties.kinesisRoleArn)}):properties}function CfnConfigKinesisDataStreamDataPropertyFromCloudFormation(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("kinesisDataStreamArn","KinesisDataStreamArn",properties.KinesisDataStreamArn!=null?cfn_parse().FromCloudFormation.getString(properties.KinesisDataStreamArn):void 0),ret.addPropertyResult("kinesisRoleArn","KinesisRoleArn",properties.KinesisRoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.KinesisRoleArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigTelemetrySinkDataPropertyValidator(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("kinesisDataStreamData",cdk().requiredValidator)(properties.kinesisDataStreamData)),errors.collect(cdk().propertyValidator("kinesisDataStreamData",CfnConfigKinesisDataStreamDataPropertyValidator)(properties.kinesisDataStreamData)),errors.wrap('supplied properties not correct for "TelemetrySinkDataProperty"')}function convertCfnConfigTelemetrySinkDataPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigTelemetrySinkDataPropertyValidator(properties).assertSuccess(),{KinesisDataStreamData:convertCfnConfigKinesisDataStreamDataPropertyToCloudFormation(properties.kinesisDataStreamData)}):properties}function CfnConfigTelemetrySinkDataPropertyFromCloudFormation(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("kinesisDataStreamData","KinesisDataStreamData",properties.KinesisDataStreamData!=null?CfnConfigKinesisDataStreamDataPropertyFromCloudFormation(properties.KinesisDataStreamData):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigTelemetrySinkConfigPropertyValidator(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("telemetrySinkData",cdk().requiredValidator)(properties.telemetrySinkData)),errors.collect(cdk().propertyValidator("telemetrySinkData",CfnConfigTelemetrySinkDataPropertyValidator)(properties.telemetrySinkData)),errors.collect(cdk().propertyValidator("telemetrySinkType",cdk().requiredValidator)(properties.telemetrySinkType)),errors.collect(cdk().propertyValidator("telemetrySinkType",cdk().validateString)(properties.telemetrySinkType)),errors.wrap('supplied properties not correct for "TelemetrySinkConfigProperty"')}function convertCfnConfigTelemetrySinkConfigPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigTelemetrySinkConfigPropertyValidator(properties).assertSuccess(),{TelemetrySinkData:convertCfnConfigTelemetrySinkDataPropertyToCloudFormation(properties.telemetrySinkData),TelemetrySinkType:cdk().stringToCloudFormation(properties.telemetrySinkType)}):properties}function CfnConfigTelemetrySinkConfigPropertyFromCloudFormation(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("telemetrySinkData","TelemetrySinkData",properties.TelemetrySinkData!=null?CfnConfigTelemetrySinkDataPropertyFromCloudFormation(properties.TelemetrySinkData):void 0),ret.addPropertyResult("telemetrySinkType","TelemetrySinkType",properties.TelemetrySinkType!=null?cfn_parse().FromCloudFormation.getString(properties.TelemetrySinkType):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigConfigDataPropertyValidator(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("antennaDownlinkConfig",CfnConfigAntennaDownlinkConfigPropertyValidator)(properties.antennaDownlinkConfig)),errors.collect(cdk().propertyValidator("antennaDownlinkDemodDecodeConfig",CfnConfigAntennaDownlinkDemodDecodeConfigPropertyValidator)(properties.antennaDownlinkDemodDecodeConfig)),errors.collect(cdk().propertyValidator("antennaUplinkConfig",CfnConfigAntennaUplinkConfigPropertyValidator)(properties.antennaUplinkConfig)),errors.collect(cdk().propertyValidator("dataflowEndpointConfig",CfnConfigDataflowEndpointConfigPropertyValidator)(properties.dataflowEndpointConfig)),errors.collect(cdk().propertyValidator("s3RecordingConfig",CfnConfigS3RecordingConfigPropertyValidator)(properties.s3RecordingConfig)),errors.collect(cdk().propertyValidator("telemetrySinkConfig",CfnConfigTelemetrySinkConfigPropertyValidator)(properties.telemetrySinkConfig)),errors.collect(cdk().propertyValidator("trackingConfig",CfnConfigTrackingConfigPropertyValidator)(properties.trackingConfig)),errors.collect(cdk().propertyValidator("uplinkEchoConfig",CfnConfigUplinkEchoConfigPropertyValidator)(properties.uplinkEchoConfig)),errors.wrap('supplied properties not correct for "ConfigDataProperty"')}function convertCfnConfigConfigDataPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigConfigDataPropertyValidator(properties).assertSuccess(),{AntennaDownlinkConfig:convertCfnConfigAntennaDownlinkConfigPropertyToCloudFormation(properties.antennaDownlinkConfig),AntennaDownlinkDemodDecodeConfig:convertCfnConfigAntennaDownlinkDemodDecodeConfigPropertyToCloudFormation(properties.antennaDownlinkDemodDecodeConfig),AntennaUplinkConfig:convertCfnConfigAntennaUplinkConfigPropertyToCloudFormation(properties.antennaUplinkConfig),DataflowEndpointConfig:convertCfnConfigDataflowEndpointConfigPropertyToCloudFormation(properties.dataflowEndpointConfig),S3RecordingConfig:convertCfnConfigS3RecordingConfigPropertyToCloudFormation(properties.s3RecordingConfig),TelemetrySinkConfig:convertCfnConfigTelemetrySinkConfigPropertyToCloudFormation(properties.telemetrySinkConfig),TrackingConfig:convertCfnConfigTrackingConfigPropertyToCloudFormation(properties.trackingConfig),UplinkEchoConfig:convertCfnConfigUplinkEchoConfigPropertyToCloudFormation(properties.uplinkEchoConfig)}):properties}function CfnConfigConfigDataPropertyFromCloudFormation(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("antennaDownlinkConfig","AntennaDownlinkConfig",properties.AntennaDownlinkConfig!=null?CfnConfigAntennaDownlinkConfigPropertyFromCloudFormation(properties.AntennaDownlinkConfig):void 0),ret.addPropertyResult("antennaDownlinkDemodDecodeConfig","AntennaDownlinkDemodDecodeConfig",properties.AntennaDownlinkDemodDecodeConfig!=null?CfnConfigAntennaDownlinkDemodDecodeConfigPropertyFromCloudFormation(properties.AntennaDownlinkDemodDecodeConfig):void 0),ret.addPropertyResult("antennaUplinkConfig","AntennaUplinkConfig",properties.AntennaUplinkConfig!=null?CfnConfigAntennaUplinkConfigPropertyFromCloudFormation(properties.AntennaUplinkConfig):void 0),ret.addPropertyResult("dataflowEndpointConfig","DataflowEndpointConfig",properties.DataflowEndpointConfig!=null?CfnConfigDataflowEndpointConfigPropertyFromCloudFormation(properties.DataflowEndpointConfig):void 0),ret.addPropertyResult("s3RecordingConfig","S3RecordingConfig",properties.S3RecordingConfig!=null?CfnConfigS3RecordingConfigPropertyFromCloudFormation(properties.S3RecordingConfig):void 0),ret.addPropertyResult("telemetrySinkConfig","TelemetrySinkConfig",properties.TelemetrySinkConfig!=null?CfnConfigTelemetrySinkConfigPropertyFromCloudFormation(properties.TelemetrySinkConfig):void 0),ret.addPropertyResult("trackingConfig","TrackingConfig",properties.TrackingConfig!=null?CfnConfigTrackingConfigPropertyFromCloudFormation(properties.TrackingConfig):void 0),ret.addPropertyResult("uplinkEchoConfig","UplinkEchoConfig",properties.UplinkEchoConfig!=null?CfnConfigUplinkEchoConfigPropertyFromCloudFormation(properties.UplinkEchoConfig):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnConfigPropsValidator(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("configData",cdk().requiredValidator)(properties.configData)),errors.collect(cdk().propertyValidator("configData",CfnConfigConfigDataPropertyValidator)(properties.configData)),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.wrap('supplied properties not correct for "CfnConfigProps"')}function convertCfnConfigPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnConfigPropsValidator(properties).assertSuccess(),{ConfigData:convertCfnConfigConfigDataPropertyToCloudFormation(properties.configData),Name:cdk().stringToCloudFormation(properties.name),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnConfigPropsFromCloudFormation(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("configData","ConfigData",properties.ConfigData!=null?CfnConfigConfigDataPropertyFromCloudFormation(properties.ConfigData):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 CfnDataflowEndpointGroup extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_groundstation.CfnDataflowEndpointGroup",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::GroundStation::DataflowEndpointGroup";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDataflowEndpointGroupPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnDataflowEndpointGroup(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}static isCfnDataflowEndpointGroup(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnDataflowEndpointGroup.CFN_RESOURCE_TYPE_NAME}static fromDataflowEndpointGroupArn(scope,id,arn){class Import extends cdk().Resource{dataflowEndpointGroupRef;constructor(scope2,id2,arn2){super(scope2,id2,{environmentFromArn:arn2});const variables=new(cfn_parse()).TemplateString("arn:${Partition}:groundstation:${Region}:${Account}:dataflow-endpoint-group/${DataflowEndpointGroupId}").parse(arn2);this.dataflowEndpointGroupRef={dataflowEndpointGroupId:variables.DataflowEndpointGroupId,dataflowEndpointGroupArn:arn2}}}return new Import(scope,id,arn)}static fromDataflowEndpointGroupId(scope,id,dataflowEndpointGroupId){class Import extends cdk().Resource{dataflowEndpointGroupRef;constructor(scope2,id2,dataflowEndpointGroupId2){const arn=new(cfn_parse()).TemplateString("arn:${Partition}:groundstation:${Region}:${Account}:dataflow-endpoint-group/${DataflowEndpointGroupId}").interpolate({Partition:cdk().Stack.of(scope2).partition,Region:cdk().Stack.of(scope2).region,Account:cdk().Stack.of(scope2).account,DataflowEndpointGroupId:dataflowEndpointGroupId2});super(scope2,id2,{environmentFromArn:arn}),this.dataflowEndpointGroupRef={dataflowEndpointGroupId:dataflowEndpointGroupId2,dataflowEndpointGroupArn:arn}}}return new Import(scope,id,dataflowEndpointGroupId)}static arnForDataflowEndpointGroup(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_groundstation_IDataflowEndpointGroupRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForDataflowEndpointGroup),error}return resource.dataflowEndpointGroupRef.dataflowEndpointGroupArn}_contactPostPassDurationSeconds;_contactPrePassDurationSeconds;_endpointDetails;tags;_tagsRaw;cfnPropertyNames={contactPostPassDurationSeconds:"ContactPostPassDurationSeconds",contactPrePassDurationSeconds:"ContactPrePassDurationSeconds",endpointDetails:"EndpointDetails",tags:"Tags"};constructor(scope,id,props){super(scope,id,{type:CfnDataflowEndpointGroup.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_groundstation_CfnDataflowEndpointGroupProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDataflowEndpointGroup),error}cdk().requireProperty(props,"endpointDetails",this),this._contactPostPassDurationSeconds=props.contactPostPassDurationSeconds,this._contactPrePassDurationSeconds=props.contactPrePassDurationSeconds,this._endpointDetails=props.endpointDetails,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::GroundStation::DataflowEndpointGroup",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags}get dataflowEndpointGroupRef(){return{dataflowEndpointGroupId:this.ref,dataflowEndpointGroupArn:this.attrArn}}get contactPostPassDurationSeconds(){return this._contactPostPassDurationSeconds}set contactPostPassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPostPassDurationSeconds"),this._contactPostPassDurationSeconds=value}get contactPrePassDurationSeconds(){return this._contactPrePassDurationSeconds}set contactPrePassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPrePassDurationSeconds"),this._contactPrePassDurationSeconds=value}get endpointDetails(){return this._endpointDetails}set endpointDetails(value){cdk().traceProperty(this.node,"EndpointDetails"),this._endpointDetails=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{contactPostPassDurationSeconds:this._contactPostPassDurationSeconds,contactPrePassDurationSeconds:this._contactPrePassDurationSeconds,endpointDetails:this._endpointDetails,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",CfnDataflowEndpointGroup.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnDataflowEndpointGroupPropsToCloudFormation(props)}}exports.CfnDataflowEndpointGroup=CfnDataflowEndpointGroup;function CfnDataflowEndpointGroupSocketAddressPropertyValidator(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("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("port",cdk().validateNumber)(properties.port)),errors.wrap('supplied properties not correct for "SocketAddressProperty"')}function convertCfnDataflowEndpointGroupSocketAddressPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupSocketAddressPropertyValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),Port:cdk().numberToCloudFormation(properties.port)}):properties}function CfnDataflowEndpointGroupSocketAddressPropertyFromCloudFormation(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("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("port","Port",properties.Port!=null?cfn_parse().FromCloudFormation.getNumber(properties.Port):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupDataflowEndpointPropertyValidator(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("address",CfnDataflowEndpointGroupSocketAddressPropertyValidator)(properties.address)),errors.collect(cdk().propertyValidator("mtu",cdk().validateNumber)(properties.mtu)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.wrap('supplied properties not correct for "DataflowEndpointProperty"')}function convertCfnDataflowEndpointGroupDataflowEndpointPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupDataflowEndpointPropertyValidator(properties).assertSuccess(),{Address:convertCfnDataflowEndpointGroupSocketAddressPropertyToCloudFormation(properties.address),Mtu:cdk().numberToCloudFormation(properties.mtu),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupDataflowEndpointPropertyFromCloudFormation(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("address","Address",properties.Address!=null?CfnDataflowEndpointGroupSocketAddressPropertyFromCloudFormation(properties.Address):void 0),ret.addPropertyResult("mtu","Mtu",properties.Mtu!=null?cfn_parse().FromCloudFormation.getNumber(properties.Mtu):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupIntegerRangePropertyValidator(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("maximum",cdk().validateNumber)(properties.maximum)),errors.collect(cdk().propertyValidator("minimum",cdk().validateNumber)(properties.minimum)),errors.wrap('supplied properties not correct for "IntegerRangeProperty"')}function convertCfnDataflowEndpointGroupIntegerRangePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupIntegerRangePropertyValidator(properties).assertSuccess(),{Maximum:cdk().numberToCloudFormation(properties.maximum),Minimum:cdk().numberToCloudFormation(properties.minimum)}):properties}function CfnDataflowEndpointGroupIntegerRangePropertyFromCloudFormation(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("maximum","Maximum",properties.Maximum!=null?cfn_parse().FromCloudFormation.getNumber(properties.Maximum):void 0),ret.addPropertyResult("minimum","Minimum",properties.Minimum!=null?cfn_parse().FromCloudFormation.getNumber(properties.Minimum):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupRangedSocketAddressPropertyValidator(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("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("portRange",CfnDataflowEndpointGroupIntegerRangePropertyValidator)(properties.portRange)),errors.wrap('supplied properties not correct for "RangedSocketAddressProperty"')}function convertCfnDataflowEndpointGroupRangedSocketAddressPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupRangedSocketAddressPropertyValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),PortRange:convertCfnDataflowEndpointGroupIntegerRangePropertyToCloudFormation(properties.portRange)}):properties}function CfnDataflowEndpointGroupRangedSocketAddressPropertyFromCloudFormation(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("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("portRange","PortRange",properties.PortRange!=null?CfnDataflowEndpointGroupIntegerRangePropertyFromCloudFormation(properties.PortRange):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupRangedConnectionDetailsPropertyValidator(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("mtu",cdk().validateNumber)(properties.mtu)),errors.collect(cdk().propertyValidator("socketAddress",CfnDataflowEndpointGroupRangedSocketAddressPropertyValidator)(properties.socketAddress)),errors.wrap('supplied properties not correct for "RangedConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupRangedConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupRangedConnectionDetailsPropertyValidator(properties).assertSuccess(),{Mtu:cdk().numberToCloudFormation(properties.mtu),SocketAddress:convertCfnDataflowEndpointGroupRangedSocketAddressPropertyToCloudFormation(properties.socketAddress)}):properties}function CfnDataflowEndpointGroupRangedConnectionDetailsPropertyFromCloudFormation(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("mtu","Mtu",properties.Mtu!=null?cfn_parse().FromCloudFormation.getNumber(properties.Mtu):void 0),ret.addPropertyResult("socketAddress","SocketAddress",properties.SocketAddress!=null?CfnDataflowEndpointGroupRangedSocketAddressPropertyFromCloudFormation(properties.SocketAddress):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupConnectionDetailsPropertyValidator(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("mtu",cdk().validateNumber)(properties.mtu)),errors.collect(cdk().propertyValidator("socketAddress",CfnDataflowEndpointGroupSocketAddressPropertyValidator)(properties.socketAddress)),errors.wrap('supplied properties not correct for "ConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupConnectionDetailsPropertyValidator(properties).assertSuccess(),{Mtu:cdk().numberToCloudFormation(properties.mtu),SocketAddress:convertCfnDataflowEndpointGroupSocketAddressPropertyToCloudFormation(properties.socketAddress)}):properties}function CfnDataflowEndpointGroupConnectionDetailsPropertyFromCloudFormation(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("mtu","Mtu",properties.Mtu!=null?cfn_parse().FromCloudFormation.getNumber(properties.Mtu):void 0),ret.addPropertyResult("socketAddress","SocketAddress",properties.SocketAddress!=null?CfnDataflowEndpointGroupSocketAddressPropertyFromCloudFormation(properties.SocketAddress):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyValidator(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("agentStatus",cdk().validateString)(properties.agentStatus)),errors.collect(cdk().propertyValidator("auditResults",cdk().validateString)(properties.auditResults)),errors.collect(cdk().propertyValidator("egressAddress",CfnDataflowEndpointGroupConnectionDetailsPropertyValidator)(properties.egressAddress)),errors.collect(cdk().propertyValidator("ingressAddress",CfnDataflowEndpointGroupRangedConnectionDetailsPropertyValidator)(properties.ingressAddress)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.wrap('supplied properties not correct for "AwsGroundStationAgentEndpointProperty"')}function convertCfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyValidator(properties).assertSuccess(),{AgentStatus:cdk().stringToCloudFormation(properties.agentStatus),AuditResults:cdk().stringToCloudFormation(properties.auditResults),EgressAddress:convertCfnDataflowEndpointGroupConnectionDetailsPropertyToCloudFormation(properties.egressAddress),IngressAddress:convertCfnDataflowEndpointGroupRangedConnectionDetailsPropertyToCloudFormation(properties.ingressAddress),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyFromCloudFormation(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("agentStatus","AgentStatus",properties.AgentStatus!=null?cfn_parse().FromCloudFormation.getString(properties.AgentStatus):void 0),ret.addPropertyResult("auditResults","AuditResults",properties.AuditResults!=null?cfn_parse().FromCloudFormation.getString(properties.AuditResults):void 0),ret.addPropertyResult("egressAddress","EgressAddress",properties.EgressAddress!=null?CfnDataflowEndpointGroupConnectionDetailsPropertyFromCloudFormation(properties.EgressAddress):void 0),ret.addPropertyResult("ingressAddress","IngressAddress",properties.IngressAddress!=null?CfnDataflowEndpointGroupRangedConnectionDetailsPropertyFromCloudFormation(properties.IngressAddress):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupSecurityDetailsPropertyValidator(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("roleArn",cdk().validateString)(properties.roleArn)),errors.collect(cdk().propertyValidator("securityGroupIds",cdk().listValidator(cdk().validateString))(properties.securityGroupIds)),errors.collect(cdk().propertyValidator("subnetIds",cdk().listValidator(cdk().validateString))(properties.subnetIds)),errors.wrap('supplied properties not correct for "SecurityDetailsProperty"')}function convertCfnDataflowEndpointGroupSecurityDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupSecurityDetailsPropertyValidator(properties).assertSuccess(),{RoleArn:cdk().stringToCloudFormation(properties.roleArn),SecurityGroupIds:cdk().listMapper(cdk().stringToCloudFormation)(properties.securityGroupIds),SubnetIds:cdk().listMapper(cdk().stringToCloudFormation)(properties.subnetIds)}):properties}function CfnDataflowEndpointGroupSecurityDetailsPropertyFromCloudFormation(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("roleArn","RoleArn",properties.RoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.RoleArn):void 0),ret.addPropertyResult("securityGroupIds","SecurityGroupIds",properties.SecurityGroupIds!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.SecurityGroupIds):void 0),ret.addPropertyResult("subnetIds","SubnetIds",properties.SubnetIds!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.SubnetIds):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupEndpointDetailsPropertyValidator(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("awsGroundStationAgentEndpoint",CfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyValidator)(properties.awsGroundStationAgentEndpoint)),errors.collect(cdk().propertyValidator("endpoint",CfnDataflowEndpointGroupDataflowEndpointPropertyValidator)(properties.endpoint)),errors.collect(cdk().propertyValidator("securityDetails",CfnDataflowEndpointGroupSecurityDetailsPropertyValidator)(properties.securityDetails)),errors.wrap('supplied properties not correct for "EndpointDetailsProperty"')}function convertCfnDataflowEndpointGroupEndpointDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupEndpointDetailsPropertyValidator(properties).assertSuccess(),{AwsGroundStationAgentEndpoint:convertCfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyToCloudFormation(properties.awsGroundStationAgentEndpoint),Endpoint:convertCfnDataflowEndpointGroupDataflowEndpointPropertyToCloudFormation(properties.endpoint),SecurityDetails:convertCfnDataflowEndpointGroupSecurityDetailsPropertyToCloudFormation(properties.securityDetails)}):properties}function CfnDataflowEndpointGroupEndpointDetailsPropertyFromCloudFormation(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("awsGroundStationAgentEndpoint","AwsGroundStationAgentEndpoint",properties.AwsGroundStationAgentEndpoint!=null?CfnDataflowEndpointGroupAwsGroundStationAgentEndpointPropertyFromCloudFormation(properties.AwsGroundStationAgentEndpoint):void 0),ret.addPropertyResult("endpoint","Endpoint",properties.Endpoint!=null?CfnDataflowEndpointGroupDataflowEndpointPropertyFromCloudFormation(properties.Endpoint):void 0),ret.addPropertyResult("securityDetails","SecurityDetails",properties.SecurityDetails!=null?CfnDataflowEndpointGroupSecurityDetailsPropertyFromCloudFormation(properties.SecurityDetails):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupPropsValidator(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("contactPostPassDurationSeconds",cdk().validateNumber)(properties.contactPostPassDurationSeconds)),errors.collect(cdk().propertyValidator("contactPrePassDurationSeconds",cdk().validateNumber)(properties.contactPrePassDurationSeconds)),errors.collect(cdk().propertyValidator("endpointDetails",cdk().requiredValidator)(properties.endpointDetails)),errors.collect(cdk().propertyValidator("endpointDetails",cdk().listValidator(CfnDataflowEndpointGroupEndpointDetailsPropertyValidator))(properties.endpointDetails)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnDataflowEndpointGroupProps"')}function convertCfnDataflowEndpointGroupPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupPropsValidator(properties).assertSuccess(),{ContactPostPassDurationSeconds:cdk().numberToCloudFormation(properties.contactPostPassDurationSeconds),ContactPrePassDurationSeconds:cdk().numberToCloudFormation(properties.contactPrePassDurationSeconds),EndpointDetails:cdk().listMapper(convertCfnDataflowEndpointGroupEndpointDetailsPropertyToCloudFormation)(properties.endpointDetails),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnDataflowEndpointGroupPropsFromCloudFormation(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("contactPostPassDurationSeconds","ContactPostPassDurationSeconds",properties.ContactPostPassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPostPassDurationSeconds):void 0),ret.addPropertyResult("contactPrePassDurationSeconds","ContactPrePassDurationSeconds",properties.ContactPrePassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPrePassDurationSeconds):void 0),ret.addPropertyResult("endpointDetails","EndpointDetails",properties.EndpointDetails!=null?cfn_parse().FromCloudFormation.getArray(CfnDataflowEndpointGroupEndpointDetailsPropertyFromCloudFormation)(properties.EndpointDetails):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 CfnMissionProfile extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_groundstation.CfnMissionProfile",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::GroundStation::MissionProfile";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnMissionProfilePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnMissionProfile(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}static isCfnMissionProfile(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnMissionProfile.CFN_RESOURCE_TYPE_NAME}static fromMissionProfileId(scope,id,missionProfileId){class Import extends cdk().Resource{missionProfileRef;constructor(scope2,id2,missionProfileId2){const arn=new(cfn_parse()).TemplateString("arn:${Partition}:groundstation:${Region}:${Account}:mission-profile/${MissionProfileId}").interpolate({Partition:cdk().Stack.of(scope2).partition,Region:cdk().Stack.of(scope2).region,Account:cdk().Stack.of(scope2).account,MissionProfileId:missionProfileId2});super(scope2,id2,{environmentFromArn:arn}),this.missionProfileRef={missionProfileId:missionProfileId2,missionProfileArn:arn}}}return new Import(scope,id,missionProfileId)}static arnForMissionProfile(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_groundstation_IMissionProfileRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForMissionProfile),error}return resource.missionProfileRef.missionProfileArn}_contactPostPassDurationSeconds;_contactPrePassDurationSeconds;_dataflowEdges;_minimumViableContactDurationSeconds;_name;_streamsKmsKey;_streamsKmsRole;tags;_tagsRaw;_telemetrySinkConfigArn;_trackingConfigArn;cfnPropertyNames={contactPostPassDurationSeconds:"ContactPostPassDurationSeconds",contactPrePassDurationSeconds:"ContactPrePassDurationSeconds",dataflowEdges:"DataflowEdges",minimumViableContactDurationSeconds:"MinimumViableContactDurationSeconds",name:"Name",streamsKmsKey:"StreamsKmsKey",streamsKmsRole:"StreamsKmsRole",tags:"Tags",telemetrySinkConfigArn:"TelemetrySinkConfigArn",trackingConfigArn:"TrackingConfigArn"};constructor(scope,id,props){super(scope,id,{type:CfnMissionProfile.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_groundstation_CfnMissionProfileProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnMissionProfile),error}cdk().requireProperty(props,"dataflowEdges",this),cdk().requireProperty(props,"minimumViableContactDurationSeconds",this),cdk().requireProperty(props,"name",this),cdk().requireProperty(props,"trackingConfigArn",this),this._contactPostPassDurationSeconds=props.contactPostPassDurationSeconds,this._contactPrePassDurationSeconds=props.contactPrePassDurationSeconds,this._dataflowEdges=props.dataflowEdges,this._minimumViableContactDurationSeconds=props.minimumViableContactDurationSeconds,this._name=props.name,this._streamsKmsKey=props.streamsKmsKey,this._streamsKmsRole=props.streamsKmsRole,this.tags=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::GroundStation::MissionProfile",props.tags,{tagPropertyName:"tags"}),this._tagsRaw=props.tags,this._telemetrySinkConfigArn=props.telemetrySinkConfigArn,this._trackingConfigArn=cdk().getRefProperty(props.trackingConfigArn?.configRef,"configArn")??cdk().ensureStringOrUndefined(props.trackingConfigArn,"trackingConfigArn","groundstation.IConfigRef | string")}get missionProfileRef(){return{missionProfileId:cdk().Fn.select(0,cdk().Fn.split("|",this.ref)),missionProfileArn:cdk().Fn.select(1,cdk().Fn.split("|",this.ref))}}get contactPostPassDurationSeconds(){return this._contactPostPassDurationSeconds}set contactPostPassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPostPassDurationSeconds"),this._contactPostPassDurationSeconds=value}get contactPrePassDurationSeconds(){return this._contactPrePassDurationSeconds}set contactPrePassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPrePassDurationSeconds"),this._contactPrePassDurationSeconds=value}get dataflowEdges(){return this._dataflowEdges}set dataflowEdges(value){cdk().traceProperty(this.node,"DataflowEdges"),this._dataflowEdges=value}get minimumViableContactDurationSeconds(){return this._minimumViableContactDurationSeconds}set minimumViableContactDurationSeconds(value){cdk().traceProperty(this.node,"MinimumViableContactDurationSeconds"),this._minimumViableContactDurationSeconds=value}get name(){return this._name}set name(value){cdk().traceProperty(this.node,"Name"),this._name=value}get streamsKmsKey(){return this._streamsKmsKey}set streamsKmsKey(value){cdk().traceProperty(this.node,"StreamsKmsKey"),this._streamsKmsKey=value}get streamsKmsRole(){return this._streamsKmsRole}set streamsKmsRole(value){cdk().traceProperty(this.node,"StreamsKmsRole"),this._streamsKmsRole=value}get tagsRaw(){return this._tagsRaw}set tagsRaw(value){cdk().traceProperty(this.node,"Tags"),this._tagsRaw=value}get telemetrySinkConfigArn(){return this._telemetrySinkConfigArn}set telemetrySinkConfigArn(value){cdk().traceProperty(this.node,"TelemetrySinkConfigArn"),this._telemetrySinkConfigArn=value}get trackingConfigArn(){return this._trackingConfigArn}set trackingConfigArn(value){cdk().traceProperty(this.node,"TrackingConfigArn"),this._trackingConfigArn=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get attrRegion(){return cdk().Token.asString(this.getAtt("Region",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{contactPostPassDurationSeconds:this._contactPostPassDurationSeconds,contactPrePassDurationSeconds:this._contactPrePassDurationSeconds,dataflowEdges:this._dataflowEdges,minimumViableContactDurationSeconds:this._minimumViableContactDurationSeconds,name:this._name,streamsKmsKey:this._streamsKmsKey,streamsKmsRole:this._streamsKmsRole,tags:this.tags.renderTags(),telemetrySinkConfigArn:this._telemetrySinkConfigArn,trackingConfigArn:this._trackingConfigArn}}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",CfnMissionProfile.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnMissionProfilePropsToCloudFormation(props)}}exports.CfnMissionProfile=CfnMissionProfile;function CfnMissionProfileStreamsKmsKeyPropertyValidator(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("kmsAliasArn",cdk().validateString)(properties.kmsAliasArn)),errors.collect(cdk().propertyValidator("kmsAliasName",cdk().validateString)(properties.kmsAliasName)),errors.collect(cdk().propertyValidator("kmsKeyArn",cdk().validateString)(properties.kmsKeyArn)),errors.wrap('supplied properties not correct for "StreamsKmsKeyProperty"')}function convertCfnMissionProfileStreamsKmsKeyPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMissionProfileStreamsKmsKeyPropertyValidator(properties).assertSuccess(),{KmsAliasArn:cdk().stringToCloudFormation(properties.kmsAliasArn),KmsAliasName:cdk().stringToCloudFormation(properties.kmsAliasName),KmsKeyArn:cdk().stringToCloudFormation(properties.kmsKeyArn)}):properties}function CfnMissionProfileStreamsKmsKeyPropertyFromCloudFormation(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("kmsAliasArn","KmsAliasArn",properties.KmsAliasArn!=null?cfn_parse().FromCloudFormation.getString(properties.KmsAliasArn):void 0),ret.addPropertyResult("kmsAliasName","KmsAliasName",properties.KmsAliasName!=null?cfn_parse().FromCloudFormation.getString(properties.KmsAliasName):void 0),ret.addPropertyResult("kmsKeyArn","KmsKeyArn",properties.KmsKeyArn!=null?cfn_parse().FromCloudFormation.getString(properties.KmsKeyArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMissionProfileDataflowEdgePropertyValidator(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("destination",cdk().validateString)(properties.destination)),errors.collect(cdk().propertyValidator("source",cdk().validateString)(properties.source)),errors.wrap('supplied properties not correct for "DataflowEdgeProperty"')}function convertCfnMissionProfileDataflowEdgePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMissionProfileDataflowEdgePropertyValidator(properties).assertSuccess(),{Destination:cdk().stringToCloudFormation(properties.destination),Source:cdk().stringToCloudFormation(properties.source)}):properties}function CfnMissionProfileDataflowEdgePropertyFromCloudFormation(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("destination","Destination",properties.Destination!=null?cfn_parse().FromCloudFormation.getString(properties.Destination):void 0),ret.addPropertyResult("source","Source",properties.Source!=null?cfn_parse().FromCloudFormation.getString(properties.Source):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnMissionProfilePropsValidator(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("contactPostPassDurationSeconds",cdk().validateNumber)(properties.contactPostPassDurationSeconds)),errors.collect(cdk().propertyValidator("contactPrePassDurationSeconds",cdk().validateNumber)(properties.contactPrePassDurationSeconds)),errors.collect(cdk().propertyValidator("dataflowEdges",cdk().requiredValidator)(properties.dataflowEdges)),errors.collect(cdk().propertyValidator("dataflowEdges",cdk().listValidator(CfnMissionProfileDataflowEdgePropertyValidator))(properties.dataflowEdges)),errors.collect(cdk().propertyValidator("minimumViableContactDurationSeconds",cdk().requiredValidator)(properties.minimumViableContactDurationSeconds)),errors.collect(cdk().propertyValidator("minimumViableContactDurationSeconds",cdk().validateNumber)(properties.minimumViableContactDurationSeconds)),errors.collect(cdk().propertyValidator("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("streamsKmsKey",CfnMissionProfileStreamsKmsKeyPropertyValidator)(properties.streamsKmsKey)),errors.collect(cdk().propertyValidator("streamsKmsRole",cdk().validateString)(properties.streamsKmsRole)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("telemetrySinkConfigArn",cdk().validateString)(properties.telemetrySinkConfigArn)),errors.collect(cdk().propertyValidator("trackingConfigArn",cdk().requiredValidator)(properties.trackingConfigArn)),errors.collect(cdk().propertyValidator("trackingConfigArn",cdk().validateString)(properties.trackingConfigArn)),errors.wrap('supplied properties not correct for "CfnMissionProfileProps"')}function convertCfnMissionProfilePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnMissionProfilePropsValidator(properties).assertSuccess(),{ContactPostPassDurationSeconds:cdk().numberToCloudFormation(properties.contactPostPassDurationSeconds),ContactPrePassDurationSeconds:cdk().numberToCloudFormation(properties.contactPrePassDurationSeconds),DataflowEdges:cdk().listMapper(convertCfnMissionProfileDataflowEdgePropertyToCloudFormation)(properties.dataflowEdges),MinimumViableContactDurationSeconds:cdk().numberToCloudFormation(properties.minimumViableContactDurationSeconds),Name:cdk().stringToCloudFormation(properties.name),StreamsKmsKey:convertCfnMissionProfileStreamsKmsKeyPropertyToCloudFormation(properties.streamsKmsKey),StreamsKmsRole:cdk().stringToCloudFormation(properties.streamsKmsRole),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),TelemetrySinkConfigArn:cdk().stringToCloudFormation(properties.telemetrySinkConfigArn),TrackingConfigArn:cdk().stringToCloudFormation(properties.trackingConfigArn)}):properties}function CfnMissionProfilePropsFromCloudFormation(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("contactPostPassDurationSeconds","ContactPostPassDurationSeconds",properties.ContactPostPassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPostPassDurationSeconds):void 0),ret.addPropertyResult("contactPrePassDurationSeconds","ContactPrePassDurationSeconds",properties.ContactPrePassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPrePassDurationSeconds):void 0),ret.addPropertyResult("dataflowEdges","DataflowEdges",properties.DataflowEdges!=null?cfn_parse().FromCloudFormation.getArray(CfnMissionProfileDataflowEdgePropertyFromCloudFormation)(properties.DataflowEdges):void 0),ret.addPropertyResult("minimumViableContactDurationSeconds","MinimumViableContactDurationSeconds",properties.MinimumViableContactDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.MinimumViableContactDurationSeconds):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("streamsKmsKey","StreamsKmsKey",properties.StreamsKmsKey!=null?CfnMissionProfileStreamsKmsKeyPropertyFromCloudFormation(properties.StreamsKmsKey):void 0),ret.addPropertyResult("streamsKmsRole","StreamsKmsRole",properties.StreamsKmsRole!=null?cfn_parse().FromCloudFormation.getString(properties.StreamsKmsRole):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("telemetrySinkConfigArn","TelemetrySinkConfigArn",properties.TelemetrySinkConfigArn!=null?cfn_parse().FromCloudFormation.getString(properties.TelemetrySinkConfigArn):void 0),ret.addPropertyResult("trackingConfigArn","TrackingConfigArn",properties.TrackingConfigArn!=null?cfn_parse().FromCloudFormation.getString(properties.TrackingConfigArn):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnDataflowEndpointGroupV2 extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_groundstation.CfnDataflowEndpointGroupV2",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::GroundStation::DataflowEndpointGroupV2";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDataflowEndpointGroupV2PropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnDataflowEndpointGroupV2(scope,id,propsResult.value);for(const[propKey,propVal]of Object.entries(propsResult.extraProperties))ret.addPropertyOverride(propKey,propVal);return options.parser.handleAttributes(ret,resourceAttributes,id),ret}static isCfnDataflowEndpointGroupV2(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnDataflowEndpointGroupV2.CFN_RESOURCE_TYPE_NAME}static arnForDataflowEndpointGroupV2(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_groundstation_IDataflowEndpointGroupV2Ref(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForDataflowEndpointGroupV2),error}return resource.dataflowEndpointGroupV2Ref.dataflowEndpointGroupV2Arn}cdkTagManager;_contactPostPassDurationSeconds;_contactPrePassDurationSeconds;_endpoints;_tags;cfnPropertyNames={tags:"Tags",contactPostPassDurationSeconds:"ContactPostPassDurationSeconds",contactPrePassDurationSeconds:"ContactPrePassDurationSeconds",endpoints:"Endpoints"};constructor(scope,id,props={}){super(scope,id,{type:CfnDataflowEndpointGroupV2.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_groundstation_CfnDataflowEndpointGroupV2Props(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDataflowEndpointGroupV2),error}this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::GroundStation::DataflowEndpointGroupV2",void 0,{tagPropertyName:"tags"}),this._contactPostPassDurationSeconds=props.contactPostPassDurationSeconds,this._contactPrePassDurationSeconds=props.contactPrePassDurationSeconds,this._endpoints=props.endpoints,this._tags=props.tags}get dataflowEndpointGroupV2Ref(){return{dataflowEndpointGroupV2Id:this.ref,dataflowEndpointGroupV2Arn:this.attrArn}}get contactPostPassDurationSeconds(){return this._contactPostPassDurationSeconds}set contactPostPassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPostPassDurationSeconds"),this._contactPostPassDurationSeconds=value}get contactPrePassDurationSeconds(){return this._contactPrePassDurationSeconds}set contactPrePassDurationSeconds(value){cdk().traceProperty(this.node,"ContactPrePassDurationSeconds"),this._contactPrePassDurationSeconds=value}get endpoints(){return this._endpoints}set endpoints(value){cdk().traceProperty(this.node,"Endpoints"),this._endpoints=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrArn(){return cdk().Token.asString(this.getAtt("Arn",cdk().ResolutionTypeHint.STRING))}get attrEndpointDetails(){return this.getAtt("EndpointDetails")}get attrId(){return cdk().Token.asString(this.getAtt("Id",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),contactPostPassDurationSeconds:this._contactPostPassDurationSeconds,contactPrePassDurationSeconds:this._contactPrePassDurationSeconds,endpoints:this._endpoints}}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",CfnDataflowEndpointGroupV2.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnDataflowEndpointGroupV2PropsToCloudFormation(props)}}exports.CfnDataflowEndpointGroupV2=CfnDataflowEndpointGroupV2;function CfnDataflowEndpointGroupV2SocketAddressPropertyValidator(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("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("port",cdk().requiredValidator)(properties.port)),errors.collect(cdk().propertyValidator("port",cdk().validateNumber)(properties.port)),errors.wrap('supplied properties not correct for "SocketAddressProperty"')}function convertCfnDataflowEndpointGroupV2SocketAddressPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2SocketAddressPropertyValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),Port:cdk().numberToCloudFormation(properties.port)}):properties}function CfnDataflowEndpointGroupV2SocketAddressPropertyFromCloudFormation(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("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("port","Port",properties.Port!=null?cfn_parse().FromCloudFormation.getNumber(properties.Port):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2ConnectionDetailsPropertyValidator(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("mtu",cdk().validateNumber)(properties.mtu)),errors.collect(cdk().propertyValidator("socketAddress",cdk().requiredValidator)(properties.socketAddress)),errors.collect(cdk().propertyValidator("socketAddress",CfnDataflowEndpointGroupV2SocketAddressPropertyValidator)(properties.socketAddress)),errors.wrap('supplied properties not correct for "ConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupV2ConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2ConnectionDetailsPropertyValidator(properties).assertSuccess(),{Mtu:cdk().numberToCloudFormation(properties.mtu),SocketAddress:convertCfnDataflowEndpointGroupV2SocketAddressPropertyToCloudFormation(properties.socketAddress)}):properties}function CfnDataflowEndpointGroupV2ConnectionDetailsPropertyFromCloudFormation(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("mtu","Mtu",properties.Mtu!=null?cfn_parse().FromCloudFormation.getNumber(properties.Mtu):void 0),ret.addPropertyResult("socketAddress","SocketAddress",properties.SocketAddress!=null?CfnDataflowEndpointGroupV2SocketAddressPropertyFromCloudFormation(properties.SocketAddress):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2IntegerRangePropertyValidator(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("maximum",cdk().requiredValidator)(properties.maximum)),errors.collect(cdk().propertyValidator("maximum",cdk().validateNumber)(properties.maximum)),errors.collect(cdk().propertyValidator("minimum",cdk().requiredValidator)(properties.minimum)),errors.collect(cdk().propertyValidator("minimum",cdk().validateNumber)(properties.minimum)),errors.wrap('supplied properties not correct for "IntegerRangeProperty"')}function convertCfnDataflowEndpointGroupV2IntegerRangePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2IntegerRangePropertyValidator(properties).assertSuccess(),{Maximum:cdk().numberToCloudFormation(properties.maximum),Minimum:cdk().numberToCloudFormation(properties.minimum)}):properties}function CfnDataflowEndpointGroupV2IntegerRangePropertyFromCloudFormation(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("maximum","Maximum",properties.Maximum!=null?cfn_parse().FromCloudFormation.getNumber(properties.Maximum):void 0),ret.addPropertyResult("minimum","Minimum",properties.Minimum!=null?cfn_parse().FromCloudFormation.getNumber(properties.Minimum):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2RangedSocketAddressPropertyValidator(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("name",cdk().requiredValidator)(properties.name)),errors.collect(cdk().propertyValidator("name",cdk().validateString)(properties.name)),errors.collect(cdk().propertyValidator("portRange",cdk().requiredValidator)(properties.portRange)),errors.collect(cdk().propertyValidator("portRange",CfnDataflowEndpointGroupV2IntegerRangePropertyValidator)(properties.portRange)),errors.wrap('supplied properties not correct for "RangedSocketAddressProperty"')}function convertCfnDataflowEndpointGroupV2RangedSocketAddressPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2RangedSocketAddressPropertyValidator(properties).assertSuccess(),{Name:cdk().stringToCloudFormation(properties.name),PortRange:convertCfnDataflowEndpointGroupV2IntegerRangePropertyToCloudFormation(properties.portRange)}):properties}function CfnDataflowEndpointGroupV2RangedSocketAddressPropertyFromCloudFormation(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("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addPropertyResult("portRange","PortRange",properties.PortRange!=null?CfnDataflowEndpointGroupV2IntegerRangePropertyFromCloudFormation(properties.PortRange):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyValidator(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("mtu",cdk().validateNumber)(properties.mtu)),errors.collect(cdk().propertyValidator("socketAddress",cdk().requiredValidator)(properties.socketAddress)),errors.collect(cdk().propertyValidator("socketAddress",CfnDataflowEndpointGroupV2RangedSocketAddressPropertyValidator)(properties.socketAddress)),errors.wrap('supplied properties not correct for "RangedConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyValidator(properties).assertSuccess(),{Mtu:cdk().numberToCloudFormation(properties.mtu),SocketAddress:convertCfnDataflowEndpointGroupV2RangedSocketAddressPropertyToCloudFormation(properties.socketAddress)}):properties}function CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyFromCloudFormation(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("mtu","Mtu",properties.Mtu!=null?cfn_parse().FromCloudFormation.getNumber(properties.Mtu):void 0),ret.addPropertyResult("socketAddress","SocketAddress",properties.SocketAddress!=null?CfnDataflowEndpointGroupV2RangedSocketAddressPropertyFromCloudFormation(properties.SocketAddress):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyValidator(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("agentIpAndPortAddress",cdk().requiredValidator)(properties.agentIpAndPortAddress)),errors.collect(cdk().propertyValidator("agentIpAndPortAddress",CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyValidator)(properties.agentIpAndPortAddress)),errors.collect(cdk().propertyValidator("ingressAddressAndPort",cdk().requiredValidator)(properties.ingressAddressAndPort)),errors.collect(cdk().propertyValidator("ingressAddressAndPort",CfnDataflowEndpointGroupV2ConnectionDetailsPropertyValidator)(properties.ingressAddressAndPort)),errors.wrap('supplied properties not correct for "UplinkConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyValidator(properties).assertSuccess(),{AgentIpAndPortAddress:convertCfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyToCloudFormation(properties.agentIpAndPortAddress),IngressAddressAndPort:convertCfnDataflowEndpointGroupV2ConnectionDetailsPropertyToCloudFormation(properties.ingressAddressAndPort)}):properties}function CfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyFromCloudFormation(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("agentIpAndPortAddress","AgentIpAndPortAddress",properties.AgentIpAndPortAddress!=null?CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyFromCloudFormation(properties.AgentIpAndPortAddress):void 0),ret.addPropertyResult("ingressAddressAndPort","IngressAddressAndPort",properties.IngressAddressAndPort!=null?CfnDataflowEndpointGroupV2ConnectionDetailsPropertyFromCloudFormation(properties.IngressAddressAndPort):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyValidator(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("agentConnectionDetails",cdk().requiredValidator)(properties.agentConnectionDetails)),errors.collect(cdk().propertyValidator("agentConnectionDetails",CfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyValidator)(properties.agentConnectionDetails)),errors.wrap('supplied properties not correct for "UplinkDataflowDetailsProperty"')}function convertCfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyValidator(properties).assertSuccess(),{AgentConnectionDetails:convertCfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyToCloudFormation(properties.agentConnectionDetails)}):properties}function CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyFromCloudFormation(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("agentConnectionDetails","AgentConnectionDetails",properties.AgentConnectionDetails!=null?CfnDataflowEndpointGroupV2UplinkConnectionDetailsPropertyFromCloudFormation(properties.AgentConnectionDetails):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyValidator(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("dataflowDetails",cdk().requiredValidator)(properties.dataflowDetails)),errors.collect(cdk().propertyValidator("dataflowDetails",CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyValidator)(properties.dataflowDetails)),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 "UplinkAwsGroundStationAgentEndpointProperty"')}function convertCfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyValidator(properties).assertSuccess(),{DataflowDetails:convertCfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyToCloudFormation(properties.dataflowDetails),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyFromCloudFormation(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("dataflowDetails","DataflowDetails",properties.DataflowDetails!=null?CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyFromCloudFormation(properties.DataflowDetails):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyValidator(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("agentIpAndPortAddress",cdk().requiredValidator)(properties.agentIpAndPortAddress)),errors.collect(cdk().propertyValidator("agentIpAndPortAddress",CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyValidator)(properties.agentIpAndPortAddress)),errors.collect(cdk().propertyValidator("egressAddressAndPort",cdk().requiredValidator)(properties.egressAddressAndPort)),errors.collect(cdk().propertyValidator("egressAddressAndPort",CfnDataflowEndpointGroupV2ConnectionDetailsPropertyValidator)(properties.egressAddressAndPort)),errors.wrap('supplied properties not correct for "DownlinkConnectionDetailsProperty"')}function convertCfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyValidator(properties).assertSuccess(),{AgentIpAndPortAddress:convertCfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyToCloudFormation(properties.agentIpAndPortAddress),EgressAddressAndPort:convertCfnDataflowEndpointGroupV2ConnectionDetailsPropertyToCloudFormation(properties.egressAddressAndPort)}):properties}function CfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyFromCloudFormation(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("agentIpAndPortAddress","AgentIpAndPortAddress",properties.AgentIpAndPortAddress!=null?CfnDataflowEndpointGroupV2RangedConnectionDetailsPropertyFromCloudFormation(properties.AgentIpAndPortAddress):void 0),ret.addPropertyResult("egressAddressAndPort","EgressAddressAndPort",properties.EgressAddressAndPort!=null?CfnDataflowEndpointGroupV2ConnectionDetailsPropertyFromCloudFormation(properties.EgressAddressAndPort):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyValidator(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("agentConnectionDetails",cdk().requiredValidator)(properties.agentConnectionDetails)),errors.collect(cdk().propertyValidator("agentConnectionDetails",CfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyValidator)(properties.agentConnectionDetails)),errors.wrap('supplied properties not correct for "DownlinkDataflowDetailsProperty"')}function convertCfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyValidator(properties).assertSuccess(),{AgentConnectionDetails:convertCfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyToCloudFormation(properties.agentConnectionDetails)}):properties}function CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyFromCloudFormation(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("agentConnectionDetails","AgentConnectionDetails",properties.AgentConnectionDetails!=null?CfnDataflowEndpointGroupV2DownlinkConnectionDetailsPropertyFromCloudFormation(properties.AgentConnectionDetails):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyValidator(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("dataflowDetails",cdk().requiredValidator)(properties.dataflowDetails)),errors.collect(cdk().propertyValidator("dataflowDetails",CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyValidator)(properties.dataflowDetails)),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 "DownlinkAwsGroundStationAgentEndpointProperty"')}function convertCfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyValidator(properties).assertSuccess(),{DataflowDetails:convertCfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyToCloudFormation(properties.dataflowDetails),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyFromCloudFormation(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("dataflowDetails","DataflowDetails",properties.DataflowDetails!=null?CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyFromCloudFormation(properties.DataflowDetails):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyValidator(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("downlinkAwsGroundStationAgentEndpoint",CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyValidator)(properties.downlinkAwsGroundStationAgentEndpoint)),errors.collect(cdk().propertyValidator("uplinkAwsGroundStationAgentEndpoint",CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyValidator)(properties.uplinkAwsGroundStationAgentEndpoint)),errors.wrap('supplied properties not correct for "CreateEndpointDetailsProperty"')}function convertCfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyValidator(properties).assertSuccess(),{DownlinkAwsGroundStationAgentEndpoint:convertCfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyToCloudFormation(properties.downlinkAwsGroundStationAgentEndpoint),UplinkAwsGroundStationAgentEndpoint:convertCfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyToCloudFormation(properties.uplinkAwsGroundStationAgentEndpoint)}):properties}function CfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyFromCloudFormation(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("downlinkAwsGroundStationAgentEndpoint","DownlinkAwsGroundStationAgentEndpoint",properties.DownlinkAwsGroundStationAgentEndpoint!=null?CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointPropertyFromCloudFormation(properties.DownlinkAwsGroundStationAgentEndpoint):void 0),ret.addPropertyResult("uplinkAwsGroundStationAgentEndpoint","UplinkAwsGroundStationAgentEndpoint",properties.UplinkAwsGroundStationAgentEndpoint!=null?CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointPropertyFromCloudFormation(properties.UplinkAwsGroundStationAgentEndpoint):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyValidator(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("agentStatus",cdk().validateString)(properties.agentStatus)),errors.collect(cdk().propertyValidator("auditResults",cdk().validateString)(properties.auditResults)),errors.collect(cdk().propertyValidator("dataflowDetails",cdk().requiredValidator)(properties.dataflowDetails)),errors.collect(cdk().propertyValidator("dataflowDetails",CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyValidator)(properties.dataflowDetails)),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 "UplinkAwsGroundStationAgentEndpointDetailsProperty"')}function convertCfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyValidator(properties).assertSuccess(),{AgentStatus:cdk().stringToCloudFormation(properties.agentStatus),AuditResults:cdk().stringToCloudFormation(properties.auditResults),DataflowDetails:convertCfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyToCloudFormation(properties.dataflowDetails),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyFromCloudFormation(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("agentStatus","AgentStatus",properties.AgentStatus!=null?cfn_parse().FromCloudFormation.getString(properties.AgentStatus):void 0),ret.addPropertyResult("auditResults","AuditResults",properties.AuditResults!=null?cfn_parse().FromCloudFormation.getString(properties.AuditResults):void 0),ret.addPropertyResult("dataflowDetails","DataflowDetails",properties.DataflowDetails!=null?CfnDataflowEndpointGroupV2UplinkDataflowDetailsPropertyFromCloudFormation(properties.DataflowDetails):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyValidator(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("agentStatus",cdk().validateString)(properties.agentStatus)),errors.collect(cdk().propertyValidator("auditResults",cdk().validateString)(properties.auditResults)),errors.collect(cdk().propertyValidator("dataflowDetails",cdk().requiredValidator)(properties.dataflowDetails)),errors.collect(cdk().propertyValidator("dataflowDetails",CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyValidator)(properties.dataflowDetails)),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 "DownlinkAwsGroundStationAgentEndpointDetailsProperty"')}function convertCfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyValidator(properties).assertSuccess(),{AgentStatus:cdk().stringToCloudFormation(properties.agentStatus),AuditResults:cdk().stringToCloudFormation(properties.auditResults),DataflowDetails:convertCfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyToCloudFormation(properties.dataflowDetails),Name:cdk().stringToCloudFormation(properties.name)}):properties}function CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyFromCloudFormation(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("agentStatus","AgentStatus",properties.AgentStatus!=null?cfn_parse().FromCloudFormation.getString(properties.AgentStatus):void 0),ret.addPropertyResult("auditResults","AuditResults",properties.AuditResults!=null?cfn_parse().FromCloudFormation.getString(properties.AuditResults):void 0),ret.addPropertyResult("dataflowDetails","DataflowDetails",properties.DataflowDetails!=null?CfnDataflowEndpointGroupV2DownlinkDataflowDetailsPropertyFromCloudFormation(properties.DataflowDetails):void 0),ret.addPropertyResult("name","Name",properties.Name!=null?cfn_parse().FromCloudFormation.getString(properties.Name):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2EndpointDetailsPropertyValidator(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("downlinkAwsGroundStationAgentEndpoint",CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyValidator)(properties.downlinkAwsGroundStationAgentEndpoint)),errors.collect(cdk().propertyValidator("uplinkAwsGroundStationAgentEndpoint",CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyValidator)(properties.uplinkAwsGroundStationAgentEndpoint)),errors.wrap('supplied properties not correct for "EndpointDetailsProperty"')}function convertCfnDataflowEndpointGroupV2EndpointDetailsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2EndpointDetailsPropertyValidator(properties).assertSuccess(),{DownlinkAwsGroundStationAgentEndpoint:convertCfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyToCloudFormation(properties.downlinkAwsGroundStationAgentEndpoint),UplinkAwsGroundStationAgentEndpoint:convertCfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyToCloudFormation(properties.uplinkAwsGroundStationAgentEndpoint)}):properties}function CfnDataflowEndpointGroupV2EndpointDetailsPropertyFromCloudFormation(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("downlinkAwsGroundStationAgentEndpoint","DownlinkAwsGroundStationAgentEndpoint",properties.DownlinkAwsGroundStationAgentEndpoint!=null?CfnDataflowEndpointGroupV2DownlinkAwsGroundStationAgentEndpointDetailsPropertyFromCloudFormation(properties.DownlinkAwsGroundStationAgentEndpoint):void 0),ret.addPropertyResult("uplinkAwsGroundStationAgentEndpoint","UplinkAwsGroundStationAgentEndpoint",properties.UplinkAwsGroundStationAgentEndpoint!=null?CfnDataflowEndpointGroupV2UplinkAwsGroundStationAgentEndpointDetailsPropertyFromCloudFormation(properties.UplinkAwsGroundStationAgentEndpoint):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnDataflowEndpointGroupV2PropsValidator(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("contactPostPassDurationSeconds",cdk().validateNumber)(properties.contactPostPassDurationSeconds)),errors.collect(cdk().propertyValidator("contactPrePassDurationSeconds",cdk().validateNumber)(properties.contactPrePassDurationSeconds)),errors.collect(cdk().propertyValidator("endpoints",cdk().listValidator(CfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyValidator))(properties.endpoints)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnDataflowEndpointGroupV2Props"')}function convertCfnDataflowEndpointGroupV2PropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnDataflowEndpointGroupV2PropsValidator(properties).assertSuccess(),{ContactPostPassDurationSeconds:cdk().numberToCloudFormation(properties.contactPostPassDurationSeconds),ContactPrePassDurationSeconds:cdk().numberToCloudFormation(properties.contactPrePassDurationSeconds),Endpoints:cdk().listMapper(convertCfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyToCloudFormation)(properties.endpoints),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnDataflowEndpointGroupV2PropsFromCloudFormation(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("contactPostPassDurationSeconds","ContactPostPassDurationSeconds",properties.ContactPostPassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPostPassDurationSeconds):void 0),ret.addPropertyResult("contactPrePassDurationSeconds","ContactPrePassDurationSeconds",properties.ContactPrePassDurationSeconds!=null?cfn_parse().FromCloudFormation.getNumber(properties.ContactPrePassDurationSeconds):void 0),ret.addPropertyResult("endpoints","Endpoints",properties.Endpoints!=null?cfn_parse().FromCloudFormation.getArray(CfnDataflowEndpointGroupV2CreateEndpointDetailsPropertyFromCloudFormation)(properties.Endpoints):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}
|