Struct rusoto_securityhub::AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails [−][src]
pub struct AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { pub autoprovision: Option<bool>, pub driver: Option<String>, pub driver_opts: Option<HashMap<String, String>>, pub labels: Option<HashMap<String, String>>, pub scope: Option<String>, }
Expand description
Information about a Docker volume.
Fields
autoprovision: Option<bool>
Whether to create the Docker volume automatically if it does not already exist.
driver: Option<String>
The Docker volume driver to use.
driver_opts: Option<HashMap<String, String>>
A map of Docker driver-specific options that are passed through.
labels: Option<HashMap<String, String>>
Custom metadata to add to the Docker volume.
scope: Option<String>
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.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self