This is the new *CloudFormation Template Reference Guide*. Please update your bookmarks and links. For help getting started with CloudFormation, see the [AWS CloudFormation User Guide](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html). # AWS::EC2::LaunchTemplate MaintenanceOptions The maintenance options of your instance. ## Syntax To declare this entity in your CloudFormation template, use the following syntax: ### JSON ``` { "[AutoRecovery](#cfn-ec2-launchtemplate-maintenanceoptions-autorecovery)" : {{String}} } ``` ### YAML ``` [AutoRecovery](#cfn-ec2-launchtemplate-maintenanceoptions-autorecovery): {{String}} ``` ## Properties `AutoRecovery` Disables the automatic recovery behavior of your instance or sets it to default. *Required*: No *Type*: String *Allowed values*: `default | disabled` *Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)