Skip to content

EciScalingConfiguration

This class encapsulates and extends the ROS resource type ALIYUN::ESS::EciScalingConfiguration.

Initializers

import com.aliyun.ros.cdk.ess.EciScalingConfiguration;
EciScalingConfiguration.Builder.create(Construct scope, java.lang.String id, java.lang.Boolean enableResourcePropertyConstraint)
    .containerGroupName(java.lang.String)
    .containerGroupName(IResolvable)
    .scalingConfigurationName(java.lang.String)
    .scalingConfigurationName(IResolvable)
    .scalingGroupId(java.lang.String)
    .scalingGroupId(IResolvable)
    .securityGroupId(java.lang.String)
    .securityGroupId(IResolvable)
//  .acrRegistryInfos(IResolvable)
//  .acrRegistryInfos(java.util.List<IResolvable)
//  .acrRegistryInfos(AcrRegistryInfosProperty>)
//  .activeDeadlineSeconds(java.lang.Number)
//  .activeDeadlineSeconds(IResolvable)
//  .autoCreateEip(java.lang.Boolean)
//  .autoCreateEip(IResolvable)
//  .autoMatchImageCache(java.lang.Boolean)
//  .autoMatchImageCache(IResolvable)
//  .containers(IResolvable)
//  .containers(java.util.List<IResolvable)
//  .containers(ContainersProperty>)
//  .costOptimization(java.lang.Boolean)
//  .costOptimization(IResolvable)
//  .cpu(java.lang.Number)
//  .cpu(IResolvable)
//  .cpuOptionsCore(java.lang.Number)
//  .cpuOptionsCore(IResolvable)
//  .cpuOptionsThreadsPerCore(java.lang.Number)
//  .cpuOptionsThreadsPerCore(IResolvable)
//  .dataCacheBucket(java.lang.String)
//  .dataCacheBucket(IResolvable)
//  .dataCacheBurstingEnabled(java.lang.Boolean)
//  .dataCacheBurstingEnabled(IResolvable)
//  .dataCachePl(java.lang.String)
//  .dataCachePl(IResolvable)
//  .dataCacheProvisionedIops(java.lang.Number)
//  .dataCacheProvisionedIops(IResolvable)
//  .dnsConfigNameServers(IResolvable)
//  .dnsConfigNameServers(java.util.List<java.lang.String)
//  .dnsConfigNameServers(IResolvable>)
//  .dnsConfigOptions(IResolvable)
//  .dnsConfigOptions(java.util.List<IResolvable)
//  .dnsConfigOptions(DnsConfigOptionsProperty>)
//  .dnsConfigSearches(IResolvable)
//  .dnsConfigSearches(java.util.List<java.lang.String)
//  .dnsConfigSearches(IResolvable>)
//  .dnsPolicy(java.lang.String)
//  .dnsPolicy(IResolvable)
//  .egressBandwidth(java.lang.Number)
//  .egressBandwidth(IResolvable)
//  .eipBandwidth(java.lang.Number)
//  .eipBandwidth(IResolvable)
//  .ephemeralStorage(java.lang.Number)
//  .ephemeralStorage(IResolvable)
//  .hostAliases(IResolvable)
//  .hostAliases(java.util.List<IResolvable)
//  .hostAliases(HostAliasesProperty>)
//  .hostName(java.lang.String)
//  .hostName(IResolvable)
//  .imageRegistryCredentials(IResolvable)
//  .imageRegistryCredentials(java.util.List<IResolvable)
//  .imageRegistryCredentials(ImageRegistryCredentialsProperty>)
//  .imageSnapshotId(java.lang.String)
//  .imageSnapshotId(IResolvable)
//  .ingressBandwidth(java.lang.Number)
//  .ingressBandwidth(IResolvable)
//  .initContainers(IResolvable)
//  .initContainers(java.util.List<IResolvable)
//  .initContainers(InitContainersProperty>)
//  .instanceFamilyLevel(java.lang.String)
//  .instanceFamilyLevel(IResolvable)
//  .instanceTypes(IResolvable)
//  .instanceTypes(java.util.List<java.lang.String)
//  .instanceTypes(IResolvable>)
//  .ipv6AddressCount(java.lang.Number)
//  .ipv6AddressCount(IResolvable)
//  .loadBalancerWeight(java.lang.Number)
//  .loadBalancerWeight(IResolvable)
//  .memory(java.lang.Number)
//  .memory(IResolvable)
//  .ntpServers(IResolvable)
//  .ntpServers(java.util.List<java.lang.String)
//  .ntpServers(IResolvable>)
//  .ramRoleName(java.lang.String)
//  .ramRoleName(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .restartPolicy(java.lang.String)
//  .restartPolicy(IResolvable)
//  .securityContextSysctls(IResolvable)
//  .securityContextSysctls(java.util.List<IResolvable)
//  .securityContextSysctls(SecurityContextSysctlsProperty>)
//  .spotPriceLimit(java.lang.Number)
//  .spotPriceLimit(IResolvable)
//  .spotStrategy(java.lang.String)
//  .spotStrategy(IResolvable)
//  .tags(java.util.List<TagsProperty>)
//  .terminationGracePeriodSeconds(java.lang.Number)
//  .terminationGracePeriodSeconds(IResolvable)
//  .volumes(IResolvable)
//  .volumes(java.util.List<IResolvable)
//  .volumes(VolumesProperty>)
    .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.
containerGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property containerGroupName: The name of the elastic container instance.
scalingConfigurationName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property scalingConfigurationName: The name of the scaling configuration.
scalingGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.
acrRegistryInfos com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAcrRegistryInfosProperty> Property acrRegistryInfos:.
activeDeadlineSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property activeDeadlineSeconds: The validity period of the scaling configuration.
autoCreateEip java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.
autoMatchImageCache java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property autoMatchImageCache: Specifies whether to automatically match the image cache.
containers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListContainersProperty> Property containers:.
costOptimization java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property costOptimization: Specifies whether to enable the Cost Optimization feature.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.
cpuOptionsCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property cpuOptionsCore: The number of physical CPU cores.
cpuOptionsThreadsPerCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property cpuOptionsThreadsPerCore: The number of threads per core.
dataCacheBucket java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataCacheBucket: The bucket that stores data caches.
dataCacheBurstingEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.
dataCachePl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dataCachePl: The performance level (PL) of the disk used for data caching.
dataCacheProvisionedIops java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.
dnsConfigNameServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property dnsConfigNameServers: The IP addresses of the DNS servers.
dnsConfigOptions com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDnsConfigOptionsProperty> Property dnsConfigOptions:.
dnsConfigSearches com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property dnsConfigSearches: The search domains of the DNS server.
dnsPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property dnsPolicy: The Domain Name System (DNS) policy.
egressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property egressBandwidth: The maximum outbound bandwidth.
eipBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property eipBandwidth: The bandwidth of the EIP.
ephemeralStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ephemeralStorage: The size of the temporary storage space.
hostAliases com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHostAliasesProperty> Property hostAliases:.
hostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property hostName: The hostname of the elastic container instance.
imageRegistryCredentials com.aliyun.ros.cdk.core.IResolvable OR java.util.ListImageRegistryCredentialsProperty> Property imageRegistryCredentials:.
imageSnapshotId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property imageSnapshotId: The ID of the image cache snapshot.
ingressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ingressBandwidth: The maximum inbound bandwidth.
initContainers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainersProperty> Property initContainers:.
instanceFamilyLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceFamilyLevel: The level of the instance family.
instanceTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property instanceTypes: The specified ECS instance types.
ipv6AddressCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property ipv6AddressCount: The number of IPv6 addresses.
loadBalancerWeight java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property loadBalancerWeight: The weight of the elastic container instance as a backend server.
memory java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property memory: The memory size that you want to allocate to the elastic container instance.
ntpServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property ntpServers: The Network Time Protocol (NTP) server.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.
restartPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property restartPolicy: The restart policy of the elastic container instance.
securityContextSysctls com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityContextSysctlsProperty> Property securityContextSysctls:.
spotPriceLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.
spotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property spotStrategy: The bidding policy of the instance.
tags java.util.List<TagsProperty> Property tags:.
terminationGracePeriodSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.
volumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVolumesProperty> Property volumes:.

