2 lines
116 KiB
JavaScript
2 lines
116 KiB
JavaScript
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnOdbPeeringConnection=exports.CfnOdbNetwork=exports.CfnCloudVmCluster=exports.CfnCloudExadataInfrastructure=exports.CfnCloudAutonomousVmCluster=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 CfnCloudAutonomousVmCluster extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_odb.CfnCloudAutonomousVmCluster",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::ODB::CloudAutonomousVmCluster";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnCloudAutonomousVmClusterPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnCloudAutonomousVmCluster(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 isCfnCloudAutonomousVmCluster(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnCloudAutonomousVmCluster.CFN_RESOURCE_TYPE_NAME}static arnForCloudAutonomousVmCluster(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_odb_ICloudAutonomousVmClusterRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForCloudAutonomousVmCluster),error}return resource.cloudAutonomousVmClusterRef.cloudAutonomousVmClusterArn}_autonomousDataStorageSizeInTBs;cdkTagManager;_cloudExadataInfrastructureId;_cpuCoreCountPerNode;_dbServers;_description;_displayName;_iamRoles;_isMtlsEnabledVmCluster;_licenseModel;_maintenanceWindow;_memoryPerOracleComputeUnitInGBs;_odbNetworkId;_scanListenerPortNonTls;_scanListenerPortTls;_tags;_timeZone;_totalContainerDatabases;cfnPropertyNames={autonomousDataStorageSizeInTBs:"AutonomousDataStorageSizeInTBs",tags:"Tags",cloudExadataInfrastructureId:"CloudExadataInfrastructureId",cpuCoreCountPerNode:"CpuCoreCountPerNode",dbServers:"DbServers",description:"Description",displayName:"DisplayName",iamRoles:"IamRoles",isMtlsEnabledVmCluster:"IsMtlsEnabledVmCluster",licenseModel:"LicenseModel",maintenanceWindow:"MaintenanceWindow",memoryPerOracleComputeUnitInGBs:"MemoryPerOracleComputeUnitInGBs",odbNetworkId:"OdbNetworkId",scanListenerPortNonTls:"ScanListenerPortNonTls",scanListenerPortTls:"ScanListenerPortTls",timeZone:"TimeZone",totalContainerDatabases:"TotalContainerDatabases"};constructor(scope,id,props={}){super(scope,id,{type:CfnCloudAutonomousVmCluster.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_odb_CfnCloudAutonomousVmClusterProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnCloudAutonomousVmCluster),error}this._autonomousDataStorageSizeInTBs=props.autonomousDataStorageSizeInTBs,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::ODB::CloudAutonomousVmCluster",void 0,{tagPropertyName:"tags"}),this._cloudExadataInfrastructureId=props.cloudExadataInfrastructureId,this._cpuCoreCountPerNode=props.cpuCoreCountPerNode,this._dbServers=props.dbServers,this._description=props.description,this._displayName=props.displayName,this._iamRoles=props.iamRoles,this._isMtlsEnabledVmCluster=props.isMtlsEnabledVmCluster,this._licenseModel=props.licenseModel,this._maintenanceWindow=props.maintenanceWindow,this._memoryPerOracleComputeUnitInGBs=props.memoryPerOracleComputeUnitInGBs,this._odbNetworkId=props.odbNetworkId,this._scanListenerPortNonTls=props.scanListenerPortNonTls,this._scanListenerPortTls=props.scanListenerPortTls,this._tags=props.tags,this._timeZone=props.timeZone,this._totalContainerDatabases=props.totalContainerDatabases}get cloudAutonomousVmClusterRef(){return{cloudAutonomousVmClusterArn:this.ref}}get autonomousDataStorageSizeInTBs(){return this._autonomousDataStorageSizeInTBs}set autonomousDataStorageSizeInTBs(value){cdk().traceProperty(this.node,"AutonomousDataStorageSizeInTBs"),this._autonomousDataStorageSizeInTBs=value}get cloudExadataInfrastructureId(){return this._cloudExadataInfrastructureId}set cloudExadataInfrastructureId(value){cdk().traceProperty(this.node,"CloudExadataInfrastructureId"),this._cloudExadataInfrastructureId=value}get cpuCoreCountPerNode(){return this._cpuCoreCountPerNode}set cpuCoreCountPerNode(value){cdk().traceProperty(this.node,"CpuCoreCountPerNode"),this._cpuCoreCountPerNode=value}get dbServers(){return this._dbServers}set dbServers(value){cdk().traceProperty(this.node,"DbServers"),this._dbServers=value}get description(){return this._description}set description(value){cdk().traceProperty(this.node,"Description"),this._description=value}get displayName(){return this._displayName}set displayName(value){cdk().traceProperty(this.node,"DisplayName"),this._displayName=value}get iamRoles(){return this._iamRoles}set iamRoles(value){cdk().traceProperty(this.node,"IamRoles"),this._iamRoles=value}get isMtlsEnabledVmCluster(){return this._isMtlsEnabledVmCluster}set isMtlsEnabledVmCluster(value){cdk().traceProperty(this.node,"IsMtlsEnabledVmCluster"),this._isMtlsEnabledVmCluster=value}get licenseModel(){return this._licenseModel}set licenseModel(value){cdk().traceProperty(this.node,"LicenseModel"),this._licenseModel=value}get maintenanceWindow(){return this._maintenanceWindow}set maintenanceWindow(value){cdk().traceProperty(this.node,"MaintenanceWindow"),this._maintenanceWindow=value}get memoryPerOracleComputeUnitInGBs(){return this._memoryPerOracleComputeUnitInGBs}set memoryPerOracleComputeUnitInGBs(value){cdk().traceProperty(this.node,"MemoryPerOracleComputeUnitInGBs"),this._memoryPerOracleComputeUnitInGBs=value}get odbNetworkId(){return this._odbNetworkId}set odbNetworkId(value){cdk().traceProperty(this.node,"OdbNetworkId"),this._odbNetworkId=value}get scanListenerPortNonTls(){return this._scanListenerPortNonTls}set scanListenerPortNonTls(value){cdk().traceProperty(this.node,"ScanListenerPortNonTls"),this._scanListenerPortNonTls=value}get scanListenerPortTls(){return this._scanListenerPortTls}set scanListenerPortTls(value){cdk().traceProperty(this.node,"ScanListenerPortTls"),this._scanListenerPortTls=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get timeZone(){return this._timeZone}set timeZone(value){cdk().traceProperty(this.node,"TimeZone"),this._timeZone=value}get totalContainerDatabases(){return this._totalContainerDatabases}set totalContainerDatabases(value){cdk().traceProperty(this.node,"TotalContainerDatabases"),this._totalContainerDatabases=value}get attrAutonomousDataStoragePercentage(){return this.getAtt("AutonomousDataStoragePercentage",cdk().ResolutionTypeHint.NUMBER)}get attrAvailableAutonomousDataStorageSizeInTBs(){return this.getAtt("AvailableAutonomousDataStorageSizeInTBs",cdk().ResolutionTypeHint.NUMBER)}get attrAvailableContainerDatabases(){return cdk().Token.asNumber(this.getAtt("AvailableContainerDatabases",cdk().ResolutionTypeHint.NUMBER))}get attrAvailableCpus(){return this.getAtt("AvailableCpus",cdk().ResolutionTypeHint.NUMBER)}get attrCloudAutonomousVmClusterArn(){return cdk().Token.asString(this.getAtt("CloudAutonomousVmClusterArn",cdk().ResolutionTypeHint.STRING))}get attrCloudAutonomousVmClusterId(){return cdk().Token.asString(this.getAtt("CloudAutonomousVmClusterId",cdk().ResolutionTypeHint.STRING))}get attrComputeModel(){return cdk().Token.asString(this.getAtt("ComputeModel",cdk().ResolutionTypeHint.STRING))}get attrCpuCoreCount(){return cdk().Token.asNumber(this.getAtt("CpuCoreCount",cdk().ResolutionTypeHint.NUMBER))}get attrCpuPercentage(){return this.getAtt("CpuPercentage",cdk().ResolutionTypeHint.NUMBER)}get attrDataStorageSizeInGBs(){return this.getAtt("DataStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER)}get attrDataStorageSizeInTBs(){return this.getAtt("DataStorageSizeInTBs",cdk().ResolutionTypeHint.NUMBER)}get attrDbNodeStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("DbNodeStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrDomain(){return cdk().Token.asString(this.getAtt("Domain",cdk().ResolutionTypeHint.STRING))}get attrExadataStorageInTBsLowestScaledValue(){return this.getAtt("ExadataStorageInTBsLowestScaledValue",cdk().ResolutionTypeHint.NUMBER)}get attrHostname(){return cdk().Token.asString(this.getAtt("Hostname",cdk().ResolutionTypeHint.STRING))}get attrMaxAcdsLowestScaledValue(){return cdk().Token.asNumber(this.getAtt("MaxAcdsLowestScaledValue",cdk().ResolutionTypeHint.NUMBER))}get attrMemorySizeInGBs(){return cdk().Token.asNumber(this.getAtt("MemorySizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrNodeCount(){return cdk().Token.asNumber(this.getAtt("NodeCount",cdk().ResolutionTypeHint.NUMBER))}get attrNonProvisionableAutonomousContainerDatabases(){return cdk().Token.asNumber(this.getAtt("NonProvisionableAutonomousContainerDatabases",cdk().ResolutionTypeHint.NUMBER))}get attrOcid(){return cdk().Token.asString(this.getAtt("Ocid",cdk().ResolutionTypeHint.STRING))}get attrOciResourceAnchorName(){return cdk().Token.asString(this.getAtt("OciResourceAnchorName",cdk().ResolutionTypeHint.STRING))}get attrOciUrl(){return cdk().Token.asString(this.getAtt("OciUrl",cdk().ResolutionTypeHint.STRING))}get attrProvisionableAutonomousContainerDatabases(){return cdk().Token.asNumber(this.getAtt("ProvisionableAutonomousContainerDatabases",cdk().ResolutionTypeHint.NUMBER))}get attrProvisionedAutonomousContainerDatabases(){return cdk().Token.asNumber(this.getAtt("ProvisionedAutonomousContainerDatabases",cdk().ResolutionTypeHint.NUMBER))}get attrProvisionedCpus(){return this.getAtt("ProvisionedCpus",cdk().ResolutionTypeHint.NUMBER)}get attrReclaimableCpus(){return this.getAtt("ReclaimableCpus",cdk().ResolutionTypeHint.NUMBER)}get attrReservedCpus(){return this.getAtt("ReservedCpus",cdk().ResolutionTypeHint.NUMBER)}get attrShape(){return cdk().Token.asString(this.getAtt("Shape",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{autonomousDataStorageSizeInTBs:this._autonomousDataStorageSizeInTBs,tags:this.cdkTagManager.renderTags(this._tags),cloudExadataInfrastructureId:this._cloudExadataInfrastructureId,cpuCoreCountPerNode:this._cpuCoreCountPerNode,dbServers:this._dbServers,description:this._description,displayName:this._displayName,iamRoles:this._iamRoles,isMtlsEnabledVmCluster:this._isMtlsEnabledVmCluster,licenseModel:this._licenseModel,maintenanceWindow:this._maintenanceWindow,memoryPerOracleComputeUnitInGBs:this._memoryPerOracleComputeUnitInGBs,odbNetworkId:this._odbNetworkId,scanListenerPortNonTls:this._scanListenerPortNonTls,scanListenerPortTls:this._scanListenerPortTls,timeZone:this._timeZone,totalContainerDatabases:this._totalContainerDatabases}}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",CfnCloudAutonomousVmCluster.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnCloudAutonomousVmClusterPropsToCloudFormation(props)}}exports.CfnCloudAutonomousVmCluster=CfnCloudAutonomousVmCluster;function CfnCloudAutonomousVmClusterMaintenanceWindowPropertyValidator(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("daysOfWeek",cdk().listValidator(cdk().validateString))(properties.daysOfWeek)),errors.collect(cdk().propertyValidator("hoursOfDay",cdk().listValidator(cdk().validateNumber))(properties.hoursOfDay)),errors.collect(cdk().propertyValidator("leadTimeInWeeks",cdk().validateNumber)(properties.leadTimeInWeeks)),errors.collect(cdk().propertyValidator("months",cdk().listValidator(cdk().validateString))(properties.months)),errors.collect(cdk().propertyValidator("preference",cdk().validateString)(properties.preference)),errors.collect(cdk().propertyValidator("weeksOfMonth",cdk().listValidator(cdk().validateNumber))(properties.weeksOfMonth)),errors.wrap('supplied properties not correct for "MaintenanceWindowProperty"')}function convertCfnCloudAutonomousVmClusterMaintenanceWindowPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudAutonomousVmClusterMaintenanceWindowPropertyValidator(properties).assertSuccess(),{DaysOfWeek:cdk().listMapper(cdk().stringToCloudFormation)(properties.daysOfWeek),HoursOfDay:cdk().listMapper(cdk().numberToCloudFormation)(properties.hoursOfDay),LeadTimeInWeeks:cdk().numberToCloudFormation(properties.leadTimeInWeeks),Months:cdk().listMapper(cdk().stringToCloudFormation)(properties.months),Preference:cdk().stringToCloudFormation(properties.preference),WeeksOfMonth:cdk().listMapper(cdk().numberToCloudFormation)(properties.weeksOfMonth)}):properties}function CfnCloudAutonomousVmClusterMaintenanceWindowPropertyFromCloudFormation(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("daysOfWeek","DaysOfWeek",properties.DaysOfWeek!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DaysOfWeek):void 0),ret.addPropertyResult("hoursOfDay","HoursOfDay",properties.HoursOfDay!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getNumber)(properties.HoursOfDay):void 0),ret.addPropertyResult("leadTimeInWeeks","LeadTimeInWeeks",properties.LeadTimeInWeeks!=null?cfn_parse().FromCloudFormation.getNumber(properties.LeadTimeInWeeks):void 0),ret.addPropertyResult("months","Months",properties.Months!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Months):void 0),ret.addPropertyResult("preference","Preference",properties.Preference!=null?cfn_parse().FromCloudFormation.getString(properties.Preference):void 0),ret.addPropertyResult("weeksOfMonth","WeeksOfMonth",properties.WeeksOfMonth!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getNumber)(properties.WeeksOfMonth):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudAutonomousVmClusterIamRolePropertyValidator(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("awsIntegration",cdk().validateString)(properties.awsIntegration)),errors.collect(cdk().propertyValidator("iamRoleArn",cdk().validateString)(properties.iamRoleArn)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "IamRoleProperty"')}function convertCfnCloudAutonomousVmClusterIamRolePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudAutonomousVmClusterIamRolePropertyValidator(properties).assertSuccess(),{AwsIntegration:cdk().stringToCloudFormation(properties.awsIntegration),IamRoleArn:cdk().stringToCloudFormation(properties.iamRoleArn),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnCloudAutonomousVmClusterIamRolePropertyFromCloudFormation(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("awsIntegration","AwsIntegration",properties.AwsIntegration!=null?cfn_parse().FromCloudFormation.getString(properties.AwsIntegration):void 0),ret.addPropertyResult("iamRoleArn","IamRoleArn",properties.IamRoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.IamRoleArn):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudAutonomousVmClusterPropsValidator(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("autonomousDataStorageSizeInTBs",cdk().validateNumber)(properties.autonomousDataStorageSizeInTBs)),errors.collect(cdk().propertyValidator("cloudExadataInfrastructureId",cdk().validateString)(properties.cloudExadataInfrastructureId)),errors.collect(cdk().propertyValidator("cpuCoreCountPerNode",cdk().validateNumber)(properties.cpuCoreCountPerNode)),errors.collect(cdk().propertyValidator("dbServers",cdk().listValidator(cdk().validateString))(properties.dbServers)),errors.collect(cdk().propertyValidator("description",cdk().validateString)(properties.description)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("iamRoles",cdk().listValidator(CfnCloudAutonomousVmClusterIamRolePropertyValidator))(properties.iamRoles)),errors.collect(cdk().propertyValidator("isMtlsEnabledVmCluster",cdk().validateBoolean)(properties.isMtlsEnabledVmCluster)),errors.collect(cdk().propertyValidator("licenseModel",cdk().validateString)(properties.licenseModel)),errors.collect(cdk().propertyValidator("maintenanceWindow",CfnCloudAutonomousVmClusterMaintenanceWindowPropertyValidator)(properties.maintenanceWindow)),errors.collect(cdk().propertyValidator("memoryPerOracleComputeUnitInGBs",cdk().validateNumber)(properties.memoryPerOracleComputeUnitInGBs)),errors.collect(cdk().propertyValidator("odbNetworkId",cdk().validateString)(properties.odbNetworkId)),errors.collect(cdk().propertyValidator("scanListenerPortNonTls",cdk().validateNumber)(properties.scanListenerPortNonTls)),errors.collect(cdk().propertyValidator("scanListenerPortTls",cdk().validateNumber)(properties.scanListenerPortTls)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("timeZone",cdk().validateString)(properties.timeZone)),errors.collect(cdk().propertyValidator("totalContainerDatabases",cdk().validateNumber)(properties.totalContainerDatabases)),errors.wrap('supplied properties not correct for "CfnCloudAutonomousVmClusterProps"')}function convertCfnCloudAutonomousVmClusterPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudAutonomousVmClusterPropsValidator(properties).assertSuccess(),{AutonomousDataStorageSizeInTBs:cdk().numberToCloudFormation(properties.autonomousDataStorageSizeInTBs),CloudExadataInfrastructureId:cdk().stringToCloudFormation(properties.cloudExadataInfrastructureId),CpuCoreCountPerNode:cdk().numberToCloudFormation(properties.cpuCoreCountPerNode),DbServers:cdk().listMapper(cdk().stringToCloudFormation)(properties.dbServers),Description:cdk().stringToCloudFormation(properties.description),DisplayName:cdk().stringToCloudFormation(properties.displayName),IamRoles:cdk().listMapper(convertCfnCloudAutonomousVmClusterIamRolePropertyToCloudFormation)(properties.iamRoles),IsMtlsEnabledVmCluster:cdk().booleanToCloudFormation(properties.isMtlsEnabledVmCluster),LicenseModel:cdk().stringToCloudFormation(properties.licenseModel),MaintenanceWindow:convertCfnCloudAutonomousVmClusterMaintenanceWindowPropertyToCloudFormation(properties.maintenanceWindow),MemoryPerOracleComputeUnitInGBs:cdk().numberToCloudFormation(properties.memoryPerOracleComputeUnitInGBs),OdbNetworkId:cdk().stringToCloudFormation(properties.odbNetworkId),ScanListenerPortNonTls:cdk().numberToCloudFormation(properties.scanListenerPortNonTls),ScanListenerPortTls:cdk().numberToCloudFormation(properties.scanListenerPortTls),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),TimeZone:cdk().stringToCloudFormation(properties.timeZone),TotalContainerDatabases:cdk().numberToCloudFormation(properties.totalContainerDatabases)}):properties}function CfnCloudAutonomousVmClusterPropsFromCloudFormation(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("autonomousDataStorageSizeInTBs","AutonomousDataStorageSizeInTBs",properties.AutonomousDataStorageSizeInTBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.AutonomousDataStorageSizeInTBs):void 0),ret.addPropertyResult("cloudExadataInfrastructureId","CloudExadataInfrastructureId",properties.CloudExadataInfrastructureId!=null?cfn_parse().FromCloudFormation.getString(properties.CloudExadataInfrastructureId):void 0),ret.addPropertyResult("cpuCoreCountPerNode","CpuCoreCountPerNode",properties.CpuCoreCountPerNode!=null?cfn_parse().FromCloudFormation.getNumber(properties.CpuCoreCountPerNode):void 0),ret.addPropertyResult("dbServers","DbServers",properties.DbServers!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DbServers):void 0),ret.addPropertyResult("description","Description",properties.Description!=null?cfn_parse().FromCloudFormation.getString(properties.Description):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("iamRoles","IamRoles",properties.IamRoles!=null?cfn_parse().FromCloudFormation.getArray(CfnCloudAutonomousVmClusterIamRolePropertyFromCloudFormation)(properties.IamRoles):void 0),ret.addPropertyResult("isMtlsEnabledVmCluster","IsMtlsEnabledVmCluster",properties.IsMtlsEnabledVmCluster!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsMtlsEnabledVmCluster):void 0),ret.addPropertyResult("licenseModel","LicenseModel",properties.LicenseModel!=null?cfn_parse().FromCloudFormation.getString(properties.LicenseModel):void 0),ret.addPropertyResult("maintenanceWindow","MaintenanceWindow",properties.MaintenanceWindow!=null?CfnCloudAutonomousVmClusterMaintenanceWindowPropertyFromCloudFormation(properties.MaintenanceWindow):void 0),ret.addPropertyResult("memoryPerOracleComputeUnitInGBs","MemoryPerOracleComputeUnitInGBs",properties.MemoryPerOracleComputeUnitInGBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.MemoryPerOracleComputeUnitInGBs):void 0),ret.addPropertyResult("odbNetworkId","OdbNetworkId",properties.OdbNetworkId!=null?cfn_parse().FromCloudFormation.getString(properties.OdbNetworkId):void 0),ret.addPropertyResult("scanListenerPortNonTls","ScanListenerPortNonTls",properties.ScanListenerPortNonTls!=null?cfn_parse().FromCloudFormation.getNumber(properties.ScanListenerPortNonTls):void 0),ret.addPropertyResult("scanListenerPortTls","ScanListenerPortTls",properties.ScanListenerPortTls!=null?cfn_parse().FromCloudFormation.getNumber(properties.ScanListenerPortTls):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("timeZone","TimeZone",properties.TimeZone!=null?cfn_parse().FromCloudFormation.getString(properties.TimeZone):void 0),ret.addPropertyResult("totalContainerDatabases","TotalContainerDatabases",properties.TotalContainerDatabases!=null?cfn_parse().FromCloudFormation.getNumber(properties.TotalContainerDatabases):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnCloudExadataInfrastructure extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_odb.CfnCloudExadataInfrastructure",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::ODB::CloudExadataInfrastructure";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnCloudExadataInfrastructurePropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnCloudExadataInfrastructure(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 isCfnCloudExadataInfrastructure(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnCloudExadataInfrastructure.CFN_RESOURCE_TYPE_NAME}static arnForCloudExadataInfrastructure(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_odb_ICloudExadataInfrastructureRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForCloudExadataInfrastructure),error}return resource.cloudExadataInfrastructureRef.cloudExadataInfrastructureArn}_availabilityZone;_availabilityZoneId;cdkTagManager;_computeCount;_customerContactsToSendToOci;_databaseServerType;_displayName;_maintenanceWindow;_shape;_storageCount;_storageServerType;_tags;cfnPropertyNames={availabilityZone:"AvailabilityZone",availabilityZoneId:"AvailabilityZoneId",tags:"Tags",computeCount:"ComputeCount",customerContactsToSendToOci:"CustomerContactsToSendToOCI",databaseServerType:"DatabaseServerType",displayName:"DisplayName",maintenanceWindow:"MaintenanceWindow",shape:"Shape",storageCount:"StorageCount",storageServerType:"StorageServerType"};constructor(scope,id,props={}){super(scope,id,{type:CfnCloudExadataInfrastructure.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_odb_CfnCloudExadataInfrastructureProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnCloudExadataInfrastructure),error}this._availabilityZone=props.availabilityZone,this._availabilityZoneId=props.availabilityZoneId,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::ODB::CloudExadataInfrastructure",void 0,{tagPropertyName:"tags"}),this._computeCount=props.computeCount,this._customerContactsToSendToOci=props.customerContactsToSendToOci,this._databaseServerType=props.databaseServerType,this._displayName=props.displayName,this._maintenanceWindow=props.maintenanceWindow,this._shape=props.shape,this._storageCount=props.storageCount,this._storageServerType=props.storageServerType,this._tags=props.tags}get cloudExadataInfrastructureRef(){return{cloudExadataInfrastructureArn:this.ref}}get availabilityZone(){return this._availabilityZone}set availabilityZone(value){cdk().traceProperty(this.node,"AvailabilityZone"),this._availabilityZone=value}get availabilityZoneId(){return this._availabilityZoneId}set availabilityZoneId(value){cdk().traceProperty(this.node,"AvailabilityZoneId"),this._availabilityZoneId=value}get computeCount(){return this._computeCount}set computeCount(value){cdk().traceProperty(this.node,"ComputeCount"),this._computeCount=value}get customerContactsToSendToOci(){return this._customerContactsToSendToOci}set customerContactsToSendToOci(value){cdk().traceProperty(this.node,"CustomerContactsToSendToOCI"),this._customerContactsToSendToOci=value}get databaseServerType(){return this._databaseServerType}set databaseServerType(value){cdk().traceProperty(this.node,"DatabaseServerType"),this._databaseServerType=value}get displayName(){return this._displayName}set displayName(value){cdk().traceProperty(this.node,"DisplayName"),this._displayName=value}get maintenanceWindow(){return this._maintenanceWindow}set maintenanceWindow(value){cdk().traceProperty(this.node,"MaintenanceWindow"),this._maintenanceWindow=value}get shape(){return this._shape}set shape(value){cdk().traceProperty(this.node,"Shape"),this._shape=value}get storageCount(){return this._storageCount}set storageCount(value){cdk().traceProperty(this.node,"StorageCount"),this._storageCount=value}get storageServerType(){return this._storageServerType}set storageServerType(value){cdk().traceProperty(this.node,"StorageServerType"),this._storageServerType=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrActivatedStorageCount(){return cdk().Token.asNumber(this.getAtt("ActivatedStorageCount",cdk().ResolutionTypeHint.NUMBER))}get attrAdditionalStorageCount(){return cdk().Token.asNumber(this.getAtt("AdditionalStorageCount",cdk().ResolutionTypeHint.NUMBER))}get attrAvailableStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("AvailableStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrCloudExadataInfrastructureArn(){return cdk().Token.asString(this.getAtt("CloudExadataInfrastructureArn",cdk().ResolutionTypeHint.STRING))}get attrCloudExadataInfrastructureId(){return cdk().Token.asString(this.getAtt("CloudExadataInfrastructureId",cdk().ResolutionTypeHint.STRING))}get attrComputeModel(){return cdk().Token.asString(this.getAtt("ComputeModel",cdk().ResolutionTypeHint.STRING))}get attrCpuCount(){return cdk().Token.asNumber(this.getAtt("CpuCount",cdk().ResolutionTypeHint.NUMBER))}get attrDataStorageSizeInTBs(){return this.getAtt("DataStorageSizeInTBs",cdk().ResolutionTypeHint.NUMBER)}get attrDbNodeStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("DbNodeStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrDbServerIds(){return cdk().Token.asList(this.getAtt("DbServerIds",cdk().ResolutionTypeHint.STRING_LIST))}get attrDbServerVersion(){return cdk().Token.asString(this.getAtt("DbServerVersion",cdk().ResolutionTypeHint.STRING))}get attrMaxCpuCount(){return cdk().Token.asNumber(this.getAtt("MaxCpuCount",cdk().ResolutionTypeHint.NUMBER))}get attrMaxDataStorageInTBs(){return this.getAtt("MaxDataStorageInTBs",cdk().ResolutionTypeHint.NUMBER)}get attrMaxDbNodeStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("MaxDbNodeStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrMaxMemoryInGBs(){return cdk().Token.asNumber(this.getAtt("MaxMemoryInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrMemorySizeInGBs(){return cdk().Token.asNumber(this.getAtt("MemorySizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrOcid(){return cdk().Token.asString(this.getAtt("Ocid",cdk().ResolutionTypeHint.STRING))}get attrOciResourceAnchorName(){return cdk().Token.asString(this.getAtt("OciResourceAnchorName",cdk().ResolutionTypeHint.STRING))}get attrOciUrl(){return cdk().Token.asString(this.getAtt("OciUrl",cdk().ResolutionTypeHint.STRING))}get attrStorageServerVersion(){return cdk().Token.asString(this.getAtt("StorageServerVersion",cdk().ResolutionTypeHint.STRING))}get attrTotalStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("TotalStorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get cfnProperties(){return{availabilityZone:this._availabilityZone,availabilityZoneId:this._availabilityZoneId,tags:this.cdkTagManager.renderTags(this._tags),computeCount:this._computeCount,customerContactsToSendToOci:this._customerContactsToSendToOci,databaseServerType:this._databaseServerType,displayName:this._displayName,maintenanceWindow:this._maintenanceWindow,shape:this._shape,storageCount:this._storageCount,storageServerType:this._storageServerType}}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",CfnCloudExadataInfrastructure.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnCloudExadataInfrastructurePropsToCloudFormation(props)}}exports.CfnCloudExadataInfrastructure=CfnCloudExadataInfrastructure;function CfnCloudExadataInfrastructureMaintenanceWindowPropertyValidator(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("customActionTimeoutInMins",cdk().validateNumber)(properties.customActionTimeoutInMins)),errors.collect(cdk().propertyValidator("daysOfWeek",cdk().listValidator(cdk().validateString))(properties.daysOfWeek)),errors.collect(cdk().propertyValidator("hoursOfDay",cdk().listValidator(cdk().validateNumber))(properties.hoursOfDay)),errors.collect(cdk().propertyValidator("isCustomActionTimeoutEnabled",cdk().validateBoolean)(properties.isCustomActionTimeoutEnabled)),errors.collect(cdk().propertyValidator("leadTimeInWeeks",cdk().validateNumber)(properties.leadTimeInWeeks)),errors.collect(cdk().propertyValidator("months",cdk().listValidator(cdk().validateString))(properties.months)),errors.collect(cdk().propertyValidator("patchingMode",cdk().validateString)(properties.patchingMode)),errors.collect(cdk().propertyValidator("preference",cdk().validateString)(properties.preference)),errors.collect(cdk().propertyValidator("weeksOfMonth",cdk().listValidator(cdk().validateNumber))(properties.weeksOfMonth)),errors.wrap('supplied properties not correct for "MaintenanceWindowProperty"')}function convertCfnCloudExadataInfrastructureMaintenanceWindowPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudExadataInfrastructureMaintenanceWindowPropertyValidator(properties).assertSuccess(),{CustomActionTimeoutInMins:cdk().numberToCloudFormation(properties.customActionTimeoutInMins),DaysOfWeek:cdk().listMapper(cdk().stringToCloudFormation)(properties.daysOfWeek),HoursOfDay:cdk().listMapper(cdk().numberToCloudFormation)(properties.hoursOfDay),IsCustomActionTimeoutEnabled:cdk().booleanToCloudFormation(properties.isCustomActionTimeoutEnabled),LeadTimeInWeeks:cdk().numberToCloudFormation(properties.leadTimeInWeeks),Months:cdk().listMapper(cdk().stringToCloudFormation)(properties.months),PatchingMode:cdk().stringToCloudFormation(properties.patchingMode),Preference:cdk().stringToCloudFormation(properties.preference),WeeksOfMonth:cdk().listMapper(cdk().numberToCloudFormation)(properties.weeksOfMonth)}):properties}function CfnCloudExadataInfrastructureMaintenanceWindowPropertyFromCloudFormation(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("customActionTimeoutInMins","CustomActionTimeoutInMins",properties.CustomActionTimeoutInMins!=null?cfn_parse().FromCloudFormation.getNumber(properties.CustomActionTimeoutInMins):void 0),ret.addPropertyResult("daysOfWeek","DaysOfWeek",properties.DaysOfWeek!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DaysOfWeek):void 0),ret.addPropertyResult("hoursOfDay","HoursOfDay",properties.HoursOfDay!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getNumber)(properties.HoursOfDay):void 0),ret.addPropertyResult("isCustomActionTimeoutEnabled","IsCustomActionTimeoutEnabled",properties.IsCustomActionTimeoutEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsCustomActionTimeoutEnabled):void 0),ret.addPropertyResult("leadTimeInWeeks","LeadTimeInWeeks",properties.LeadTimeInWeeks!=null?cfn_parse().FromCloudFormation.getNumber(properties.LeadTimeInWeeks):void 0),ret.addPropertyResult("months","Months",properties.Months!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Months):void 0),ret.addPropertyResult("patchingMode","PatchingMode",properties.PatchingMode!=null?cfn_parse().FromCloudFormation.getString(properties.PatchingMode):void 0),ret.addPropertyResult("preference","Preference",properties.Preference!=null?cfn_parse().FromCloudFormation.getString(properties.Preference):void 0),ret.addPropertyResult("weeksOfMonth","WeeksOfMonth",properties.WeeksOfMonth!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getNumber)(properties.WeeksOfMonth):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudExadataInfrastructureCustomerContactPropertyValidator(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("email",cdk().validateString)(properties.email)),errors.wrap('supplied properties not correct for "CustomerContactProperty"')}function convertCfnCloudExadataInfrastructureCustomerContactPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudExadataInfrastructureCustomerContactPropertyValidator(properties).assertSuccess(),{Email:cdk().stringToCloudFormation(properties.email)}):properties}function CfnCloudExadataInfrastructureCustomerContactPropertyFromCloudFormation(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("email","Email",properties.Email!=null?cfn_parse().FromCloudFormation.getString(properties.Email):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudExadataInfrastructurePropsValidator(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("availabilityZone",cdk().validateString)(properties.availabilityZone)),errors.collect(cdk().propertyValidator("availabilityZoneId",cdk().validateString)(properties.availabilityZoneId)),errors.collect(cdk().propertyValidator("computeCount",cdk().validateNumber)(properties.computeCount)),errors.collect(cdk().propertyValidator("customerContactsToSendToOci",cdk().listValidator(CfnCloudExadataInfrastructureCustomerContactPropertyValidator))(properties.customerContactsToSendToOci)),errors.collect(cdk().propertyValidator("databaseServerType",cdk().validateString)(properties.databaseServerType)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("maintenanceWindow",CfnCloudExadataInfrastructureMaintenanceWindowPropertyValidator)(properties.maintenanceWindow)),errors.collect(cdk().propertyValidator("shape",cdk().validateString)(properties.shape)),errors.collect(cdk().propertyValidator("storageCount",cdk().validateNumber)(properties.storageCount)),errors.collect(cdk().propertyValidator("storageServerType",cdk().validateString)(properties.storageServerType)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnCloudExadataInfrastructureProps"')}function convertCfnCloudExadataInfrastructurePropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudExadataInfrastructurePropsValidator(properties).assertSuccess(),{AvailabilityZone:cdk().stringToCloudFormation(properties.availabilityZone),AvailabilityZoneId:cdk().stringToCloudFormation(properties.availabilityZoneId),ComputeCount:cdk().numberToCloudFormation(properties.computeCount),CustomerContactsToSendToOCI:cdk().listMapper(convertCfnCloudExadataInfrastructureCustomerContactPropertyToCloudFormation)(properties.customerContactsToSendToOci),DatabaseServerType:cdk().stringToCloudFormation(properties.databaseServerType),DisplayName:cdk().stringToCloudFormation(properties.displayName),MaintenanceWindow:convertCfnCloudExadataInfrastructureMaintenanceWindowPropertyToCloudFormation(properties.maintenanceWindow),Shape:cdk().stringToCloudFormation(properties.shape),StorageCount:cdk().numberToCloudFormation(properties.storageCount),StorageServerType:cdk().stringToCloudFormation(properties.storageServerType),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnCloudExadataInfrastructurePropsFromCloudFormation(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("availabilityZone","AvailabilityZone",properties.AvailabilityZone!=null?cfn_parse().FromCloudFormation.getString(properties.AvailabilityZone):void 0),ret.addPropertyResult("availabilityZoneId","AvailabilityZoneId",properties.AvailabilityZoneId!=null?cfn_parse().FromCloudFormation.getString(properties.AvailabilityZoneId):void 0),ret.addPropertyResult("computeCount","ComputeCount",properties.ComputeCount!=null?cfn_parse().FromCloudFormation.getNumber(properties.ComputeCount):void 0),ret.addPropertyResult("customerContactsToSendToOci","CustomerContactsToSendToOCI",properties.CustomerContactsToSendToOCI!=null?cfn_parse().FromCloudFormation.getArray(CfnCloudExadataInfrastructureCustomerContactPropertyFromCloudFormation)(properties.CustomerContactsToSendToOCI):void 0),ret.addPropertyResult("databaseServerType","DatabaseServerType",properties.DatabaseServerType!=null?cfn_parse().FromCloudFormation.getString(properties.DatabaseServerType):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("maintenanceWindow","MaintenanceWindow",properties.MaintenanceWindow!=null?CfnCloudExadataInfrastructureMaintenanceWindowPropertyFromCloudFormation(properties.MaintenanceWindow):void 0),ret.addPropertyResult("shape","Shape",properties.Shape!=null?cfn_parse().FromCloudFormation.getString(properties.Shape):void 0),ret.addPropertyResult("storageCount","StorageCount",properties.StorageCount!=null?cfn_parse().FromCloudFormation.getNumber(properties.StorageCount):void 0),ret.addPropertyResult("storageServerType","StorageServerType",properties.StorageServerType!=null?cfn_parse().FromCloudFormation.getString(properties.StorageServerType):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 CfnCloudVmCluster extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_odb.CfnCloudVmCluster",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::ODB::CloudVmCluster";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnCloudVmClusterPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnCloudVmCluster(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 isCfnCloudVmCluster(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnCloudVmCluster.CFN_RESOURCE_TYPE_NAME}static arnForCloudVmCluster(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_odb_ICloudVmClusterRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForCloudVmCluster),error}return resource.cloudVmClusterRef.cloudVmClusterArn}cdkTagManager;_cloudExadataInfrastructureId;_clusterName;_cpuCoreCount;_dataCollectionOptions;_dataStorageSizeInTBs;_dbNodes;_dbNodeStorageSizeInGBs;_dbServers;_displayName;_giVersion;_hostname;_iamRoles;_isLocalBackupEnabled;_isSparseDiskgroupEnabled;_licenseModel;_memorySizeInGBs;_odbNetworkId;_scanListenerPortTcp;_sshPublicKeys;_systemVersion;_tags;_timeZone;cfnPropertyNames={tags:"Tags",cloudExadataInfrastructureId:"CloudExadataInfrastructureId",clusterName:"ClusterName",cpuCoreCount:"CpuCoreCount",dataCollectionOptions:"DataCollectionOptions",dataStorageSizeInTBs:"DataStorageSizeInTBs",dbNodes:"DbNodes",dbNodeStorageSizeInGBs:"DbNodeStorageSizeInGBs",dbServers:"DbServers",displayName:"DisplayName",giVersion:"GiVersion",hostname:"Hostname",iamRoles:"IamRoles",isLocalBackupEnabled:"IsLocalBackupEnabled",isSparseDiskgroupEnabled:"IsSparseDiskgroupEnabled",licenseModel:"LicenseModel",memorySizeInGBs:"MemorySizeInGBs",odbNetworkId:"OdbNetworkId",scanListenerPortTcp:"ScanListenerPortTcp",sshPublicKeys:"SshPublicKeys",systemVersion:"SystemVersion",timeZone:"TimeZone"};constructor(scope,id,props={}){super(scope,id,{type:CfnCloudVmCluster.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_odb_CfnCloudVmClusterProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnCloudVmCluster),error}this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::ODB::CloudVmCluster",void 0,{tagPropertyName:"tags"}),this._cloudExadataInfrastructureId=props.cloudExadataInfrastructureId,this._clusterName=props.clusterName,this._cpuCoreCount=props.cpuCoreCount,this._dataCollectionOptions=props.dataCollectionOptions,this._dataStorageSizeInTBs=props.dataStorageSizeInTBs,this._dbNodes=props.dbNodes,this._dbNodeStorageSizeInGBs=props.dbNodeStorageSizeInGBs,this._dbServers=props.dbServers,this._displayName=props.displayName,this._giVersion=props.giVersion,this._hostname=props.hostname,this._iamRoles=props.iamRoles,this._isLocalBackupEnabled=props.isLocalBackupEnabled,this._isSparseDiskgroupEnabled=props.isSparseDiskgroupEnabled,this._licenseModel=props.licenseModel,this._memorySizeInGBs=props.memorySizeInGBs,this._odbNetworkId=props.odbNetworkId,this._scanListenerPortTcp=props.scanListenerPortTcp,this._sshPublicKeys=props.sshPublicKeys,this._systemVersion=props.systemVersion,this._tags=props.tags,this._timeZone=props.timeZone}get cloudVmClusterRef(){return{cloudVmClusterArn:this.ref}}get cloudExadataInfrastructureId(){return this._cloudExadataInfrastructureId}set cloudExadataInfrastructureId(value){cdk().traceProperty(this.node,"CloudExadataInfrastructureId"),this._cloudExadataInfrastructureId=value}get clusterName(){return this._clusterName}set clusterName(value){cdk().traceProperty(this.node,"ClusterName"),this._clusterName=value}get cpuCoreCount(){return this._cpuCoreCount}set cpuCoreCount(value){cdk().traceProperty(this.node,"CpuCoreCount"),this._cpuCoreCount=value}get dataCollectionOptions(){return this._dataCollectionOptions}set dataCollectionOptions(value){cdk().traceProperty(this.node,"DataCollectionOptions"),this._dataCollectionOptions=value}get dataStorageSizeInTBs(){return this._dataStorageSizeInTBs}set dataStorageSizeInTBs(value){cdk().traceProperty(this.node,"DataStorageSizeInTBs"),this._dataStorageSizeInTBs=value}get dbNodes(){return this._dbNodes}set dbNodes(value){cdk().traceProperty(this.node,"DbNodes"),this._dbNodes=value}get dbNodeStorageSizeInGBs(){return this._dbNodeStorageSizeInGBs}set dbNodeStorageSizeInGBs(value){cdk().traceProperty(this.node,"DbNodeStorageSizeInGBs"),this._dbNodeStorageSizeInGBs=value}get dbServers(){return this._dbServers}set dbServers(value){cdk().traceProperty(this.node,"DbServers"),this._dbServers=value}get displayName(){return this._displayName}set displayName(value){cdk().traceProperty(this.node,"DisplayName"),this._displayName=value}get giVersion(){return this._giVersion}set giVersion(value){cdk().traceProperty(this.node,"GiVersion"),this._giVersion=value}get hostname(){return this._hostname}set hostname(value){cdk().traceProperty(this.node,"Hostname"),this._hostname=value}get iamRoles(){return this._iamRoles}set iamRoles(value){cdk().traceProperty(this.node,"IamRoles"),this._iamRoles=value}get isLocalBackupEnabled(){return this._isLocalBackupEnabled}set isLocalBackupEnabled(value){cdk().traceProperty(this.node,"IsLocalBackupEnabled"),this._isLocalBackupEnabled=value}get isSparseDiskgroupEnabled(){return this._isSparseDiskgroupEnabled}set isSparseDiskgroupEnabled(value){cdk().traceProperty(this.node,"IsSparseDiskgroupEnabled"),this._isSparseDiskgroupEnabled=value}get licenseModel(){return this._licenseModel}set licenseModel(value){cdk().traceProperty(this.node,"LicenseModel"),this._licenseModel=value}get memorySizeInGBs(){return this._memorySizeInGBs}set memorySizeInGBs(value){cdk().traceProperty(this.node,"MemorySizeInGBs"),this._memorySizeInGBs=value}get odbNetworkId(){return this._odbNetworkId}set odbNetworkId(value){cdk().traceProperty(this.node,"OdbNetworkId"),this._odbNetworkId=value}get scanListenerPortTcp(){return this._scanListenerPortTcp}set scanListenerPortTcp(value){cdk().traceProperty(this.node,"ScanListenerPortTcp"),this._scanListenerPortTcp=value}get sshPublicKeys(){return this._sshPublicKeys}set sshPublicKeys(value){cdk().traceProperty(this.node,"SshPublicKeys"),this._sshPublicKeys=value}get systemVersion(){return this._systemVersion}set systemVersion(value){cdk().traceProperty(this.node,"SystemVersion"),this._systemVersion=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get timeZone(){return this._timeZone}set timeZone(value){cdk().traceProperty(this.node,"TimeZone"),this._timeZone=value}get attrCloudVmClusterArn(){return cdk().Token.asString(this.getAtt("CloudVmClusterArn",cdk().ResolutionTypeHint.STRING))}get attrCloudVmClusterId(){return cdk().Token.asString(this.getAtt("CloudVmClusterId",cdk().ResolutionTypeHint.STRING))}get attrComputeModel(){return cdk().Token.asString(this.getAtt("ComputeModel",cdk().ResolutionTypeHint.STRING))}get attrDiskRedundancy(){return cdk().Token.asString(this.getAtt("DiskRedundancy",cdk().ResolutionTypeHint.STRING))}get attrDomain(){return cdk().Token.asString(this.getAtt("Domain",cdk().ResolutionTypeHint.STRING))}get attrListenerPort(){return cdk().Token.asNumber(this.getAtt("ListenerPort",cdk().ResolutionTypeHint.NUMBER))}get attrNodeCount(){return cdk().Token.asNumber(this.getAtt("NodeCount",cdk().ResolutionTypeHint.NUMBER))}get attrOcid(){return cdk().Token.asString(this.getAtt("Ocid",cdk().ResolutionTypeHint.STRING))}get attrOciResourceAnchorName(){return cdk().Token.asString(this.getAtt("OciResourceAnchorName",cdk().ResolutionTypeHint.STRING))}get attrOciUrl(){return cdk().Token.asString(this.getAtt("OciUrl",cdk().ResolutionTypeHint.STRING))}get attrScanDnsName(){return cdk().Token.asString(this.getAtt("ScanDnsName",cdk().ResolutionTypeHint.STRING))}get attrScanIpIds(){return cdk().Token.asList(this.getAtt("ScanIpIds",cdk().ResolutionTypeHint.STRING_LIST))}get attrShape(){return cdk().Token.asString(this.getAtt("Shape",cdk().ResolutionTypeHint.STRING))}get attrStorageSizeInGBs(){return cdk().Token.asNumber(this.getAtt("StorageSizeInGBs",cdk().ResolutionTypeHint.NUMBER))}get attrVipIds(){return cdk().Token.asList(this.getAtt("VipIds",cdk().ResolutionTypeHint.STRING_LIST))}get cfnProperties(){return{tags:this.cdkTagManager.renderTags(this._tags),cloudExadataInfrastructureId:this._cloudExadataInfrastructureId,clusterName:this._clusterName,cpuCoreCount:this._cpuCoreCount,dataCollectionOptions:this._dataCollectionOptions,dataStorageSizeInTBs:this._dataStorageSizeInTBs,dbNodes:this._dbNodes,dbNodeStorageSizeInGBs:this._dbNodeStorageSizeInGBs,dbServers:this._dbServers,displayName:this._displayName,giVersion:this._giVersion,hostname:this._hostname,iamRoles:this._iamRoles,isLocalBackupEnabled:this._isLocalBackupEnabled,isSparseDiskgroupEnabled:this._isSparseDiskgroupEnabled,licenseModel:this._licenseModel,memorySizeInGBs:this._memorySizeInGBs,odbNetworkId:this._odbNetworkId,scanListenerPortTcp:this._scanListenerPortTcp,sshPublicKeys:this._sshPublicKeys,systemVersion:this._systemVersion,timeZone:this._timeZone}}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",CfnCloudVmCluster.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnCloudVmClusterPropsToCloudFormation(props)}}exports.CfnCloudVmCluster=CfnCloudVmCluster;function CfnCloudVmClusterDataCollectionOptionsPropertyValidator(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("isDiagnosticsEventsEnabled",cdk().validateBoolean)(properties.isDiagnosticsEventsEnabled)),errors.collect(cdk().propertyValidator("isHealthMonitoringEnabled",cdk().validateBoolean)(properties.isHealthMonitoringEnabled)),errors.collect(cdk().propertyValidator("isIncidentLogsEnabled",cdk().validateBoolean)(properties.isIncidentLogsEnabled)),errors.wrap('supplied properties not correct for "DataCollectionOptionsProperty"')}function convertCfnCloudVmClusterDataCollectionOptionsPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudVmClusterDataCollectionOptionsPropertyValidator(properties).assertSuccess(),{IsDiagnosticsEventsEnabled:cdk().booleanToCloudFormation(properties.isDiagnosticsEventsEnabled),IsHealthMonitoringEnabled:cdk().booleanToCloudFormation(properties.isHealthMonitoringEnabled),IsIncidentLogsEnabled:cdk().booleanToCloudFormation(properties.isIncidentLogsEnabled)}):properties}function CfnCloudVmClusterDataCollectionOptionsPropertyFromCloudFormation(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("isDiagnosticsEventsEnabled","IsDiagnosticsEventsEnabled",properties.IsDiagnosticsEventsEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsDiagnosticsEventsEnabled):void 0),ret.addPropertyResult("isHealthMonitoringEnabled","IsHealthMonitoringEnabled",properties.IsHealthMonitoringEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsHealthMonitoringEnabled):void 0),ret.addPropertyResult("isIncidentLogsEnabled","IsIncidentLogsEnabled",properties.IsIncidentLogsEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsIncidentLogsEnabled):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudVmClusterDbNodePropertyValidator(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("backupIpId",cdk().validateString)(properties.backupIpId)),errors.collect(cdk().propertyValidator("backupVnic2Id",cdk().validateString)(properties.backupVnic2Id)),errors.collect(cdk().propertyValidator("cpuCoreCount",cdk().validateNumber)(properties.cpuCoreCount)),errors.collect(cdk().propertyValidator("dbNodeArn",cdk().validateString)(properties.dbNodeArn)),errors.collect(cdk().propertyValidator("dbNodeId",cdk().validateString)(properties.dbNodeId)),errors.collect(cdk().propertyValidator("dbNodeStorageSizeInGBs",cdk().validateNumber)(properties.dbNodeStorageSizeInGBs)),errors.collect(cdk().propertyValidator("dbServerId",cdk().requiredValidator)(properties.dbServerId)),errors.collect(cdk().propertyValidator("dbServerId",cdk().validateString)(properties.dbServerId)),errors.collect(cdk().propertyValidator("dbSystemId",cdk().validateString)(properties.dbSystemId)),errors.collect(cdk().propertyValidator("hostIpId",cdk().validateString)(properties.hostIpId)),errors.collect(cdk().propertyValidator("hostname",cdk().validateString)(properties.hostname)),errors.collect(cdk().propertyValidator("memorySizeInGBs",cdk().validateNumber)(properties.memorySizeInGBs)),errors.collect(cdk().propertyValidator("ocid",cdk().validateString)(properties.ocid)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("vnic2Id",cdk().validateString)(properties.vnic2Id)),errors.collect(cdk().propertyValidator("vnicId",cdk().validateString)(properties.vnicId)),errors.wrap('supplied properties not correct for "DbNodeProperty"')}function convertCfnCloudVmClusterDbNodePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudVmClusterDbNodePropertyValidator(properties).assertSuccess(),{BackupIpId:cdk().stringToCloudFormation(properties.backupIpId),BackupVnic2Id:cdk().stringToCloudFormation(properties.backupVnic2Id),CpuCoreCount:cdk().numberToCloudFormation(properties.cpuCoreCount),DbNodeArn:cdk().stringToCloudFormation(properties.dbNodeArn),DbNodeId:cdk().stringToCloudFormation(properties.dbNodeId),DbNodeStorageSizeInGBs:cdk().numberToCloudFormation(properties.dbNodeStorageSizeInGBs),DbServerId:cdk().stringToCloudFormation(properties.dbServerId),DbSystemId:cdk().stringToCloudFormation(properties.dbSystemId),HostIpId:cdk().stringToCloudFormation(properties.hostIpId),Hostname:cdk().stringToCloudFormation(properties.hostname),MemorySizeInGBs:cdk().numberToCloudFormation(properties.memorySizeInGBs),Ocid:cdk().stringToCloudFormation(properties.ocid),Status:cdk().stringToCloudFormation(properties.status),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),Vnic2Id:cdk().stringToCloudFormation(properties.vnic2Id),VnicId:cdk().stringToCloudFormation(properties.vnicId)}):properties}function CfnCloudVmClusterDbNodePropertyFromCloudFormation(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("backupIpId","BackupIpId",properties.BackupIpId!=null?cfn_parse().FromCloudFormation.getString(properties.BackupIpId):void 0),ret.addPropertyResult("backupVnic2Id","BackupVnic2Id",properties.BackupVnic2Id!=null?cfn_parse().FromCloudFormation.getString(properties.BackupVnic2Id):void 0),ret.addPropertyResult("cpuCoreCount","CpuCoreCount",properties.CpuCoreCount!=null?cfn_parse().FromCloudFormation.getNumber(properties.CpuCoreCount):void 0),ret.addPropertyResult("dbNodeArn","DbNodeArn",properties.DbNodeArn!=null?cfn_parse().FromCloudFormation.getString(properties.DbNodeArn):void 0),ret.addPropertyResult("dbNodeId","DbNodeId",properties.DbNodeId!=null?cfn_parse().FromCloudFormation.getString(properties.DbNodeId):void 0),ret.addPropertyResult("dbNodeStorageSizeInGBs","DbNodeStorageSizeInGBs",properties.DbNodeStorageSizeInGBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.DbNodeStorageSizeInGBs):void 0),ret.addPropertyResult("dbServerId","DbServerId",properties.DbServerId!=null?cfn_parse().FromCloudFormation.getString(properties.DbServerId):void 0),ret.addPropertyResult("dbSystemId","DbSystemId",properties.DbSystemId!=null?cfn_parse().FromCloudFormation.getString(properties.DbSystemId):void 0),ret.addPropertyResult("hostIpId","HostIpId",properties.HostIpId!=null?cfn_parse().FromCloudFormation.getString(properties.HostIpId):void 0),ret.addPropertyResult("hostname","Hostname",properties.Hostname!=null?cfn_parse().FromCloudFormation.getString(properties.Hostname):void 0),ret.addPropertyResult("memorySizeInGBs","MemorySizeInGBs",properties.MemorySizeInGBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.MemorySizeInGBs):void 0),ret.addPropertyResult("ocid","Ocid",properties.Ocid!=null?cfn_parse().FromCloudFormation.getString(properties.Ocid):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("vnic2Id","Vnic2Id",properties.Vnic2Id!=null?cfn_parse().FromCloudFormation.getString(properties.Vnic2Id):void 0),ret.addPropertyResult("vnicId","VnicId",properties.VnicId!=null?cfn_parse().FromCloudFormation.getString(properties.VnicId):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudVmClusterIamRolePropertyValidator(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("awsIntegration",cdk().validateString)(properties.awsIntegration)),errors.collect(cdk().propertyValidator("iamRoleArn",cdk().validateString)(properties.iamRoleArn)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "IamRoleProperty"')}function convertCfnCloudVmClusterIamRolePropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudVmClusterIamRolePropertyValidator(properties).assertSuccess(),{AwsIntegration:cdk().stringToCloudFormation(properties.awsIntegration),IamRoleArn:cdk().stringToCloudFormation(properties.iamRoleArn),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnCloudVmClusterIamRolePropertyFromCloudFormation(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("awsIntegration","AwsIntegration",properties.AwsIntegration!=null?cfn_parse().FromCloudFormation.getString(properties.AwsIntegration):void 0),ret.addPropertyResult("iamRoleArn","IamRoleArn",properties.IamRoleArn!=null?cfn_parse().FromCloudFormation.getString(properties.IamRoleArn):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnCloudVmClusterPropsValidator(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("cloudExadataInfrastructureId",cdk().validateString)(properties.cloudExadataInfrastructureId)),errors.collect(cdk().propertyValidator("clusterName",cdk().validateString)(properties.clusterName)),errors.collect(cdk().propertyValidator("cpuCoreCount",cdk().validateNumber)(properties.cpuCoreCount)),errors.collect(cdk().propertyValidator("dataCollectionOptions",CfnCloudVmClusterDataCollectionOptionsPropertyValidator)(properties.dataCollectionOptions)),errors.collect(cdk().propertyValidator("dataStorageSizeInTBs",cdk().validateNumber)(properties.dataStorageSizeInTBs)),errors.collect(cdk().propertyValidator("dbNodeStorageSizeInGBs",cdk().validateNumber)(properties.dbNodeStorageSizeInGBs)),errors.collect(cdk().propertyValidator("dbNodes",cdk().listValidator(CfnCloudVmClusterDbNodePropertyValidator))(properties.dbNodes)),errors.collect(cdk().propertyValidator("dbServers",cdk().listValidator(cdk().validateString))(properties.dbServers)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("giVersion",cdk().validateString)(properties.giVersion)),errors.collect(cdk().propertyValidator("hostname",cdk().validateString)(properties.hostname)),errors.collect(cdk().propertyValidator("iamRoles",cdk().listValidator(CfnCloudVmClusterIamRolePropertyValidator))(properties.iamRoles)),errors.collect(cdk().propertyValidator("isLocalBackupEnabled",cdk().validateBoolean)(properties.isLocalBackupEnabled)),errors.collect(cdk().propertyValidator("isSparseDiskgroupEnabled",cdk().validateBoolean)(properties.isSparseDiskgroupEnabled)),errors.collect(cdk().propertyValidator("licenseModel",cdk().validateString)(properties.licenseModel)),errors.collect(cdk().propertyValidator("memorySizeInGBs",cdk().validateNumber)(properties.memorySizeInGBs)),errors.collect(cdk().propertyValidator("odbNetworkId",cdk().validateString)(properties.odbNetworkId)),errors.collect(cdk().propertyValidator("scanListenerPortTcp",cdk().validateNumber)(properties.scanListenerPortTcp)),errors.collect(cdk().propertyValidator("sshPublicKeys",cdk().listValidator(cdk().validateString))(properties.sshPublicKeys)),errors.collect(cdk().propertyValidator("systemVersion",cdk().validateString)(properties.systemVersion)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("timeZone",cdk().validateString)(properties.timeZone)),errors.wrap('supplied properties not correct for "CfnCloudVmClusterProps"')}function convertCfnCloudVmClusterPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnCloudVmClusterPropsValidator(properties).assertSuccess(),{CloudExadataInfrastructureId:cdk().stringToCloudFormation(properties.cloudExadataInfrastructureId),ClusterName:cdk().stringToCloudFormation(properties.clusterName),CpuCoreCount:cdk().numberToCloudFormation(properties.cpuCoreCount),DataCollectionOptions:convertCfnCloudVmClusterDataCollectionOptionsPropertyToCloudFormation(properties.dataCollectionOptions),DataStorageSizeInTBs:cdk().numberToCloudFormation(properties.dataStorageSizeInTBs),DbNodeStorageSizeInGBs:cdk().numberToCloudFormation(properties.dbNodeStorageSizeInGBs),DbNodes:cdk().listMapper(convertCfnCloudVmClusterDbNodePropertyToCloudFormation)(properties.dbNodes),DbServers:cdk().listMapper(cdk().stringToCloudFormation)(properties.dbServers),DisplayName:cdk().stringToCloudFormation(properties.displayName),GiVersion:cdk().stringToCloudFormation(properties.giVersion),Hostname:cdk().stringToCloudFormation(properties.hostname),IamRoles:cdk().listMapper(convertCfnCloudVmClusterIamRolePropertyToCloudFormation)(properties.iamRoles),IsLocalBackupEnabled:cdk().booleanToCloudFormation(properties.isLocalBackupEnabled),IsSparseDiskgroupEnabled:cdk().booleanToCloudFormation(properties.isSparseDiskgroupEnabled),LicenseModel:cdk().stringToCloudFormation(properties.licenseModel),MemorySizeInGBs:cdk().numberToCloudFormation(properties.memorySizeInGBs),OdbNetworkId:cdk().stringToCloudFormation(properties.odbNetworkId),ScanListenerPortTcp:cdk().numberToCloudFormation(properties.scanListenerPortTcp),SshPublicKeys:cdk().listMapper(cdk().stringToCloudFormation)(properties.sshPublicKeys),SystemVersion:cdk().stringToCloudFormation(properties.systemVersion),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),TimeZone:cdk().stringToCloudFormation(properties.timeZone)}):properties}function CfnCloudVmClusterPropsFromCloudFormation(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("cloudExadataInfrastructureId","CloudExadataInfrastructureId",properties.CloudExadataInfrastructureId!=null?cfn_parse().FromCloudFormation.getString(properties.CloudExadataInfrastructureId):void 0),ret.addPropertyResult("clusterName","ClusterName",properties.ClusterName!=null?cfn_parse().FromCloudFormation.getString(properties.ClusterName):void 0),ret.addPropertyResult("cpuCoreCount","CpuCoreCount",properties.CpuCoreCount!=null?cfn_parse().FromCloudFormation.getNumber(properties.CpuCoreCount):void 0),ret.addPropertyResult("dataCollectionOptions","DataCollectionOptions",properties.DataCollectionOptions!=null?CfnCloudVmClusterDataCollectionOptionsPropertyFromCloudFormation(properties.DataCollectionOptions):void 0),ret.addPropertyResult("dataStorageSizeInTBs","DataStorageSizeInTBs",properties.DataStorageSizeInTBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.DataStorageSizeInTBs):void 0),ret.addPropertyResult("dbNodes","DbNodes",properties.DbNodes!=null?cfn_parse().FromCloudFormation.getArray(CfnCloudVmClusterDbNodePropertyFromCloudFormation)(properties.DbNodes):void 0),ret.addPropertyResult("dbNodeStorageSizeInGBs","DbNodeStorageSizeInGBs",properties.DbNodeStorageSizeInGBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.DbNodeStorageSizeInGBs):void 0),ret.addPropertyResult("dbServers","DbServers",properties.DbServers!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.DbServers):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("giVersion","GiVersion",properties.GiVersion!=null?cfn_parse().FromCloudFormation.getString(properties.GiVersion):void 0),ret.addPropertyResult("hostname","Hostname",properties.Hostname!=null?cfn_parse().FromCloudFormation.getString(properties.Hostname):void 0),ret.addPropertyResult("iamRoles","IamRoles",properties.IamRoles!=null?cfn_parse().FromCloudFormation.getArray(CfnCloudVmClusterIamRolePropertyFromCloudFormation)(properties.IamRoles):void 0),ret.addPropertyResult("isLocalBackupEnabled","IsLocalBackupEnabled",properties.IsLocalBackupEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsLocalBackupEnabled):void 0),ret.addPropertyResult("isSparseDiskgroupEnabled","IsSparseDiskgroupEnabled",properties.IsSparseDiskgroupEnabled!=null?cfn_parse().FromCloudFormation.getBoolean(properties.IsSparseDiskgroupEnabled):void 0),ret.addPropertyResult("licenseModel","LicenseModel",properties.LicenseModel!=null?cfn_parse().FromCloudFormation.getString(properties.LicenseModel):void 0),ret.addPropertyResult("memorySizeInGBs","MemorySizeInGBs",properties.MemorySizeInGBs!=null?cfn_parse().FromCloudFormation.getNumber(properties.MemorySizeInGBs):void 0),ret.addPropertyResult("odbNetworkId","OdbNetworkId",properties.OdbNetworkId!=null?cfn_parse().FromCloudFormation.getString(properties.OdbNetworkId):void 0),ret.addPropertyResult("scanListenerPortTcp","ScanListenerPortTcp",properties.ScanListenerPortTcp!=null?cfn_parse().FromCloudFormation.getNumber(properties.ScanListenerPortTcp):void 0),ret.addPropertyResult("sshPublicKeys","SshPublicKeys",properties.SshPublicKeys!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.SshPublicKeys):void 0),ret.addPropertyResult("systemVersion","SystemVersion",properties.SystemVersion!=null?cfn_parse().FromCloudFormation.getString(properties.SystemVersion):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("timeZone","TimeZone",properties.TimeZone!=null?cfn_parse().FromCloudFormation.getString(properties.TimeZone):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnOdbNetwork extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_odb.CfnOdbNetwork",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::ODB::OdbNetwork";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnOdbNetworkPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnOdbNetwork(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 isCfnOdbNetwork(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnOdbNetwork.CFN_RESOURCE_TYPE_NAME}static arnForOdbNetwork(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_odb_IOdbNetworkRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForOdbNetwork),error}return resource.odbNetworkRef.odbNetworkArn}_availabilityZone;_availabilityZoneId;_backupSubnetCidr;cdkTagManager;_clientSubnetCidr;_crossRegionS3RestoreSources;_customDomainName;_defaultDnsPrefix;_deleteAssociatedResources;_displayName;_kmsAccess;_kmsPolicyDocument;_s3Access;_s3PolicyDocument;_stsAccess;_stsPolicyDocument;_tags;_zeroEtlAccess;cfnPropertyNames={availabilityZone:"AvailabilityZone",availabilityZoneId:"AvailabilityZoneId",backupSubnetCidr:"BackupSubnetCidr",tags:"Tags",clientSubnetCidr:"ClientSubnetCidr",crossRegionS3RestoreSources:"CrossRegionS3RestoreSources",customDomainName:"CustomDomainName",defaultDnsPrefix:"DefaultDnsPrefix",deleteAssociatedResources:"DeleteAssociatedResources",displayName:"DisplayName",kmsAccess:"KmsAccess",kmsPolicyDocument:"KmsPolicyDocument",s3Access:"S3Access",s3PolicyDocument:"S3PolicyDocument",stsAccess:"StsAccess",stsPolicyDocument:"StsPolicyDocument",zeroEtlAccess:"ZeroEtlAccess"};constructor(scope,id,props={}){super(scope,id,{type:CfnOdbNetwork.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_odb_CfnOdbNetworkProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnOdbNetwork),error}this._availabilityZone=props.availabilityZone,this._availabilityZoneId=props.availabilityZoneId,this._backupSubnetCidr=props.backupSubnetCidr,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::ODB::OdbNetwork",void 0,{tagPropertyName:"tags"}),this._clientSubnetCidr=props.clientSubnetCidr,this._crossRegionS3RestoreSources=props.crossRegionS3RestoreSources,this._customDomainName=props.customDomainName,this._defaultDnsPrefix=props.defaultDnsPrefix,this._deleteAssociatedResources=props.deleteAssociatedResources,this._displayName=props.displayName,this._kmsAccess=props.kmsAccess,this._kmsPolicyDocument=props.kmsPolicyDocument,this._s3Access=props.s3Access,this._s3PolicyDocument=props.s3PolicyDocument,this._stsAccess=props.stsAccess,this._stsPolicyDocument=props.stsPolicyDocument,this._tags=props.tags,this._zeroEtlAccess=props.zeroEtlAccess}get odbNetworkRef(){return{odbNetworkArn:this.ref}}get availabilityZone(){return this._availabilityZone}set availabilityZone(value){cdk().traceProperty(this.node,"AvailabilityZone"),this._availabilityZone=value}get availabilityZoneId(){return this._availabilityZoneId}set availabilityZoneId(value){cdk().traceProperty(this.node,"AvailabilityZoneId"),this._availabilityZoneId=value}get backupSubnetCidr(){return this._backupSubnetCidr}set backupSubnetCidr(value){cdk().traceProperty(this.node,"BackupSubnetCidr"),this._backupSubnetCidr=value}get clientSubnetCidr(){return this._clientSubnetCidr}set clientSubnetCidr(value){cdk().traceProperty(this.node,"ClientSubnetCidr"),this._clientSubnetCidr=value}get crossRegionS3RestoreSources(){return this._crossRegionS3RestoreSources}set crossRegionS3RestoreSources(value){cdk().traceProperty(this.node,"CrossRegionS3RestoreSources"),this._crossRegionS3RestoreSources=value}get customDomainName(){return this._customDomainName}set customDomainName(value){cdk().traceProperty(this.node,"CustomDomainName"),this._customDomainName=value}get defaultDnsPrefix(){return this._defaultDnsPrefix}set defaultDnsPrefix(value){cdk().traceProperty(this.node,"DefaultDnsPrefix"),this._defaultDnsPrefix=value}get deleteAssociatedResources(){return this._deleteAssociatedResources}set deleteAssociatedResources(value){cdk().traceProperty(this.node,"DeleteAssociatedResources"),this._deleteAssociatedResources=value}get displayName(){return this._displayName}set displayName(value){cdk().traceProperty(this.node,"DisplayName"),this._displayName=value}get kmsAccess(){return this._kmsAccess}set kmsAccess(value){cdk().traceProperty(this.node,"KmsAccess"),this._kmsAccess=value}get kmsPolicyDocument(){return this._kmsPolicyDocument}set kmsPolicyDocument(value){cdk().traceProperty(this.node,"KmsPolicyDocument"),this._kmsPolicyDocument=value}get s3Access(){return this._s3Access}set s3Access(value){cdk().traceProperty(this.node,"S3Access"),this._s3Access=value}get s3PolicyDocument(){return this._s3PolicyDocument}set s3PolicyDocument(value){cdk().traceProperty(this.node,"S3PolicyDocument"),this._s3PolicyDocument=value}get stsAccess(){return this._stsAccess}set stsAccess(value){cdk().traceProperty(this.node,"StsAccess"),this._stsAccess=value}get stsPolicyDocument(){return this._stsPolicyDocument}set stsPolicyDocument(value){cdk().traceProperty(this.node,"StsPolicyDocument"),this._stsPolicyDocument=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get zeroEtlAccess(){return this._zeroEtlAccess}set zeroEtlAccess(value){cdk().traceProperty(this.node,"ZeroEtlAccess"),this._zeroEtlAccess=value}get attrEc2PlacementGroupIds(){return cdk().Token.asList(this.getAtt("Ec2PlacementGroupIds",cdk().ResolutionTypeHint.STRING_LIST))}get attrManagedServices(){return this.getAtt("ManagedServices")}get attrOciNetworkAnchorId(){return cdk().Token.asString(this.getAtt("OciNetworkAnchorId",cdk().ResolutionTypeHint.STRING))}get attrOciResourceAnchorName(){return cdk().Token.asString(this.getAtt("OciResourceAnchorName",cdk().ResolutionTypeHint.STRING))}get attrOciVcnUrl(){return cdk().Token.asString(this.getAtt("OciVcnUrl",cdk().ResolutionTypeHint.STRING))}get attrOdbNetworkArn(){return cdk().Token.asString(this.getAtt("OdbNetworkArn",cdk().ResolutionTypeHint.STRING))}get attrOdbNetworkId(){return cdk().Token.asString(this.getAtt("OdbNetworkId",cdk().ResolutionTypeHint.STRING))}get cfnProperties(){return{availabilityZone:this._availabilityZone,availabilityZoneId:this._availabilityZoneId,backupSubnetCidr:this._backupSubnetCidr,tags:this.cdkTagManager.renderTags(this._tags),clientSubnetCidr:this._clientSubnetCidr,crossRegionS3RestoreSources:this._crossRegionS3RestoreSources,customDomainName:this._customDomainName,defaultDnsPrefix:this._defaultDnsPrefix,deleteAssociatedResources:this._deleteAssociatedResources,displayName:this._displayName,kmsAccess:this._kmsAccess,kmsPolicyDocument:this._kmsPolicyDocument,s3Access:this._s3Access,s3PolicyDocument:this._s3PolicyDocument,stsAccess:this._stsAccess,stsPolicyDocument:this._stsPolicyDocument,zeroEtlAccess:this._zeroEtlAccess}}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",CfnOdbNetwork.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnOdbNetworkPropsToCloudFormation(props)}}exports.CfnOdbNetwork=CfnOdbNetwork;function CfnOdbNetworkServiceNetworkEndpointPropertyValidator(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("vpcEndpointId",cdk().validateString)(properties.vpcEndpointId)),errors.collect(cdk().propertyValidator("vpcEndpointType",cdk().validateString)(properties.vpcEndpointType)),errors.wrap('supplied properties not correct for "ServiceNetworkEndpointProperty"')}function convertCfnOdbNetworkServiceNetworkEndpointPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkServiceNetworkEndpointPropertyValidator(properties).assertSuccess(),{VpcEndpointId:cdk().stringToCloudFormation(properties.vpcEndpointId),VpcEndpointType:cdk().stringToCloudFormation(properties.vpcEndpointType)}):properties}function CfnOdbNetworkServiceNetworkEndpointPropertyFromCloudFormation(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("vpcEndpointId","VpcEndpointId",properties.VpcEndpointId!=null?cfn_parse().FromCloudFormation.getString(properties.VpcEndpointId):void 0),ret.addPropertyResult("vpcEndpointType","VpcEndpointType",properties.VpcEndpointType!=null?cfn_parse().FromCloudFormation.getString(properties.VpcEndpointType):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkManagedS3BackupAccessPropertyValidator(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("ipv4Addresses",cdk().listValidator(cdk().validateString))(properties.ipv4Addresses)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "ManagedS3BackupAccessProperty"')}function convertCfnOdbNetworkManagedS3BackupAccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkManagedS3BackupAccessPropertyValidator(properties).assertSuccess(),{Ipv4Addresses:cdk().listMapper(cdk().stringToCloudFormation)(properties.ipv4Addresses),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnOdbNetworkManagedS3BackupAccessPropertyFromCloudFormation(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("ipv4Addresses","Ipv4Addresses",properties.Ipv4Addresses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Ipv4Addresses):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkZeroEtlAccessPropertyValidator(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("cidr",cdk().validateString)(properties.cidr)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "ZeroEtlAccessProperty"')}function convertCfnOdbNetworkZeroEtlAccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkZeroEtlAccessPropertyValidator(properties).assertSuccess(),{Cidr:cdk().stringToCloudFormation(properties.cidr),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnOdbNetworkZeroEtlAccessPropertyFromCloudFormation(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("cidr","Cidr",properties.Cidr!=null?cfn_parse().FromCloudFormation.getString(properties.Cidr):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkS3AccessPropertyValidator(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("domainName",cdk().validateString)(properties.domainName)),errors.collect(cdk().propertyValidator("ipv4Addresses",cdk().listValidator(cdk().validateString))(properties.ipv4Addresses)),errors.collect(cdk().propertyValidator("s3PolicyDocument",cdk().validateString)(properties.s3PolicyDocument)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "S3AccessProperty"')}function convertCfnOdbNetworkS3AccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkS3AccessPropertyValidator(properties).assertSuccess(),{DomainName:cdk().stringToCloudFormation(properties.domainName),Ipv4Addresses:cdk().listMapper(cdk().stringToCloudFormation)(properties.ipv4Addresses),S3PolicyDocument:cdk().stringToCloudFormation(properties.s3PolicyDocument),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnOdbNetworkS3AccessPropertyFromCloudFormation(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("domainName","DomainName",properties.DomainName!=null?cfn_parse().FromCloudFormation.getString(properties.DomainName):void 0),ret.addPropertyResult("ipv4Addresses","Ipv4Addresses",properties.Ipv4Addresses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Ipv4Addresses):void 0),ret.addPropertyResult("s3PolicyDocument","S3PolicyDocument",properties.S3PolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.S3PolicyDocument):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkKmsAccessPropertyValidator(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("domainName",cdk().validateString)(properties.domainName)),errors.collect(cdk().propertyValidator("ipv4Addresses",cdk().listValidator(cdk().validateString))(properties.ipv4Addresses)),errors.collect(cdk().propertyValidator("kmsPolicyDocument",cdk().validateString)(properties.kmsPolicyDocument)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "KmsAccessProperty"')}function convertCfnOdbNetworkKmsAccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkKmsAccessPropertyValidator(properties).assertSuccess(),{DomainName:cdk().stringToCloudFormation(properties.domainName),Ipv4Addresses:cdk().listMapper(cdk().stringToCloudFormation)(properties.ipv4Addresses),KmsPolicyDocument:cdk().stringToCloudFormation(properties.kmsPolicyDocument),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnOdbNetworkKmsAccessPropertyFromCloudFormation(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("domainName","DomainName",properties.DomainName!=null?cfn_parse().FromCloudFormation.getString(properties.DomainName):void 0),ret.addPropertyResult("ipv4Addresses","Ipv4Addresses",properties.Ipv4Addresses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Ipv4Addresses):void 0),ret.addPropertyResult("kmsPolicyDocument","KmsPolicyDocument",properties.KmsPolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.KmsPolicyDocument):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkStsAccessPropertyValidator(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("domainName",cdk().validateString)(properties.domainName)),errors.collect(cdk().propertyValidator("ipv4Addresses",cdk().listValidator(cdk().validateString))(properties.ipv4Addresses)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.collect(cdk().propertyValidator("stsPolicyDocument",cdk().validateString)(properties.stsPolicyDocument)),errors.wrap('supplied properties not correct for "StsAccessProperty"')}function convertCfnOdbNetworkStsAccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkStsAccessPropertyValidator(properties).assertSuccess(),{DomainName:cdk().stringToCloudFormation(properties.domainName),Ipv4Addresses:cdk().listMapper(cdk().stringToCloudFormation)(properties.ipv4Addresses),Status:cdk().stringToCloudFormation(properties.status),StsPolicyDocument:cdk().stringToCloudFormation(properties.stsPolicyDocument)}):properties}function CfnOdbNetworkStsAccessPropertyFromCloudFormation(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("domainName","DomainName",properties.DomainName!=null?cfn_parse().FromCloudFormation.getString(properties.DomainName):void 0),ret.addPropertyResult("ipv4Addresses","Ipv4Addresses",properties.Ipv4Addresses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Ipv4Addresses):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addPropertyResult("stsPolicyDocument","StsPolicyDocument",properties.StsPolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.StsPolicyDocument):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyValidator(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("ipv4Addresses",cdk().listValidator(cdk().validateString))(properties.ipv4Addresses)),errors.collect(cdk().propertyValidator("region",cdk().validateString)(properties.region)),errors.collect(cdk().propertyValidator("status",cdk().validateString)(properties.status)),errors.wrap('supplied properties not correct for "CrossRegionS3RestoreSourcesAccessProperty"')}function convertCfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyValidator(properties).assertSuccess(),{Ipv4Addresses:cdk().listMapper(cdk().stringToCloudFormation)(properties.ipv4Addresses),Region:cdk().stringToCloudFormation(properties.region),Status:cdk().stringToCloudFormation(properties.status)}):properties}function CfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyFromCloudFormation(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("ipv4Addresses","Ipv4Addresses",properties.Ipv4Addresses!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.Ipv4Addresses):void 0),ret.addPropertyResult("region","Region",properties.Region!=null?cfn_parse().FromCloudFormation.getString(properties.Region):void 0),ret.addPropertyResult("status","Status",properties.Status!=null?cfn_parse().FromCloudFormation.getString(properties.Status):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkManagedServicesPropertyValidator(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("crossRegionS3RestoreSourcesAccess",cdk().listValidator(CfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyValidator))(properties.crossRegionS3RestoreSourcesAccess)),errors.collect(cdk().propertyValidator("kmsAccess",CfnOdbNetworkKmsAccessPropertyValidator)(properties.kmsAccess)),errors.collect(cdk().propertyValidator("managedS3BackupAccess",CfnOdbNetworkManagedS3BackupAccessPropertyValidator)(properties.managedS3BackupAccess)),errors.collect(cdk().propertyValidator("managedServicesIpv4Cidrs",cdk().listValidator(cdk().validateString))(properties.managedServicesIpv4Cidrs)),errors.collect(cdk().propertyValidator("resourceGatewayArn",cdk().validateString)(properties.resourceGatewayArn)),errors.collect(cdk().propertyValidator("s3Access",CfnOdbNetworkS3AccessPropertyValidator)(properties.s3Access)),errors.collect(cdk().propertyValidator("serviceNetworkArn",cdk().validateString)(properties.serviceNetworkArn)),errors.collect(cdk().propertyValidator("serviceNetworkEndpoint",CfnOdbNetworkServiceNetworkEndpointPropertyValidator)(properties.serviceNetworkEndpoint)),errors.collect(cdk().propertyValidator("stsAccess",CfnOdbNetworkStsAccessPropertyValidator)(properties.stsAccess)),errors.collect(cdk().propertyValidator("zeroEtlAccess",CfnOdbNetworkZeroEtlAccessPropertyValidator)(properties.zeroEtlAccess)),errors.wrap('supplied properties not correct for "ManagedServicesProperty"')}function convertCfnOdbNetworkManagedServicesPropertyToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkManagedServicesPropertyValidator(properties).assertSuccess(),{CrossRegionS3RestoreSourcesAccess:cdk().listMapper(convertCfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyToCloudFormation)(properties.crossRegionS3RestoreSourcesAccess),KmsAccess:convertCfnOdbNetworkKmsAccessPropertyToCloudFormation(properties.kmsAccess),ManagedS3BackupAccess:convertCfnOdbNetworkManagedS3BackupAccessPropertyToCloudFormation(properties.managedS3BackupAccess),ManagedServicesIpv4Cidrs:cdk().listMapper(cdk().stringToCloudFormation)(properties.managedServicesIpv4Cidrs),ResourceGatewayArn:cdk().stringToCloudFormation(properties.resourceGatewayArn),S3Access:convertCfnOdbNetworkS3AccessPropertyToCloudFormation(properties.s3Access),ServiceNetworkArn:cdk().stringToCloudFormation(properties.serviceNetworkArn),ServiceNetworkEndpoint:convertCfnOdbNetworkServiceNetworkEndpointPropertyToCloudFormation(properties.serviceNetworkEndpoint),StsAccess:convertCfnOdbNetworkStsAccessPropertyToCloudFormation(properties.stsAccess),ZeroEtlAccess:convertCfnOdbNetworkZeroEtlAccessPropertyToCloudFormation(properties.zeroEtlAccess)}):properties}function CfnOdbNetworkManagedServicesPropertyFromCloudFormation(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("crossRegionS3RestoreSourcesAccess","CrossRegionS3RestoreSourcesAccess",properties.CrossRegionS3RestoreSourcesAccess!=null?cfn_parse().FromCloudFormation.getArray(CfnOdbNetworkCrossRegionS3RestoreSourcesAccessPropertyFromCloudFormation)(properties.CrossRegionS3RestoreSourcesAccess):void 0),ret.addPropertyResult("kmsAccess","KmsAccess",properties.KmsAccess!=null?CfnOdbNetworkKmsAccessPropertyFromCloudFormation(properties.KmsAccess):void 0),ret.addPropertyResult("managedS3BackupAccess","ManagedS3BackupAccess",properties.ManagedS3BackupAccess!=null?CfnOdbNetworkManagedS3BackupAccessPropertyFromCloudFormation(properties.ManagedS3BackupAccess):void 0),ret.addPropertyResult("managedServicesIpv4Cidrs","ManagedServicesIpv4Cidrs",properties.ManagedServicesIpv4Cidrs!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.ManagedServicesIpv4Cidrs):void 0),ret.addPropertyResult("resourceGatewayArn","ResourceGatewayArn",properties.ResourceGatewayArn!=null?cfn_parse().FromCloudFormation.getString(properties.ResourceGatewayArn):void 0),ret.addPropertyResult("s3Access","S3Access",properties.S3Access!=null?CfnOdbNetworkS3AccessPropertyFromCloudFormation(properties.S3Access):void 0),ret.addPropertyResult("serviceNetworkArn","ServiceNetworkArn",properties.ServiceNetworkArn!=null?cfn_parse().FromCloudFormation.getString(properties.ServiceNetworkArn):void 0),ret.addPropertyResult("serviceNetworkEndpoint","ServiceNetworkEndpoint",properties.ServiceNetworkEndpoint!=null?CfnOdbNetworkServiceNetworkEndpointPropertyFromCloudFormation(properties.ServiceNetworkEndpoint):void 0),ret.addPropertyResult("stsAccess","StsAccess",properties.StsAccess!=null?CfnOdbNetworkStsAccessPropertyFromCloudFormation(properties.StsAccess):void 0),ret.addPropertyResult("zeroEtlAccess","ZeroEtlAccess",properties.ZeroEtlAccess!=null?CfnOdbNetworkZeroEtlAccessPropertyFromCloudFormation(properties.ZeroEtlAccess):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}function CfnOdbNetworkPropsValidator(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("availabilityZone",cdk().validateString)(properties.availabilityZone)),errors.collect(cdk().propertyValidator("availabilityZoneId",cdk().validateString)(properties.availabilityZoneId)),errors.collect(cdk().propertyValidator("backupSubnetCidr",cdk().validateString)(properties.backupSubnetCidr)),errors.collect(cdk().propertyValidator("clientSubnetCidr",cdk().validateString)(properties.clientSubnetCidr)),errors.collect(cdk().propertyValidator("crossRegionS3RestoreSources",cdk().listValidator(cdk().validateString))(properties.crossRegionS3RestoreSources)),errors.collect(cdk().propertyValidator("customDomainName",cdk().validateString)(properties.customDomainName)),errors.collect(cdk().propertyValidator("defaultDnsPrefix",cdk().validateString)(properties.defaultDnsPrefix)),errors.collect(cdk().propertyValidator("deleteAssociatedResources",cdk().validateBoolean)(properties.deleteAssociatedResources)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("kmsAccess",cdk().validateString)(properties.kmsAccess)),errors.collect(cdk().propertyValidator("kmsPolicyDocument",cdk().validateString)(properties.kmsPolicyDocument)),errors.collect(cdk().propertyValidator("s3Access",cdk().validateString)(properties.s3Access)),errors.collect(cdk().propertyValidator("s3PolicyDocument",cdk().validateString)(properties.s3PolicyDocument)),errors.collect(cdk().propertyValidator("stsAccess",cdk().validateString)(properties.stsAccess)),errors.collect(cdk().propertyValidator("stsPolicyDocument",cdk().validateString)(properties.stsPolicyDocument)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.collect(cdk().propertyValidator("zeroEtlAccess",cdk().validateString)(properties.zeroEtlAccess)),errors.wrap('supplied properties not correct for "CfnOdbNetworkProps"')}function convertCfnOdbNetworkPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbNetworkPropsValidator(properties).assertSuccess(),{AvailabilityZone:cdk().stringToCloudFormation(properties.availabilityZone),AvailabilityZoneId:cdk().stringToCloudFormation(properties.availabilityZoneId),BackupSubnetCidr:cdk().stringToCloudFormation(properties.backupSubnetCidr),ClientSubnetCidr:cdk().stringToCloudFormation(properties.clientSubnetCidr),CrossRegionS3RestoreSources:cdk().listMapper(cdk().stringToCloudFormation)(properties.crossRegionS3RestoreSources),CustomDomainName:cdk().stringToCloudFormation(properties.customDomainName),DefaultDnsPrefix:cdk().stringToCloudFormation(properties.defaultDnsPrefix),DeleteAssociatedResources:cdk().booleanToCloudFormation(properties.deleteAssociatedResources),DisplayName:cdk().stringToCloudFormation(properties.displayName),KmsAccess:cdk().stringToCloudFormation(properties.kmsAccess),KmsPolicyDocument:cdk().stringToCloudFormation(properties.kmsPolicyDocument),S3Access:cdk().stringToCloudFormation(properties.s3Access),S3PolicyDocument:cdk().stringToCloudFormation(properties.s3PolicyDocument),StsAccess:cdk().stringToCloudFormation(properties.stsAccess),StsPolicyDocument:cdk().stringToCloudFormation(properties.stsPolicyDocument),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags),ZeroEtlAccess:cdk().stringToCloudFormation(properties.zeroEtlAccess)}):properties}function CfnOdbNetworkPropsFromCloudFormation(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("availabilityZone","AvailabilityZone",properties.AvailabilityZone!=null?cfn_parse().FromCloudFormation.getString(properties.AvailabilityZone):void 0),ret.addPropertyResult("availabilityZoneId","AvailabilityZoneId",properties.AvailabilityZoneId!=null?cfn_parse().FromCloudFormation.getString(properties.AvailabilityZoneId):void 0),ret.addPropertyResult("backupSubnetCidr","BackupSubnetCidr",properties.BackupSubnetCidr!=null?cfn_parse().FromCloudFormation.getString(properties.BackupSubnetCidr):void 0),ret.addPropertyResult("clientSubnetCidr","ClientSubnetCidr",properties.ClientSubnetCidr!=null?cfn_parse().FromCloudFormation.getString(properties.ClientSubnetCidr):void 0),ret.addPropertyResult("crossRegionS3RestoreSources","CrossRegionS3RestoreSources",properties.CrossRegionS3RestoreSources!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.CrossRegionS3RestoreSources):void 0),ret.addPropertyResult("customDomainName","CustomDomainName",properties.CustomDomainName!=null?cfn_parse().FromCloudFormation.getString(properties.CustomDomainName):void 0),ret.addPropertyResult("defaultDnsPrefix","DefaultDnsPrefix",properties.DefaultDnsPrefix!=null?cfn_parse().FromCloudFormation.getString(properties.DefaultDnsPrefix):void 0),ret.addPropertyResult("deleteAssociatedResources","DeleteAssociatedResources",properties.DeleteAssociatedResources!=null?cfn_parse().FromCloudFormation.getBoolean(properties.DeleteAssociatedResources):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("kmsAccess","KmsAccess",properties.KmsAccess!=null?cfn_parse().FromCloudFormation.getString(properties.KmsAccess):void 0),ret.addPropertyResult("kmsPolicyDocument","KmsPolicyDocument",properties.KmsPolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.KmsPolicyDocument):void 0),ret.addPropertyResult("s3Access","S3Access",properties.S3Access!=null?cfn_parse().FromCloudFormation.getString(properties.S3Access):void 0),ret.addPropertyResult("s3PolicyDocument","S3PolicyDocument",properties.S3PolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.S3PolicyDocument):void 0),ret.addPropertyResult("stsAccess","StsAccess",properties.StsAccess!=null?cfn_parse().FromCloudFormation.getString(properties.StsAccess):void 0),ret.addPropertyResult("stsPolicyDocument","StsPolicyDocument",properties.StsPolicyDocument!=null?cfn_parse().FromCloudFormation.getString(properties.StsPolicyDocument):void 0),ret.addPropertyResult("tags","Tags",properties.Tags!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getCfnTag)(properties.Tags):void 0),ret.addPropertyResult("zeroEtlAccess","ZeroEtlAccess",properties.ZeroEtlAccess!=null?cfn_parse().FromCloudFormation.getString(properties.ZeroEtlAccess):void 0),ret.addUnrecognizedPropertiesAsExtra(properties),ret}class CfnOdbPeeringConnection extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_odb.CfnOdbPeeringConnection",version:"2.252.0"};static CFN_RESOURCE_TYPE_NAME="AWS::ODB::OdbPeeringConnection";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnOdbPeeringConnectionPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnOdbPeeringConnection(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 isCfnOdbPeeringConnection(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnOdbPeeringConnection.CFN_RESOURCE_TYPE_NAME}static arnForOdbPeeringConnection(resource){try{jsiiDeprecationWarnings().aws_cdk_lib_interfaces_aws_odb_IOdbPeeringConnectionRef(resource)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,this.arnForOdbPeeringConnection),error}return resource.odbPeeringConnectionRef.odbPeeringConnectionArn}_additionalPeerNetworkCidrs;cdkTagManager;_displayName;_odbNetworkId;_peerNetworkId;_peerNetworkRouteTableIds;_tags;cfnPropertyNames={additionalPeerNetworkCidrs:"AdditionalPeerNetworkCidrs",tags:"Tags",displayName:"DisplayName",odbNetworkId:"OdbNetworkId",peerNetworkId:"PeerNetworkId",peerNetworkRouteTableIds:"PeerNetworkRouteTableIds"};constructor(scope,id,props={}){super(scope,id,{type:CfnOdbPeeringConnection.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_odb_CfnOdbPeeringConnectionProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnOdbPeeringConnection),error}this._additionalPeerNetworkCidrs=props.additionalPeerNetworkCidrs,this.cdkTagManager=new(cdk()).TagManager(cdk().TagType.STANDARD,"AWS::ODB::OdbPeeringConnection",void 0,{tagPropertyName:"tags"}),this._displayName=props.displayName,this._odbNetworkId=props.odbNetworkId,this._peerNetworkId=props.peerNetworkId,this._peerNetworkRouteTableIds=props.peerNetworkRouteTableIds,this._tags=props.tags}get odbPeeringConnectionRef(){return{odbPeeringConnectionArn:this.ref}}get additionalPeerNetworkCidrs(){return this._additionalPeerNetworkCidrs}set additionalPeerNetworkCidrs(value){cdk().traceProperty(this.node,"AdditionalPeerNetworkCidrs"),this._additionalPeerNetworkCidrs=value}get displayName(){return this._displayName}set displayName(value){cdk().traceProperty(this.node,"DisplayName"),this._displayName=value}get odbNetworkId(){return this._odbNetworkId}set odbNetworkId(value){cdk().traceProperty(this.node,"OdbNetworkId"),this._odbNetworkId=value}get peerNetworkId(){return this._peerNetworkId}set peerNetworkId(value){cdk().traceProperty(this.node,"PeerNetworkId"),this._peerNetworkId=value}get peerNetworkRouteTableIds(){return this._peerNetworkRouteTableIds}set peerNetworkRouteTableIds(value){cdk().traceProperty(this.node,"PeerNetworkRouteTableIds"),this._peerNetworkRouteTableIds=value}get tags(){return this._tags}set tags(value){cdk().traceProperty(this.node,"Tags"),this._tags=value}get attrOdbNetworkArn(){return cdk().Token.asString(this.getAtt("OdbNetworkArn",cdk().ResolutionTypeHint.STRING))}get attrOdbPeeringConnectionArn(){return cdk().Token.asString(this.getAtt("OdbPeeringConnectionArn",cdk().ResolutionTypeHint.STRING))}get attrOdbPeeringConnectionId(){return cdk().Token.asString(this.getAtt("OdbPeeringConnectionId",cdk().ResolutionTypeHint.STRING))}get attrPeerNetworkArn(){return cdk().Token.asString(this.getAtt("PeerNetworkArn",cdk().ResolutionTypeHint.STRING))}get attrPeerNetworkCidrs(){return cdk().Token.asList(this.getAtt("PeerNetworkCidrs",cdk().ResolutionTypeHint.STRING_LIST))}get cfnProperties(){return{additionalPeerNetworkCidrs:this._additionalPeerNetworkCidrs,tags:this.cdkTagManager.renderTags(this._tags),displayName:this._displayName,odbNetworkId:this._odbNetworkId,peerNetworkId:this._peerNetworkId,peerNetworkRouteTableIds:this._peerNetworkRouteTableIds}}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",CfnOdbPeeringConnection.CFN_RESOURCE_TYPE_NAME),inspector.addAttribute("aws:cdk:cloudformation:logicalId",this._synthesizeLogicalId()),inspector.addAttribute("aws:cdk:cloudformation:props",this.cfnProperties)}renderProperties(props){return convertCfnOdbPeeringConnectionPropsToCloudFormation(props)}}exports.CfnOdbPeeringConnection=CfnOdbPeeringConnection;function CfnOdbPeeringConnectionPropsValidator(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("additionalPeerNetworkCidrs",cdk().listValidator(cdk().validateString))(properties.additionalPeerNetworkCidrs)),errors.collect(cdk().propertyValidator("displayName",cdk().validateString)(properties.displayName)),errors.collect(cdk().propertyValidator("odbNetworkId",cdk().validateString)(properties.odbNetworkId)),errors.collect(cdk().propertyValidator("peerNetworkId",cdk().validateString)(properties.peerNetworkId)),errors.collect(cdk().propertyValidator("peerNetworkRouteTableIds",cdk().listValidator(cdk().validateString))(properties.peerNetworkRouteTableIds)),errors.collect(cdk().propertyValidator("tags",cdk().listValidator(cdk().validateCfnTag))(properties.tags)),errors.wrap('supplied properties not correct for "CfnOdbPeeringConnectionProps"')}function convertCfnOdbPeeringConnectionPropsToCloudFormation(properties){return cdk().canInspect(properties)?(CfnOdbPeeringConnectionPropsValidator(properties).assertSuccess(),{AdditionalPeerNetworkCidrs:cdk().listMapper(cdk().stringToCloudFormation)(properties.additionalPeerNetworkCidrs),DisplayName:cdk().stringToCloudFormation(properties.displayName),OdbNetworkId:cdk().stringToCloudFormation(properties.odbNetworkId),PeerNetworkId:cdk().stringToCloudFormation(properties.peerNetworkId),PeerNetworkRouteTableIds:cdk().listMapper(cdk().stringToCloudFormation)(properties.peerNetworkRouteTableIds),Tags:cdk().listMapper(cdk().cfnTagToCloudFormation)(properties.tags)}):properties}function CfnOdbPeeringConnectionPropsFromCloudFormation(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("additionalPeerNetworkCidrs","AdditionalPeerNetworkCidrs",properties.AdditionalPeerNetworkCidrs!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.AdditionalPeerNetworkCidrs):void 0),ret.addPropertyResult("displayName","DisplayName",properties.DisplayName!=null?cfn_parse().FromCloudFormation.getString(properties.DisplayName):void 0),ret.addPropertyResult("odbNetworkId","OdbNetworkId",properties.OdbNetworkId!=null?cfn_parse().FromCloudFormation.getString(properties.OdbNetworkId):void 0),ret.addPropertyResult("peerNetworkId","PeerNetworkId",properties.PeerNetworkId!=null?cfn_parse().FromCloudFormation.getString(properties.PeerNetworkId):void 0),ret.addPropertyResult("peerNetworkRouteTableIds","PeerNetworkRouteTableIds",properties.PeerNetworkRouteTableIds!=null?cfn_parse().FromCloudFormation.getArray(cfn_parse().FromCloudFormation.getString)(properties.PeerNetworkRouteTableIds):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}
|