Struct aws_sdk_ecs::types::ServiceVolumeConfiguration
source · #[non_exhaustive]pub struct ServiceVolumeConfiguration {
pub name: String,
pub managed_ebs_volume: Option<ServiceManagedEbsVolumeConfiguration>,
}Expand description
The configuration for a volume specified in the task definition as a volume that is configured at launch time. Currently, the only supported volume type is an Amazon EBS volume.
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: StringThe name of the volume. This value must match the volume name from the Volume object in the task definition.
managed_ebs_volume: Option<ServiceManagedEbsVolumeConfiguration>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 in the service. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.
Implementations§
source§impl ServiceVolumeConfiguration
impl ServiceVolumeConfiguration
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<&ServiceManagedEbsVolumeConfiguration>
pub fn managed_ebs_volume( &self, ) -> Option<&ServiceManagedEbsVolumeConfiguration>
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 in the service. The Amazon EBS volumes are visible in your account in the Amazon EC2 console once they are created.
source§impl ServiceVolumeConfiguration
impl ServiceVolumeConfiguration
sourcepub fn builder() -> ServiceVolumeConfigurationBuilder
pub fn builder() -> ServiceVolumeConfigurationBuilder
Creates a new builder-style object to manufacture ServiceVolumeConfiguration.
Trait Implementations§
source§impl Clone for ServiceVolumeConfiguration
impl Clone for ServiceVolumeConfiguration
source§fn clone(&self) -> ServiceVolumeConfiguration
fn clone(&self) -> ServiceVolumeConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ServiceVolumeConfiguration
impl Debug for ServiceVolumeConfiguration
impl StructuralPartialEq for ServiceVolumeConfiguration
Auto Trait Implementations§
impl Freeze for ServiceVolumeConfiguration
impl RefUnwindSafe for ServiceVolumeConfiguration
impl Send for ServiceVolumeConfiguration
impl Sync for ServiceVolumeConfiguration
impl Unpin for ServiceVolumeConfiguration
impl UnwindSafe for ServiceVolumeConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more