AWS Certified SysOps Notes
!Ref
AWS::aws-product-name::data-type-name
Fn::FinInMap
function:
!FindInMap [MapName, TopLevelKey, SecondLevelKey]
Export
block: has to be specified in order the the output to be able to be imported in another template!ImportValue
or Fn::ImportValue
: imports an output into a stack Condition:
CreateProdResources: !Equals [ !Ref EnvType, prod ]
Fn::Ref
(!Ref
):
Fn::GetAtt
(!GetAtt
):
Fn::FindInMap
:
Fn::ImportValue
:
Fn::Join
:
!Join[ delimiter, [ comma- delimited list of values ] ]
Fn::Sub
::
${VariableName}
which will be substituted/var/log/cloud-init-output.log
AWS::CloudFormation::Init
must be in the metadata section of a resource/var/log/cfn-init.log
fileCreationPolicy
: how many signal we want to see and for how much we want to waitDeletionPolicy=Retain
:
DeletionPolicy=Snapshot
:
DeletionPolicy=Delete
: