StackProps
Properties for defining a Stack
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-stack
Initializer
import com.aliyun.ros.cdk.ros.StackProps;
StackProps.builder()
// .parameters(IResolvable)
// .parameters(java.util.Map<java.lang.String, java.lang.Object>)
// .resourceGroupId(java.lang.String)
// .resourceGroupId(IResolvable)
// .tags(java.util.List<TagsProperty>)
// .templateBody(IResolvable)
// .templateBody(java.util.Map<java.lang.String, java.lang.Object>)
// .templateId(java.lang.String)
// .templateId(IResolvable)
// .templateUrl(java.lang.String)
// .templateUrl(IResolvable)
// .templateVersion(java.lang.String)
// .templateVersion(IResolvable)
// .timeoutMins(java.lang.Number)
// .timeoutMins(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
parameters |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property parameters: The set of parameters passed to this nested stack. |
resourceGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property resourceGroupId: Resource group. |
tags |
java.util.List<TagsProperty> |
Property tags: The tags of nested stack. |
templateBody |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property templateBody: Structure containing the template body. |
templateId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateId: Template ID of template containing the template body. |
templateUrl |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateUrl: Location of file containing the template body. |
templateVersion |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property templateVersion: Template version of template containing the template body. |
timeoutMins |
java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable |
Property timeoutMins: The length of time, in minutes, to wait for the nested stack creation or update. |
parameters
Optional
public java.lang.Object getParameters();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property parameters: The set of parameters passed to this nested stack.
resourceGroupId
Optional
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: Resource group.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: The tags of nested stack.
If it is specified, it will be passed to all tag-supported resources in the nested stack.
templateBody
Optional
public java.lang.Object getTemplateBody();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property templateBody: Structure containing the template body.
It is just to facilitate the passing of template. It is raw content.Functions in TemplateBody will not be resolved in parent stack. You must specify either the TemplateBody or the TemplateURL property. If both are specified, TemplateBody will be used.
templateId
Optional
public java.lang.Object getTemplateId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateId: Template ID of template containing the template body.
templateUrl
Optional
public java.lang.Object getTemplateUrl();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateUrl: Location of file containing the template body.
The URL must point to a template (max size: 524288 bytes) that is located in a http web server(http, https), or an Aliyun OSS bucket(Such as oss://ros-template/demo?RegionId=cn-hangzhou, oss://ros-template/demo. RegionId is default to the value of RegionId Parameter of the request.). You must specify either the TemplateBody or the TemplateURL property. If both are specified, TemplateBody will be used.
templateVersion
Optional
public java.lang.Object getTemplateVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateVersion: Template version of template containing the template body.
timeoutMins
Optional
public java.lang.Object getTimeoutMins();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property timeoutMins: The length of time, in minutes, to wait for the nested stack creation or update.
Default to 60 minutes.