Struct aws_sdk_batch::model::efs_authorization_config::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EfsAuthorizationConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn access_point_id(self, input: impl Into<String>) -> Self
pub fn access_point_id(self, input: impl Into<String>) -> Self
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 enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration
. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
sourcepub fn set_access_point_id(self, input: Option<String>) -> Self
pub fn set_access_point_id(self, input: Option<String>) -> Self
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 enforces the path set on the EFS access point. If an access point is used, transit encryption must be enabled 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, input: EfsAuthorizationConfigIam) -> Self
pub fn iam(self, input: EfsAuthorizationConfigIam) -> Self
Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled 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 Batch User Guide. EFS IAM authorization requires that TransitEncryption
be ENABLED
and that a JobRoleArn
is specified.
sourcepub fn set_iam(self, input: Option<EfsAuthorizationConfigIam>) -> Self
pub fn set_iam(self, input: Option<EfsAuthorizationConfigIam>) -> Self
Whether or not to use the Batch job IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled 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 Batch User Guide. EFS IAM authorization requires that TransitEncryption
be ENABLED
and that a JobRoleArn
is specified.
sourcepub fn build(self) -> EfsAuthorizationConfig
pub fn build(self) -> EfsAuthorizationConfig
Consumes the builder and constructs a EfsAuthorizationConfig
.