@Stability(value=Stable)
public static interface CfnTaskDefinition.AuthorizationConfigProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
AuthorizationConfigProperty authorizationConfigProperty = AuthorizationConfigProperty.builder()
.accessPointId("accessPointId")
.iam("iam")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnTaskDefinition.AuthorizationConfigProperty.Builder
A builder for
CfnTaskDefinition.AuthorizationConfigProperty |
static class |
CfnTaskDefinition.AuthorizationConfigProperty.Jsii$Proxy
An implementation for
CfnTaskDefinition.AuthorizationConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnTaskDefinition.AuthorizationConfigProperty.Builder |
builder() |
default String |
getAccessPointId()
The Amazon EFS access point ID to use.
|
default String |
getIam()
Determines whether to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.
|
@Stability(value=Stable) @Nullable default String getAccessPointId()
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 .
@Stability(value=Stable) @Nullable default String getIam()
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 .
@Stability(value=Stable) static CfnTaskDefinition.AuthorizationConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.