Struct rusoto_batch::EFSVolumeConfiguration
source · [−]pub struct EFSVolumeConfiguration {
pub authorization_config: Option<EFSAuthorizationConfig>,
pub file_system_id: String,
pub root_directory: Option<String>,
pub transit_encryption: Option<String>,
pub transit_encryption_port: Option<i64>,
}
Expand description
This parameter is specified when you are using an Amazon Elastic File System file system for task storage. For more information, see Amazon EFS Volumes in the AWS Batch User Guide.
Fields
The authorization configuration details for the Amazon EFS file system.
file_system_id: String
The Amazon EFS file system ID to use.
root_directory: Option<String>
The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying /
will have the same effect as omitting this parameter.
If an EFS access point is specified in the authorizationConfig
, the root directory parameter must either be omitted or set to /
which will enforce the path set on the Amazon EFS access point.
transit_encryption: Option<String>
Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of DISABLED
is used. For more information, see Encrypting data in transit in the Amazon Elastic File System User Guide.
transit_encryption_port: Option<i64>
The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see EFS Mount Helper in the Amazon Elastic File System User Guide.
Trait Implementations
sourceimpl Clone for EFSVolumeConfiguration
impl Clone for EFSVolumeConfiguration
sourcefn clone(&self) -> EFSVolumeConfiguration
fn clone(&self) -> EFSVolumeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EFSVolumeConfiguration
impl Debug for EFSVolumeConfiguration
sourceimpl Default for EFSVolumeConfiguration
impl Default for EFSVolumeConfiguration
sourcefn default() -> EFSVolumeConfiguration
fn default() -> EFSVolumeConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for EFSVolumeConfiguration
impl<'de> Deserialize<'de> for EFSVolumeConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<EFSVolumeConfiguration> for EFSVolumeConfiguration
impl PartialEq<EFSVolumeConfiguration> for EFSVolumeConfiguration
sourcefn eq(&self, other: &EFSVolumeConfiguration) -> bool
fn eq(&self, other: &EFSVolumeConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EFSVolumeConfiguration) -> bool
fn ne(&self, other: &EFSVolumeConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for EFSVolumeConfiguration
impl Serialize for EFSVolumeConfiguration
impl StructuralPartialEq for EFSVolumeConfiguration
Auto Trait Implementations
impl RefUnwindSafe for EFSVolumeConfiguration
impl Send for EFSVolumeConfiguration
impl Sync for EFSVolumeConfiguration
impl Unpin for EFSVolumeConfiguration
impl UnwindSafe for EFSVolumeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more