Skip to content

RosScalingGroup

This class is a base encapsulation around the ROS resource type ALIYUN::ESS::ScalingGroup, which is used to create a scaling group.

A scaling group is a group of Elastic Compute Service (ECS) instances that are dynamically scaled based on the configured scenario. A scaling group does not immediately take effect after it is created. You must use ALIYUN::ESS::ScalingGroupEnable to enable the scaling group to trigger scaling activities and execute scaling rules.

Initializers

import com.aliyun.ros.cdk.ess.RosScalingGroup;
RosScalingGroup.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .maxSize(java.lang.Number)
    .maxSize(IResolvable)
    .minSize(java.lang.Number)
    .minSize(IResolvable)
//  .allocationStrategy(java.lang.String)
//  .allocationStrategy(IResolvable)
//  .azBalance(java.lang.Boolean)
//  .azBalance(IResolvable)
//  .compensateWithOnDemand(java.lang.Boolean)
//  .compensateWithOnDemand(IResolvable)
//  .containerGroupId(java.lang.String)
//  .containerGroupId(IResolvable)
//  .customPolicyArn(java.lang.String)
//  .customPolicyArn(IResolvable)
//  .dbInstanceIds(IResolvable)
//  .dbInstanceIds(java.util.List<java.lang.String)
//  .dbInstanceIds(IResolvable>)
//  .defaultCooldown(java.lang.Number)
//  .defaultCooldown(IResolvable)
//  .desiredCapacity(java.lang.Number)
//  .desiredCapacity(IResolvable)
//  .groupDeletionProtection(java.lang.Boolean)
//  .groupDeletionProtection(IResolvable)
//  .groupType(java.lang.String)
//  .groupType(IResolvable)
//  .healthCheckType(java.lang.String)
//  .healthCheckType(IResolvable)
//  .instanceId(java.lang.String)
//  .instanceId(IResolvable)
//  .launchTemplateId(java.lang.String)
//  .launchTemplateId(IResolvable)
//  .launchTemplateOverrides(IResolvable)
//  .launchTemplateOverrides(java.util.List<IResolvable)
//  .launchTemplateOverrides(LaunchTemplateOverridesProperty>)
//  .launchTemplateVersion(java.lang.String)
//  .launchTemplateVersion(IResolvable)
//  .loadBalancerIds(IResolvable)
//  .loadBalancerIds(java.util.List<java.lang.String)
//  .loadBalancerIds(IResolvable>)
//  .maxInstanceLifetime(java.lang.Number)
//  .maxInstanceLifetime(IResolvable)
//  .multiAzPolicy(java.lang.String)
//  .multiAzPolicy(IResolvable)
//  .notificationConfigurations(IResolvable)
//  .notificationConfigurations(java.util.List<IResolvable)
//  .notificationConfigurations(NotificationConfigurationsProperty>)
//  .onDemandBaseCapacity(java.lang.Number)
//  .onDemandBaseCapacity(IResolvable)
//  .onDemandPercentageAboveBaseCapacity(java.lang.Number)
//  .onDemandPercentageAboveBaseCapacity(IResolvable)
//  .protectedInstances(IResolvable)
//  .protectedInstances(java.util.List<java.lang.String)
//  .protectedInstances(IResolvable>)
//  .removalPolicys(IResolvable)
//  .removalPolicys(java.util.List<java.lang.String)
//  .removalPolicys(IResolvable>)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .scalingGroupName(java.lang.String)
//  .scalingGroupName(IResolvable)
//  .scalingPolicy(java.lang.String)
//  .scalingPolicy(IResolvable)
//  .serverGroups(IResolvable)
//  .serverGroups(java.util.List<IResolvable)
//  .serverGroups(ServerGroupsProperty>)
//  .spotAllocationStrategy(java.lang.String)
//  .spotAllocationStrategy(IResolvable)
//  .spotInstancePools(java.lang.Number)
//  .spotInstancePools(IResolvable)
//  .spotInstanceRemedy(java.lang.Boolean)
//  .spotInstanceRemedy(IResolvable)
//  .standbyInstances(IResolvable)
//  .standbyInstances(java.util.List<java.lang.String)
//  .standbyInstances(IResolvable>)
//  .tags(java.util.List<TagsProperty>)
//  .vSwitchId(java.lang.String)
//  .vSwitchId(IResolvable)
//  .vSwitchIds(IResolvable)
//  .vSwitchIds(java.util.List<java.lang.String)
//  .vSwitchIds(IResolvable>)
    .build();
