Skip to content

StarRocksInstance

This class encapsulates and extends the ROS resource type ALIYUN::EMR::StarRocksInstance.

Initializers

import com.aliyun.ros.cdk.emr.StarRocksInstance;
StarRocksInstance.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .adminPassword(java.lang.String)
    .adminPassword(IResolvable)
    .clusterZoneId(java.lang.String)
    .clusterZoneId(IResolvable)
    .instanceName(java.lang.String)
    .instanceName(IResolvable)
    .packageType(java.lang.String)
    .packageType(IResolvable)
    .payType(java.lang.String)
    .payType(IResolvable)
    .runMode(java.lang.String)
    .runMode(IResolvable)
    .version(java.lang.String)
    .version(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
//  .autoRenew(java.lang.Boolean)
//  .autoRenew(IResolvable)
//  .backendNodeGroups(IResolvable)
//  .backendNodeGroups(java.util.List<IResolvable)
//  .backendNodeGroups(BackendNodeGroupsProperty>)
//  .duration(java.lang.Number)
//  .duration(IResolvable)
//  .encrypted(java.lang.Boolean)
//  .encrypted(IResolvable)
//  .frontendNodeGroups(IResolvable)
//  .frontendNodeGroups(java.util.List<IResolvable)
//  .frontendNodeGroups(FrontendNodeGroupsProperty>)
//  .kmsKeyId(java.lang.String)
//  .kmsKeyId(IResolvable)
//  .observerNodeGroups(IResolvable)
//  .observerNodeGroups(java.util.List<IResolvable)
//  .observerNodeGroups(ObserverNodeGroupsProperty>)
//  .orderId(java.lang.Number)
//  .orderId(IResolvable)
//  .ossAccessingRoleName(java.lang.String)
//  .ossAccessingRoleName(IResolvable)
//  .pricingCycle(java.lang.String)
//  .pricingCycle(IResolvable)
//  .promotionOptionNo(java.lang.String)
//  .promotionOptionNo(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .resourceType(java.lang.String)
//  .resourceType(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .vswitches(IResolvable)
//  .vswitches(java.util.List<IResolvable)
//  .vswitches(VswitchesProperty>)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct No description.
id java.lang.String No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
adminPassword java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property adminPassword: Password of admin user.
clusterZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property clusterZoneId: Primary ZoneId of StarRocks instance.
instanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceName: The name of the StarRocks instance.
packageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property packageType: The package type of the instance: - trial: Starter Edition - official: Standard.
payType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property payType: The pay type of the StarRocks instance: - prePaid - postPaid.
runMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property runMode: The run mode of the instance: - **shared_nothing: Storage and calculation.
version java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property version: The version of the StarRocks instance.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: The VPC ID of the StarRocks instance.
autoRenew java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoRenew: Whether to enable automatic renewal.
backendNodeGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListBackendNodeGroupsProperty> Property backendNodeGroups: List of BE or CN compute group information.
duration java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property duration: Duration of purchase.
encrypted java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property encrypted: Whether encrypted.
frontendNodeGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListFrontendNodeGroupsProperty> Property frontendNodeGroups: List of FE Node Group Information.
kmsKeyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property kmsKeyId: The ID of the Key Management Service (KMS) key.
observerNodeGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListObserverNodeGroupsProperty> Property observerNodeGroups: list of Observer calculates group information.
orderId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property orderId: Order ID.
ossAccessingRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ossAccessingRoleName: Role name used for password-free access to OSS.
pricingCycle java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property pricingCycle: The duration unit for purchasing: - Month - Year This is only meaningful when PayType is set to PrePaid.
promotionOptionNo java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property promotionOptionNo: Promotion ID.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group to which the StarRocks instance belongs.
resourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceType: Resource type.
tags java.util.List<TagsProperty> Property tags: Tags of StarRocks.
vswitches com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVswitchesProperty> Property vswitches: The VSwitches info of the StarRocks instance.

scopeRequired

  • Type: com.aliyun.ros.cdk.core.Construct

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

adminPasswordRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property adminPassword: Password of admin user.


clusterZoneIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property clusterZoneId: Primary ZoneId of StarRocks instance.


instanceNameRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceName: The name of the StarRocks instance.


packageTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


payTypeRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


runModeRequired

  • Type: java.lang.String OR com.aliyun.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

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property version: The version of the StarRocks instance.


vpcIdRequired

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property vpcId: The VPC ID of the StarRocks instance.


autoRenewOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property autoRenew: Whether to enable automatic renewal.

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


backendNodeGroupsOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListBackendNodeGroupsProperty>

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


durationOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property duration: Duration of purchase.

It is only meaningful when PayType is set to PrePaid.


encryptedOptional

  • Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable

Property encrypted: Whether encrypted.


frontendNodeGroupsOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListFrontendNodeGroupsProperty>

Property frontendNodeGroups: List of FE Node Group Information.


kmsKeyIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


observerNodeGroupsOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListObserverNodeGroupsProperty>

Property observerNodeGroups: list of Observer calculates group information.


orderIdOptional

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property orderId: Order ID.


ossAccessingRoleNameOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


pricingCycleOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


promotionOptionNoOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property promotionOptionNo: Promotion ID.


resourceGroupIdOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


resourceTypeOptional

  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceType: Resource type.


tagsOptional

Property tags: Tags of StarRocks.


vswitchesOptional

  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVswitchesProperty>

Property vswitches: The VSwitches info of the StarRocks instance.


Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
addCondition No description.
addCount No description.
addDependency No description.
addResourceDesc No description.
applyRemovalPolicy No description.
fetchCondition No description.
fetchDependency No description.
fetchResourceDesc No description.
getAtt No description.
setMetadata No description.

toString

public java.lang.String toString()

Returns a string representation of this construct.

synthesize

public void synthesize(ISynthesisSession session)

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: com.aliyun.ros.cdk.core.ISynthesisSession

The synthesis session.


addCondition

public void addCondition(RosCondition condition)

conditionRequired

  • Type: com.aliyun.ros.cdk.core.RosCondition

addCount

public void addCount(java.lang.Number OR IResolvable count)

countRequired

  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

addDependency

public void addDependency(Resource resource)

resourceRequired

  • Type: com.aliyun.ros.cdk.core.Resource

addResourceDesc

public void addResourceDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy(RemovalPolicy policy)

policyRequired

  • Type: com.aliyun.ros.cdk.core.RemovalPolicy

fetchCondition

public RosCondition fetchCondition()

fetchDependency

public java.util.List<java.lang.String> fetchDependency()

fetchResourceDesc

public java.lang.String fetchResourceDesc()

getAtt

public IResolvable getAtt(java.lang.String name)

nameRequired

  • Type: java.lang.String

setMetadata

public void setMetadata(java.lang.String key, java.lang.Object value)

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

Static Functions

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

isConstruct

import com.aliyun.ros.cdk.emr.StarRocksInstance;
StarRocksInstance.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
ref java.lang.String No description.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
resource com.aliyun.ros.cdk.core.RosResource No description.
attrAclId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AclId: Access control ID.
attrArchitecture java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Architecture: Architecture of StarRocks instance.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the StarRocks instance.
attrEnableAutoMinorVersionUpgrade java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableAutoMinorVersionUpgrade: Whether minor version automatic upgrades are supported.
attrEnabledAuditLoader java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnabledAuditLoader: Whether enable audit loader.
attrEnableSsl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableSsl: Enable SSL.
attrEncrypted java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Encrypted: Whether encrypted.
attrExpireTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExpireTime: StarRocks Instance expire time.
attrInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: The ID of the StarRocks instance.
attrInstanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceName: The name of the StarRocks instance.
attrIsolateLeader java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute IsolateLeader: Whether leader FE is isolated.
attrKmsKeyId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute KmsKeyId: The ID of the Key Management Service (KMS) key.
attrMaintainablePeriod java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MaintainablePeriod: StarRocks Instance maintainable period.
attrMinorVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MinorVersion: StarRocks Instance minor version.
attrMonitorType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute MonitorType: Monitor Type.
attrOssLocation java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute OssLocation: OSS Location.
attrPackageType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PackageType: The package type of the StarRocks instance.
attrPayType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PayType: The pay type of the StarRocks instance.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The ID of the resource group to which the StarRocks instance belongs..
attrRunMode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RunMode: The run mode of the StarRocks instance.
attrRunningTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute RunningTime: StarRocks Instance running time.
attrSecurityGroupManaged java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SecurityGroupManaged: Whether security group is managed.
attrSgId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SgId: Security Group ID of StarRocks instance.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: Tag list of the StarRocks instance.
attrVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Version: The version of the StarRocks instance.
attrVpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute VpcId: The VPC ID of the StarRocks instance.
attrVswitches java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Vswitches: The VSwitches info of the StarRocks instance.
props StarRocksInstanceProps No description.

nodeRequired

public ConstructNode getNode();
  • Type: com.aliyun.ros.cdk.core.ConstructNode

The construct tree node associated with this construct.


envRequired

public IResourceEnvironment getEnv();
  • Type: com.aliyun.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

public java.lang.String getRef();
  • Type: java.lang.String

stackRequired

public Stack getStack();
  • Type: com.aliyun.ros.cdk.core.Stack

The stack in which this resource is defined.


resourceOptional

public RosResource getResource();
  • Type: com.aliyun.ros.cdk.core.RosResource

attrAclIdRequired

public java.lang.Object getAttrAclId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute AclId: Access control ID.


attrArchitectureRequired

public java.lang.Object getAttrArchitecture();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Architecture: Architecture of StarRocks instance.


attrCreateTimeRequired

public java.lang.Object getAttrCreateTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute CreateTime: The creation time of the StarRocks instance.


attrEnableAutoMinorVersionUpgradeRequired

public java.lang.Object getAttrEnableAutoMinorVersionUpgrade();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EnableAutoMinorVersionUpgrade: Whether minor version automatic upgrades are supported.


attrEnabledAuditLoaderRequired

public java.lang.Object getAttrEnabledAuditLoader();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EnabledAuditLoader: Whether enable audit loader.


attrEnableSslRequired

public java.lang.Object getAttrEnableSsl();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute EnableSsl: Enable SSL.


attrEncryptedRequired

public java.lang.Object getAttrEncrypted();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Encrypted: Whether encrypted.


attrExpireTimeRequired

public java.lang.Object getAttrExpireTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ExpireTime: StarRocks Instance expire time.


attrInstanceIdRequired

public java.lang.Object getAttrInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceId: The ID of the StarRocks instance.


attrInstanceNameRequired

public java.lang.Object getAttrInstanceName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceName: The name of the StarRocks instance.


attrIsolateLeaderRequired

public java.lang.Object getAttrIsolateLeader();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute IsolateLeader: Whether leader FE is isolated.


attrKmsKeyIdRequired

public java.lang.Object getAttrKmsKeyId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute KmsKeyId: The ID of the Key Management Service (KMS) key.


attrMaintainablePeriodRequired

public java.lang.Object getAttrMaintainablePeriod();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MaintainablePeriod: StarRocks Instance maintainable period.


attrMinorVersionRequired

public java.lang.Object getAttrMinorVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MinorVersion: StarRocks Instance minor version.


attrMonitorTypeRequired

public java.lang.Object getAttrMonitorType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute MonitorType: Monitor Type.


attrOssLocationRequired

public java.lang.Object getAttrOssLocation();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute OssLocation: OSS Location.


attrPackageTypeRequired

public java.lang.Object getAttrPackageType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PackageType: The package type of the StarRocks instance.


attrPayTypeRequired

public java.lang.Object getAttrPayType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute PayType: The pay type of the StarRocks instance.


attrResourceGroupIdRequired

public java.lang.Object getAttrResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute ResourceGroupId: The ID of the resource group to which the StarRocks instance belongs..


attrRunModeRequired

public java.lang.Object getAttrRunMode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RunMode: The run mode of the StarRocks instance.


attrRunningTimeRequired

public java.lang.Object getAttrRunningTime();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute RunningTime: StarRocks Instance running time.


attrSecurityGroupManagedRequired

public java.lang.Object getAttrSecurityGroupManaged();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SecurityGroupManaged: Whether security group is managed.


attrSgIdRequired

public java.lang.Object getAttrSgId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute SgId: Security Group ID of StarRocks instance.


attrTagsRequired

public java.lang.Object getAttrTags();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Tags: Tag list of the StarRocks instance.


attrVersionRequired

public java.lang.Object getAttrVersion();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Version: The version of the StarRocks instance.


attrVpcIdRequired

public java.lang.Object getAttrVpcId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute VpcId: The VPC ID of the StarRocks instance.


attrVswitchesRequired

public java.lang.Object getAttrVswitches();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Attribute Vswitches: The VSwitches info of the StarRocks instance.


propsRequired

public StarRocksInstanceProps getProps();

Structs