scopeRequired

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

idRequired

  • Type: java.lang.String

enableResourcePropertyConstraintOptional

  • Type: java.lang.Boolean

containerGroupNameRequired

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

Property containerGroupName: The name of the elastic container instance.


scalingConfigurationNameRequired

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

Property scalingConfigurationName: The name of the scaling configuration.

The name must be 2 to 64 characters in length and can contain letters, digits, underscores (_), hyphens (-), and periods (.). The name must start with a letter or a digit. The name of the scaling configuration must be unique in a region. If you do not specify this parameter, the scaling configuration ID is used.


scalingGroupIdRequired

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

Property scalingGroupId: The ID of the scaling group for which you want to create the scaling configuration.


securityGroupIdRequired

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

Property securityGroupId: The ID of the security group with which you want to associate the elastic container instance.

Elastic container instances that are associated with the same security group can access each other. If you do not specify a security group, the system uses the default security group in the region that you selected. Make sure that the inbound rules of the security group contain the protocols and the port numbers of the containers that you want to expose. If you do not have a default security group in the region, the system creates a default security group and adds the declared container protocols and port numbers to the inbound rules of the security group.


acrRegistryInfosOptional

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

Property acrRegistryInfos:.


activeDeadlineSecondsOptional

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

Property activeDeadlineSeconds: The validity period of the scaling configuration.

Unit: seconds.


autoCreateEipOptional

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

Property autoCreateEip: Specifies whether to automatically create an elastic IP address (EIP) and bind the EIP to the elastic container instance.


autoMatchImageCacheOptional

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

Property autoMatchImageCache: Specifies whether to automatically match the image cache.

Valid values: true false Default value: false.


containersOptional

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

Property containers:.


costOptimizationOptional

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

Property costOptimization: Specifies whether to enable the Cost Optimization feature.

Valid values: true false Default value: false.


cpuOptional

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

Property cpu: The number of vCPUs that you want to allocate to the elastic container instance.


cpuOptionsCoreOptional

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

Property cpuOptionsCore: The number of physical CPU cores.

You can specify this parameter for only specific instance types. For more information, see Specify custom CPU options.


cpuOptionsThreadsPerCoreOptional

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

Property cpuOptionsThreadsPerCore: The number of threads per core.

You can specify this parameter for only specific instance types. If you set this parameter to 1, Hyper-Threading is disabled. For more information, see Specify custom CPU options.


dataCacheBucketOptional

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

Property dataCacheBucket: The bucket that stores data caches.


dataCacheBurstingEnabledOptional

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

Property dataCacheBurstingEnabled: Specifies whether to enable the Performance Burst feature for the ESSD AutoPL disk used for data caching.

Valid values: true false Default value: false. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


dataCachePlOptional

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

Property dataCachePl: The performance level (PL) of the disk used for data caching.

We recommend that you use ESSDs. Valid values if you use ESSDs: PL0: An ESSD can provide up to 10,000 random read/write IOPS. PL1: An ESSD can provide up to 50,000 random read/write IOPS. PL2: An ESSD can provide up to 100,000 random read/write IOPS. PL3: An ESSD can provide up to 1,000,000 random read/write IOPS. Default value: PL1. Note For more information about ESSDs, see ESSDs.


dataCacheProvisionedIopsOptional

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

Property dataCacheProvisionedIops: The IOPS provisioned for the ESSD AutoPL disk used for data caching.

Valid values: 0 to min{50000, 1000 × Capacity - Baseline IOPS}, where Baseline IOPS = min{1800 + 50 × Capacity - 50000}. Note For more information about ESSD AutoPL disks, see ESSD AutoPL disks.


dnsConfigNameServersOptional

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

Property dnsConfigNameServers: The IP addresses of the DNS servers.


dnsConfigOptionsOptional

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

Property dnsConfigOptions:.


dnsConfigSearchesOptional

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

Property dnsConfigSearches: The search domains of the DNS server.


dnsPolicyOptional

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

Property dnsPolicy: The Domain Name System (DNS) policy.

