Files
personal_site/frontend/node_modules/aws-cdk-lib/aws-docdb/lib/docdb.generated.js
T

2 lines
67 KiB
JavaScript
Raw Normal View History

"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.CfnGlobalCluster=exports.CfnEventSubscription=exports.CfnDBSubnetGroup=exports.CfnDBInstance=exports.CfnDBClusterParameterGroup=exports.CfnDBCluster=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 CfnDBCluster extends cdk().CfnResource{static[JSII_RTTI_SYMBOL_1]={fqn:"aws-cdk-lib.aws_docdb.CfnDBCluster",version:"2.257.0"};static CFN_RESOURCE_TYPE_NAME="AWS::DocDB::DBCluster";static _fromCloudFormation(scope,id,resourceAttributes,options){resourceAttributes=resourceAttributes||{};const resourceProperties=options.parser.parseValue(resourceAttributes.Properties),propsResult=CfnDBClusterPropsFromCloudFormation(resourceProperties);if(cdk().isResolvableObject(propsResult.value))throw new(cdk_errors()).ValidationError(cfn_parse().lit`UnexpectedIResolvable`,"Unexpected IResolvable",scope);const ret=new CfnDBCluster(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 isCfnDBCluster(x){return cdk().CfnResource.isCfnResource(x)&&x.cfnResourceType===CfnDBCluster.CFN_RESOURCE_TYPE_NAME}_availabilityZones;_backupRetentionPeriod;_copyTagsToSnapshot;_dbClusterIdentifier;_dbClusterParameterGroupName;_dbSubnetGroupName;_deletionProtection;_enableCloudwatchLogsExports;_engineVersion;_globalClusterIdentifier;_kmsKeyId;_manageMasterUserPassword;_masterUsername;_masterUserPassword;_masterUserSecretKmsKeyId;_networkType;_port;_preferredBackupWindow;_preferredMaintenanceWindow;_restoreToTime;_restoreType;_rotateMasterUserPassword;_serverlessV2ScalingConfiguration;_snapshotIdentifier;_sourceDbClusterIdentifier;_storageEncrypted;_storageType;tags;_tagsRaw;_useLatestRestorableTime;_vpcSecurityGroupIds;cfnPropertyNames={availabilityZones:"AvailabilityZones",backupRetentionPeriod:"BackupRetentionPeriod",copyTagsToSnapshot:"CopyTagsToSnapshot",dbClusterIdentifier:"DBClusterIdentifier",dbClusterParameterGroupName:"DBClusterParameterGroupName",dbSubnetGroupName:"DBSubnetGroupName",deletionProtection:"DeletionProtection",enableCloudwatchLogsExports:"EnableCloudwatchLogsExports",engineVersion:"EngineVersion",globalClusterIdentifier:"GlobalClusterIdentifier",kmsKeyId:"KmsKeyId",manageMasterUserPassword:"ManageMasterUserPassword",masterUsername:"MasterUsername",masterUserPassword:"MasterUserPassword",masterUserSecretKmsKeyId:"MasterUserSecretKmsKeyId",networkType:"NetworkType",port:"Port",preferredBackupWindow:"PreferredBackupWindow",preferredMaintenanceWindow:"PreferredMaintenanceWindow",restoreToTime:"RestoreToTime",restoreType:"RestoreType",rotateMasterUserPassword:"RotateMasterUserPassword",serverlessV2ScalingConfiguration:"ServerlessV2ScalingConfiguration",snapshotIdentifier:"SnapshotIdentifier",sourceDbClusterIdentifier:"SourceDBClusterIdentifier",storageEncrypted:"StorageEncrypted",storageType:"StorageType",tags:"Tags",useLatestRestorableTime:"UseLatestRestorableTime",vpcSecurityGroupIds:"VpcSecurityGroupIds"};constructor(scope,id,props={}){super(scope,id,{type:CfnDBCluster.CFN_RESOURCE_TYPE_NAME,properties:props});try{jsiiDeprecationWarnings().aws_cdk_lib_aws_docdb_CfnDBClusterProps(props)}catch(error){throw process.env.JSII_DEBUG!=="1"&&error.name==="DeprecationError"&&Error.captureStackTrace(error,CfnDBCluster),error}this._availabilityZones=props.availabilityZones,this._backupRetentionPeriod=props.backupRetentionPeriod,this._copyTagsToSnapshot=props.copyTagsToSnapshot,this._dbClusterIdentifier=props.dbClusterIdentifier,this._dbClusterParameterGroupName=props.dbClusterParameterGroupName,this._dbSubnetGroupName=props.dbSubnetGr