Interface CfnJobDefinition.AuthorizationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobDefinition.AuthorizationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnJobDefinition
@Stability(Stable)
public static interface CfnJobDefinition.AuthorizationConfigProperty
extends software.amazon.jsii.JsiiSerializable
The authorization configuration details for the Amazon EFS file system.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.batch.*; AuthorizationConfigProperty authorizationConfigProperty = AuthorizationConfigProperty.builder() .accessPointId("accessPointId") .iam("iam") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnJobDefinition.AuthorizationConfigProperty
static final class
An implementation forCfnJobDefinition.AuthorizationConfigProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPointId
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 theEFSVolumeConfiguration
. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide .- See Also:
-
getIam
Whether or not to use the AWS 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 ofDISABLED
is used. For more information, see Using Amazon EFS access points in the AWS Batch User Guide . EFS IAM authorization requires thatTransitEncryption
beENABLED
and that aJobRoleArn
is specified.- See Also:
-
builder
-