Interface IAwsCloudFormationStackProperties
Artifact properties for CloudFormation stacks.
Namespace: Amazon.CDK.CXAPI
Assembly: Amazon.CDK.CXAPI.dll
Syntax (csharp)
public interface IAwsCloudFormationStackProperties
Syntax (vb)
Public Interface IAwsCloudFormationStackProperties
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CXAPI;
var awsCloudFormationStackProperties = new AwsCloudFormationStackProperties {
TemplateFile = "templateFile",
// the properties below are optional
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
StackName = "stackName",
TerminationProtection = false
};
Synopsis
Properties
Parameters | Values for CloudFormation stack parameters that should be passed when the stack is deployed. |
StackName | The name to use for the CloudFormation stack. |
TemplateFile | A file relative to the assembly root which contains the CloudFormation template for this stack. |
TerminationProtection | Whether to enable termination protection for this stack. |
Properties
Parameters
Values for CloudFormation stack parameters that should be passed when the stack is deployed.
virtual IDictionary<string, string> Parameters { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
StackName
The name to use for the CloudFormation stack.
virtual string StackName { get; }
Property Value
System.String
Remarks
Default: - name derived from artifact ID
TemplateFile
A file relative to the assembly root which contains the CloudFormation template for this stack.
string TemplateFile { get; }
Property Value
System.String
TerminationProtection
Whether to enable termination protection for this stack.
virtual Nullable<bool> TerminationProtection { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: false