alicloud.ros.StackGroup
Explore with Pulumi AI
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:
- Stack
Group stringName - StackGroupName
- Administration
Role stringName - 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 Pulumi.Ali Cloud. Ros. Inputs. Stack Group Auto Deployment - 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.
- Execution
Role stringName - 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.
Ali Cloud. Ros. Inputs. Stack Group Parameter> - Parameters See
parameters
below. - Permission
Model string - The permission model.
- Resource
Group stringId - The ID of the resource group.
- Dictionary<string, string>
- The label of the resource stack group.
- Template
Body string - The template body.
- Template
Id string - The ID of the template.
- Template
Url 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.
- Template
Version string - The version of the template.
- Stack
Group stringName - StackGroupName
- Administration
Role stringName - 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 StackGroup Auto Deployment Args - 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.
- Execution
Role stringName - 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
[]Stack
Group Parameter Args - Parameters See
parameters
below. - Permission
Model string - The permission model.
- Resource
Group stringId - The ID of the resource group.
- map[string]string
- The label of the resource stack group.
- Template
Body string - The template body.
- Template
Id string - The ID of the template.
- Template
Url 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.
- Template
Version string - The version of the template.
- stack
Group StringName - StackGroupName
- administration
Role StringName - 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 StackGroup Auto Deployment - 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.
- execution
Role StringName - 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<Stack
Group Parameter> - Parameters See
parameters
below. - permission
Model String - The permission model.
- resource
Group StringId - The ID of the resource group.
- Map<String,String>
- The label of the resource stack group.
- template
Body String - The template body.
- template
Id String - The ID of the template.
- template
Url 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.
- template
Version String - The version of the template.
- stack
Group stringName - StackGroupName
- administration
Role stringName - 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 StackGroup Auto Deployment - 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.
- execution
Role stringName - 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
Stack
Group Parameter[] - Parameters See
parameters
below. - permission
Model string - The permission model.
- resource
Group stringId - The ID of the resource group.
- {[key: string]: string}
- The label of the resource stack group.
- template
Body string - The template body.
- template
Id string - The ID of the template.
- template
Url 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.
- template
Version string - The version of the template.
- stack_
group_ strname - StackGroupName
- administration_
role_ strname - 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 StackGroup Auto Deployment Args - 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_ strname - 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[Stack
Group Parameter Args] - Parameters See
parameters
below. - permission_
model str - The permission model.
- resource_
group_ strid - The ID of the resource group.
- 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.
- stack
Group StringName - StackGroupName
- administration
Role StringName - 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 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.
- execution
Role StringName - 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. - permission
Model String - The permission model.
- resource
Group StringId - The ID of the resource group.
- Map<String>
- The label of the resource stack group.
- template
Body String - The template body.
- template
Id String - The ID of the template.
- template
Url 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.
- template
Version 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.
- Stack
Group stringId - The ID of stack group.
- Status string
- The status of the stack group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Stack
Group stringId - The ID of stack group.
- Status string
- The status of the stack group.
- id String
- The provider-assigned unique ID for this managed resource.
- stack
Group StringId - The ID of stack group.
- status String
- The status of the stack group.
- id string
- The provider-assigned unique ID for this managed resource.
- stack
Group stringId - 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_ strid - The ID of stack group.
- status str
- The status of the stack group.
- id String
- The provider-assigned unique ID for this managed resource.
- stack
Group StringId - 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.
- Administration
Role stringName - 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 Pulumi.Ali Cloud. Ros. Inputs. Stack Group Auto Deployment - 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.
- Execution
Role stringName - 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.
Ali Cloud. Ros. Inputs. Stack Group Parameter> - Parameters See
parameters
below. - Permission
Model string - The permission model.
- Resource
Group stringId - The ID of the resource group.
- Stack
Group stringId - The ID of stack group.
- Stack
Group stringName - StackGroupName
- Status string
- The status of the stack group.
- Dictionary<string, string>
- The label of the resource stack group.
- Template
Body string - The template body.
- Template
Id string - The ID of the template.
- Template
Url 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.
- Template
Version string - The version of the template.
- Administration
Role stringName - 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 StackGroup Auto Deployment Args - 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.
- Execution
Role stringName - 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
[]Stack
Group Parameter Args - Parameters See
parameters
below. - Permission
Model string - The permission model.
- Resource
Group stringId - The ID of the resource group.
- Stack
Group stringId - The ID of stack group.
- Stack
Group stringName - StackGroupName
- Status string
- The status of the stack group.
- map[string]string
- The label of the resource stack group.
- Template
Body string - The template body.
- Template
Id string - The ID of the template.
- Template
Url 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.
- Template
Version string - The version of the template.
- administration
Role StringName - 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 StackGroup Auto Deployment - 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.
- execution
Role StringName - 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<Stack
Group Parameter> - Parameters See
parameters
below. - permission
Model String - The permission model.
- resource
Group StringId - The ID of the resource group.
- stack
Group StringId - The ID of stack group.
- stack
Group StringName - StackGroupName
- status String
- The status of the stack group.
- Map<String,String>
- The label of the resource stack group.
- template
Body String - The template body.
- template
Id String - The ID of the template.
- template
Url 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.
- template
Version String - The version of the template.
- administration
Role stringName - 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 StackGroup Auto Deployment - 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.
- execution
Role stringName - 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
Stack
Group Parameter[] - Parameters See
parameters
below. - permission
Model string - The permission model.
- resource
Group stringId - The ID of the resource group.
- stack
Group stringId - The ID of stack group.
- stack
Group stringName - StackGroupName
- status string
- The status of the stack group.
- {[key: string]: string}
- The label of the resource stack group.
- template
Body string - The template body.
- template
Id string - The ID of the template.
- template
Url 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.
- template
Version string - The version of the template.
- administration_
role_ strname - 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 StackGroup Auto Deployment Args - 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_ strname - 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[Stack
Group Parameter Args] - Parameters See
parameters
below. - permission_
model str - The permission model.
- resource_
group_ strid - The ID of the resource group.
- stack_
group_ strid - The ID of stack group.
- stack_
group_ strname - StackGroupName
- status str
- The status of the stack group.
- 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.
- administration
Role StringName - 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 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.
- execution
Role StringName - 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. - permission
Model String - The permission model.
- resource
Group StringId - The ID of the resource group.
- stack
Group StringId - The ID of stack group.
- stack
Group StringName - StackGroupName
- status String
- The status of the stack group.
- Map<String>
- The label of the resource stack group.
- template
Body String - The template body.
- template
Id String - The ID of the template.
- template
Url 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.
- template
Version String - The version of the template.
Supporting Types
StackGroupAutoDeployment, StackGroupAutoDeploymentArgs
- Enabled bool
- Enable or disable automatic deployment. Valid Values:
- Retain
Stacks boolOn Account Removal - 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 boolOn Account Removal - 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:
- retain
Stacks BooleanOn Account Removal - 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:
- retain
Stacks booleanOn Account Removal - 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_ boolon_ account_ removal - 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:
- retain
Stacks BooleanOn Account Removal - Whether to retain the stack in the member account when the member account is deleted from the target folder. Valid values:
StackGroupParameter, StackGroupParameterArgs
- Parameter
Key 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.
- Parameter
Value string - The value of parameter N.
- Parameter
Key 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.
- Parameter
Value string - The value of parameter N.
- parameter
Key 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.
- parameter
Value String - The value of parameter N.
- parameter
Key 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.
- parameter
Value 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.
- parameter
Key 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.
- parameter
Value 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.