Skip to content

StackProps

Properties for defining a Stack.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkros"
&alicloudroscdkros.StackProps {
    Parameters: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkros.RosStack.TagsProperty,
    TemplateBody: interface{},
    TemplateId: interface{},
    TemplateUrl: interface{},
    TemplateVersion: interface{},
    TimeoutMins: interface{},
}

Properties

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

ParametersOptional

Parameters interface{}
  • Type: interface{}

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


ResourceGroupIdOptional

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: Resource group.


TagsOptional

Tags *[]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.


TemplateBodyOptional

TemplateBody interface{}
  • Type: interface{}

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

TemplateId interface{}
  • Type: interface{}

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


TemplateUrlOptional

TemplateUrl interface{}
  • Type: interface{}

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

TemplateVersion interface{}
  • Type: interface{}

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


TimeoutMinsOptional

TimeoutMins interface{}
  • Type: interface{}

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

Default to 60 minutes.