Based on these requirements, what should be added to the template?
Conditions with a timeout set to 4 hours.
CreationPolicy with a timeout set to 4 hours.
DependsOn with a timeout set to 4 hours.
Metadata with a timeout set to 4 hours.
Explanations:
Conditions control whether resources are created or not, but they do not manage timeouts or stack rollbacks. A timeout in a condition does not affect the stack’s rollback behavior.
TheCreationPolicyis used to specify wait conditions and timeouts. ACreationPolicywith a timeout will ensure that the stack waits for a specific period before failing if the installation process stalls.
DependsOncontrols the order of resource creation but does not handle timeouts or rollback conditions. It doesn’t provide any timeout mechanism.
Metadatais used to include additional information about a resource, but it does not manage timeouts or rollback behavior. It doesn’t impact the stack’s execution flow.