Skip to content

DedicatedHostGroup

This class encapsulates and extends the ROS resource type ALIYUN::CDDC::DedicatedHostGroup, which is used to create a dedicated cluster.

Initializers

import com.aliyun.ros.cdk.cddc.DedicatedHostGroup;
DedicatedHostGroup.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .engine(java.lang.String)
    .engine(IResolvable)
    .vpcId(java.lang.String)
    .vpcId(IResolvable)
//  .allocationPolicy(java.lang.String)
//  .allocationPolicy(IResolvable)
//  .cpuAllocationRatio(java.lang.Number)
//  .cpuAllocationRatio(IResolvable)
//  .dedicatedHostGroupDesc(java.lang.String)
//  .dedicatedHostGroupDesc(IResolvable)
//  .diskAllocationRatio(java.lang.Number)
//  .diskAllocationRatio(IResolvable)
//  .hostReplacePolicy(java.lang.String)
//  .hostReplacePolicy(IResolvable)
//  .memAllocationRatio(java.lang.Number)
//  .memAllocationRatio(IResolvable)
//  .openPermission(java.lang.String)
//  .openPermission(IResolvable)
    .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.
engine java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property engine: Database Engine Type.
vpcId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property vpcId: VPC ID.
allocationPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property allocationPolicy: Allocation Policy.
cpuAllocationRatio java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property cpuAllocationRatio: Cpu Allocation Ratio.
dedicatedHostGroupDesc java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dedicatedHostGroupDesc: Dedicated Host Group Description.
diskAllocationRatio java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property diskAllocationRatio: Disk Allocation Ratio.
hostReplacePolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostReplacePolicy: Host Replace Policy.
memAllocationRatio java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property memAllocationRatio: Memory Allocation Ratio.
openPermission java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property openPermission: Whether Open OS Permission.

scopeRequired

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

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

engineRequired

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

Property engine: Database Engine Type.


vpcIdRequired

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

Property vpcId: VPC ID.


allocationPolicyOptional

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

Property allocationPolicy: Allocation Policy.


cpuAllocationRatioOptional

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

Property cpuAllocationRatio: Cpu Allocation Ratio.


dedicatedHostGroupDescOptional

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

Property dedicatedHostGroupDesc: Dedicated Host Group Description.


diskAllocationRatioOptional

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

Property diskAllocationRatio: Disk Allocation Ratio.


hostReplacePolicyOptional

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

Property hostReplacePolicy: Host Replace Policy.


memAllocationRatioOptional

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

Property memAllocationRatio: Memory Allocation Ratio.


openPermissionOptional

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

Property openPermission: Whether Open OS Permission.


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.
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

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.cddc.DedicatedHostGroup;
DedicatedHostGroup.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.
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.
attrAllocationPolicy com.aliyun.ros.cdk.core.IResolvable Attribute AllocationPolicy: Allocation Policy.
attrBastionInstanceId com.aliyun.ros.cdk.core.IResolvable Attribute BastionInstanceId: BastionInstanceId.
attrCpuAllocatedAmount com.aliyun.ros.cdk.core.IResolvable Attribute CpuAllocatedAmount: CpuAllocatedAmount.
attrCpuAllocateRation com.aliyun.ros.cdk.core.IResolvable Attribute CpuAllocateRation: CpuAllocateRation.
attrCpuAllocationRatio com.aliyun.ros.cdk.core.IResolvable Attribute CpuAllocationRatio: Cpu Allocation Ratio.
attrDedicatedHostGroupDesc com.aliyun.ros.cdk.core.IResolvable Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.
attrDedicatedHostGroupId com.aliyun.ros.cdk.core.IResolvable Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDeployType com.aliyun.ros.cdk.core.IResolvable Attribute DeployType: DeployType.
attrDiskAllocatedAmount com.aliyun.ros.cdk.core.IResolvable Attribute DiskAllocatedAmount: DiskAllocatedAmount.
attrDiskAllocateRation com.aliyun.ros.cdk.core.IResolvable Attribute DiskAllocateRation: DiskAllocateRation.
attrDiskAllocationRatio com.aliyun.ros.cdk.core.IResolvable Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrDiskUsedAmount com.aliyun.ros.cdk.core.IResolvable Attribute DiskUsedAmount: DiskUsedAmount.
attrDiskUtility com.aliyun.ros.cdk.core.IResolvable Attribute DiskUtility: DiskUtility.
attrEngine com.aliyun.ros.cdk.core.IResolvable Attribute Engine: Database Engine Type.
attrHostNumber com.aliyun.ros.cdk.core.IResolvable Attribute HostNumber: Total Host Number.
attrHostReplacePolicy com.aliyun.ros.cdk.core.IResolvable Attribute HostReplacePolicy: Host Replace Policy.
attrInstanceNumber com.aliyun.ros.cdk.core.IResolvable Attribute InstanceNumber: Total Instance Number.
attrMemAllocatedAmount com.aliyun.ros.cdk.core.IResolvable Attribute MemAllocatedAmount: MemAllocatedAmount.
attrMemAllocateRation com.aliyun.ros.cdk.core.IResolvable Attribute MemAllocateRation: MemAllocateRation.
attrMemAllocationRatio com.aliyun.ros.cdk.core.IResolvable Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemUsedAmount com.aliyun.ros.cdk.core.IResolvable Attribute MemUsedAmount: MemUsedAmount.
attrMemUtility com.aliyun.ros.cdk.core.IResolvable Attribute MemUtility: MemUtility.
attrOpenPermission com.aliyun.ros.cdk.core.IResolvable Attribute OpenPermission: Whether Open OS Permission.
attrText com.aliyun.ros.cdk.core.IResolvable Attribute Text: Text.
attrVpcId com.aliyun.ros.cdk.core.IResolvable Attribute VpcId: VPC ID.

