UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

1 lines 116 kB
"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.251.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;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.251.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;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.251.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;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._s