Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::ECS::Types::ServiceVolumeConfiguration

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

Overview

The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#managed_ebs_volumeTypes::ServiceManagedEBSVolumeConfiguration

The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task in the service. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.


10798
10799
10800
10801
10802
10803
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10798

class ServiceVolumeConfiguration < Struct.new(
  :name,
  :managed_ebs_volume)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the volume. This value must match the volume name from the Volume object in the task definition.

Returns:

  • (String)

10798
10799
10800
10801
10802
10803
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 10798

class ServiceVolumeConfiguration < Struct.new(
  :name,
  :managed_ebs_volume)
  SENSITIVE = []
  include Aws::Structure
end