Interface IAuthorizationConfig
The authorization configuration details for the Amazon EFS file system.
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IAuthorizationConfig
Syntax (vb)
Public Interface IAuthorizationConfig
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
var authorizationConfig = new AuthorizationConfig {
AccessPointId = "accessPointId",
Iam = "iam"
};
Synopsis
Properties
AccessPointId | The access point ID to use. |
Iam | Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system. |
Properties
AccessPointId
The access point ID to use.
virtual string AccessPointId { get; }
Property Value
System.String
Remarks
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
Iam
Whether or not to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.
virtual string Iam { get; }
Property Value
System.String
Remarks
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.