mirror of https://github.com/pulumi/pulumi.git
26 lines
889 B
C#
26 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;
|
|
}
|
|
}
|
|
}
|