Valid values: None: uses the DNS that is specified by DnsConfig. Default: uses the DNS that is specified for the runtime environment.


egressBandwidthOptional

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

Property egressBandwidth: The maximum outbound bandwidth.

Unit: bytes.


eipBandwidthOptional

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

Property eipBandwidth: The bandwidth of the EIP.

Default value: 5. Unit: Mbit/s.


ephemeralStorageOptional

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

Property ephemeralStorage: The size of the temporary storage space.

By default, an enhanced SSD (ESSD) of the PL1 level is used. Unit: GiB.


hostAliasesOptional

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

Property hostAliases:.


hostNameOptional

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

Property hostName: The hostname of the elastic container instance.


imageRegistryCredentialsOptional

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

Property imageRegistryCredentials:.


imageSnapshotIdOptional

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

Property imageSnapshotId: The ID of the image cache snapshot.


ingressBandwidthOptional

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

Property ingressBandwidth: The maximum inbound bandwidth.

Unit: bytes.


initContainersOptional

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

Property initContainers:.


instanceFamilyLevelOptional

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

Property instanceFamilyLevel: The level of the instance family.

You can use this parameter to filter instance types that meet the specified criteria. This parameter takes effect only if you set CostOptimization to true. Valid values: EntryLevel: entry level (shared instance types) Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which CPU utilization is low. For more information, see Shared instance families. EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for business scenarios that require high stability. For more information, see Overview of instance families. CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for business scenarios in which CPU utilization is low but may fluctuate in specific scenarios. For more information, see Overview of burstable instances.


instanceTypesOptional

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

Property instanceTypes: The specified ECS instance types.

You can specify up to five ECS instance types. For more information, see Specify ECS instance types to create an elastic container instance.


ipv6AddressCountOptional

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

Property ipv6AddressCount: The number of IPv6 addresses.


loadBalancerWeightOptional

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

Property loadBalancerWeight: The weight of the elastic container instance as a backend server.

Valid values: 1 to 100. Default value: 50.


memoryOptional

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

Property memory: The memory size that you want to allocate to the elastic container instance.

Unit: GiB.


ntpServersOptional

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

Property ntpServers: The Network Time Protocol (NTP) server.


ramRoleNameOptional

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

Property ramRoleName: The name of the Resource Access Management (RAM) role that you want to assign to the elastic container instance.

Elastic container instances and Elastic Compute Service (ECS) instances can share the same RAM role. For more information, see Use an instance RAM role by calling API operations.


resourceGroupIdOptional

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

Property resourceGroupId: The ID of the resource group.


restartPolicyOptional

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

Property restartPolicy: The restart policy of the elastic container instance.

Valid values: Always: always restarts the elastic container instance. Never: never restarts the elastic container instance. OnFailure: restarts the elastic container instance upon failures. Default value: Always.


securityContextSysctlsOptional

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

Property securityContextSysctls:.


spotPriceLimitOptional

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

Property spotPriceLimit: The maximum hourly price of the preemptible elastic container instance.

The value can be accurate to three decimal places. If you set SpotStrategy to SpotWithPriceLimit, you must specify SpotPriceLimit.


spotStrategyOptional

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

Property spotStrategy: The bidding policy of the instance.

Valid values: NoSpot: The instance is created as a pay-as-you-go instance. SpotWithPriceLimit: The instance is created as a preemptible instance with a user-defined maximum hourly price. SpotAsPriceGo: The instance is created as a preemptible instance for which the market price at the time of purchase is used as the bid price. Default value: NoSpot.


tagsOptional

Property tags:.


terminationGracePeriodSecondsOptional

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

Property terminationGracePeriodSeconds: The buffer period during which a program handles operations before the program is stopped.

Unit: seconds.


volumesOptional

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

Property volumes:.


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.ess.EciScalingConfiguration;
EciScalingConfiguration.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.
attrScalingConfigurationId com.aliyun.ros.cdk.core.IResolvable Attribute ScalingConfigurationId: The ID of the elastic container instance.

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

attrScalingConfigurationIdRequired

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

Attribute ScalingConfigurationId: The ID of the elastic container instance.