You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECS::Types::EFSAuthorizationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::EFSAuthorizationConfig
- Defined in:
- (unknown)
Overview
When passing EFSAuthorizationConfig as input to an Aws::Client method, you can use a vanilla Hash:
{
access_point_id: "String",
iam: "ENABLED", # accepts ENABLED, DISABLED
}
The authorization configuration details for the Amazon EFS file system.
Returned by:
Instance Attribute Summary collapse
-
#access_point_id ⇒ String
The Amazon EFS access point ID to use.
-
#iam ⇒ String
Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.
Instance Attribute Details
#access_point_id ⇒ 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
enabled in the EFSVolumeConfiguration
. For more information, see
Working with Amazon EFS Access Points in the Amazon Elastic File
System User Guide.
#iam ⇒ String
Whether or not to use the Amazon ECS task IAM role defined in a task
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
Elastic Container Service Developer Guide.