// generated from terraform resource schema import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; /** * AWS DocumentDB */ export interface DocdbClusterConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#apply_immediately DocdbCluster#apply_immediately} */ readonly applyImmediately?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#availability_zones DocdbCluster#availability_zones} */ readonly availabilityZones?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#backup_retention_period DocdbCluster#backup_retention_period} */ readonly backupRetentionPeriod?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#cluster_identifier DocdbCluster#cluster_identifier} */ readonly clusterIdentifier?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#cluster_identifier_prefix DocdbCluster#cluster_identifier_prefix} */ readonly clusterIdentifierPrefix?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#cluster_members DocdbCluster#cluster_members} */ readonly clusterMembers?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#db_cluster_parameter_group_name DocdbCluster#db_cluster_parameter_group_name} */ readonly dbClusterParameterGroupName?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#db_subnet_group_name DocdbCluster#db_subnet_group_name} */ readonly dbSubnetGroupName?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#deletion_protection DocdbCluster#deletion_protection} */ readonly deletionProtection?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#enabled_cloudwatch_logs_exports DocdbCluster#enabled_cloudwatch_logs_exports} */ readonly enabledCloudwatchLogsExports?: string[]; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#engine DocdbCluster#engine} */ readonly engine?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#engine_version DocdbCluster#engine_version} */ readonly engineVersion?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#final_snapshot_identifier DocdbCluster#final_snapshot_identifier} */ readonly finalSnapshotIdentifier?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#global_cluster_identifier DocdbCluster#global_cluster_identifier} */ readonly globalClusterIdentifier?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#kms_key_id DocdbCluster#kms_key_id} */ readonly kmsKeyId?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#master_password DocdbCluster#master_password} */ readonly masterPassword?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#master_username DocdbCluster#master_username} */ readonly masterUsername?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#port DocdbCluster#port} */ readonly port?: number; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#preferred_backup_window DocdbCluster#preferred_backup_window} */ readonly preferredBackupWindow?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#preferred_maintenance_window DocdbCluster#preferred_maintenance_window} */ readonly preferredMaintenanceWindow?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#skip_final_snapshot DocdbCluster#skip_final_snapshot} */ readonly skipFinalSnapshot?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#snapshot_identifier DocdbCluster#snapshot_identifier} */ readonly snapshotIdentifier?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#storage_encrypted DocdbCluster#storage_encrypted} */ readonly storageEncrypted?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#tags DocdbCluster#tags} */ readonly tags?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#tags_all DocdbCluster#tags_all} */ readonly tagsAll?: { [key: string]: string } | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#vpc_security_group_ids DocdbCluster#vpc_security_group_ids} */ readonly vpcSecurityGroupIds?: string[]; /** * timeouts block * * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#timeouts DocdbCluster#timeouts} */ readonly timeouts?: DocdbClusterTimeouts; } export interface DocdbClusterTimeouts { /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#create DocdbCluster#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#delete DocdbCluster#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html#update DocdbCluster#update} */ readonly update?: string; } export function docdbClusterTimeoutsToTerraform(struct?: DocdbClusterTimeoutsOutputReference | DocdbClusterTimeouts): any { if (!cdktf.canInspect(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { create: cdktf.stringToTerraform(struct!.create), delete: cdktf.stringToTerraform(struct!.delete), update: cdktf.stringToTerraform(struct!.update), } } export class DocdbClusterTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject = false; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param isSingleItem True if this is a block, false if it's a list */ public constructor(terraformResource: cdktf.ITerraformResource, terraformAttribute: string, isSingleItem: boolean) { super(terraformResource, terraformAttribute, isSingleItem); } public get internalValue(): DocdbClusterTimeouts | undefined { let hasAnyValues = this.isEmptyObject; const internalValueResult: any = {}; if (this._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } if (this._update !== undefined) { hasAnyValues = true; internalValueResult.update = this._update; } return hasAnyValues ? internalValueResult : undefined; } public set internalValue(value: DocdbClusterTimeouts | undefined) { if (value === undefined) { this.isEmptyObject = false; this._create = undefined; this._delete = undefined; this._update = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._create = value.create; this._delete = value.delete; this._update = value.update; } } // create - computed: false, optional: true, required: false private _create?: string; public get create() { return this.getStringAttribute('create'); } public set create(value: string) { this._create = value; } public resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. public get createInput() { return this._create; } // delete - computed: false, optional: true, required: false private _delete?: string; public get delete() { return this.getStringAttribute('delete'); } public set delete(value: string) { this._delete = value; } public resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. public get deleteInput() { return this._delete; } // update - computed: false, optional: true, required: false private _update?: string; public get update() { return this.getStringAttribute('update'); } public set update(value: string) { this._update = value; } public resetUpdate() { this._update = undefined; } // Temporarily expose input value. Use with caution. public get updateInput() { return this._update; } } /** * Represents a {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html aws_docdb_cluster} */ export class DocdbCluster extends cdktf.TerraformResource { // ================= // STATIC PROPERTIES // ================= public static readonly tfResourceType: string = "aws_docdb_cluster"; // =========== // INITIALIZER // =========== /** * Create a new {@link https://www.terraform.io/docs/providers/aws/r/docdb_cluster.html aws_docdb_cluster} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DocdbClusterConfig = {} */ public constructor(scope: Construct, id: string, config: DocdbClusterConfig = {}) { super(scope, id, { terraformResourceType: 'aws_docdb_cluster', terraformGeneratorMetadata: { providerName: 'aws' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle }); this._applyImmediately = config.applyImmediately; this._availabilityZones = config.availabilityZones; this._backupRetentionPeriod = config.backupRetentionPeriod; this._clusterIdentifier = config.clusterIdentifier; this._clusterIdentifierPrefix = config.clusterIdentifierPrefix; this._clusterMembers = config.clusterMembers; this._dbClusterParameterGroupName = config.dbClusterParameterGroupName; this._dbSubnetGroupName = config.dbSubnetGroupName; this._deletionProtection = config.deletionProtection; this._enabledCloudwatchLogsExports = config.enabledCloudwatchLogsExports; this._engine = config.engine; this._engineVersion = config.engineVersion; this._finalSnapshotIdentifier = config.finalSnapshotIdentifier; this._globalClusterIdentifier = config.globalClusterIdentifier; this._kmsKeyId = config.kmsKeyId; this._masterPassword = config.masterPassword; this._masterUsername = config.masterUsername; this._port = config.port; this._preferredBackupWindow = config.preferredBackupWindow; this._preferredMaintenanceWindow = config.preferredMaintenanceWindow; this._skipFinalSnapshot = config.skipFinalSnapshot; this._snapshotIdentifier = config.snapshotIdentifier; this._storageEncrypted = config.storageEncrypted; this._tags = config.tags; this._tagsAll = config.tagsAll; this._vpcSecurityGroupIds = config.vpcSecurityGroupIds; this._timeouts.internalValue = config.timeouts; } // ========== // ATTRIBUTES // ========== // apply_immediately - computed: true, optional: true, required: false private _applyImmediately?: boolean | cdktf.IResolvable; public get applyImmediately() { return this.getBooleanAttribute('apply_immediately') as any; } public set applyImmediately(value: boolean | cdktf.IResolvable) { this._applyImmediately = value; } public resetApplyImmediately() { this._applyImmediately = undefined; } // Temporarily expose input value. Use with caution. public get applyImmediatelyInput() { return this._applyImmediately; } // arn - computed: true, optional: false, required: false public get arn() { return this.getStringAttribute('arn'); } // availability_zones - computed: true, optional: true, required: false private _availabilityZones?: string[]; public get availabilityZones() { return this.getListAttribute('availability_zones'); } public set availabilityZones(value: string[]) { this._availabilityZones = value; } public resetAvailabilityZones() { this._availabilityZones = undefined; } // Temporarily expose input value. Use with caution. public get availabilityZonesInput() { return this._availabilityZones; } // backup_retention_period - computed: false, optional: true, required: false private _backupRetentionPeriod?: number; public get backupRetentionPeriod() { return this.getNumberAttribute('backup_retention_period'); } public set backupRetentionPeriod(value: number) { this._backupRetentionPeriod = value; } public resetBackupRetentionPeriod() { this._backupRetentionPeriod = undefined; } // Temporarily expose input value. Use with caution. public get backupRetentionPeriodInput() { return this._backupRetentionPeriod; } // cluster_identifier - computed: true, optional: true, required: false private _clusterIdentifier?: string; public get clusterIdentifier() { return this.getStringAttribute('cluster_identifier'); } public set clusterIdentifier(value: string) { this._clusterIdentifier = value; } public resetClusterIdentifier() { this._clusterIdentifier = undefined; } // Temporarily expose input value. Use with caution. public get clusterIdentifierInput() { return this._clusterIdentifier; } // cluster_identifier_prefix - computed: true, optional: true, required: false private _clusterIdentifierPrefix?: string; public get clusterIdentifierPrefix() { return this.getStringAttribute('cluster_identifier_prefix'); } public set clusterIdentifierPrefix(value: string) { this._clusterIdentifierPrefix = value; } public resetClusterIdentifierPrefix() { this._clusterIdentifierPrefix = undefined; } // Temporarily expose input value. Use with caution. public get clusterIdentifierPrefixInput() { return this._clusterIdentifierPrefix; } // cluster_members - computed: true, optional: true, required: false private _clusterMembers?: string[]; public get clusterMembers() { return this.getListAttribute('cluster_members'); } public set clusterMembers(value: string[]) { this._clusterMembers = value; } public resetClusterMembers() { this._clusterMembers = undefined; } // Temporarily expose input value. Use with caution. public get clusterMembersInput() { return this._clusterMembers; } // cluster_resource_id - computed: true, optional: false, required: false public get clusterResourceId() { return this.getStringAttribute('cluster_resource_id'); } // db_cluster_parameter_group_name - computed: true, optional: true, required: false private _dbClusterParameterGroupName?: string; public get dbClusterParameterGroupName() { return this.getStringAttribute('db_cluster_parameter_group_name'); } public set dbClusterParameterGroupName(value: string) { this._dbClusterParameterGroupName = value; } public resetDbClusterParameterGroupName() { this._dbClusterParameterGroupName = undefined; } // Temporarily expose input value. Use with caution. public get dbClusterParameterGroupNameInput() { return this._dbClusterParameterGroupName; } // db_subnet_group_name - computed: true, optional: true, required: false private _dbSubnetGroupName?: string; public get dbSubnetGroupName() { return this.getStringAttribute('db_subnet_group_name'); } public set dbSubnetGroupName(value: string) { this._dbSubnetGroupName = value; } public resetDbSubnetGroupName() { this._dbSubnetGroupName = undefined; } // Temporarily expose input value. Use with caution. public get dbSubnetGroupNameInput() { return this._dbSubnetGroupName; } // deletion_protection - computed: false, optional: true, required: false private _deletionProtection?: boolean | cdktf.IResolvable; public get deletionProtection() { return this.getBooleanAttribute('deletion_protection') as any; } public set deletionProtection(value: boolean | cdktf.IResolvable) { this._deletionProtection = value; } public resetDeletionProtection() { this._deletionProtection = undefined; } // Temporarily expose input value. Use with caution. public get deletionProtectionInput() { return this._deletionProtection; } // enabled_cloudwatch_logs_exports - computed: false, optional: true, required: false private _enabledCloudwatchLogsExports?: string[]; public get enabledCloudwatchLogsExports() { return this.getListAttribute('enabled_cloudwatch_logs_exports'); } public set enabledCloudwatchLogsExports(value: string[]) { this._enabledCloudwatchLogsExports = value; } public resetEnabledCloudwatchLogsExports() { this._enabledCloudwatchLogsExports = undefined; } // Temporarily expose input value. Use with caution. public get enabledCloudwatchLogsExportsInput() { return this._enabledCloudwatchLogsExports; } // endpoint - computed: true, optional: false, required: false public get endpoint() { return this.getStringAttribute('endpoint'); } // engine - computed: false, optional: true, required: false private _engine?: string; public get engine() { return this.getStringAttribute('engine'); } public set engine(value: string) { this._engine = value; } public resetEngine() { this._engine = undefined; } // Temporarily expose input value. Use with caution. public get engineInput() { return this._engine; } // engine_version - computed: true, optional: true, required: false private _engineVersion?: string; public get engineVersion() { return this.getStringAttribute('engine_version'); } public set engineVersion(value: string) { this._engineVersion = value; } public resetEngineVersion() { this._engineVersion = undefined; } // Temporarily expose input value. Use with caution. public get engineVersionInput() { return this._engineVersion; } // final_snapshot_identifier - computed: false, optional: true, required: false private _finalSnapshotIdentifier?: string; public get finalSnapshotIdentifier() { return this.getStringAttribute('final_snapshot_identifier'); } public set finalSnapshotIdentifier(value: string) { this._finalSnapshotIdentifier = value; } public resetFinalSnapshotIdentifier() { this._finalSnapshotIdentifier = undefined; } // Temporarily expose input value. Use with caution. public get finalSnapshotIdentifierInput() { return this._finalSnapshotIdentifier; } // global_cluster_identifier - computed: false, optional: true, required: false private _globalClusterIdentifier?: string; public get globalClusterIdentifier() { return this.getStringAttribute('global_cluster_identifier'); } public set globalClusterIdentifier(value: string) { this._globalClusterIdentifier = value; } public resetGlobalClusterIdentifier() { this._globalClusterIdentifier = undefined; } // Temporarily expose input value. Use with caution. public get globalClusterIdentifierInput() { return this._globalClusterIdentifier; } // hosted_zone_id - computed: true, optional: false, required: false public get hostedZoneId() { return this.getStringAttribute('hosted_zone_id'); } // id - computed: true, optional: true, required: false public get id() { return this.getStringAttribute('id'); } // kms_key_id - computed: true, optional: true, required: false private _kmsKeyId?: string; public get kmsKeyId() { return this.getStringAttribute('kms_key_id'); } public set kmsKeyId(value: string) { this._kmsKeyId = value; } public resetKmsKeyId() { this._kmsKeyId = undefined; } // Temporarily expose input value. Use with caution. public get kmsKeyIdInput() { return this._kmsKeyId; } // master_password - computed: false, optional: true, required: false private _masterPassword?: string; public get masterPassword() { return this.getStringAttribute('master_password'); } public set masterPassword(value: string) { this._masterPassword = value; } public resetMasterPassword() { this._masterPassword = undefined; } // Temporarily expose input value. Use with caution. public get masterPasswordInput() { return this._masterPassword; } // master_username - computed: true, optional: true, required: false private _masterUsername?: string; public get masterUsername() { return this.getStringAttribute('master_username'); } public set masterUsername(value: string) { this._masterUsername = value; } public resetMasterUsername() { this._masterUsername = undefined; } // Temporarily expose input value. Use with caution. public get masterUsernameInput() { return this._masterUsername; } // port - computed: false, optional: true, required: false private _port?: number; public get port() { return this.getNumberAttribute('port'); } public set port(value: number) { this._port = value; } public resetPort() { this._port = undefined; } // Temporarily expose input value. Use with caution. public get portInput() { return this._port; } // preferred_backup_window - computed: true, optional: true, required: false private _preferredBackupWindow?: string; public get preferredBackupWindow() { return this.getStringAttribute('preferred_backup_window'); } public set preferredBackupWindow(value: string) { this._preferredBackupWindow = value; } public resetPreferredBackupWindow() { this._preferredBackupWindow = undefined; } // Temporarily expose input value. Use with caution. public get preferredBackupWindowInput() { return this._preferredBackupWindow; } // preferred_maintenance_window - computed: true, optional: true, required: false private _preferredMaintenanceWindow?: string; public get preferredMaintenanceWindow() { return this.getStringAttribute('preferred_maintenance_window'); } public set preferredMaintenanceWindow(value: string) { this._preferredMaintenanceWindow = value; } public resetPreferredMaintenanceWindow() { this._preferredMaintenanceWindow = undefined; } // Temporarily expose input value. Use with caution. public get preferredMaintenanceWindowInput() { return this._preferredMaintenanceWindow; } // reader_endpoint - computed: true, optional: false, required: false public get readerEndpoint() { return this.getStringAttribute('reader_endpoint'); } // skip_final_snapshot - computed: false, optional: true, required: false private _skipFinalSnapshot?: boolean | cdktf.IResolvable; public get skipFinalSnapshot() { return this.getBooleanAttribute('skip_final_snapshot') as any; } public set skipFinalSnapshot(value: boolean | cdktf.IResolvable) { this._skipFinalSnapshot = value; } public resetSkipFinalSnapshot() { this._skipFinalSnapshot = undefined; } // Temporarily expose input value. Use with caution. public get skipFinalSnapshotInput() { return this._skipFinalSnapshot; } // snapshot_identifier - computed: false, optional: true, required: false private _snapshotIdentifier?: string; public get snapshotIdentifier() { return this.getStringAttribute('snapshot_identifier'); } public set snapshotIdentifier(value: string) { this._snapshotIdentifier = value; } public resetSnapshotIdentifier() { this._snapshotIdentifier = undefined; } // Temporarily expose input value. Use with caution. public get snapshotIdentifierInput() { return this._snapshotIdentifier; } // storage_encrypted - computed: false, optional: true, required: false private _storageEncrypted?: boolean | cdktf.IResolvable; public get storageEncrypted() { return this.getBooleanAttribute('storage_encrypted') as any; } public set storageEncrypted(value: boolean | cdktf.IResolvable) { this._storageEncrypted = value; } public resetStorageEncrypted() { this._storageEncrypted = undefined; } // Temporarily expose input value. Use with caution. public get storageEncryptedInput() { return this._storageEncrypted; } // tags - computed: false, optional: true, required: false private _tags?: { [key: string]: string } | cdktf.IResolvable; public get tags() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags') as any; } public set tags(value: { [key: string]: string } | cdktf.IResolvable) { this._tags = value; } public resetTags() { this._tags = undefined; } // Temporarily expose input value. Use with caution. public get tagsInput() { return this._tags; } // tags_all - computed: true, optional: true, required: false private _tagsAll?: { [key: string]: string } | cdktf.IResolvable; public get tagsAll() { // Getting the computed value is not yet implemented return this.interpolationForAttribute('tags_all') as any; } public set tagsAll(value: { [key: string]: string } | cdktf.IResolvable) { this._tagsAll = value; } public resetTagsAll() { this._tagsAll = undefined; } // Temporarily expose input value. Use with caution. public get tagsAllInput() { return this._tagsAll; } // vpc_security_group_ids - computed: true, optional: true, required: false private _vpcSecurityGroupIds?: string[]; public get vpcSecurityGroupIds() { return this.getListAttribute('vpc_security_group_ids'); } public set vpcSecurityGroupIds(value: string[]) { this._vpcSecurityGroupIds = value; } public resetVpcSecurityGroupIds() { this._vpcSecurityGroupIds = undefined; } // Temporarily expose input value. Use with caution. public get vpcSecurityGroupIdsInput() { return this._vpcSecurityGroupIds; } // timeouts - computed: false, optional: true, required: false private _timeouts = new DocdbClusterTimeoutsOutputReference(this as any, "timeouts", true); public get timeouts() { return this._timeouts; } public putTimeouts(value: DocdbClusterTimeouts) { this._timeouts.internalValue = value; } public resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. public get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= protected synthesizeAttributes(): { [name: string]: any } { return { apply_immediately: cdktf.booleanToTerraform(this._applyImmediately), availability_zones: cdktf.listMapper(cdktf.stringToTerraform)(this._availabilityZones), backup_retention_period: cdktf.numberToTerraform(this._backupRetentionPeriod), cluster_identifier: cdktf.stringToTerraform(this._clusterIdentifier), cluster_identifier_prefix: cdktf.stringToTerraform(this._clusterIdentifierPrefix), cluster_members: cdktf.listMapper(cdktf.stringToTerraform)(this._clusterMembers), db_cluster_parameter_group_name: cdktf.stringToTerraform(this._dbClusterParameterGroupName), db_subnet_group_name: cdktf.stringToTerraform(this._dbSubnetGroupName), deletion_protection: cdktf.booleanToTerraform(this._deletionProtection), enabled_cloudwatch_logs_exports: cdktf.listMapper(cdktf.stringToTerraform)(this._enabledCloudwatchLogsExports), engine: cdktf.stringToTerraform(this._engine), engine_version: cdktf.stringToTerraform(this._engineVersion), final_snapshot_identifier: cdktf.stringToTerraform(this._finalSnapshotIdentifier), global_cluster_identifier: cdktf.stringToTerraform(this._globalClusterIdentifier), kms_key_id: cdktf.stringToTerraform(this._kmsKeyId), master_password: cdktf.stringToTerraform(this._masterPassword), master_username: cdktf.stringToTerraform(this._masterUsername), port: cdktf.numberToTerraform(this._port), preferred_backup_window: cdktf.stringToTerraform(this._preferredBackupWindow), preferred_maintenance_window: cdktf.stringToTerraform(this._preferredMaintenanceWindow), skip_final_snapshot: cdktf.booleanToTerraform(this._skipFinalSnapshot), snapshot_identifier: cdktf.stringToTerraform(this._snapshotIdentifier), storage_encrypted: cdktf.booleanToTerraform(this._storageEncrypted), tags: cdktf.hashMapper(cdktf.anyToTerraform)(this._tags), tags_all: cdktf.hashMapper(cdktf.anyToTerraform)(this._tagsAll), vpc_security_group_ids: cdktf.listMapper(cdktf.stringToTerraform)(this._vpcSecurityGroupIds), timeouts: docdbClusterTimeoutsToTerraform(this._timeouts.internalValue), }; } }