StackProps
Properties for defining a Stack
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-stack
Initializer
import { StackProps } from '@alicloud/ros-cdk-ros'
const stackProps: StackProps = { ... }
Properties
Name | Type | Description |
---|---|---|
parameters |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property parameters: The set of parameters passed to this nested stack. |
resourceGroupId |
string | @alicloud/ros-cdk-core.IResolvable |
Property resourceGroupId: Resource group. |
tags |
TagsProperty[] |
Property tags: The tags of nested stack. |
templateBody |
@alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} |
Property templateBody: Structure containing the template body. |
templateId |
string | @alicloud/ros-cdk-core.IResolvable |
Property templateId: Template ID of template containing the template body. |
templateUrl |
string | @alicloud/ros-cdk-core.IResolvable |
Property templateUrl: Location of file containing the template body. |
templateVersion |
string | @alicloud/ros-cdk-core.IResolvable |
Property templateVersion: Template version of template containing the template body. |
timeoutMins |
number | @alicloud/ros-cdk-core.IResolvable |
Property timeoutMins: The length of time, in minutes, to wait for the nested stack creation or update. |
parameters
Optional
public readonly parameters: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
Property parameters: The set of parameters passed to this nested stack.
resourceGroupId
Optional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: Resource group.
tags
Optional
public readonly tags: TagsProperty[];
- Type: 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 readonly templateBody: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
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 readonly templateId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property templateId: Template ID of template containing the template body.
templateUrl
Optional
public readonly templateUrl: string | IResolvable;
- Type: string | @alicloud/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 readonly templateVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property templateVersion: Template version of template containing the template body.
timeoutMins
Optional
public readonly timeoutMins: number | IResolvable;
- Type: number | @alicloud/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.