DedicatedHostGroup
- Implements: IDedicatedHostGroup
This class encapsulates and extends the ROS resource type ALIYUN::CDDC::DedicatedHostGroup.
Initializers
import { DedicatedHostGroup } from '@alicloud/ros-cdk-cddc'
new DedicatedHostGroup(scope: Construct, id: string, props: DedicatedHostGroupProps, enableResourcePropertyConstraint?: boolean)
| Name | Type | Description |
|---|---|---|
scope | @alicloud/ros-cdk-core.Construct | No description. |
id | string | No description. |
props | DedicatedHostGroupProps | No description. |
enableResourcePropertyConstraint | boolean | No description. |
scopeRequired
- Type: @alicloud/ros-cdk-core.Construct
idRequired
- Type: string
propsRequired
- Type: DedicatedHostGroupProps
enableResourcePropertyConstraintOptional
- Type: boolean
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 toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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.
- Type: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
fetchCondition
public fetchCondition(): RosCondition
fetchDependency
public fetchDependency(): string[]
fetchResourceDesc
public fetchResourceDesc(): string
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
| Name | Description |
|---|---|
isConstruct | Return whether the given object is a Construct. |
isConstruct
import { DedicatedHostGroup } from '@alicloud/ros-cdk-cddc'
DedicatedHostGroup.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
| Name | Type | Description |
|---|---|---|
node | @alicloud/ros-cdk-core.ConstructNode | The construct tree node associated with this construct. |
env | @alicloud/ros-cdk-core.IResourceEnvironment | The environment this resource belongs to. |
ref | string | No description. |
stack | @alicloud/ros-cdk-core.Stack | The stack in which this resource is defined. |
resource | @alicloud/ros-cdk-core.RosResource | No description. |
attrAllocationPolicy | string | @alicloud/ros-cdk-core.IResolvable | Attribute AllocationPolicy: Allocation Policy. |
attrBastionInstanceId | string | @alicloud/ros-cdk-core.IResolvable | Attribute BastionInstanceId: BastionInstanceId. |
attrCpuAllocatedAmount | string | @alicloud/ros-cdk-core.IResolvable | Attribute CpuAllocatedAmount: CpuAllocatedAmount. |
attrCpuAllocateRation | string | @alicloud/ros-cdk-core.IResolvable | Attribute CpuAllocateRation: CpuAllocateRation. |
attrCpuAllocationRatio | string | @alicloud/ros-cdk-core.IResolvable | Attribute CpuAllocationRatio: Cpu Allocation Ratio. |
attrDedicatedHostGroupDesc | string | @alicloud/ros-cdk-core.IResolvable | Attribute DedicatedHostGroupDesc: Dedicated Host Group Description. |
attrDedicatedHostGroupId | string | @alicloud/ros-cdk-core.IResolvable | Attribute DedicatedHostGroupId: Dedicated Host Group ID. |
attrDeployType | string | @alicloud/ros-cdk-core.IResolvable | Attribute DeployType: DeployType. |
attrDiskAllocatedAmount | string | @alicloud/ros-cdk-core.IResolvable | Attribute DiskAllocatedAmount: DiskAllocatedAmount. |
attrDiskAllocateRation | string | @alicloud/ros-cdk-core.IResolvable | Attribute DiskAllocateRation: DiskAllocateRation. |
attrDiskAllocationRatio | string | @alicloud/ros-cdk-core.IResolvable | Attribute DiskAllocationRatio: Disk Allocation Ratio. |
attrDiskUsedAmount | string | @alicloud/ros-cdk-core.IResolvable | Attribute DiskUsedAmount: DiskUsedAmount. |
attrDiskUtility | string | @alicloud/ros-cdk-core.IResolvable | Attribute DiskUtility: DiskUtility. |
attrEngine | string | @alicloud/ros-cdk-core.IResolvable | Attribute Engine: Database Engine Type. |
attrHostNumber | string | @alicloud/ros-cdk-core.IResolvable | Attribute HostNumber: Total Host Number. |
attrHostReplacePolicy | string | @alicloud/ros-cdk-core.IResolvable | Attribute HostReplacePolicy: Host Replace Policy. |
attrInstanceNumber | string | @alicloud/ros-cdk-core.IResolvable | Attribute InstanceNumber: Total Instance Number. |
attrMemAllocatedAmount | string | @alicloud/ros-cdk-core.IResolvable | Attribute MemAllocatedAmount: MemAllocatedAmount. |
attrMemAllocateRation | string | @alicloud/ros-cdk-core.IResolvable | Attribute MemAllocateRation: MemAllocateRation. |
attrMemAllocationRatio | string | @alicloud/ros-cdk-core.IResolvable | Attribute MemAllocationRatio: Memory Allocation Ratio. |
attrMemUsedAmount | string | @alicloud/ros-cdk-core.IResolvable | Attribute MemUsedAmount: MemUsedAmount. |
attrMemUtility | string | @alicloud/ros-cdk-core.IResolvable | Attribute MemUtility: MemUtility. |
attrOpenPermission | string | @alicloud/ros-cdk-core.IResolvable | Attribute OpenPermission: Whether Open OS Permission. |
attrText | string | @alicloud/ros-cdk-core.IResolvable | Attribute Text: Text. |
attrVpcId | string | @alicloud/ros-cdk-core.IResolvable | Attribute VpcId: VPC ID. |
props | DedicatedHostGroupProps | No description. |
nodeRequired
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
envRequired
public readonly env: IResourceEnvironment;
- Type: @alicloud/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 readonly ref: string;
- Type: string
stackRequired
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resourceOptional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAllocationPolicyRequired
public readonly attrAllocationPolicy: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute AllocationPolicy: Allocation Policy.
attrBastionInstanceIdRequired
public readonly attrBastionInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute BastionInstanceId: BastionInstanceId.
attrCpuAllocatedAmountRequired
public readonly attrCpuAllocatedAmount: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CpuAllocatedAmount: CpuAllocatedAmount.
attrCpuAllocateRationRequired
public readonly attrCpuAllocateRation: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CpuAllocateRation: CpuAllocateRation.
attrCpuAllocationRatioRequired
public readonly attrCpuAllocationRatio: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute CpuAllocationRatio: Cpu Allocation Ratio.
attrDedicatedHostGroupDescRequired
public readonly attrDedicatedHostGroupDesc: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostGroupDesc: Dedicated Host Group Description.
attrDedicatedHostGroupIdRequired
public readonly attrDedicatedHostGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DedicatedHostGroupId: Dedicated Host Group ID.
attrDeployTypeRequired
public readonly attrDeployType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DeployType: DeployType.
attrDiskAllocatedAmountRequired
public readonly attrDiskAllocatedAmount: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DiskAllocatedAmount: DiskAllocatedAmount.
attrDiskAllocateRationRequired
public readonly attrDiskAllocateRation: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DiskAllocateRation: DiskAllocateRation.
attrDiskAllocationRatioRequired
public readonly attrDiskAllocationRatio: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DiskAllocationRatio: Disk Allocation Ratio.
attrDiskUsedAmountRequired
public readonly attrDiskUsedAmount: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DiskUsedAmount: DiskUsedAmount.
attrDiskUtilityRequired
public readonly attrDiskUtility: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute DiskUtility: DiskUtility.
attrEngineRequired
public readonly attrEngine: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Engine: Database Engine Type.
attrHostNumberRequired
public readonly attrHostNumber: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute HostNumber: Total Host Number.
attrHostReplacePolicyRequired
public readonly attrHostReplacePolicy: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute HostReplacePolicy: Host Replace Policy.
attrInstanceNumberRequired
public readonly attrInstanceNumber: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute InstanceNumber: Total Instance Number.
attrMemAllocatedAmountRequired
public readonly attrMemAllocatedAmount: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MemAllocatedAmount: MemAllocatedAmount.
attrMemAllocateRationRequired
public readonly attrMemAllocateRation: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MemAllocateRation: MemAllocateRation.
attrMemAllocationRatioRequired
public readonly attrMemAllocationRatio: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MemAllocationRatio: Memory Allocation Ratio.
attrMemUsedAmountRequired
public readonly attrMemUsedAmount: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MemUsedAmount: MemUsedAmount.
attrMemUtilityRequired
public readonly attrMemUtility: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute MemUtility: MemUtility.
attrOpenPermissionRequired
public readonly attrOpenPermission: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute OpenPermission: Whether Open OS Permission.
attrTextRequired
public readonly attrText: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute Text: Text.
attrVpcIdRequired
public readonly attrVpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Attribute VpcId: VPC ID.
propsRequired
public readonly props: DedicatedHostGroupProps;
- Type: DedicatedHostGroupProps