Struct aws_sdk_securityhub::model::AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
source · #[non_exhaustive]pub struct AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails { /* private fields */ }
Expand description
Information about a Docker volume.
Implementations§
source§impl AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
impl AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
sourcepub fn autoprovision(&self) -> bool
pub fn autoprovision(&self) -> bool
Whether to create the Docker volume automatically if it does not already exist.
sourcepub fn driver_opts(&self) -> Option<&HashMap<String, String>>
pub fn driver_opts(&self) -> Option<&HashMap<String, String>>
A map of Docker driver-specific options that are passed through.
sourcepub fn labels(&self) -> Option<&HashMap<String, String>>
pub fn labels(&self) -> Option<&HashMap<String, String>>
Custom metadata to add to the Docker volume.
sourcepub fn scope(&self) -> Option<&str>
pub fn scope(&self) -> Option<&str>
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. Valid values are shared
or task
.
source§impl AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
impl AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
impl Clone for AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
source§fn clone(&self) -> AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
fn clone(&self) -> AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails> for AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
impl PartialEq<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails> for AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
source§fn eq(
&self,
other: &AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
) -> bool
fn eq(
&self,
other: &AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.