Skip to content

RosEciScalingConfiguration

This class is a base encapsulation around the ROS resource type ALIYUN::ESS::EciScalingConfiguration.

Initializers

import com.aliyun.ros.cdk.ess.RosEciScalingConfiguration;
RosEciScalingConfiguration.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 - scope in which this resource is defined.
id java.lang.String - scoped id of the resource.
enableResourcePropertyConstraint java.lang.Boolean No description.
containerGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingConfigurationName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
acrRegistryInfos com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAcrRegistryInfosProperty> No description.
activeDeadlineSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
autoCreateEip java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
autoMatchImageCache java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
containers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListContainersProperty> No description.
costOptimization java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
cpuOptionsCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
cpuOptionsThreadsPerCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheBucket java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheBurstingEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCachePl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheProvisionedIops java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
dnsConfigNameServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
dnsConfigOptions com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDnsConfigOptionsProperty> No description.
dnsConfigSearches com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
dnsPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
egressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
eipBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ephemeralStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
hostAliases com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHostAliasesProperty> No description.
hostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
imageRegistryCredentials com.aliyun.ros.cdk.core.IResolvable OR java.util.ListImageRegistryCredentialsProperty> No description.
imageSnapshotId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ingressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
initContainers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainersProperty> No description.
instanceFamilyLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ipv6AddressCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
loadBalancerWeight java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
memory java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ntpServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
restartPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityContextSysctls com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityContextSysctlsProperty> No description.
spotPriceLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
spotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
tags java.util.List<TagsProperty> No description.
terminationGracePeriodSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
volumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVolumesProperty> 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

containerGroupNameRequired

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

scalingConfigurationNameRequired

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

scalingGroupIdRequired

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

securityGroupIdRequired

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

acrRegistryInfosOptional

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

activeDeadlineSecondsOptional

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

autoCreateEipOptional

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

autoMatchImageCacheOptional

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

containersOptional

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

costOptimizationOptional

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

cpuOptional

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

cpuOptionsCoreOptional

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

cpuOptionsThreadsPerCoreOptional

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

dataCacheBucketOptional

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

dataCacheBurstingEnabledOptional

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

dataCachePlOptional

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

dataCacheProvisionedIopsOptional

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

dnsConfigNameServersOptional

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

dnsConfigOptionsOptional

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

dnsConfigSearchesOptional

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

dnsPolicyOptional

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

egressBandwidthOptional

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

eipBandwidthOptional

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

ephemeralStorageOptional

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

hostAliasesOptional

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

hostNameOptional

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

imageRegistryCredentialsOptional

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

imageSnapshotIdOptional

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

ingressBandwidthOptional

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

initContainersOptional

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

instanceFamilyLevelOptional

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

instanceTypesOptional

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

ipv6AddressCountOptional

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

loadBalancerWeightOptional

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

memoryOptional

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

ntpServersOptional

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

ramRoleNameOptional

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

resourceGroupIdOptional

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

restartPolicyOptional

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

securityContextSysctlsOptional

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

spotPriceLimitOptional

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

spotStrategyOptional

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

tagsOptional


terminationGracePeriodSecondsOptional

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

volumesOptional

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

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.RosEciScalingConfiguration;
RosEciScalingConfiguration.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.RosEciScalingConfiguration;
RosEciScalingConfiguration.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.RosEciScalingConfiguration;
RosEciScalingConfiguration.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.
attrScalingConfigurationId com.aliyun.ros.cdk.core.IResolvable No description.
containerGroupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
enableResourcePropertyConstraint java.lang.Boolean No description.
scalingConfigurationName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
scalingGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
acrRegistryInfos com.aliyun.ros.cdk.core.IResolvable OR java.util.ListAcrRegistryInfosProperty> No description.
activeDeadlineSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
autoCreateEip java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
autoMatchImageCache java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
containers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListContainersProperty> No description.
costOptimization java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
cpu java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
cpuOptionsCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
cpuOptionsThreadsPerCore java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheBucket java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheBurstingEnabled java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCachePl java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
dataCacheProvisionedIops java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
dnsConfigNameServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
dnsConfigOptions com.aliyun.ros.cdk.core.IResolvable OR java.util.ListDnsConfigOptionsProperty> No description.
dnsConfigSearches com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
dnsPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
egressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
eipBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ephemeralStorage java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
hostAliases com.aliyun.ros.cdk.core.IResolvable OR java.util.ListHostAliasesProperty> No description.
hostName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
imageRegistryCredentials com.aliyun.ros.cdk.core.IResolvable OR java.util.ListImageRegistryCredentialsProperty> No description.
imageSnapshotId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
ingressBandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
initContainers com.aliyun.ros.cdk.core.IResolvable OR java.util.ListInitContainersProperty> No description.
instanceFamilyLevel java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
instanceTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ipv6AddressCount java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
loadBalancerWeight java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
memory java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
ntpServers com.aliyun.ros.cdk.core.IResolvable OR java.util.List No description.
ramRoleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
restartPolicy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
securityContextSysctls com.aliyun.ros.cdk.core.IResolvable OR java.util.ListSecurityContextSysctlsProperty> No description.
spotPriceLimit java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
spotStrategy java.lang.String OR com.aliyun.ros.cdk.core.IResolvable No description.
tags java.util.List<TagsProperty> No description.
terminationGracePeriodSeconds java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable No description.
volumes com.aliyun.ros.cdk.core.IResolvable OR java.util.ListVolumesProperty> 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.


attrScalingConfigurationIdRequired

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

containerGroupNameRequired

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

enableResourcePropertyConstraintRequired

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

scalingConfigurationNameRequired

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

scalingGroupIdRequired

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

securityGroupIdRequired

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

acrRegistryInfosOptional

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

activeDeadlineSecondsOptional

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

autoCreateEipOptional

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

autoMatchImageCacheOptional

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

containersOptional

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

costOptimizationOptional

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

cpuOptional

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

cpuOptionsCoreOptional

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

cpuOptionsThreadsPerCoreOptional

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

dataCacheBucketOptional

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

dataCacheBurstingEnabledOptional

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

dataCachePlOptional

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

dataCacheProvisionedIopsOptional

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

dnsConfigNameServersOptional

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

dnsConfigOptionsOptional

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

dnsConfigSearchesOptional

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

dnsPolicyOptional

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

egressBandwidthOptional

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

eipBandwidthOptional

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

ephemeralStorageOptional

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

hostAliasesOptional

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

hostNameOptional

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

imageRegistryCredentialsOptional

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

imageSnapshotIdOptional

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

ingressBandwidthOptional

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

initContainersOptional

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

instanceFamilyLevelOptional

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

instanceTypesOptional

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

ipv6AddressCountOptional

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

loadBalancerWeightOptional

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

memoryOptional

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

ntpServersOptional

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

ramRoleNameOptional

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

resourceGroupIdOptional

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

restartPolicyOptional

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

securityContextSysctlsOptional

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

spotPriceLimitOptional

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

spotStrategyOptional

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

tagsOptional

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

terminationGracePeriodSecondsOptional

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

volumesOptional

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

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.