#[non_exhaustive]pub struct AwsEcsTaskVolumeDetails {
pub name: Option<String>,
pub host: Option<AwsEcsTaskVolumeHostDetails>,
}
Expand description
Provides information about a data volume that's used in a task definition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
host: Option<AwsEcsTaskVolumeHostDetails>
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
Implementations§
source§impl AwsEcsTaskVolumeDetails
impl AwsEcsTaskVolumeDetails
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This name is referenced in the sourceVolume
parameter of container definition mountPoints
.
sourcepub fn host(&self) -> Option<&AwsEcsTaskVolumeHostDetails>
pub fn host(&self) -> Option<&AwsEcsTaskVolumeHostDetails>
This parameter is specified when you use bind mount host volumes. The contents of the host
parameter determine whether your bind mount host volume persists on the host container instance and where it's stored.
source§impl AwsEcsTaskVolumeDetails
impl AwsEcsTaskVolumeDetails
sourcepub fn builder() -> AwsEcsTaskVolumeDetailsBuilder
pub fn builder() -> AwsEcsTaskVolumeDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsTaskVolumeDetails
.
Trait Implementations§
source§impl Clone for AwsEcsTaskVolumeDetails
impl Clone for AwsEcsTaskVolumeDetails
source§fn clone(&self) -> AwsEcsTaskVolumeDetails
fn clone(&self) -> AwsEcsTaskVolumeDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsEcsTaskVolumeDetails
impl Debug for AwsEcsTaskVolumeDetails
source§impl PartialEq for AwsEcsTaskVolumeDetails
impl PartialEq for AwsEcsTaskVolumeDetails
source§fn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
fn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
self
and other
values to be equal, and is used
by ==
.