Class AuthorizationConfig
The authorization configuration details for the Amazon EFS file system.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public class AuthorizationConfig : Object, IAuthorizationConfig
Syntax (vb)
Public Class AuthorizationConfig
Inherits Object
Implements 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
Constructors
AuthorizationConfig() |
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. |
Constructors
AuthorizationConfig()
public AuthorizationConfig()
Properties
AccessPointId
The access point ID to use.
public string AccessPointId { get; set; }
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.
public string Iam { get; set; }
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.