Struct aws_sdk_ecs::types::EfsAuthorizationConfig
source · #[non_exhaustive]pub struct EfsAuthorizationConfig {
pub access_point_id: Option<String>,
pub iam: Option<EfsAuthorizationConfigIam>,
}Expand description
The authorization configuration details for the Amazon EFS file system.
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.access_point_id: Option<String>The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration must either be omitted or set to / which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in the EFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
iam: Option<EfsAuthorizationConfigIam>Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the EFSVolumeConfiguration. If this parameter is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide.
Implementations§
source§impl EfsAuthorizationConfig
impl EfsAuthorizationConfig
sourcepub fn access_point_id(&self) -> Option<&str>
pub fn access_point_id(&self) -> Option<&str>
The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration must either be omitted or set to / which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in the EFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
sourcepub fn iam(&self) -> Option<&EfsAuthorizationConfigIam>
pub fn iam(&self) -> Option<&EfsAuthorizationConfigIam>
Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system. If it is turned on, transit encryption must be turned on in the EFSVolumeConfiguration. If this parameter is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide.
source§impl EfsAuthorizationConfig
impl EfsAuthorizationConfig
sourcepub fn builder() -> EfsAuthorizationConfigBuilder
pub fn builder() -> EfsAuthorizationConfigBuilder
Creates a new builder-style object to manufacture EfsAuthorizationConfig.
Trait Implementations§
source§impl Clone for EfsAuthorizationConfig
impl Clone for EfsAuthorizationConfig
source§fn clone(&self) -> EfsAuthorizationConfig
fn clone(&self) -> EfsAuthorizationConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EfsAuthorizationConfig
impl Debug for EfsAuthorizationConfig
source§impl PartialEq for EfsAuthorizationConfig
impl PartialEq for EfsAuthorizationConfig
impl StructuralPartialEq for EfsAuthorizationConfig
Auto Trait Implementations§
impl Freeze for EfsAuthorizationConfig
impl RefUnwindSafe for EfsAuthorizationConfig
impl Send for EfsAuthorizationConfig
impl Sync for EfsAuthorizationConfig
impl Unpin for EfsAuthorizationConfig
impl UnwindSafe for EfsAuthorizationConfig
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