AWS SDK for .NET Documentation
OnFailure Property
AmazonAmazon.CloudFormation.ModelCreateStackRequestOnFailure Did this page help you?   Yes   No    Tell us about it...
Determines what action will be taken if stack creation fails. This must be one of: DO_NOTHING, ROLLBACK, or DELETE. You can specify either OnFailure or DisableRollback, but not both. Default: ROLLBACK

Constraints:

Allowed Values
DO_NOTHING, ROLLBACK, DELETE

Declaration Syntax
C#
public string OnFailure { get; set; }

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)