TaskManagedEBSVolumeTerminationPolicy
The termination policy for the Amazon EBS volume when the task exits. For more information, see Amazon ECS volume termination policy.
Contents
- deleteOnTermination
-
Indicates whether the volume should be deleted on when the task stops. If a value of
true
is specified, Amazon ECS deletes the Amazon EBS volume on your behalf when the task goes into theSTOPPED
state. If no value is specified, the default value istrue
is used. When set tofalse
, Amazon ECS leaves the volume in your account.Type: Boolean
Required: Yes
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: