Table of Contents

Interface ITemplateOptions

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

CloudFormation template options for a stack.

public interface ITemplateOptions

Properties

Description

Gets or sets the description of this stack.

string? Description { get; set; }

Property Value

string

Remarks

If provided, it will be included in the CloudFormation template's "Description" attribute.

Metadata

Metadata associated with the CloudFormation template.

IDictionary<string, object>? Metadata { get; set; }

Property Value

IDictionary<string, object>

TemplateFormatVersion

Gets or sets the AWSTemplateFormatVersion field of the CloudFormation template.

string? TemplateFormatVersion { get; set; }

Property Value

string

Transform

(deprecated) Gets or sets the top-level template transform for this stack (e.g. "AWS::Serverless-2016-10-31").

[Obsolete("use `transforms` instead.")]
string? Transform { get; set; }

Property Value

string

Remarks

Stability: Deprecated

Transforms

Gets or sets the top-level template transform(s) for this stack (e.g. ["AWS::Serverless-2016-10-31"]).

string[]? Transforms { get; set; }

Property Value

string[]