DatabaseClusterAttributes

class aws_cdk.aws_rds.DatabaseClusterAttributes(*, cluster_identifier, cluster_endpoint_address=None, engine=None, instance_endpoint_addresses=None, instance_identifiers=None, port=None, reader_endpoint_address=None, security_groups=None)

Bases: object

Properties that describe an existing cluster instance.

Parameters
  • cluster_identifier (str) – Identifier for the cluster.

  • cluster_endpoint_address (Optional[str]) – Cluster endpoint address. Default: - no endpoint address

  • engine (Optional[IClusterEngine]) – The engine of the existing Cluster. Default: - the imported Cluster’s engine is unknown

  • instance_endpoint_addresses (Optional[List[str]]) – Endpoint addresses of individual instances. Default: - no instance endpoints

  • instance_identifiers (Optional[List[str]]) – Identifier for the instances. Default: - no instance identifiers

  • port (Union[int, float, None]) – The database port. Default: - none

  • reader_endpoint_address (Optional[str]) – Reader endpoint address. Default: - no reader address

  • security_groups (Optional[List[ISecurityGroup]]) – The security groups of the database cluster. Default: - no security groups

Attributes

cluster_endpoint_address

Cluster endpoint address.

Default
  • no endpoint address

Return type

Optional[str]

cluster_identifier

Identifier for the cluster.

Return type

str

engine

The engine of the existing Cluster.

Default
  • the imported Cluster’s engine is unknown

Return type

Optional[IClusterEngine]

instance_endpoint_addresses

Endpoint addresses of individual instances.

Default
  • no instance endpoints

Return type

Optional[List[str]]

instance_identifiers

Identifier for the instances.

Default
  • no instance identifiers

Return type

Optional[List[str]]

port

The database port.

Default
  • none

Return type

Union[int, float, None]

reader_endpoint_address

Reader endpoint address.

Default
  • no reader address

Return type

Optional[str]

security_groups

The security groups of the database cluster.

Default
  • no security groups

Return type

Optional[List[ISecurityGroup]]