Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails

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

Overview

Note:

When making an API call, you may pass AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails data as a hash:

{
  autoprovision: false,
  driver: "NonEmptyString",
  driver_opts: {
    "NonEmptyString" => "NonEmptyString",
  },
  labels: {
    "NonEmptyString" => "NonEmptyString",
  },
  scope: "NonEmptyString",
}

Information about a Docker volume.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#autoprovisionBoolean

Whether to create the Docker volume automatically if it does not already exist.

Returns:

  • (Boolean)


8208
8209
8210
8211
8212
8213
8214
8215
8216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8208

class AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails < Struct.new(
  :autoprovision,
  :driver,
  :driver_opts,
  :labels,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#driverString

The Docker volume driver to use.

Returns:

  • (String)


8208
8209
8210
8211
8212
8213
8214
8215
8216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8208

class AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails < Struct.new(
  :autoprovision,
  :driver,
  :driver_opts,
  :labels,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#driver_optsHash<String,String>

A map of Docker driver-specific options that are passed through.

Returns:

  • (Hash<String,String>)


8208
8209
8210
8211
8212
8213
8214
8215
8216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8208

class AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails < Struct.new(
  :autoprovision,
  :driver,
  :driver_opts,
  :labels,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#labelsHash<String,String>

Custom metadata to add to the Docker volume.

Returns:

  • (Hash<String,String>)


8208
8209
8210
8211
8212
8213
8214
8215
8216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8208

class AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails < Struct.new(
  :autoprovision,
  :driver,
  :driver_opts,
  :labels,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end

#scopeString

The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops.

Returns:

  • (String)


8208
8209
8210
8211
8212
8213
8214
8215
8216
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8208

class AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails < Struct.new(
  :autoprovision,
  :driver,
  :driver_opts,
  :labels,
  :scope)
  SENSITIVE = []
  include Aws::Structure
end