#[non_exhaustive]pub struct AwsEcsTaskVolumeDetails { /* private fields */ }
Expand description
Provides information about a data volume that's used in a task definition.
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() -> Builder
pub fn builder() -> Builder
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
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 Debug for AwsEcsTaskVolumeDetails
impl Debug for AwsEcsTaskVolumeDetails
source§impl PartialEq<AwsEcsTaskVolumeDetails> for AwsEcsTaskVolumeDetails
impl PartialEq<AwsEcsTaskVolumeDetails> for AwsEcsTaskVolumeDetails
source§fn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
fn eq(&self, other: &AwsEcsTaskVolumeDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.