IDatabaseInstance

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

Bases: aws_cdk.core.IResource, typing_extensions.Protocol

A database instance.

Attributes

db_instance_endpoint_address

The instance endpoint address.

Attribute

Endpoint

Return type

str

db_instance_endpoint_port

The instance endpoint port.

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.

Return type

str

instance_endpoint

The instance endpoint.

Return type

Endpoint

instance_identifier

The instance identifier.

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