Class: Aws::ECS::Types::TaskManagedEBSVolumeTerminationPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

The termination policy for the Amazon EBS volume when the task exits. For more information, see Amazon ECS volume termination policy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#delete_on_terminationBoolean

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 the STOPPED state. If no value is specified, the 
default value is true is used. When set to false, Amazon ECS leaves the volume in your 
account.

Returns:

  • (Boolean)


12460
12461
12462
12463
12464
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 12460

class TaskManagedEBSVolumeTerminationPolicy < Struct.new(
  :delete_on_termination)
  SENSITIVE = []
  include Aws::Structure
end