nodeRequired

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

The construct tree node associated with this construct.


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

attrAllocationPolicyRequired

public IResolvable getAttrAllocationPolicy();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute AllocationPolicy: Allocation Policy.


attrBastionInstanceIdRequired

public IResolvable getAttrBastionInstanceId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute BastionInstanceId: BastionInstanceId.


attrCpuAllocatedAmountRequired

public IResolvable getAttrCpuAllocatedAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CpuAllocatedAmount: CpuAllocatedAmount.


attrCpuAllocateRationRequired

public IResolvable getAttrCpuAllocateRation();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CpuAllocateRation: CpuAllocateRation.


attrCpuAllocationRatioRequired

public IResolvable getAttrCpuAllocationRatio();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute CpuAllocationRatio: Cpu Allocation Ratio.


attrDedicatedHostGroupDescRequired

public IResolvable getAttrDedicatedHostGroupDesc();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.


attrDedicatedHostGroupIdRequired

public IResolvable getAttrDedicatedHostGroupId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DedicatedHostGroupId: Dedicated Host Group ID.


attrDeployTypeRequired

public IResolvable getAttrDeployType();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DeployType: DeployType.


attrDiskAllocatedAmountRequired

public IResolvable getAttrDiskAllocatedAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskAllocatedAmount: DiskAllocatedAmount.


attrDiskAllocateRationRequired

public IResolvable getAttrDiskAllocateRation();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskAllocateRation: DiskAllocateRation.


attrDiskAllocationRatioRequired

public IResolvable getAttrDiskAllocationRatio();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskAllocationRatio: Disk Allocation Ratio.


attrDiskUsedAmountRequired

public IResolvable getAttrDiskUsedAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskUsedAmount: DiskUsedAmount.


attrDiskUtilityRequired

public IResolvable getAttrDiskUtility();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute DiskUtility: DiskUtility.


attrEngineRequired

public IResolvable getAttrEngine();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Engine: Database Engine Type.


attrHostNumberRequired

public IResolvable getAttrHostNumber();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HostNumber: Total Host Number.


attrHostReplacePolicyRequired

public IResolvable getAttrHostReplacePolicy();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute HostReplacePolicy: Host Replace Policy.


attrInstanceNumberRequired

public IResolvable getAttrInstanceNumber();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute InstanceNumber: Total Instance Number.


attrMemAllocatedAmountRequired

public IResolvable getAttrMemAllocatedAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MemAllocatedAmount: MemAllocatedAmount.


attrMemAllocateRationRequired

public IResolvable getAttrMemAllocateRation();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MemAllocateRation: MemAllocateRation.


attrMemAllocationRatioRequired

public IResolvable getAttrMemAllocationRatio();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MemAllocationRatio: Memory Allocation Ratio.


attrMemUsedAmountRequired

public IResolvable getAttrMemUsedAmount();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MemUsedAmount: MemUsedAmount.


attrMemUtilityRequired

public IResolvable getAttrMemUtility();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute MemUtility: MemUtility.


attrOpenPermissionRequired

public IResolvable getAttrOpenPermission();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute OpenPermission: Whether Open OS Permission.


attrTextRequired

public IResolvable getAttrText();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute Text: Text.


attrVpcIdRequired

public IResolvable getAttrVpcId();
  • Type: com.aliyun.ros.cdk.core.IResolvable

Attribute VpcId: VPC ID.