AWS CloudFormation Concepts Condition Functions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 24: Line 24:
=Expressions=
=Expressions=


Expressions can use [[AWS_CloudFormation_Concepts#Pseudo-Parameters|pseudo-parameters]] and [[AWS_CloudFormation_Concepts#Input_Parameters_.28Template_Parameters.29|template input parameters]]. Expressions are useful when declaring [[AWS_CloudFormation_Concepts#Conditions|Conditions]].
Expressions can use [[AWS_CloudFormation_Concepts#Pseudo-Parameters|pseudo-parameters]], [[AWS_CloudFormation_Concepts#Input_Parameters_.28Template_Parameters.29|template input parameters]] and [[AWS_CloudFormation_Concepts#Mappings|mappings]]. Expressions are useful when declaring [[AWS_CloudFormation_Concepts#Conditions|Conditions]]. Other conditions can be referenced within conditions.

Revision as of 18:03, 18 April 2019

External

Condition Functions

Internal

Overview

As it is the case for intrinsic functions, condition functions have a full function name, and a short form. For more details see:

Intrinsic Functions - Overview

Fn::If: !If

Fn::And: !And

Fn::Equals: !Equals

!Equals ['something', !Ref SomethingElse]

Fn::Not: !Not

Fn::Or: !Or

Expressions

Expressions can use pseudo-parameters, template input parameters and mappings. Expressions are useful when declaring Conditions. Other conditions can be referenced within conditions.