Name Type Description
scope com.aliyun.ros.cdk.core.Construct - scope in which this resource is defined.
id java.lang.String - scoped id of the resource.
enableResourcePropertyConstraint java.lang.Boolean No description.
maxSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
minSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
allocationStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
azBalance java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
compensateWithOnDemand java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
containerGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
customPolicyArn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dbInstanceIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
defaultCooldown java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
desiredCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
groupDeletionProtection java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
groupType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
healthCheckType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
launchTemplateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
launchTemplateOverrides com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLaunchTemplateOverridesProperty> No description.
launchTemplateVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
loadBalancerIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
maxInstanceLifetime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
multiAzPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
notificationConfigurations com.aliyun.ros.cdk.core.IResolvable OR java.util.ListNotificationConfigurationsProperty> No description.
onDemandBaseCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
onDemandPercentageAboveBaseCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
protectedInstances com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
removalPolicys com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
serverGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServerGroupsProperty> No description.
spotAllocationStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
spotInstancePools java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
spotInstanceRemedy java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
standbyInstances com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
tags java.util.List<TagsProperty> No description.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vSwitchIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.

scopeRequired

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

scope in which this resource is defined.


idRequired

  • Type: java.lang.String

scoped id of the resource.


enableResourcePropertyConstraintRequired

  • Type: java.lang.Boolean

maxSizeRequired

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

minSizeRequired

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

allocationStrategyOptional

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

azBalanceOptional

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

compensateWithOnDemandOptional

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

containerGroupIdOptional

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

customPolicyArnOptional

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

dbInstanceIdsOptional

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

defaultCooldownOptional

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

desiredCapacityOptional

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

groupDeletionProtectionOptional

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

groupTypeOptional

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

healthCheckTypeOptional

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

instanceIdOptional

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

launchTemplateIdOptional

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

launchTemplateOverridesOptional

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

launchTemplateVersionOptional

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

loadBalancerIdsOptional

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

maxInstanceLifetimeOptional

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

multiAzPolicyOptional

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

notificationConfigurationsOptional

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

onDemandBaseCapacityOptional

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

onDemandPercentageAboveBaseCapacityOptional

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

protectedInstancesOptional

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

removalPolicysOptional

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

resourceGroupIdOptional

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

scalingGroupNameOptional

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

scalingPolicyOptional

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

serverGroupsOptional

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

spotAllocationStrategyOptional

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

spotInstancePoolsOptional

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

spotInstanceRemedyOptional

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

standbyInstancesOptional

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

tagsOptional


vSwitchIdOptional

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

vSwitchIdsOptional

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

Methods

Name Description
toString Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
overrideLogicalId Overrides the auto-generated logical ID with a specific ID.
addCondition No description.
addCount No description.
addDeletionOverride Syntactic sugar for addOverride(path, undefined).
addDependsOn Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
addDesc No description.
addMetaData No description.
addOverride Adds an override to the synthesized ROS resource.
addPropertyDeletionOverride Adds an override that deletes the value of a property from the resource definition.
addPropertyOverride Adds an override to a resource property.
addRosDependency No description.
applyRemovalPolicy Sets the deletion policy of the resource based on the removal policy specified.
getAtt Returns a token for an runtime attribute of this resource.

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.


overrideLogicalId

public void overrideLogicalId(java.lang.String newLogicalId)

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired

  • Type: java.lang.String

The new logical ID to use for this stack element.


addCondition

public void addCondition(RosCondition con)

conRequired

  • 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

addDeletionOverride

public void addDeletionOverride(java.lang.String path)

Syntactic sugar for addOverride(path, undefined).

pathRequired

  • Type: java.lang.String

The path of the value to delete.


addDependsOn

public void addDependsOn(RosResource target)

Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.

This can be used for resources across stacks (or nested stack) boundaries and the dependency will automatically be transferred to the relevant scope.

targetRequired

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

addDesc

public void addDesc(java.lang.String desc)

descRequired

  • Type: java.lang.String

addMetaData

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

keyRequired

  • Type: java.lang.String

valueRequired

  • Type: java.lang.Object

addOverride

public void addOverride(java.lang.String path, java.lang.Object value)

Adds an override to the synthesized ROS resource.

To add a property override, either use addPropertyOverride or prefix path with "Properties." (i.e. Properties.TopicName).

If the override is nested, separate each nested level using a dot (.) in the path parameter. If there is an array as part of the nesting, specify the index in the path.

For example,

addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute'])
addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE')

would add the overrides

"Properties": {
   "GlobalSecondaryIndexes": [
     {
       "Projection": {
         "NonKeyAttributes": [ "myattribute" ]
         ...
       }
       ...
     },
     {
       "ProjectionType": "INCLUDE"
       ...
     },
   ]
   ...
}

pathRequired

  • Type: java.lang.String

The path of the property, you can use dot notation to override values in complex types.

Any intermdediate keys will be created as needed.


valueRequired

  • Type: java.lang.Object

The value.

Could be primitive or complex.


addPropertyDeletionOverride

public void addPropertyDeletionOverride(java.lang.String propertyPath)

Adds an override that deletes the value of a property from the resource definition.

propertyPathRequired

  • Type: java.lang.String

The path to the property.


addPropertyOverride

public void addPropertyOverride(java.lang.String propertyPath, java.lang.Object value)

Adds an override to a resource property.

Syntactic sugar for addOverride("Properties.<...>", value).

propertyPathRequired

  • Type: java.lang.String

The path of the property.


valueRequired

  • Type: java.lang.Object

The value.


addRosDependency

public void addRosDependency(java.lang.String target)

targetRequired

  • Type: java.lang.String

applyRemovalPolicy

public void applyRemovalPolicy()
public void applyRemovalPolicy(RemovalPolicy policy)
public void applyRemovalPolicy(RemovalPolicy policy, RemovalPolicyOptions options)

Sets the deletion policy of the resource based on the removal policy specified.

policyOptional

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

optionsOptional

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

getAtt

public Reference getAtt(java.lang.String attributeName)

Returns a token for an runtime attribute of this resource.

Ideally, use generated attribute accessors (e.g. resource.arn), but this can be used for future compatibility in case there is no generated attribute.

attributeNameRequired

  • Type: java.lang.String

The name of the attribute.


Static Functions

Name Description
isConstruct Return whether the given object is a Construct.
isRosElement Returns true if a construct is a stack element (i.e. part of the synthesized template).
isRosResource Check whether the given construct is a RosResource.

isConstruct

import com.aliyun.ros.cdk.ess.RosScalingGroup;
RosScalingGroup.isConstruct(java.lang.Object x)

Return whether the given object is a Construct.

xRequired

  • Type: java.lang.Object

isRosElement

import com.aliyun.ros.cdk.ess.RosScalingGroup;
RosScalingGroup.isRosElement(java.lang.Object x)

Returns true if a construct is a stack element (i.e. part of the synthesized template).

Uses duck-typing instead of instanceof to allow stack elements from different versions of this library to be included in the same stack.

xRequired

  • Type: java.lang.Object

isRosResource

import com.aliyun.ros.cdk.ess.RosScalingGroup;
RosScalingGroup.isRosResource(IConstruct construct)

Check whether the given construct is a RosResource.

constructRequired

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

Properties

