Input, condition, or shared stack output?

The essentials in 30 seconds

before you dive into the details
Picture this

Form and output socket

Input form

Parameters

Choose values when deploying.

Named socket

Export and ImportValue

Connect a consumer to a shared value.

Where the analogy stops: An export shares a reference, not ownership. Its same-account and same-Region constraints still apply.
01Mental model

A reusable form accepts inputs, switches optional sections, and exposes named output sockets. A socket connects stacks without copying the resource itself.

02Decision

Use Parameters for deploy-time values, Conditions for optional resources, and exported Outputs for shared same-account, same-Region references.

03In your code

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

Focus mode