Skip to content

IInstance

Represents a Instance.

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node for this construct.
env com.aliyun.ros.cdk.core.IResourceEnvironment The environment this resource belongs to.
stack com.aliyun.ros.cdk.core.Stack The stack in which this resource is defined.
attrAutoRenewal java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute AutoRenewal: Whether automatic renewal is enabled.
attrColdStorageSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ColdStorageSize: Instance low-frequency storage space.
attrCommodityCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CommodityCode: The commodity code.
attrComputeNodeCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ComputeNodeCount: Number of compute nodes.
attrCpu java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Cpu: Instance specifications.
attrCreateTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute CreateTime: The creation time of the resource.
attrEnableHiveAccess java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.
attrEndpoints java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Endpoints: List of domain names.
attrExpirationTime java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ExpirationTime: Expiration time.
attrGatewayCount java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GatewayCount: Number of gateway nodes.
attrGatewayCpu java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GatewayCpu: Cpu resources of the Gateway.
attrGatewayMemory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute GatewayMemory: Gateway memory resources.
attrInstanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceId: Resource attribute fields that represent the resource's primary key.
attrInstanceName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceName: The name of the resource.
attrInstanceOwner java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceOwner: The instance owner.
attrInstanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute InstanceType: The instance type.
attrMemory java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Memory: Memory.
attrPaymentType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute PaymentType: The payment type of the resource.
attrResourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrStorageSize java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute StorageSize: The standard storage space of the instance.
attrSuspendReason java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute SuspendReason: Reason for suspension.
attrTags java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Tags: Instance tag.
attrVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute Version: The instance version.
attrZoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Attribute ZoneId: The zone Id.
props InstanceProps No description.

nodeRequired

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

The construct tree node for 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.


stackRequired

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

The stack in which this resource is defined.


attrAutoRenewalRequired

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

Attribute AutoRenewal: Whether automatic renewal is enabled.


attrColdStorageSizeRequired

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

Attribute ColdStorageSize: Instance low-frequency storage space.

Unit: GB.


attrCommodityCodeRequired

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

Attribute CommodityCode: The commodity code.


attrComputeNodeCountRequired

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

Attribute ComputeNodeCount: Number of compute nodes.


attrCpuRequired

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

Attribute Cpu: Instance specifications.


attrCreateTimeRequired

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

Attribute CreateTime: The creation time of the resource.


attrEnableHiveAccessRequired

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

Attribute EnableHiveAccess: Whether data Lake acceleration is enabled.


attrEndpointsRequired

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

Attribute Endpoints: List of domain names.


attrExpirationTimeRequired

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

Attribute ExpirationTime: Expiration time.


attrGatewayCountRequired

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

Attribute GatewayCount: Number of gateway nodes.


attrGatewayCpuRequired

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

Attribute GatewayCpu: Cpu resources of the Gateway.


attrGatewayMemoryRequired

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

Attribute GatewayMemory: Gateway memory resources.


attrInstanceIdRequired

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

Attribute InstanceId: Resource attribute fields that represent the resource's primary key.


attrInstanceNameRequired

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

Attribute InstanceName: The name of the resource.


attrInstanceOwnerRequired

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

Attribute InstanceOwner: The instance owner.


attrInstanceTypeRequired

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

Attribute InstanceType: The instance type.


attrMemoryRequired

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

Attribute Memory: Memory.


attrPaymentTypeRequired

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

Attribute PaymentType: The payment type of the resource.


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.


attrStorageSizeRequired

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

Attribute StorageSize: The standard storage space of the instance.

Unit: GB.


attrSuspendReasonRequired

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

Attribute SuspendReason: Reason for suspension.


attrTagsRequired

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

Attribute Tags: Instance tag.


attrVersionRequired

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

Attribute Version: The instance version.


attrZoneIdRequired

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

Attribute ZoneId: The zone Id.


propsRequired

public InstanceProps getProps();