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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
No description. |
scope
Required
- Type: com.aliyun.ros.cdk.core.Construct
scope in which this resource is defined.
id
Required
- Type: java.lang.String
scoped id of the resource.
enableResourcePropertyConstraint
Required
- Type: java.lang.Boolean
containerGroupName
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
scalingConfigurationName
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
scalingGroupId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupId
Required
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
acrRegistryInfos
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AcrRegistryInfosProperty>
activeDeadlineSeconds
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
autoCreateEip
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
autoMatchImageCache
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
containers
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ContainersProperty>
costOptimization
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
cpu
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
cpuOptionsCore
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
cpuOptionsThreadsPerCore
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
dataCacheBucket
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
dataCacheBurstingEnabled
Optional
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
dataCachePl
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
dataCacheProvisionedIops
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
dnsConfigNameServers
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
dnsConfigOptions
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
DnsConfigOptionsProperty>
dnsConfigSearches
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
dnsPolicy
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
egressBandwidth
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
eipBandwidth
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ephemeralStorage
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
hostAliases
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
HostAliasesProperty>
hostName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
imageRegistryCredentials
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ImageRegistryCredentialsProperty>
imageSnapshotId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ingressBandwidth
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
initContainers
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InitContainersProperty>
instanceFamilyLevel
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
instanceTypes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ipv6AddressCount
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
loadBalancerWeight
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
memory
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ntpServers
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ramRoleName
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
resourceGroupId
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
restartPolicy
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityContextSysctls
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SecurityContextSysctlsProperty>
spotPriceLimit
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
spotStrategy
Optional
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
tags
Optional
- Type: java.util.List<TagsProperty>
terminationGracePeriodSeconds
Optional
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
volumes
Optional
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
VolumesProperty>
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.
- 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.
- Type: java.lang.String
The new logical ID to use for this stack element.
addCondition
public void addCondition(RosCondition con)
- Type: com.aliyun.ros.cdk.core.RosCondition
addCount
public void addCount(java.lang.Number OR IResolvable count)
- 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)
.
- 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.
- Type: com.aliyun.ros.cdk.core.RosResource
addDesc
public void addDesc(java.lang.String desc)
- Type: java.lang.String
addMetaData
public void addMetaData(java.lang.String key, java.lang.Object value)
- Type: java.lang.String
- 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"
...
},
]
...
}
- 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.
- 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.
- 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)
.
- Type: java.lang.String
The path of the property.
- Type: java.lang.Object
The value.
addRosDependency
public void addRosDependency(java.lang.String target)
- 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.
- Type: com.aliyun.ros.cdk.core.RemovalPolicy
- 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.
- 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.
- 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.
- Type: java.lang.Object
isRosResource
import com.aliyun.ros.cdk.ess.RosEciScalingConfiguration;
RosEciScalingConfiguration.isRosResource(IConstruct construct)
Check whether the given construct is a RosResource.
- 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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
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.List |
No description. |
node
Required
public ConstructNode getNode();
- Type: com.aliyun.ros.cdk.core.ConstructNode
The construct tree node associated with this construct.
creationStack
Required
public java.util.List<java.lang.String> getCreationStack();
- Type: java.util.List
logicalId
Required
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)
.
stack
Required
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).
ref
Required
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 })
.
rosOptions
Required
public IRosResourceOptions getRosOptions();
- Type: com.aliyun.ros.cdk.core.IRosResourceOptions
Options for this resource, such as condition, update policy etc.
rosResourceType
Required
public java.lang.String getRosResourceType();
- Type: java.lang.String
ROS resource type.
attrScalingConfigurationId
Required
public IResolvable getAttrScalingConfigurationId();
- Type: com.aliyun.ros.cdk.core.IResolvable
containerGroupName
Required
public java.lang.Object getContainerGroupName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
enableResourcePropertyConstraint
Required
public java.lang.Boolean getEnableResourcePropertyConstraint();
- Type: java.lang.Boolean
scalingConfigurationName
Required
public java.lang.Object getScalingConfigurationName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
scalingGroupId
Required
public java.lang.Object getScalingGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityGroupId
Required
public java.lang.Object getSecurityGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
acrRegistryInfos
Optional
public java.lang.Object getAcrRegistryInfos();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
AcrRegistryInfosProperty>
activeDeadlineSeconds
Optional
public java.lang.Object getActiveDeadlineSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
autoCreateEip
Optional
public java.lang.Object getAutoCreateEip();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
autoMatchImageCache
Optional
public java.lang.Object getAutoMatchImageCache();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
containers
Optional
public java.lang.Object getContainers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ContainersProperty>
costOptimization
Optional
public java.lang.Object getCostOptimization();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
cpu
Optional
public java.lang.Object getCpu();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
cpuOptionsCore
Optional
public java.lang.Object getCpuOptionsCore();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
cpuOptionsThreadsPerCore
Optional
public java.lang.Object getCpuOptionsThreadsPerCore();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
dataCacheBucket
Optional
public java.lang.Object getDataCacheBucket();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
dataCacheBurstingEnabled
Optional
public java.lang.Object getDataCacheBurstingEnabled();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
dataCachePl
Optional
public java.lang.Object getDataCachePl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
dataCacheProvisionedIops
Optional
public java.lang.Object getDataCacheProvisionedIops();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
dnsConfigNameServers
Optional
public java.lang.Object getDnsConfigNameServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
dnsConfigOptions
Optional
public java.lang.Object getDnsConfigOptions();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
DnsConfigOptionsProperty>
dnsConfigSearches
Optional
public java.lang.Object getDnsConfigSearches();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
dnsPolicy
Optional
public java.lang.Object getDnsPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
egressBandwidth
Optional
public java.lang.Object getEgressBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
eipBandwidth
Optional
public java.lang.Object getEipBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ephemeralStorage
Optional
public java.lang.Object getEphemeralStorage();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
hostAliases
Optional
public java.lang.Object getHostAliases();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
HostAliasesProperty>
hostName
Optional
public java.lang.Object getHostName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
imageRegistryCredentials
Optional
public java.lang.Object getImageRegistryCredentials();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ImageRegistryCredentialsProperty>
imageSnapshotId
Optional
public java.lang.Object getImageSnapshotId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
ingressBandwidth
Optional
public java.lang.Object getIngressBandwidth();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
initContainers
Optional
public java.lang.Object getInitContainers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
InitContainersProperty>
instanceFamilyLevel
Optional
public java.lang.Object getInstanceFamilyLevel();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
instanceTypes
Optional
public java.lang.Object getInstanceTypes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ipv6AddressCount
Optional
public java.lang.Object getIpv6AddressCount();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
loadBalancerWeight
Optional
public java.lang.Object getLoadBalancerWeight();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
memory
Optional
public java.lang.Object getMemory();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
ntpServers
Optional
public java.lang.Object getNtpServers();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
ramRoleName
Optional
public java.lang.Object getRamRoleName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
restartPolicy
Optional
public java.lang.Object getRestartPolicy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
securityContextSysctls
Optional
public java.lang.Object getSecurityContextSysctls();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
SecurityContextSysctlsProperty>
spotPriceLimit
Optional
public java.lang.Object getSpotPriceLimit();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
spotStrategy
Optional
public java.lang.Object getSpotStrategy();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
terminationGracePeriodSeconds
Optional
public java.lang.Object getTerminationGracePeriodSeconds();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
volumes
Optional
public java.lang.Object getVolumes();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List
VolumesProperty>
Constants
Name | Type | Description |
---|---|---|
ROS_RESOURCE_TYPE_NAME |
java.lang.String |
The resource type name for this resource class. |
ROS_RESOURCE_TYPE_NAME
Required
public java.lang.String getRosResourceTypeName();
- Type: java.lang.String
The resource type name for this resource class.