StackGroup

class StackGroup : KotlinCustomResource

Provides a ROS Stack Group resource. For information about ROS Stack Group and how to use it, see What is Stack Group.

NOTE: Available since v1.107.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = new alicloud.ros.StackGroup("example", {
stackGroupName: "example_value",
templateBody: ` {
\x09"ROSTemplateFormatVersion": "2015-09-01"
}
`,
});
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ros.StackGroup("example",
stack_group_name="example_value",
template_body=""" {
\x09"ROSTemplateFormatVersion": "2015-09-01"
}
""")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = new AliCloud.Ros.StackGroup("example", new()
{
StackGroupName = "example_value",
TemplateBody = @" {
""ROSTemplateFormatVersion"": ""2015-09-01""
}
",
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ros.NewStackGroup(ctx, "example", &ros.StackGroupArgs{
StackGroupName: pulumi.String("example_value"),
TemplateBody: pulumi.String(" {\n \"ROSTemplateFormatVersion\": \"2015-09-01\"\n }\n"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ros.StackGroup;
import com.pulumi.alicloud.ros.StackGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new StackGroup("example", StackGroupArgs.builder()
.stackGroupName("example_value")
.templateBody("""
{
"ROSTemplateFormatVersion": "2015-09-01"
}
""")
.build());
}
}
resources:
example:
type: alicloud:ros:StackGroup
properties:
stackGroupName: example_value
templateBody: |2
{
"ROSTemplateFormatVersion": "2015-09-01"
}

Import

ROS Stack Group can be imported using the id, e.g.

$ pulumi import alicloud:ros/stackGroup:StackGroup example <stack_group_name>

Properties

Link copied to clipboard
val accountIds: Output<String>?

The list of target account IDs, in JSON format. A maximum of 20 accounts can be specified.

Link copied to clipboard

The name of the RAM administrator role assumed by ROS. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group.

Link copied to clipboard
val description: Output<String>?

The description of the stack group.

Link copied to clipboard

The name of the RAM execution role assumed by the administrator role. ROS assumes this role to perform operations on the stack corresponding to the stack instance in the stack group.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The description of the operation.

Link copied to clipboard

The operation settings, in JSON format.

Link copied to clipboard

The parameters. If the parameter name and value are not specified, ROS will use the default value specified in the template.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val regionIds: Output<String>?

The list of target regions, in JSON format. A maximum of 20 accounts can be specified.

Link copied to clipboard
val stackGroupId: Output<String>

The id of Stack Group.

Link copied to clipboard
val stackGroupName: Output<String>

The name of the stack group. The name must be unique in a region.

Link copied to clipboard
val status: Output<String>

The status of Stack Group.

Link copied to clipboard
val templateBody: Output<String>?

The structure that contains the template body. The template body must be 1 to 524,288 bytes in length. If the length of the template body is longer than required, we recommend that you add parameters to the HTTP POST request body to avoid request failures due to excessive length of URLs.

Link copied to clipboard
val templateUrl: Output<String>?

The URL of the file that contains the template body. The URL must point to a template located in an HTTP or HTTPS web server or an Alibaba Cloud OSS bucket. Examples: oss://ros/template/demo and oss://ros/template/demo?RegionId=cn-hangzhou. The template must be 1 to 524,288 bytes in length. If the region of the OSS bucket is not specified, the RegionId value is used by default.

Link copied to clipboard
val templateVersion: Output<String>?

The version of the template.

Link copied to clipboard
val urn: Output<String>