Struct aws_sdk_ecs::types::TaskVolumeConfiguration
source · #[non_exhaustive]pub struct TaskVolumeConfiguration {
pub name: String,
pub managed_ebs_volume: Option<TaskManagedEbsVolumeConfiguration>,
}
Expand description
Configuration settings for the task volume that was configuredAtLaunch
that weren't set during RegisterTaskDef
.
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: String
The name of the volume. This value must match the volume name from the Volume
object in the task definition.
managed_ebs_volume: Option<TaskManagedEbsVolumeConfiguration>
The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.
Implementations§
source§impl TaskVolumeConfiguration
impl TaskVolumeConfiguration
sourcepub fn name(&self) -> &str
pub fn name(&self) -> &str
The name of the volume. This value must match the volume name from the Volume
object in the task definition.
sourcepub fn managed_ebs_volume(&self) -> Option<&TaskManagedEbsVolumeConfiguration>
pub fn managed_ebs_volume(&self) -> Option<&TaskManagedEbsVolumeConfiguration>
The configuration for the Amazon EBS volume that Amazon ECS creates and manages on your behalf. These settings are used to create each Amazon EBS volume, with one volume created for each task. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.
source§impl TaskVolumeConfiguration
impl TaskVolumeConfiguration
sourcepub fn builder() -> TaskVolumeConfigurationBuilder
pub fn builder() -> TaskVolumeConfigurationBuilder
Creates a new builder-style object to manufacture TaskVolumeConfiguration
.
Trait Implementations§
source§impl Clone for TaskVolumeConfiguration
impl Clone for TaskVolumeConfiguration
source§fn clone(&self) -> TaskVolumeConfiguration
fn clone(&self) -> TaskVolumeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskVolumeConfiguration
impl Debug for TaskVolumeConfiguration
source§impl PartialEq for TaskVolumeConfiguration
impl PartialEq for TaskVolumeConfiguration
source§fn eq(&self, other: &TaskVolumeConfiguration) -> bool
fn eq(&self, other: &TaskVolumeConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.