Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data EFSAuthorizationConfig Source #
The authorization configuration details for the Amazon EFS file system.
See: newEFSAuthorizationConfig
smart constructor.
EFSAuthorizationConfig' | |
|
Instances
newEFSAuthorizationConfig :: EFSAuthorizationConfig Source #
Create a value of EFSAuthorizationConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:accessPointId:EFSAuthorizationConfig'
, eFSAuthorizationConfig_accessPointId
- 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.
$sel:iam:EFSAuthorizationConfig'
, eFSAuthorizationConfig_iam
- 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.
eFSAuthorizationConfig_accessPointId :: Lens' EFSAuthorizationConfig (Maybe Text) Source #
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.
eFSAuthorizationConfig_iam :: Lens' EFSAuthorizationConfig (Maybe EFSAuthorizationConfigIAM) Source #
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.