You can cancel an RFC using the Console or the AMS API/CLI.
To cancel an RFC with the console, find the RFC in your RFC list, open it, click Cancel.
Required Data:
Reason
: Why you are canceling the RFC.RfcId
: The RFC you are canceling.
Typically you would cancel an RFC right after submitting it (so the RFC ID should be handy); otherwise, you would not be able to cancel it unless you scheduled it and it's before the specified start time. If you need to find the RFC ID, you can use this command (you can substitute the
Value
withPendingApproval
for an RFC that is manually approved):aws amscm list-rfc-summaries --filter Attribute=RfcStatusId,Value=Scheduled
Example command to cancel an RFC:
aws amscm cancel-rfc --reason "Bad Stack ID" --rfc-id "
RFC_ID
" --profile saml --region us-east-1