1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. ros
  5. StackInstance
Alibaba Cloud v3.49.1 published on Wednesday, Feb 28, 2024 by Pulumi

alicloud.ros.StackInstance

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.49.1 published on Wednesday, Feb 28, 2024 by Pulumi

    Provides a ROS Stack Instance resource.

    For information about ROS Stack Instance and how to use it, see What is Stack Instance.

    NOTE: Available in v1.145.0+.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleRegions = AliCloud.Ros.GetRegions.Invoke();
    
        var exampleStackGroup = new AliCloud.Ros.StackGroup("exampleStackGroup", new()
        {
            StackGroupName = @var.Name,
            TemplateBody = "{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
            Description = "test for stack groups",
            Parameters = new[]
            {
                new AliCloud.Ros.Inputs.StackGroupParameterArgs
                {
                    ParameterKey = "VpcName",
                    ParameterValue = "VpcName",
                },
                new AliCloud.Ros.Inputs.StackGroupParameterArgs
                {
                    ParameterKey = "InstanceType",
                    ParameterValue = "InstanceType",
                },
            },
        });
    
        var exampleStackInstance = new AliCloud.Ros.StackInstance("exampleStackInstance", new()
        {
            StackGroupName = exampleStackGroup.StackGroupName,
            StackInstanceAccountId = "example_value",
            StackInstanceRegionId = exampleRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.RegionId),
            OperationPreferences = "{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}",
            ParameterOverrides = new[]
            {
                new AliCloud.Ros.Inputs.StackInstanceParameterOverrideArgs
                {
                    ParameterValue = "VpcName",
                    ParameterKey = "VpcName",
                },
            },
        });
    
    });
    
    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 {
    		exampleRegions, err := ros.GetRegions(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		exampleStackGroup, err := ros.NewStackGroup(ctx, "exampleStackGroup", &ros.StackGroupArgs{
    			StackGroupName: pulumi.Any(_var.Name),
    			TemplateBody:   pulumi.String("{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}"),
    			Description:    pulumi.String("test for stack groups"),
    			Parameters: ros.StackGroupParameterArray{
    				&ros.StackGroupParameterArgs{
    					ParameterKey:   pulumi.String("VpcName"),
    					ParameterValue: pulumi.String("VpcName"),
    				},
    				&ros.StackGroupParameterArgs{
    					ParameterKey:   pulumi.String("InstanceType"),
    					ParameterValue: pulumi.String("InstanceType"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ros.NewStackInstance(ctx, "exampleStackInstance", &ros.StackInstanceArgs{
    			StackGroupName:         exampleStackGroup.StackGroupName,
    			StackInstanceAccountId: pulumi.String("example_value"),
    			StackInstanceRegionId:  *pulumi.String(exampleRegions.Regions[0].RegionId),
    			OperationPreferences:   pulumi.String("{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}"),
    			ParameterOverrides: ros.StackInstanceParameterOverrideArray{
    				&ros.StackInstanceParameterOverrideArgs{
    					ParameterValue: pulumi.String("VpcName"),
    					ParameterKey:   pulumi.String("VpcName"),
    				},
    			},
    		})
    		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.RosFunctions;
    import com.pulumi.alicloud.ros.inputs.GetRegionsArgs;
    import com.pulumi.alicloud.ros.StackGroup;
    import com.pulumi.alicloud.ros.StackGroupArgs;
    import com.pulumi.alicloud.ros.inputs.StackGroupParameterArgs;
    import com.pulumi.alicloud.ros.StackInstance;
    import com.pulumi.alicloud.ros.StackInstanceArgs;
    import com.pulumi.alicloud.ros.inputs.StackInstanceParameterOverrideArgs;
    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) {
            final var exampleRegions = RosFunctions.getRegions();
    
            var exampleStackGroup = new StackGroup("exampleStackGroup", StackGroupArgs.builder()        
                .stackGroupName(var_.name())
                .templateBody("{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}")
                .description("test for stack groups")
                .parameters(            
                    StackGroupParameterArgs.builder()
                        .parameterKey("VpcName")
                        .parameterValue("VpcName")
                        .build(),
                    StackGroupParameterArgs.builder()
                        .parameterKey("InstanceType")
                        .parameterValue("InstanceType")
                        .build())
                .build());
    
            var exampleStackInstance = new StackInstance("exampleStackInstance", StackInstanceArgs.builder()        
                .stackGroupName(exampleStackGroup.stackGroupName())
                .stackInstanceAccountId("example_value")
                .stackInstanceRegionId(exampleRegions.applyValue(getRegionsResult -> getRegionsResult.regions()[0].regionId()))
                .operationPreferences("{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}")
                .parameterOverrides(StackInstanceParameterOverrideArgs.builder()
                    .parameterValue("VpcName")
                    .parameterKey("VpcName")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    example_regions = alicloud.ros.get_regions()
    example_stack_group = alicloud.ros.StackGroup("exampleStackGroup",
        stack_group_name=var["name"],
        template_body="{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
        description="test for stack groups",
        parameters=[
            alicloud.ros.StackGroupParameterArgs(
                parameter_key="VpcName",
                parameter_value="VpcName",
            ),
            alicloud.ros.StackGroupParameterArgs(
                parameter_key="InstanceType",
                parameter_value="InstanceType",
            ),
        ])
    example_stack_instance = alicloud.ros.StackInstance("exampleStackInstance",
        stack_group_name=example_stack_group.stack_group_name,
        stack_instance_account_id="example_value",
        stack_instance_region_id=example_regions.regions[0].region_id,
        operation_preferences="{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}",
        parameter_overrides=[alicloud.ros.StackInstanceParameterOverrideArgs(
            parameter_value="VpcName",
            parameter_key="VpcName",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const exampleRegions = alicloud.ros.getRegions({});
    const exampleStackGroup = new alicloud.ros.StackGroup("exampleStackGroup", {
        stackGroupName: _var.name,
        templateBody: "{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
        description: "test for stack groups",
        parameters: [
            {
                parameterKey: "VpcName",
                parameterValue: "VpcName",
            },
            {
                parameterKey: "InstanceType",
                parameterValue: "InstanceType",
            },
        ],
    });
    const exampleStackInstance = new alicloud.ros.StackInstance("exampleStackInstance", {
        stackGroupName: exampleStackGroup.stackGroupName,
        stackInstanceAccountId: "example_value",
        stackInstanceRegionId: exampleRegions.then(exampleRegions => exampleRegions.regions?.[0]?.regionId),
        operationPreferences: "{\"FailureToleranceCount\": 1, \"MaxConcurrentCount\": 2}",
        parameterOverrides: [{
            parameterValue: "VpcName",
            parameterKey: "VpcName",
        }],
    });
    
    resources:
      exampleStackGroup:
        type: alicloud:ros:StackGroup
        properties:
          stackGroupName: ${var.name}
          templateBody: '{"ROSTemplateFormatVersion":"2015-09-01", "Parameters": {"VpcName": {"Type": "String"},"InstanceType": {"Type": "String"}}}'
          description: test for stack groups
          parameters:
            - parameterKey: VpcName
              parameterValue: VpcName
            - parameterKey: InstanceType
              parameterValue: InstanceType
      exampleStackInstance:
        type: alicloud:ros:StackInstance
        properties:
          stackGroupName: ${exampleStackGroup.stackGroupName}
          stackInstanceAccountId: example_value
          stackInstanceRegionId: ${exampleRegions.regions[0].regionId}
          operationPreferences: '{"FailureToleranceCount": 1, "MaxConcurrentCount": 2}'
          parameterOverrides:
            - parameterValue: VpcName
              parameterKey: VpcName
    variables:
      exampleRegions:
        fn::invoke:
          Function: alicloud:ros:getRegions
          Arguments: {}
    

    Create StackInstance Resource

    new StackInstance(name: string, args: StackInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def StackInstance(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      operation_description: Optional[str] = None,
                      operation_preferences: Optional[str] = None,
                      parameter_overrides: Optional[Sequence[StackInstanceParameterOverrideArgs]] = None,
                      retain_stacks: Optional[bool] = None,
                      stack_group_name: Optional[str] = None,
                      stack_instance_account_id: Optional[str] = None,
                      stack_instance_region_id: Optional[str] = None,
                      timeout_in_minutes: Optional[str] = None)
    @overload
    def StackInstance(resource_name: str,
                      args: StackInstanceArgs,
                      opts: Optional[ResourceOptions] = None)
    func NewStackInstance(ctx *Context, name string, args StackInstanceArgs, opts ...ResourceOption) (*StackInstance, error)
    public StackInstance(string name, StackInstanceArgs args, CustomResourceOptions? opts = null)
    public StackInstance(String name, StackInstanceArgs args)
    public StackInstance(String name, StackInstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:ros:StackInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args StackInstanceArgs
    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 StackInstanceArgs
    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 StackInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StackInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StackInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    StackInstance Resource Properties

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

    Inputs

    The StackInstance resource accepts the following input properties:

    StackGroupName string
    The name of the stack group.
    StackInstanceAccountId string
    The account to which the stack instance belongs.
    StackInstanceRegionId string
    The region of the stack instance.
    OperationDescription string
    The operation description.
    OperationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    ParameterOverrides List<Pulumi.AliCloud.Ros.Inputs.StackInstanceParameterOverride>
    ParameterOverrides. See the following Block parameter_overrides.
    RetainStacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    TimeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    StackGroupName string
    The name of the stack group.
    StackInstanceAccountId string
    The account to which the stack instance belongs.
    StackInstanceRegionId string
    The region of the stack instance.
    OperationDescription string
    The operation description.
    OperationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    ParameterOverrides []StackInstanceParameterOverrideArgs
    ParameterOverrides. See the following Block parameter_overrides.
    RetainStacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    TimeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    stackGroupName String
    The name of the stack group.
    stackInstanceAccountId String
    The account to which the stack instance belongs.
    stackInstanceRegionId String
    The region of the stack instance.
    operationDescription String
    The operation description.
    operationPreferences String
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides List<StackInstanceParameterOverride>
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks Boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    timeoutInMinutes String
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    stackGroupName string
    The name of the stack group.
    stackInstanceAccountId string
    The account to which the stack instance belongs.
    stackInstanceRegionId string
    The region of the stack instance.
    operationDescription string
    The operation description.
    operationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides StackInstanceParameterOverride[]
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    timeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    stack_group_name str
    The name of the stack group.
    stack_instance_account_id str
    The account to which the stack instance belongs.
    stack_instance_region_id str
    The region of the stack instance.
    operation_description str
    The operation description.
    operation_preferences str
    The operation preferences. The operation settings. The following fields are supported:
    parameter_overrides Sequence[StackInstanceParameterOverrideArgs]
    ParameterOverrides. See the following Block parameter_overrides.
    retain_stacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    timeout_in_minutes str
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    stackGroupName String
    The name of the stack group.
    stackInstanceAccountId String
    The account to which the stack instance belongs.
    stackInstanceRegionId String
    The region of the stack instance.
    operationDescription String
    The operation description.
    operationPreferences String
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides List<Property Map>
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks Boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    timeoutInMinutes String
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the stack instance. Valid values: CURRENT or OUTDATED.

    Look up Existing StackInstance Resource

    Get an existing StackInstance 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?: StackInstanceState, opts?: CustomResourceOptions): StackInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            operation_description: Optional[str] = None,
            operation_preferences: Optional[str] = None,
            parameter_overrides: Optional[Sequence[StackInstanceParameterOverrideArgs]] = None,
            retain_stacks: Optional[bool] = None,
            stack_group_name: Optional[str] = None,
            stack_instance_account_id: Optional[str] = None,
            stack_instance_region_id: Optional[str] = None,
            status: Optional[str] = None,
            timeout_in_minutes: Optional[str] = None) -> StackInstance
    func GetStackInstance(ctx *Context, name string, id IDInput, state *StackInstanceState, opts ...ResourceOption) (*StackInstance, error)
    public static StackInstance Get(string name, Input<string> id, StackInstanceState? state, CustomResourceOptions? opts = null)
    public static StackInstance get(String name, Output<String> id, StackInstanceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    OperationDescription string
    The operation description.
    OperationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    ParameterOverrides List<Pulumi.AliCloud.Ros.Inputs.StackInstanceParameterOverride>
    ParameterOverrides. See the following Block parameter_overrides.
    RetainStacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    StackGroupName string
    The name of the stack group.
    StackInstanceAccountId string
    The account to which the stack instance belongs.
    StackInstanceRegionId string
    The region of the stack instance.
    Status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    TimeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    OperationDescription string
    The operation description.
    OperationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    ParameterOverrides []StackInstanceParameterOverrideArgs
    ParameterOverrides. See the following Block parameter_overrides.
    RetainStacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    StackGroupName string
    The name of the stack group.
    StackInstanceAccountId string
    The account to which the stack instance belongs.
    StackInstanceRegionId string
    The region of the stack instance.
    Status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    TimeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    operationDescription String
    The operation description.
    operationPreferences String
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides List<StackInstanceParameterOverride>
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks Boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    stackGroupName String
    The name of the stack group.
    stackInstanceAccountId String
    The account to which the stack instance belongs.
    stackInstanceRegionId String
    The region of the stack instance.
    status String
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    timeoutInMinutes String
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    operationDescription string
    The operation description.
    operationPreferences string
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides StackInstanceParameterOverride[]
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    stackGroupName string
    The name of the stack group.
    stackInstanceAccountId string
    The account to which the stack instance belongs.
    stackInstanceRegionId string
    The region of the stack instance.
    status string
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    timeoutInMinutes string
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    operation_description str
    The operation description.
    operation_preferences str
    The operation preferences. The operation settings. The following fields are supported:
    parameter_overrides Sequence[StackInstanceParameterOverrideArgs]
    ParameterOverrides. See the following Block parameter_overrides.
    retain_stacks bool
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    stack_group_name str
    The name of the stack group.
    stack_instance_account_id str
    The account to which the stack instance belongs.
    stack_instance_region_id str
    The region of the stack instance.
    status str
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    timeout_in_minutes str
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.
    operationDescription String
    The operation description.
    operationPreferences String
    The operation preferences. The operation settings. The following fields are supported:
    parameterOverrides List<Property Map>
    ParameterOverrides. See the following Block parameter_overrides.
    retainStacks Boolean
    Specifies whether to retain the stack corresponding to the stack instance.Default value false. NOTE: When retain_stacks is true, the stack is retained. If the stack is retained, the corresponding stack is not deleted when the stack instance is deleted from the stack group.
    stackGroupName String
    The name of the stack group.
    stackInstanceAccountId String
    The account to which the stack instance belongs.
    stackInstanceRegionId String
    The region of the stack instance.
    status String
    The status of the stack instance. Valid values: CURRENT or OUTDATED.
    timeoutInMinutes String
    The timeout period that is specified for the stack creation request. Default value: 60. Unit: minutes.

    Supporting Types

    StackInstanceParameterOverride, StackInstanceParameterOverrideArgs

    ParameterKey string
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    ParameterValue string
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    ParameterKey string
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    ParameterValue string
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterKey String
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterValue String
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterKey string
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterValue string
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameter_key str
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameter_value str
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterKey String
    The key of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.
    parameterValue String
    The value of override parameter. If you do not specify the key and value of the parameter, ROS uses the key and value that you specified when you created the stack group.

    Import

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

    $ pulumi import alicloud:ros/stackInstance:StackInstance example <stack_group_name>:<stack_instance_account_id>:<stack_instance_region_id>
    

    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.49.1 published on Wednesday, Feb 28, 2024 by Pulumi