A reusable form accepts inputs, switches optional sections, and exposes named output sockets. A socket connects stacks without copying the resource itself.
Input, condition, or shared stack output?
The essentials in 30 seconds
before you dive into the detailsPicture this
Form and output socket
Input form
Parameters
Choose values when deploying.
Named socket
Export and ImportValue
Connect a consumer to a shared value.
Use Parameters for deploy-time values, Conditions for optional resources, and exported Outputs for shared same-account, same-Region references.
Fn::GetAtt reads a resource attribute. Fn::ImportValue consumes an exported output; a nested stack follows its parent lifecycle.
Exam trap
An exported value in use cannot be changed or deleted until its imports are removed.
One sentence to remember
Choose input values, conditional creation, or explicit references before adding template code.
1 media item5 rule steps5 scenarios6 flashcards