Skip to content

StarRocksInstanceProps

Properties for defining a StarRocksInstance.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-starrocksinstance

Initializer

import ros_cdk_emr
ros_cdk_emr.StarRocksInstanceProps(
  admin_password: typing.Union[str, IResolvable],
  cluster_zone_id: typing.Union[str, IResolvable],
  instance_name: typing.Union[str, IResolvable],
  package_type: typing.Union[str, IResolvable],
  pay_type: typing.Union[str, IResolvable],
  run_mode: typing.Union[str, IResolvable],
  version: typing.Union[str, IResolvable],
  vpc_id: typing.Union[str, IResolvable],
  auto_renew: typing.Union[bool, IResolvable] = None,
  backend_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, BackendNodeGroupsProperty]]] = None,
  duration: typing.Union[typing.Union[int, float], IResolvable] = None,
  encrypted: typing.Union[bool, IResolvable] = None,
  frontend_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, FrontendNodeGroupsProperty]]] = None,
  kms_key_id: typing.Union[str, IResolvable] = None,
  observer_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ObserverNodeGroupsProperty]]] = None,
  order_id: typing.Union[typing.Union[int, float], IResolvable] = None,
  oss_accessing_role_name: typing.Union[str, IResolvable] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  promotion_option_no: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  resource_type: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None,
  vswitches: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, VswitchesProperty]]] = None
)

Properties

Name Type Description
admin_password typing.Union[str, ros_cdk_core.IResolvable] Property adminPassword: Password of admin user.
cluster_zone_id typing.Union[str, ros_cdk_core.IResolvable] Property clusterZoneId: Primary ZoneId of StarRocks instance.
instance_name typing.Union[str, ros_cdk_core.IResolvable] Property instanceName: The name of the StarRocks instance.
package_type typing.Union[str, ros_cdk_core.IResolvable] Property packageType: The package type of the instance: - trial: Starter Edition - official: Standard.
pay_type typing.Union[str, ros_cdk_core.IResolvable] Property payType: The pay type of the StarRocks instance: - prePaid - postPaid.
run_mode typing.Union[str, ros_cdk_core.IResolvable] Property runMode: The run mode of the instance: - **shared_nothing: Storage and calculation.
version typing.Union[str, ros_cdk_core.IResolvable] Property version: The version of the StarRocks instance.
vpc_id typing.Union[str, ros_cdk_core.IResolvable] Property vpcId: The VPC ID of the StarRocks instance.
auto_renew typing.Union[bool, ros_cdk_core.IResolvable] Property autoRenew: Whether to enable automatic renewal.
backend_node_groups typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, BackendNodeGroupsProperty]]] Property backendNodeGroups: List of BE or CN compute group information.
duration typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property duration: Duration of purchase.
encrypted typing.Union[bool, ros_cdk_core.IResolvable] Property encrypted: Whether encrypted.
frontend_node_groups typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, FrontendNodeGroupsProperty]]] Property frontendNodeGroups: List of FE Node Group Information.
kms_key_id typing.Union[str, ros_cdk_core.IResolvable] Property kmsKeyId: The ID of the Key Management Service (KMS) key.
observer_node_groups typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, ObserverNodeGroupsProperty]]] Property observerNodeGroups: list of Observer calculates group information.
order_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property orderId: Order ID.
oss_accessing_role_name typing.Union[str, ros_cdk_core.IResolvable] Property ossAccessingRoleName: Role name used for password-free access to OSS.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: The duration unit for purchasing: - Month - Year This is only meaningful when PayType is set to PrePaid.
promotion_option_no typing.Union[str, ros_cdk_core.IResolvable] Property promotionOptionNo: Promotion ID.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group to which the StarRocks instance belongs.
resource_type typing.Union[str, ros_cdk_core.IResolvable] Property resourceType: Resource type.
tags typing.List[TagsProperty] Property tags: Tags of StarRocks.
vswitches typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, VswitchesProperty]]] Property vswitches: The VSwitches info of the StarRocks instance.

admin_passwordRequired

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

Property adminPassword: Password of admin user.


cluster_zone_idRequired

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

Property clusterZoneId: Primary ZoneId of StarRocks instance.


instance_nameRequired

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

Property instanceName: The name of the StarRocks instance.


package_typeRequired

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

Property packageType: The package type of the instance: - trial: Starter Edition - official: Standard.


pay_typeRequired

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

Property payType: The pay type of the StarRocks instance: - prePaid - postPaid.


run_modeRequired

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

Property runMode: The run mode of the instance: - **shared_nothing: Storage and calculation.

  • **shared_data: Storage and calculation separation.
  • **lakehouse: Data lake analysis.

versionRequired

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

Property version: The version of the StarRocks instance.


vpc_idRequired

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

Property vpcId: The VPC ID of the StarRocks instance.


auto_renewOptional

auto_renew: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoRenew: Whether to enable automatic renewal.

This is only meaningful when payType is set to PrePaid. Disabled by default.


backend_node_groupsOptional

backend_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, BackendNodeGroupsProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, BackendNodeGroupsProperty]]]

Property backendNodeGroups: List of BE or CN compute group information.


durationOptional

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

Property duration: Duration of purchase.

It is only meaningful when PayType is set to PrePaid.


encryptedOptional

encrypted: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property encrypted: Whether encrypted.


frontend_node_groupsOptional

frontend_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, FrontendNodeGroupsProperty]]]

Property frontendNodeGroups: List of FE Node Group Information.


kms_key_idOptional

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

Property kmsKeyId: The ID of the Key Management Service (KMS) key.


observer_node_groupsOptional

observer_node_groups: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, ObserverNodeGroupsProperty]]]

Property observerNodeGroups: list of Observer calculates group information.


order_idOptional

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

Property orderId: Order ID.


oss_accessing_role_nameOptional

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

Property ossAccessingRoleName: Role name used for password-free access to OSS.


pricing_cycleOptional

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

Property pricingCycle: The duration unit for purchasing: - Month - Year This is only meaningful when PayType is set to PrePaid.


promotion_option_noOptional

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

Property promotionOptionNo: Promotion ID.


resource_group_idOptional

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

Property resourceGroupId: The ID of the resource group to which the StarRocks instance belongs.


resource_typeOptional

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

Property resourceType: Resource type.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags of StarRocks.


vswitchesOptional

vswitches: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, VswitchesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, VswitchesProperty]]]

Property vswitches: The VSwitches info of the StarRocks instance.