AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ECS::Types::EFSAuthorizationConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass EFSAuthorizationConfig data as a hash:

{
  access_point_id: "String",
  iam: "ENABLED", # accepts ENABLED, DISABLED
}

The authorization configuration details for the Amazon EFS file system.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_point_idString

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.

Returns:

  • (String)


4626
4627
4628
4629
4630
4631
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4626

class EFSAuthorizationConfig < Struct.new(
  :access_point_id,
  :iam)
  SENSITIVE = []
  include Aws::Structure
end

#iamString

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.

Returns:

  • (String)


4626
4627
4628
4629
4630
4631
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4626

class EFSAuthorizationConfig < Struct.new(
  :access_point_id,
  :iam)
  SENSITIVE = []
  include Aws::Structure
end