Skip to content

EnterpriseDBCluster

  • Implements: ros_cdk_clickhouse.datasource.IEnterpriseDBCluster

This class encapsulates and extends the ROS resource type DATASOURCE::ClickHouse::EnterpriseDBCluster.

Initializers

from ros_cdk_clickhouse import datasource
datasource.EnterpriseDBCluster(
  scope: Construct,
  id: str,
  db_instance_id: typing.Union[str, IResolvable],
  refresh_options: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
db_instance_id typing.Union[str, ros_cdk_core.IResolvable] Property dbInstanceId: The cluster ID.
refresh_options typing.Union[str, ros_cdk_core.IResolvable] Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

db_instance_idRequired

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property dbInstanceId: The cluster ID.


refresh_optionsOptional

  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

Name Description
is_construct Return whether the given object is a Construct.

is_construct

from ros_cdk_clickhouse import datasource
datasource.EnterpriseDBCluster.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_category typing.Union[str, ros_cdk_core.IResolvable] Attribute Category: Type, value description: enterprise: Enterprise Edition.
attr_charge_type typing.Union[str, ros_cdk_core.IResolvable] Attribute ChargeType: The billing method.
attr_computing_group_ids typing.Union[str, ros_cdk_core.IResolvable] Attribute ComputingGroupIds: The list of computing group IDs.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The creation time of the cluster.
attr_db_instance_id typing.Union[str, ros_cdk_core.IResolvable] Attribute DBInstanceId: The cluster ID.
attr_description typing.Union[str, ros_cdk_core.IResolvable] Attribute Description: The cluster description.
attr_disabled_ports typing.Union[str, ros_cdk_core.IResolvable] Attribute DisabledPorts: The specified database port is disabled.
attr_endpoints typing.Union[str, ros_cdk_core.IResolvable] Attribute Endpoints: List of Endpoint details.
attr_engine typing.Union[str, ros_cdk_core.IResolvable] Attribute Engine: The engine type.
attr_engine_minor_version typing.Union[str, ros_cdk_core.IResolvable] Attribute EngineMinorVersion: The minor version number of the cluster engine.
attr_engine_version typing.Union[str, ros_cdk_core.IResolvable] Attribute EngineVersion: The engine version.
attr_instance_network_type typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceNetworkType: The network type of the instance.
attr_maintain_end_time typing.Union[str, ros_cdk_core.IResolvable] Attribute MaintainEndTime: The end time of the maintenance window.
attr_maintain_start_time typing.Union[str, ros_cdk_core.IResolvable] Attribute MaintainStartTime: The maintainable time start time.
attr_multi_zones typing.Union[str, ros_cdk_core.IResolvable] Attribute MultiZones: The information about the zones.
attr_node_count typing.Union[str, ros_cdk_core.IResolvable] Attribute NodeCount: The number of nodes.
attr_nodes typing.Union[str, ros_cdk_core.IResolvable] Attribute Nodes: The Node information.
attr_node_scale_max typing.Union[str, ros_cdk_core.IResolvable] Attribute NodeScaleMax: The maximum value of serverless node auto scaling.
attr_node_scale_min typing.Union[str, ros_cdk_core.IResolvable] Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.
attr_object_store_size typing.Union[str, ros_cdk_core.IResolvable] Attribute ObjectStoreSize: The size of the object storage space.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The ID of the resource group.
attr_scale_max typing.Union[str, ros_cdk_core.IResolvable] Attribute ScaleMax: The maximum capacity for elastic scaling.
attr_scale_min typing.Union[str, ros_cdk_core.IResolvable] Attribute ScaleMin: The minimum capacity for elastic scaling.
attr_storage_quota typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageQuota: Storage Pre-purchased Capacity (GB).
attr_storage_size typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageSize: The size of the storage space.
attr_storage_type typing.Union[str, ros_cdk_core.IResolvable] Attribute StorageType: The storage type.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The details of the tags.
attr_vpc_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VpcId: The VPC ID.
attr_vswitch_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VswitchId: The VSwitch ID.
attr_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ZoneId: The zone ID.
props EnterpriseDBClusterProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

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.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_categoryRequired

attr_category: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Category: Type, value description: enterprise: Enterprise Edition.


attr_charge_typeRequired

attr_charge_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ChargeType: The billing method.

Enterprise Edition clusters use the pay-as-you-go billing method.


attr_computing_group_idsRequired

attr_computing_group_ids: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ComputingGroupIds: The list of computing group IDs.


attr_create_timeRequired

attr_create_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute CreateTime: The creation time of the cluster.


attr_db_instance_idRequired

attr_db_instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute DBInstanceId: The cluster ID.


attr_descriptionRequired

attr_description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Description: The cluster description.


attr_disabled_portsRequired

attr_disabled_ports: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute DisabledPorts: The specified database port is disabled.

Multiple ports separated by commas (,) are supported.


attr_endpointsRequired

attr_endpoints: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Endpoints: List of Endpoint details.


attr_engineRequired

attr_engine: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Engine: The engine type.


attr_engine_minor_versionRequired

attr_engine_minor_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute EngineMinorVersion: The minor version number of the cluster engine.


attr_engine_versionRequired

attr_engine_version: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute EngineVersion: The engine version.


attr_instance_network_typeRequired

attr_instance_network_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute InstanceNetworkType: The network type of the instance.


attr_maintain_end_timeRequired

attr_maintain_end_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute MaintainEndTime: The end time of the maintenance window.


attr_maintain_start_timeRequired

attr_maintain_start_time: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute MaintainStartTime: The maintainable time start time.


attr_multi_zonesRequired

attr_multi_zones: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute MultiZones: The information about the zones.


attr_node_countRequired

attr_node_count: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute NodeCount: The number of nodes.

The value range is 2-16. Required when you use NodeScaleMin and NodeScaleMax to configure an elastic interval.


attr_nodesRequired

attr_nodes: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Nodes: The Node information.


attr_node_scale_maxRequired

attr_node_scale_max: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute NodeScaleMax: The maximum value of serverless node auto scaling.


attr_node_scale_minRequired

attr_node_scale_min: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute NodeScaleMin: Minimum number of Serverless nodes for auto-scaling.


attr_object_store_sizeRequired

attr_object_store_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ObjectStoreSize: The size of the object storage space.


attr_resource_group_idRequired

attr_resource_group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ResourceGroupId: The ID of the resource group.


attr_scale_maxRequired

attr_scale_max: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ScaleMax: The maximum capacity for elastic scaling.


attr_scale_minRequired

attr_scale_min: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ScaleMin: The minimum capacity for elastic scaling.


attr_storage_quotaRequired

attr_storage_quota: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute StorageQuota: Storage Pre-purchased Capacity (GB).


attr_storage_sizeRequired

attr_storage_size: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute StorageSize: The size of the storage space.

Unit: GB.


attr_storage_typeRequired

attr_storage_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute StorageType: The storage type.


attr_tagsRequired

attr_tags: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute Tags: The details of the tags.


attr_vpc_idRequired

attr_vpc_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VpcId: The VPC ID.


attr_vswitch_idRequired

attr_vswitch_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute VswitchId: The VSwitch ID.


attr_zone_idRequired

attr_zone_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Attribute ZoneId: The zone ID.


propsRequired

props: EnterpriseDBClusterProps