AWS::Batch::JobDefinition AuthorizationConfig - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Batch::JobDefinition AuthorizationConfig

The authorization configuration details for the Amazon EFS file system.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "AccessPointId" : String, "Iam" : String }

YAML

AccessPointId: String Iam: String

Properties

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.

Required: No

Type: String

Update requires: No interruption

Iam

Whether or not to use the Amazon 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 Amazon Batch User Guide. EFS IAM authorization requires that TransitEncryption be ENABLED and that a JobRoleArn is specified.

Required: No

Type: String

Allowed values: ENABLED | DISABLED

Update requires: No interruption