IDatabaseInstance

class aws_cdk.aws_docdb.IDatabaseInstance(*args, **kwargs)

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

A database instance.

stability :stability: experimental

__init__(*args, **kwargs)

Attributes

db_instance_endpoint_address

The instance endpoint address.

stability :stability: experimental attribute: :attribute:: Endpoint

Return type

str

db_instance_endpoint_port

The instance endpoint port.

stability :stability: experimental attribute: :attribute:: Port

Return type

str

env

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.

Return type

ResourceEnvironment

instance_arn

The instance arn.

stability :stability: experimental

Return type

str

instance_endpoint

The instance endpoint.

stability :stability: experimental

Return type

Endpoint

instance_identifier

The instance identifier.

stability :stability: experimental

Return type

str

node

The construct tree node for this construct.

Return type

ConstructNode

stack

The stack in which this resource is defined.

Return type

Stack