Interface CfnTaskDefinition.AuthorizationConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTaskDefinition.AuthorizationConfigProperty.Jsii$Proxy
- Enclosing class:
CfnTaskDefinition
@Stability(Stable)
public static interface CfnTaskDefinition.AuthorizationConfigProperty
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.*;
AuthorizationConfigProperty authorizationConfigProperty = AuthorizationConfigProperty.builder()
.accessPointId("accessPointId")
.iam("iam")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTaskDefinition.AuthorizationConfigPropertystatic final classAn implementation forCfnTaskDefinition.AuthorizationConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessPointId
The Amazon EFS access point ID to use.If an access point is specified, the root directory value specified in the
EFSVolumeConfigurationmust 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 on in theEFSVolumeConfiguration. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide .- See Also:
-
getIam
Determines whether to use the Amazon ECS task role defined in a task definition when mounting the Amazon EFS file system.If it is turned on, transit encryption must be turned on in the
EFSVolumeConfiguration. If this parameter is omitted, the default value ofDISABLEDis used. For more information, see Using Amazon EFS access points in the Amazon Elastic Container Service Developer Guide .- See Also:
-
builder
-