Name Type Description
node com.aliyun.ros.cdk.core.ConstructNode The construct tree node associated with this construct.
creationStack java.util.List No description.
logicalId java.lang.String The logical ID for this stack element.
stack com.aliyun.ros.cdk.core.Stack The stack in which this element is defined.
ref java.lang.String Return a string that will be resolved to a RosTemplate { Ref } for this element.
rosOptions com.aliyun.ros.cdk.core.IRosResourceOptions Options for this resource, such as condition, update policy etc.
rosResourceType java.lang.String ROS resource type.
attrScalingGroupId com.aliyun.ros.cdk.core.IResolvable No description.
attrScalingGroupName com.aliyun.ros.cdk.core.IResolvable No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
maxSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
minSize java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
allocationStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
azBalance java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
compensateWithOnDemand java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
containerGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
customPolicyArn java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dbInstanceIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
defaultCooldown java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
desiredCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
groupDeletionProtection java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
groupType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
healthCheckType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
launchTemplateId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
launchTemplateOverrides com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLaunchTemplateOverridesProperty> No description.
launchTemplateVersion java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
loadBalancerIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
maxInstanceLifetime java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
multiAzPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
notificationConfigurations com.aliyun.ros.cdk.core.IResolvable OR java.util.ListNotificationConfigurationsProperty> No description.
onDemandBaseCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
onDemandPercentageAboveBaseCapacity java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
protectedInstances com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
removalPolicys com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
serverGroups com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServerGroupsProperty> No description.
spotAllocationStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
spotInstancePools java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
spotInstanceRemedy java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
standbyInstances com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
tags java.util.List<TagsProperty> No description.
vSwitchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
vSwitchIds com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.

nodeRequired

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

The construct tree node associated with this construct.


creationStackRequired

public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List

logicalIdRequired

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

The logical ID for this stack element.

The logical ID of the element is calculated from the path of the resource node in the construct tree.

To override this value, use overrideLogicalId(newLogicalId).


stackRequired

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

The stack in which this element is defined.

RosElements must be defined within a stack scope (directly or indirectly).


refRequired

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

Return a string that will be resolved to a RosTemplate { Ref } for this element.

If, by any chance, the intrinsic reference of a resource is not a string, you could coerce it to an IResolvable through Lazy.any({ produce: resource.ref }).


rosOptionsRequired

public IRosResourceOptions getRosOptions();
  • Type: com.aliyun.ros.cdk.core.IRosResourceOptions

Options for this resource, such as condition, update policy etc.


rosResourceTypeRequired

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

ROS resource type.


attrScalingGroupIdRequired

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

attrScalingGroupNameRequired

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

enableResourcePropertyConstraintRequired

public java.lang.Boolean getEnableResourcePropertyConstraint();
  • Type: java.lang.Boolean

maxSizeRequired

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

minSizeRequired

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

allocationStrategyOptional

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

azBalanceOptional

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

compensateWithOnDemandOptional

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

containerGroupIdOptional

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

customPolicyArnOptional

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

dbInstanceIdsOptional

public java.lang.Object getDbInstanceIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

defaultCooldownOptional

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

desiredCapacityOptional

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

groupDeletionProtectionOptional

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

groupTypeOptional

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

healthCheckTypeOptional

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

instanceIdOptional

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

launchTemplateIdOptional

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

launchTemplateOverridesOptional

public java.lang.Object getLaunchTemplateOverrides();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListLaunchTemplateOverridesProperty>

launchTemplateVersionOptional

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

loadBalancerIdsOptional

public java.lang.Object getLoadBalancerIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

maxInstanceLifetimeOptional

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

multiAzPolicyOptional

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

notificationConfigurationsOptional

public java.lang.Object getNotificationConfigurations();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListNotificationConfigurationsProperty>

onDemandBaseCapacityOptional

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

onDemandPercentageAboveBaseCapacityOptional

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

protectedInstancesOptional

public java.lang.Object getProtectedInstances();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

removalPolicysOptional

public java.lang.Object getRemovalPolicys();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

resourceGroupIdOptional

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

scalingGroupNameOptional

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

scalingPolicyOptional

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

serverGroupsOptional

public java.lang.Object getServerGroups();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.ListServerGroupsProperty>

spotAllocationStrategyOptional

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

spotInstancePoolsOptional

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

spotInstanceRemedyOptional

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

standbyInstancesOptional

public java.lang.Object getStandbyInstances();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

tagsOptional

public java.util.List<TagsProperty> getTags();

vSwitchIdOptional

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

vSwitchIdsOptional

public java.lang.Object getVSwitchIds();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Constants

Name Type Description
ROS_RESOURCE_TYPE_NAME java.lang.String The resource type name for this resource class.

ROS_RESOURCE_TYPE_NAMERequired

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

The resource type name for this resource class.