Skip to content

Latest commit

 

History

History
2388 lines (1497 loc) · 99.5 KB

docdbCluster.md

File metadata and controls

2388 lines (1497 loc) · 99.5 KB

docdbCluster Submodule

Constructs

DocdbCluster

Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster aws_docdb_cluster}.

Initializers

import { docdbCluster } from '@cdktf/aws-cdk'

new docdbCluster.DocdbCluster(scope: Construct, id: string, config?: DocdbClusterConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config DocdbClusterConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configOptional

Methods

Name Description
toString Returns a string representation of this construct.
addOverride No description.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
resetOverrideLogicalId Resets a previously passed logical Id to use the auto-generated logical id again.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putTimeouts No description.
resetApplyImmediately No description.
resetAvailabilityZones No description.
resetBackupRetentionPeriod No description.
resetClusterIdentifier No description.
resetClusterIdentifierPrefix No description.
resetClusterMembers No description.
resetDbClusterParameterGroupName No description.
resetDbSubnetGroupName No description.
resetDeletionProtection No description.
resetEnabledCloudwatchLogsExports No description.
resetEngine No description.
resetEngineVersion No description.
resetFinalSnapshotIdentifier No description.
resetGlobalClusterIdentifier No description.
resetId No description.
resetKmsKeyId No description.
resetMasterPassword No description.
resetMasterUsername No description.
resetPort No description.
resetPreferredBackupWindow No description.
resetPreferredMaintenanceWindow No description.
resetSkipFinalSnapshot No description.
resetSnapshotIdentifier No description.
resetStorageEncrypted No description.
resetTags No description.
resetTagsAll No description.
resetTimeouts No description.
resetVpcSecurityGroupIds No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toHclTerraform
public toHclTerraform(): any
toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

addMoveTarget
public addMoveTarget(moveTarget: string): void

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: string

The string move target that will correspond to this resource.


getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

hasResourceMove
public hasResourceMove(): TerraformResourceMoveByTarget | TerraformResourceMoveById
importFrom
public importFrom(id: string, provider?: TerraformProvider): void
idRequired
  • Type: string

providerOptional
  • Type: cdktf.TerraformProvider

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

moveFromId
public moveFromId(id: string): void

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: string

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public moveTo(moveTarget: string, index?: string | number): void

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: string

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: string | number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public moveToId(id: string): void

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: string

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putTimeouts
public putTimeouts(value: DocdbClusterTimeouts): void
valueRequired

resetApplyImmediately
public resetApplyImmediately(): void
resetAvailabilityZones
public resetAvailabilityZones(): void
resetBackupRetentionPeriod
public resetBackupRetentionPeriod(): void
resetClusterIdentifier
public resetClusterIdentifier(): void
resetClusterIdentifierPrefix
public resetClusterIdentifierPrefix(): void
resetClusterMembers
public resetClusterMembers(): void
resetDbClusterParameterGroupName
public resetDbClusterParameterGroupName(): void
resetDbSubnetGroupName
public resetDbSubnetGroupName(): void
resetDeletionProtection
public resetDeletionProtection(): void
resetEnabledCloudwatchLogsExports
public resetEnabledCloudwatchLogsExports(): void
resetEngine
public resetEngine(): void
resetEngineVersion
public resetEngineVersion(): void
resetFinalSnapshotIdentifier
public resetFinalSnapshotIdentifier(): void
resetGlobalClusterIdentifier
public resetGlobalClusterIdentifier(): void
resetId
public resetId(): void
resetKmsKeyId
public resetKmsKeyId(): void
resetMasterPassword
public resetMasterPassword(): void
resetMasterUsername
public resetMasterUsername(): void
resetPort
public resetPort(): void
resetPreferredBackupWindow
public resetPreferredBackupWindow(): void
resetPreferredMaintenanceWindow
public resetPreferredMaintenanceWindow(): void
resetSkipFinalSnapshot
public resetSkipFinalSnapshot(): void
resetSnapshotIdentifier
public resetSnapshotIdentifier(): void
resetStorageEncrypted
public resetStorageEncrypted(): void
resetTags
public resetTags(): void
resetTagsAll
public resetTagsAll(): void
resetTimeouts
public resetTimeouts(): void
resetVpcSecurityGroupIds
public resetVpcSecurityGroupIds(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a DocdbCluster resource upon running "cdktf plan ".

isConstruct
import { docdbCluster } from '@cdktf/aws-cdk'

docdbCluster.DocdbCluster.isConstruct(x: any)

Checks if x is a construct.

xRequired
  • Type: any

Any object.


isTerraformElement
import { docdbCluster } from '@cdktf/aws-cdk'

docdbCluster.DocdbCluster.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { docdbCluster } from '@cdktf/aws-cdk'

docdbCluster.DocdbCluster.isTerraformResource(x: any)
xRequired
  • Type: any

generateConfigForImport
import { docdbCluster } from '@cdktf/aws-cdk'

docdbCluster.DocdbCluster.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)

Generates CDKTF code for importing a DocdbCluster resource upon running "cdktf plan ".

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: string

The construct id used in the generated config for the DocdbCluster to import.


importFromIdRequired
  • Type: string

The id of the existing DocdbCluster that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: cdktf.TerraformProvider

? Optional instance of the provider where the DocdbCluster to import is found.


Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
arn string No description.
clusterResourceId string No description.
endpoint string No description.
hostedZoneId string No description.
readerEndpoint string No description.
timeouts DocdbClusterTimeoutsOutputReference No description.
applyImmediatelyInput boolean | cdktf.IResolvable No description.
availabilityZonesInput string[] No description.
backupRetentionPeriodInput number No description.
clusterIdentifierInput string No description.
clusterIdentifierPrefixInput string No description.
clusterMembersInput string[] No description.
dbClusterParameterGroupNameInput string No description.
dbSubnetGroupNameInput string No description.
deletionProtectionInput boolean | cdktf.IResolvable No description.
enabledCloudwatchLogsExportsInput string[] No description.
engineInput string No description.
engineVersionInput string No description.
finalSnapshotIdentifierInput string No description.
globalClusterIdentifierInput string No description.
idInput string No description.
kmsKeyIdInput string No description.
masterPasswordInput string No description.
masterUsernameInput string No description.
portInput number No description.
preferredBackupWindowInput string No description.
preferredMaintenanceWindowInput string No description.
skipFinalSnapshotInput boolean | cdktf.IResolvable No description.
snapshotIdentifierInput string No description.
storageEncryptedInput boolean | cdktf.IResolvable No description.
tagsAllInput {[ key: string ]: string} No description.
tagsInput {[ key: string ]: string} No description.
timeoutsInput cdktf.IResolvable | DocdbClusterTimeouts No description.
vpcSecurityGroupIdsInput string[] No description.
applyImmediately boolean | cdktf.IResolvable No description.
availabilityZones string[] No description.
backupRetentionPeriod number No description.
clusterIdentifier string No description.
clusterIdentifierPrefix string No description.
clusterMembers string[] No description.
dbClusterParameterGroupName string No description.
dbSubnetGroupName string No description.
deletionProtection boolean | cdktf.IResolvable No description.
enabledCloudwatchLogsExports string[] No description.
engine string No description.
engineVersion string No description.
finalSnapshotIdentifier string No description.
globalClusterIdentifier string No description.
id string No description.
kmsKeyId string No description.
masterPassword string No description.
masterUsername string No description.
port number No description.
preferredBackupWindow string No description.
preferredMaintenanceWindow string No description.
skipFinalSnapshot boolean | cdktf.IResolvable No description.
snapshotIdentifier string No description.
storageEncrypted boolean | cdktf.IResolvable No description.
tags {[ key: string ]: string} No description.
tagsAll {[ key: string ]: string} No description.
vpcSecurityGroupIds string[] No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

arnRequired
public readonly arn: string;
  • Type: string

clusterResourceIdRequired
public readonly clusterResourceId: string;
  • Type: string

endpointRequired
public readonly endpoint: string;
  • Type: string

hostedZoneIdRequired
public readonly hostedZoneId: string;
  • Type: string

readerEndpointRequired
public readonly readerEndpoint: string;
  • Type: string

timeoutsRequired
public readonly timeouts: DocdbClusterTimeoutsOutputReference;

applyImmediatelyInputOptional
public readonly applyImmediatelyInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availabilityZonesInputOptional
public readonly availabilityZonesInput: string[];
  • Type: string[]

backupRetentionPeriodInputOptional
public readonly backupRetentionPeriodInput: number;
  • Type: number

clusterIdentifierInputOptional
public readonly clusterIdentifierInput: string;
  • Type: string

clusterIdentifierPrefixInputOptional
public readonly clusterIdentifierPrefixInput: string;
  • Type: string

clusterMembersInputOptional
public readonly clusterMembersInput: string[];
  • Type: string[]

dbClusterParameterGroupNameInputOptional
public readonly dbClusterParameterGroupNameInput: string;
  • Type: string

dbSubnetGroupNameInputOptional
public readonly dbSubnetGroupNameInput: string;
  • Type: string

deletionProtectionInputOptional
public readonly deletionProtectionInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enabledCloudwatchLogsExportsInputOptional
public readonly enabledCloudwatchLogsExportsInput: string[];
  • Type: string[]

engineInputOptional
public readonly engineInput: string;
  • Type: string

engineVersionInputOptional
public readonly engineVersionInput: string;
  • Type: string

finalSnapshotIdentifierInputOptional
public readonly finalSnapshotIdentifierInput: string;
  • Type: string

globalClusterIdentifierInputOptional
public readonly globalClusterIdentifierInput: string;
  • Type: string

idInputOptional
public readonly idInput: string;
  • Type: string

kmsKeyIdInputOptional
public readonly kmsKeyIdInput: string;
  • Type: string

masterPasswordInputOptional
public readonly masterPasswordInput: string;
  • Type: string

masterUsernameInputOptional
public readonly masterUsernameInput: string;
  • Type: string

portInputOptional
public readonly portInput: number;
  • Type: number

preferredBackupWindowInputOptional
public readonly preferredBackupWindowInput: string;
  • Type: string

preferredMaintenanceWindowInputOptional
public readonly preferredMaintenanceWindowInput: string;
  • Type: string

skipFinalSnapshotInputOptional
public readonly skipFinalSnapshotInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

snapshotIdentifierInputOptional
public readonly snapshotIdentifierInput: string;
  • Type: string

storageEncryptedInputOptional
public readonly storageEncryptedInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

tagsAllInputOptional
public readonly tagsAllInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsInputOptional
public readonly tagsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

timeoutsInputOptional
public readonly timeoutsInput: IResolvable | DocdbClusterTimeouts;

vpcSecurityGroupIdsInputOptional
public readonly vpcSecurityGroupIdsInput: string[];
  • Type: string[]

applyImmediatelyRequired
public readonly applyImmediately: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

availabilityZonesRequired
public readonly availabilityZones: string[];
  • Type: string[]

backupRetentionPeriodRequired
public readonly backupRetentionPeriod: number;
  • Type: number

clusterIdentifierRequired
public readonly clusterIdentifier: string;
  • Type: string

clusterIdentifierPrefixRequired
public readonly clusterIdentifierPrefix: string;
  • Type: string

clusterMembersRequired
public readonly clusterMembers: string[];
  • Type: string[]

dbClusterParameterGroupNameRequired
public readonly dbClusterParameterGroupName: string;
  • Type: string

dbSubnetGroupNameRequired
public readonly dbSubnetGroupName: string;
  • Type: string

deletionProtectionRequired
public readonly deletionProtection: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

enabledCloudwatchLogsExportsRequired
public readonly enabledCloudwatchLogsExports: string[];
  • Type: string[]

engineRequired
public readonly engine: string;
  • Type: string

engineVersionRequired
public readonly engineVersion: string;
  • Type: string

finalSnapshotIdentifierRequired
public readonly finalSnapshotIdentifier: string;
  • Type: string

globalClusterIdentifierRequired
public readonly globalClusterIdentifier: string;
  • Type: string

idRequired
public readonly id: string;
  • Type: string

kmsKeyIdRequired
public readonly kmsKeyId: string;
  • Type: string

masterPasswordRequired
public readonly masterPassword: string;
  • Type: string

masterUsernameRequired
public readonly masterUsername: string;
  • Type: string

portRequired
public readonly port: number;
  • Type: number

preferredBackupWindowRequired
public readonly preferredBackupWindow: string;
  • Type: string

preferredMaintenanceWindowRequired
public readonly preferredMaintenanceWindow: string;
  • Type: string

skipFinalSnapshotRequired
public readonly skipFinalSnapshot: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

snapshotIdentifierRequired
public readonly snapshotIdentifier: string;
  • Type: string

storageEncryptedRequired
public readonly storageEncrypted: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

tagsRequired
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsAllRequired
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

vpcSecurityGroupIdsRequired
public readonly vpcSecurityGroupIds: string[];
  • Type: string[]

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

DocdbClusterConfig

Initializer

import { docdbCluster } from '@cdktf/aws-cdk'

const docdbClusterConfig: docdbCluster.DocdbClusterConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
applyImmediately boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#apply_immediately DocdbCluster#apply_immediately}.
availabilityZones string[] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#availability_zones DocdbCluster#availability_zones}.
backupRetentionPeriod number Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#backup_retention_period DocdbCluster#backup_retention_period}.
clusterIdentifier string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_identifier DocdbCluster#cluster_identifier}.
clusterIdentifierPrefix string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_identifier_prefix DocdbCluster#cluster_identifier_prefix}.
clusterMembers string[] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_members DocdbCluster#cluster_members}.
dbClusterParameterGroupName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#db_cluster_parameter_group_name DocdbCluster#db_cluster_parameter_group_name}.
dbSubnetGroupName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#db_subnet_group_name DocdbCluster#db_subnet_group_name}.
deletionProtection boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#deletion_protection DocdbCluster#deletion_protection}.
enabledCloudwatchLogsExports string[] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#enabled_cloudwatch_logs_exports DocdbCluster#enabled_cloudwatch_logs_exports}.
engine string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#engine DocdbCluster#engine}.
engineVersion string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#engine_version DocdbCluster#engine_version}.
finalSnapshotIdentifier string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#final_snapshot_identifier DocdbCluster#final_snapshot_identifier}.
globalClusterIdentifier string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#global_cluster_identifier DocdbCluster#global_cluster_identifier}.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#id DocdbCluster#id}.
kmsKeyId string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#kms_key_id DocdbCluster#kms_key_id}.
masterPassword string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#master_password DocdbCluster#master_password}.
masterUsername string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#master_username DocdbCluster#master_username}.
port number Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#port DocdbCluster#port}.
preferredBackupWindow string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#preferred_backup_window DocdbCluster#preferred_backup_window}.
preferredMaintenanceWindow string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#preferred_maintenance_window DocdbCluster#preferred_maintenance_window}.
skipFinalSnapshot boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#skip_final_snapshot DocdbCluster#skip_final_snapshot}.
snapshotIdentifier string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#snapshot_identifier DocdbCluster#snapshot_identifier}.
storageEncrypted boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#storage_encrypted DocdbCluster#storage_encrypted}.
tags {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#tags DocdbCluster#tags}.
tagsAll {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#tags_all DocdbCluster#tags_all}.
timeouts DocdbClusterTimeouts timeouts block.
vpcSecurityGroupIds string[] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#vpc_security_group_ids DocdbCluster#vpc_security_group_ids}.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

applyImmediatelyOptional
public readonly applyImmediately: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#apply_immediately DocdbCluster#apply_immediately}.


availabilityZonesOptional
public readonly availabilityZones: string[];
  • Type: string[]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#availability_zones DocdbCluster#availability_zones}.


backupRetentionPeriodOptional
public readonly backupRetentionPeriod: number;
  • Type: number

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#backup_retention_period DocdbCluster#backup_retention_period}.


clusterIdentifierOptional
public readonly clusterIdentifier: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_identifier DocdbCluster#cluster_identifier}.


clusterIdentifierPrefixOptional
public readonly clusterIdentifierPrefix: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_identifier_prefix DocdbCluster#cluster_identifier_prefix}.


clusterMembersOptional
public readonly clusterMembers: string[];
  • Type: string[]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#cluster_members DocdbCluster#cluster_members}.


dbClusterParameterGroupNameOptional
public readonly dbClusterParameterGroupName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#db_cluster_parameter_group_name DocdbCluster#db_cluster_parameter_group_name}.


dbSubnetGroupNameOptional
public readonly dbSubnetGroupName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#db_subnet_group_name DocdbCluster#db_subnet_group_name}.


deletionProtectionOptional
public readonly deletionProtection: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#deletion_protection DocdbCluster#deletion_protection}.


enabledCloudwatchLogsExportsOptional
public readonly enabledCloudwatchLogsExports: string[];
  • Type: string[]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#enabled_cloudwatch_logs_exports DocdbCluster#enabled_cloudwatch_logs_exports}.


engineOptional
public readonly engine: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#engine DocdbCluster#engine}.


engineVersionOptional
public readonly engineVersion: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#engine_version DocdbCluster#engine_version}.


finalSnapshotIdentifierOptional
public readonly finalSnapshotIdentifier: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#final_snapshot_identifier DocdbCluster#final_snapshot_identifier}.


globalClusterIdentifierOptional
public readonly globalClusterIdentifier: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#global_cluster_identifier DocdbCluster#global_cluster_identifier}.


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#id DocdbCluster#id}.

Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.


kmsKeyIdOptional
public readonly kmsKeyId: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#kms_key_id DocdbCluster#kms_key_id}.


masterPasswordOptional
public readonly masterPassword: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#master_password DocdbCluster#master_password}.


masterUsernameOptional
public readonly masterUsername: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#master_username DocdbCluster#master_username}.


portOptional
public readonly port: number;
  • Type: number

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#port DocdbCluster#port}.


preferredBackupWindowOptional
public readonly preferredBackupWindow: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#preferred_backup_window DocdbCluster#preferred_backup_window}.


preferredMaintenanceWindowOptional
public readonly preferredMaintenanceWindow: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#preferred_maintenance_window DocdbCluster#preferred_maintenance_window}.


skipFinalSnapshotOptional
public readonly skipFinalSnapshot: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#skip_final_snapshot DocdbCluster#skip_final_snapshot}.


snapshotIdentifierOptional
public readonly snapshotIdentifier: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#snapshot_identifier DocdbCluster#snapshot_identifier}.


storageEncryptedOptional
public readonly storageEncrypted: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#storage_encrypted DocdbCluster#storage_encrypted}.


tagsOptional
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#tags DocdbCluster#tags}.


tagsAllOptional
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#tags_all DocdbCluster#tags_all}.


timeoutsOptional
public readonly timeouts: DocdbClusterTimeouts;

timeouts block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#timeouts DocdbCluster#timeouts}


vpcSecurityGroupIdsOptional
public readonly vpcSecurityGroupIds: string[];
  • Type: string[]

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#vpc_security_group_ids DocdbCluster#vpc_security_group_ids}.


DocdbClusterTimeouts

Initializer

import { docdbCluster } from '@cdktf/aws-cdk'

const docdbClusterTimeouts: docdbCluster.DocdbClusterTimeouts = { ... }

Properties

Name Type Description
create string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#create DocdbCluster#create}.
delete string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#delete DocdbCluster#delete}.
update string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#update DocdbCluster#update}.

createOptional
public readonly create: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#create DocdbCluster#create}.


deleteOptional
public readonly delete: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#delete DocdbCluster#delete}.


updateOptional
public readonly update: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/docdb_cluster#update DocdbCluster#update}.


Classes

DocdbClusterTimeoutsOutputReference

Initializers

import { docdbCluster } from '@cdktf/aws-cdk'

new docdbCluster.DocdbClusterTimeoutsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


Methods

Name Description
computeFqn No description.
getAnyMapAttribute No description.
getBooleanAttribute No description.
getBooleanMapAttribute No description.
getListAttribute No description.
getNumberAttribute No description.
getNumberListAttribute No description.
getNumberMapAttribute No description.
getStringAttribute No description.
getStringMapAttribute No description.
interpolationForAttribute No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetCreate No description.
resetDelete No description.
resetUpdate No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public resetCreate(): void
resetDelete
public resetDelete(): void
resetUpdate
public resetUpdate(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
createInput string No description.
deleteInput string No description.
updateInput string No description.
create string No description.
delete string No description.
update string No description.
internalValue cdktf.IResolvable | DocdbClusterTimeouts No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: string[]

The creation stack of this resolvable which will be appended to errors thrown during resolution.

If this returns an empty array the stack will not be attached.


fqnRequired
public readonly fqn: string;
  • Type: string

createInputOptional
public readonly createInput: string;
  • Type: string

deleteInputOptional
public readonly deleteInput: string;
  • Type: string

updateInputOptional
public readonly updateInput: string;
  • Type: string

createRequired
public readonly create: string;
  • Type: string

deleteRequired
public readonly delete: string;
  • Type: string

updateRequired
public readonly update: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | DocdbClusterTimeouts;