pulumi/sdk/dotnet/Pulumi/Resources/StackOptions.cs
Mikhail Shilkov dbe365376d
Add Stack Transformations to .NET SDK (#4008)
Stack transformations and integration tests
2020-03-16 17:40:52 +01:00

25 lines
889 B
C#

// Copyright 2016-2020, Pulumi Corporation
using System.Collections.Generic;
namespace Pulumi
{
/// <summary>
/// <see cref="StackOptions"/> is a bag of optional settings that control a stack's behavior.
/// </summary>
public class StackOptions
{
private List<ResourceTransformation>? _resourceTransformations;
/// <summary>
/// Optional list of transformations to apply to this stack's resources during construction.
/// The transformations are applied in order, and are applied after all the transformations of custom
/// and component resources in the stack.
/// </summary>
public List<ResourceTransformation> ResourceTransformations
{
get => _resourceTransformations ??= new List<ResourceTransformation>();
set => _resourceTransformations = value;
}
}
}