Show / Hide Table of Contents

Interface ITemplate

Interface describing a CloudFormation Template.

Namespace: Firefly.CloudFormationParser
Assembly: Firefly.CloudFormationParser.dll
Syntax
public interface ITemplate

Properties

| Improve this Doc View Source

AWSTemplateFormatVersion

Gets or sets the AWS template format version.

The AWS CloudFormation template version that the template conforms to. The template format version isn't the same as the API or WSDL version. The template format version can change independently of the API and WSDL versions.

Declaration
string AWSTemplateFormatVersion { get; set; }
Property Value
Type Description
String

The AWS template format version.

| Improve this Doc View Source

Conditions

Gets or sets the conditions.

Conditions that control whether certain resources are created or whether certain resource properties are assigned a value during stack creation or update. For example, you could conditionally create a resource that depends on whether the stack is for a production or test environment.

Declaration
ConditionSection Conditions { get; set; }
Property Value
Type Description
ConditionSection

The conditions.

| Improve this Doc View Source

DependencyGraph

Gets a directed edge graph of dependencies between inputs, resources and outputs.

Declaration
BidirectionalGraph<IVertex, TaggedEdge<IVertex, EdgeDetail>> DependencyGraph { get; }
Property Value
Type Description
QuikGraph.BidirectionalGraph<IVertex, QuikGraph.TaggedEdge<IVertex, EdgeDetail>>

The dependency graph.

| Improve this Doc View Source

Description

Gets or sets the template's description.

A text string that describes the template. This section must always follow the template format version section.

Declaration
string Description { get; set; }
Property Value
Type Description
String

The template's description which will be null if the template did not provide this property.

| Improve this Doc View Source

EvaluatedConditions

Gets the value of each condition where the dictionary key is the condition name, post evaluation.

Declaration
Dictionary<string, bool> EvaluatedConditions { get; }
Property Value
Type Description
Dictionary<String, Boolean>

The evaluated conditions.

| Improve this Doc View Source

Globals

Gets or sets the globals.

Globals are unique to AWS SAM

Declaration
GlobalSection Globals { get; set; }
Property Value
Type Description
GlobalSection

The conditions.

| Improve this Doc View Source

IsSAMTemplate

Gets a value indicating whether this instance is a Serverless Application Model template.

Declaration
bool IsSAMTemplate { get; }
Property Value
Type Description
Boolean

true if this instance is a SAM template; otherwise, false.

| Improve this Doc View Source

Mappings

Gets or sets the mappings.

A mapping of keys and associated values that you can use to specify conditional parameter values, similar to a lookup table. You can match a key to a corresponding value by using the Fn::FindInMap intrinsic function in the Resources and Outputs sections.

Declaration
MappingSection Mappings { get; set; }
Property Value
Type Description
MappingSection

The mappings which will be null if the template did not provide this property.

| Improve this Doc View Source

Metadata

Gets or sets the metadata - objects that provide additional information about the template.

Declaration
MetadataSection Metadata { get; set; }
Property Value
Type Description
MetadataSection

The metadata.

| Improve this Doc View Source

Outputs

Gets the outputs.

Describes the values that are returned whenever you view your stack's properties. For example, you can declare an output for an S3 bucket name and then call the aws cloudformation describe-stacks AWS CLI command to view the name.

Declaration
IEnumerable<IOutput> Outputs { get; }
Property Value
Type Description
IEnumerable<IOutput>

The outputs.

| Improve this Doc View Source

Parameters

Gets the parameters.

Values to pass to your template at runtime (when you create or update a stack). You can refer to parameters from the Resources and Outputs sections of the template.

Declaration
IEnumerable<IParameter> Parameters { get; }
Property Value
Type Description
IEnumerable<IParameter>

The parameters.

| Improve this Doc View Source

PseudoParameters

Gets any pseudo parameters discovered during template deserialization.

Declaration
List<IParameter> PseudoParameters { get; }
Property Value
Type Description
List<IParameter>

The pseudo parameters.

| Improve this Doc View Source

Resources

Gets the resources.

Specifies the stack resources and their properties, such as an Amazon Elastic Compute Cloud instance or an Amazon Simple Storage Service bucket. You can refer to resources in the Resources and Outputs sections of the template.

Declaration
IEnumerable<IResource> Resources { get; }
Property Value
Type Description
IEnumerable<IResource>

The resources.

| Improve this Doc View Source

Rules

Gets or sets the rules.

Validates a parameter or a combination of parameters passed to a template during a stack creation or stack update.

Declaration
RuleSection Rules { get; set; }
Property Value
Type Description
RuleSection

The rules.

| Improve this Doc View Source

Transform

Gets or sets the transformations.

For serverless applications (also referred to as Lambda-based applications), specifies the version of the AWS Serverless Application Model (AWS SAM) to use. When you specify a transform, you can use AWS SAM syntax to declare resources in your template. The model defines the syntax that you can use and how it's processed.

You can also use AWS::Include transforms to work with template snippets that are stored separately from the main AWS CloudFormation template. You can store your snippet files in an Amazon S3 bucket and then reuse the functions across multiple templates.

Declaration
object Transform { get; set; }
Property Value
Type Description
Object

The transformations which will be null if the template did not provide this property.

| Improve this Doc View Source

UserParameterValues

Gets any values for parameters set up from IDeserializerSettings

Declaration
IDictionary<string, object> UserParameterValues { get; }
Property Value
Type Description
IDictionary<String, Object>

The parameter values.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX