Skip to content

StackProps

Properties for defining a Stack.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ros-stack

Initializer

using AlibabaCloud.SDK.ROS.CDK.Ros;
new StackProps {
    object Parameters = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null,
    object TemplateBody = null,
    object TemplateId = null,
    object TemplateUrl = null,
    object TemplateVersion = null,
    object TimeoutMins = null
};

Properties

Name Type Description
Parameters object Property parameters: The set of parameters passed to this nested stack.
ResourceGroupId object Property resourceGroupId: Resource group.
Tags TagsProperty[] Property tags: The tags of nested stack.
TemplateBody object Property templateBody: Structure containing the template body.
TemplateId object Property templateId: Template ID of template containing the template body.
TemplateUrl object Property templateUrl: Location of file containing the template body.
TemplateVersion object Property templateVersion: Template version of template containing the template body.
TimeoutMins object Property timeoutMins: The length of time, in minutes, to wait for the nested stack creation or update.

ParametersOptional

public object Parameters { get; set; }
  • Type: object

Property parameters: The set of parameters passed to this nested stack.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: Resource group.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: The tags of nested stack.

If it is specified, it will be passed to all tag-supported resources in the nested stack.


TemplateBodyOptional

public object TemplateBody { get; set; }
  • Type: object

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.


TemplateIdOptional

public object TemplateId { get; set; }
  • Type: object

Property templateId: Template ID of template containing the template body.


TemplateUrlOptional

public object TemplateUrl { get; set; }
  • Type: object

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.


TemplateVersionOptional

public object TemplateVersion { get; set; }
  • Type: object

Property templateVersion: Template version of template containing the template body.


TimeoutMinsOptional

public object TimeoutMins { get; set; }
  • Type: object

Property timeoutMins: The length of time, in minutes, to wait for the nested stack creation or update.

Default to 60 minutes.