1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. ros
  5. StackGroup
Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi

alicloud.ros.StackGroup

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi

    Provides a ROS Stack Group resource.

    Resource stack Group.

    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: `    {
        \\t\\"ROSTemplateFormatVersion\\": \\"2015-09-01\\"
        }
    `,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example = alicloud.ros.StackGroup("example",
        stack_group_name="example_value",
        template_body="""    {
        \t\"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    \\t\\\"ROSTemplateFormatVersion\\\": \\\"2015-09-01\\\"\n    }\n"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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 = @"    {
        \t\""ROSTemplateFormatVersion\"": \""2015-09-01\""
        }
    ",
        });
    
    });
    
    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("""
        {
        \t\"ROSTemplateFormatVersion\": \"2015-09-01\"
        }
                """)
                .build());
    
        }
    }
    
    resources:
      example:
        type: alicloud:ros:StackGroup
        properties:
          stackGroupName: example_value
          templateBody: |2
                {
                \t\"ROSTemplateFormatVersion\": \"2015-09-01\"
                }
    

    Create StackGroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StackGroup(name: string, args: StackGroupArgs, opts?: CustomResourceOptions);
    @overload
    def StackGroup(resource_name: str,
                   args: StackGroupArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def StackGroup(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   stack_group_name: Optional[str] = None,
                   permission_model: Optional[str] = None,
                   capabilities: Optional[Sequence[str]] = None,
                   description: Optional[str] = None,
                   execution_role_name: Optional[str] = None,
                   parameters: Optional[Sequence[StackGroupParameterArgs]] = None,
                   administration_role_name: Optional[str] = None,
                   resource_group_id: Optional[str] = None,
                   auto_deployment: Optional[StackGroupAutoDeploymentArgs] = None,
                   tags: Optional[Mapping[str, str]] = None,
                   template_body: Optional[str] = None,
                   template_id: Optional[str] = None,
                   template_url: Optional[str] = None,
                   template_version: Optional[str] = None)
    func NewStackGroup(ctx *Context, name string, args StackGroupArgs, opts ...ResourceOption) (*StackGroup, error)
    public StackGroup(string name, StackGroupArgs args, CustomResourceOptions? opts = null)
    public StackGroup(String name, StackGroupArgs args)
    public StackGroup(String name, StackGroupArgs args, CustomResourceOptions options)
    
    type: alicloud:ros:StackGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StackGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StackGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StackGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StackGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StackGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var stackGroupResource = new AliCloud.Ros.StackGroup("stackGroupResource", new()
    {
        StackGroupName = "string",
        PermissionModel = "string",
        Capabilities = new[]
        {
            "string",
        },
        Description = "string",
        ExecutionRoleName = "string",
        Parameters = new[]
        {
            new AliCloud.Ros.Inputs.StackGroupParameterArgs
            {
                ParameterKey = "string",
                ParameterValue = "string",
            },
        },
        AdministrationRoleName = "string",
        ResourceGroupId = "string",
        AutoDeployment = new AliCloud.Ros.Inputs.StackGroupAutoDeploymentArgs
        {
            Enabled = false,
            RetainStacksOnAccountRemoval = false,
        },
        Tags = 
        {
            { "string", "string" },
        },
        TemplateBody = "string",
        TemplateId = "string",
        TemplateUrl = "string",
        TemplateVersion = "string",
    });
    
    example, err := ros.NewStackGroup(ctx, "stackGroupResource", &ros.StackGroupArgs{
    	StackGroupName:  pulumi.String("string"),
    	PermissionModel: pulumi.String("string"),
    	Capabilities: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:       pulumi.String("string"),
    	ExecutionRoleName: pulumi.String("string"),
    	Parameters: ros.StackGroupParameterArray{
    		&ros.StackGroupParameterArgs{
    			ParameterKey:   pulumi.String("string"),
    			ParameterValue: pulumi.String("string"),
    		},
    	},
    	AdministrationRoleName: pulumi.String("string"),
    	ResourceGroupId:        pulumi.String("string"),
    	AutoDeployment: &ros.StackGroupAutoDeploymentArgs{
    		Enabled:                      pulumi.Bool(false),
    		RetainStacksOnAccountRemoval: pulumi.Bool(false),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TemplateBody:    pulumi.String("string"),
    	TemplateId:      pulumi.String("string"),
    	TemplateUrl:     pulumi.String("string"),
    	TemplateVersion: pulumi.String("string"),
    })
    
    var stackGroupResource = new StackGroup("stackGroupResource", StackGroupArgs.builder()
        .stackGroupName("string")
        .permissionModel("string")
        .capabilities("string")
        .description("string")
        .executionRoleName("string")
        .parameters(StackGroupParameterArgs.builder()
            .parameterKey("string")
            .parameterValue("string")
            .build())
        .administrationRoleName("string")
        .resourceGroupId("string")
        .autoDeployment(StackGroupAutoDeploymentArgs.builder()
            .enabled(false)
            .retainStacksOnAccountRemoval(false)
            .build())
        .tags(Map.of("string", "string"))
        .templateBody("string")
        .templateId("string")
        .templateUrl("string")
        .templateVersion("string")
        .build());
    
    stack_group_resource = alicloud.ros.StackGroup("stackGroupResource",
        stack_group_name="string",
        permission_model="string",
        capabilities=["string"],
        description="string",
        execution_role_name="string",
        parameters=[{
            "parameter_key": "string",
            "parameter_value": "string",
        }],
        administration_role_name="string",
        resource_group_id="string",
        auto_deployment={
            "enabled": False,
            "retain_stacks_on_account_removal": False,
        },
        tags={
            "string": "string",
        },
        template_body="string",
        template_id="string",
        template_url="string",
        template_version="string")
    
    const stackGroupResource = new alicloud.ros.StackGroup("stackGroupResource", {
        stackGroupName: "string",
        permissionModel: "string",
        capabilities: ["string"],
        description: "string",
        executionRoleName: "string",
        parameters: [{
            parameterKey: "string",
            parameterValue: "string",
        }],
        administrationRoleName: "string",
        resourceGroupId: "string",
        autoDeployment: {
            enabled: false,
            retainStacksOnAccountRemoval: false,
        },
        tags: {
            string: "string",
        },
        templateBody: "string",
        templateId: "string",
        templateUrl: "string",
        templateVersion: "string",
    });
    
    type: alicloud:ros:StackGroup
    properties:
        administrationRoleName: string
        autoDeployment:
            enabled: false
            retainStacksOnAccountRemoval: false
        capabilities:
            - string
        description: string
        executionRoleName: string
        parameters:
            - parameterKey: string
              parameterValue: string
        permissionModel: string
        resourceGroupId: string
        stackGroupName: string
        tags:
            string: string
        templateBody: string
        templateId: string
        templateUrl: string
        templateVersion: string
    

    StackGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The StackGroup resource accepts the following input properties:

    StackGroupName string
    StackGroupName
    AdministrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    AutoDeployment Pulumi.AliCloud.Ros.Inputs.StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    Capabilities List<string>
    The list of resource stack group options. The maximum length is 1.
    Description string
    The description of the stack group.
    ExecutionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    Parameters List<Pulumi.AliCloud.Ros.Inputs.StackGroupParameter>
    Parameters See parameters below.
    PermissionModel string
    The permission model.
    ResourceGroupId string
    The ID of the resource group.
    Tags Dictionary<string, string>
    The label of the resource stack group.
    TemplateBody string
    The template body.
    TemplateId string
    The ID of the template.
    TemplateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    TemplateVersion string
    The version of the template.
    StackGroupName string
    StackGroupName
    AdministrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    AutoDeployment StackGroupAutoDeploymentArgs
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    Capabilities []string
    The list of resource stack group options. The maximum length is 1.
    Description string
    The description of the stack group.
    ExecutionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    Parameters []StackGroupParameterArgs
    Parameters See parameters below.
    PermissionModel string
    The permission model.
    ResourceGroupId string
    The ID of the resource group.
    Tags map[string]string
    The label of the resource stack group.
    TemplateBody string
    The template body.
    TemplateId string
    The ID of the template.
    TemplateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    TemplateVersion string
    The version of the template.
    stackGroupName String
    StackGroupName
    administrationRoleName String
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities List<String>
    The list of resource stack group options. The maximum length is 1.
    description String
    The description of the stack group.
    executionRoleName String
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters List<StackGroupParameter>
    Parameters See parameters below.
    permissionModel String
    The permission model.
    resourceGroupId String
    The ID of the resource group.
    tags Map<String,String>
    The label of the resource stack group.
    templateBody String
    The template body.
    templateId String
    The ID of the template.
    templateUrl String

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion String
    The version of the template.
    stackGroupName string
    StackGroupName
    administrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities string[]
    The list of resource stack group options. The maximum length is 1.
    description string
    The description of the stack group.
    executionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters StackGroupParameter[]
    Parameters See parameters below.
    permissionModel string
    The permission model.
    resourceGroupId string
    The ID of the resource group.
    tags {[key: string]: string}
    The label of the resource stack group.
    templateBody string
    The template body.
    templateId string
    The ID of the template.
    templateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion string
    The version of the template.
    stack_group_name str
    StackGroupName
    administration_role_name str
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    auto_deployment StackGroupAutoDeploymentArgs
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities Sequence[str]
    The list of resource stack group options. The maximum length is 1.
    description str
    The description of the stack group.
    execution_role_name str
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters Sequence[StackGroupParameterArgs]
    Parameters See parameters below.
    permission_model str
    The permission model.
    resource_group_id str
    The ID of the resource group.
    tags Mapping[str, str]
    The label of the resource stack group.
    template_body str
    The template body.
    template_id str
    The ID of the template.
    template_url str

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    template_version str
    The version of the template.
    stackGroupName String
    StackGroupName
    administrationRoleName String
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment Property Map
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities List<String>
    The list of resource stack group options. The maximum length is 1.
    description String
    The description of the stack group.
    executionRoleName String
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters List<Property Map>
    Parameters See parameters below.
    permissionModel String
    The permission model.
    resourceGroupId String
    The ID of the resource group.
    tags Map<String>
    The label of the resource stack group.
    templateBody String
    The template body.
    templateId String
    The ID of the template.
    templateUrl String

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion String
    The version of the template.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StackGroup resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    StackGroupId string
    The ID of stack group.
    Status string
    The status of the stack group.
    Id string
    The provider-assigned unique ID for this managed resource.
    StackGroupId string
    The ID of stack group.
    Status string
    The status of the stack group.
    id String
    The provider-assigned unique ID for this managed resource.
    stackGroupId String
    The ID of stack group.
    status String
    The status of the stack group.
    id string
    The provider-assigned unique ID for this managed resource.
    stackGroupId string
    The ID of stack group.
    status string
    The status of the stack group.
    id str
    The provider-assigned unique ID for this managed resource.
    stack_group_id str
    The ID of stack group.
    status str
    The status of the stack group.
    id String
    The provider-assigned unique ID for this managed resource.
    stackGroupId String
    The ID of stack group.
    status String
    The status of the stack group.

    Look up Existing StackGroup Resource

    Get an existing StackGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StackGroupState, opts?: CustomResourceOptions): StackGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            administration_role_name: Optional[str] = None,
            auto_deployment: Optional[StackGroupAutoDeploymentArgs] = None,
            capabilities: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            execution_role_name: Optional[str] = None,
            parameters: Optional[Sequence[StackGroupParameterArgs]] = None,
            permission_model: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            stack_group_id: Optional[str] = None,
            stack_group_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            template_body: Optional[str] = None,
            template_id: Optional[str] = None,
            template_url: Optional[str] = None,
            template_version: Optional[str] = None) -> StackGroup
    func GetStackGroup(ctx *Context, name string, id IDInput, state *StackGroupState, opts ...ResourceOption) (*StackGroup, error)
    public static StackGroup Get(string name, Input<string> id, StackGroupState? state, CustomResourceOptions? opts = null)
    public static StackGroup get(String name, Output<String> id, StackGroupState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:ros:StackGroup    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdministrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    AutoDeployment Pulumi.AliCloud.Ros.Inputs.StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    Capabilities List<string>
    The list of resource stack group options. The maximum length is 1.
    Description string
    The description of the stack group.
    ExecutionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    Parameters List<Pulumi.AliCloud.Ros.Inputs.StackGroupParameter>
    Parameters See parameters below.
    PermissionModel string
    The permission model.
    ResourceGroupId string
    The ID of the resource group.
    StackGroupId string
    The ID of stack group.
    StackGroupName string
    StackGroupName
    Status string
    The status of the stack group.
    Tags Dictionary<string, string>
    The label of the resource stack group.
    TemplateBody string
    The template body.
    TemplateId string
    The ID of the template.
    TemplateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    TemplateVersion string
    The version of the template.
    AdministrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    AutoDeployment StackGroupAutoDeploymentArgs
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    Capabilities []string
    The list of resource stack group options. The maximum length is 1.
    Description string
    The description of the stack group.
    ExecutionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    Parameters []StackGroupParameterArgs
    Parameters See parameters below.
    PermissionModel string
    The permission model.
    ResourceGroupId string
    The ID of the resource group.
    StackGroupId string
    The ID of stack group.
    StackGroupName string
    StackGroupName
    Status string
    The status of the stack group.
    Tags map[string]string
    The label of the resource stack group.
    TemplateBody string
    The template body.
    TemplateId string
    The ID of the template.
    TemplateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    TemplateVersion string
    The version of the template.
    administrationRoleName String
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities List<String>
    The list of resource stack group options. The maximum length is 1.
    description String
    The description of the stack group.
    executionRoleName String
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters List<StackGroupParameter>
    Parameters See parameters below.
    permissionModel String
    The permission model.
    resourceGroupId String
    The ID of the resource group.
    stackGroupId String
    The ID of stack group.
    stackGroupName String
    StackGroupName
    status String
    The status of the stack group.
    tags Map<String,String>
    The label of the resource stack group.
    templateBody String
    The template body.
    templateId String
    The ID of the template.
    templateUrl String

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion String
    The version of the template.
    administrationRoleName string
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment StackGroupAutoDeployment
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities string[]
    The list of resource stack group options. The maximum length is 1.
    description string
    The description of the stack group.
    executionRoleName string
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters StackGroupParameter[]
    Parameters See parameters below.
    permissionModel string
    The permission model.
    resourceGroupId string
    The ID of the resource group.
    stackGroupId string
    The ID of stack group.
    stackGroupName string
    StackGroupName
    status string
    The status of the stack group.
    tags {[key: string]: string}
    The label of the resource stack group.
    templateBody string
    The template body.
    templateId string
    The ID of the template.
    templateUrl string

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion string
    The version of the template.
    administration_role_name str
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    auto_deployment StackGroupAutoDeploymentArgs
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities Sequence[str]
    The list of resource stack group options. The maximum length is 1.
    description str
    The description of the stack group.
    execution_role_name str
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters Sequence[StackGroupParameterArgs]
    Parameters See parameters below.
    permission_model str
    The permission model.
    resource_group_id str
    The ID of the resource group.
    stack_group_id str
    The ID of stack group.
    stack_group_name str
    StackGroupName
    status str
    The status of the stack group.
    tags Mapping[str, str]
    The label of the resource stack group.
    template_body str
    The template body.
    template_id str
    The ID of the template.
    template_url str

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    template_version str
    The version of the template.
    administrationRoleName String
    The name of the RAM role that you specify for the administrator account in ROS when you create the self-managed stack group. If you do not specify this parameter, the default value AliyunROSStackGroupAdministrationRole is used. You can use the administrator role in ROS to assume the execution role AliyunROSStackGroupExecutionRole to perform operations on the stacks that correspond to stack instances in the stack group.
    autoDeployment Property Map
    Automatic deployment setting information. Description This parameter is required only if the PermissionModel is SERVICE_MANAGED. See auto_deployment below.
    capabilities List<String>
    The list of resource stack group options. The maximum length is 1.
    description String
    The description of the stack group.
    executionRoleName String
    The name of the RAM role that you specify for the execution account when you create the self-managed stack group. You can use the administrator role AliyunROSStackGroupAdministrationRole to assume the execution role. If you do not specify this parameter, the default value AliyunROSStackGroupExecutionRole is used. You can use this role in ROS to perform operations on the stacks that correspond to stack instances in the stack group.
    parameters List<Property Map>
    Parameters See parameters below.
    permissionModel String
    The permission model.
    resourceGroupId String
    The ID of the resource group.
    stackGroupId String
    The ID of stack group.
    stackGroupName String
    StackGroupName
    status String
    The status of the stack group.
    tags Map<String>
    The label of the resource stack group.
    templateBody String
    The template body.
    templateId String
    The ID of the template.
    templateUrl String

    The location of the file that contains the template body. The URL must point to the template (1 to 524,288 bytes) located in the HTTP Web server (HTTP or HTTPS) or Alibaba Cloud OSS bucket. The URL of the OSS bucket, such as oss:// ros/template/demo or oss:// ros/template/demo? RegionId = cn-hangzhou. If the OSS region is not specified, the RegionId of the interface is the same by default.

    NOTE: You must and can specify only one of the parameters of TemplateBody, TemplateURL, or TemplateId.

    templateVersion String
    The version of the template.

    Supporting Types

    StackGroupAutoDeployment, StackGroupAutoDeploymentArgs

    Enabled bool
    Enable or disable automatic deployment. Valid Values:
    RetainStacksOnAccountRemoval bool
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
    Enabled bool
    Enable or disable automatic deployment. Valid Values:
    RetainStacksOnAccountRemoval bool
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
    enabled Boolean
    Enable or disable automatic deployment. Valid Values:
    retainStacksOnAccountRemoval Boolean
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
    enabled boolean
    Enable or disable automatic deployment. Valid Values:
    retainStacksOnAccountRemoval boolean
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
    enabled bool
    Enable or disable automatic deployment. Valid Values:
    retain_stacks_on_account_removal bool
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
    enabled Boolean
    Enable or disable automatic deployment. Valid Values:
    retainStacksOnAccountRemoval Boolean
    Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:

    StackGroupParameter, StackGroupParameterArgs

    ParameterKey string
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    ParameterValue string
    The value of parameter N.
    ParameterKey string
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    ParameterValue string
    The value of parameter N.
    parameterKey String
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    parameterValue String
    The value of parameter N.
    parameterKey string
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    parameterValue string
    The value of parameter N.
    parameter_key str
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    parameter_value str
    The value of parameter N.
    parameterKey String
    The key of parameter N. If you do not specify the key and value of the parameter, ROS uses the default key and value in the template.
    parameterValue String
    The value of parameter N.

    Import

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

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.86.1 published on Saturday, Sep 27, 2025 by Pulumi
      AI Agentic Workflows: Register now