Interface AuthorizationConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AuthorizationConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-10T21:56:50.689Z")
@Stability(Stable)
public interface AuthorizationConfig
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.ecs.*; AuthorizationConfig authorizationConfig = AuthorizationConfig.builder() .accessPointId("accessPointId") .iam("iam") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forAuthorizationConfig
static final class
An implementation forAuthorizationConfig
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthorizationConfig.Builder
builder()
default String
The access point ID to use.default String
getIam()
Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPointId
The access point ID to use.If an access point is specified, the root directory value will be relative to the directory set for the access point. If specified, transit encryption must be enabled in the EFSVolumeConfiguration.
Default: No id
-
getIam
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.
Valid values: ENABLED | DISABLED
Default: If this parameter is omitted, the default value of DISABLED is used.
-
builder
- Returns:
- a
AuthorizationConfig.Builder
ofAuthorizationConfig
-