interface AuthorizationConfig
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.AuthorizationConfig |
Java | software.amazon.awscdk.services.ecs.AuthorizationConfig |
Python | aws_cdk.aws_ecs.AuthorizationConfig |
TypeScript (source) | @aws-cdk/aws-ecs » AuthorizationConfig |
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 * as ecs from '@aws-cdk/aws-ecs';
const authorizationConfig: ecs.AuthorizationConfig = {
accessPointId: 'accessPointId',
iam: 'iam',
};
Properties
Name | Type | Description |
---|---|---|
access | string | The 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. |
accessPointId?
Type:
string
(optional, default: No id)
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.
iam?
Type:
string
(optional, default: If this parameter is omitted, the default value of DISABLED is used.)
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