Chapter 2
- No. The
Condition
attribute of the resource may have only theCondition
name string format. - Yes, it is possible to use
Fn::Ref
,Fn::GetAttr
, or other relevant intrinsic functions with conditional functions such asFn::If
. UpdatePolicy
is a resource attribute that handles the updates for resources such as the auto scaling group.UpdateReplacePolicy
is used to manage the behavior of resources that are being replaced by CloudFormation during stack operations.- Retain, since we cannot afford to delete mission-critical databases by mistake in a template or stack operation.
Fn::ImportValue
takes the values of exported outputs of other stacks.- Yes, but not in the same AWS Region.
- Yes. There is an AWS-specific parameter type called
AWS::EC2::Image::Id
. AWS::NoValue
can be referred to as a null value. It is not usually used to set any value to a resource property and is mostly used in conjunction with conditional functions.