AuthorizationConfig

class aws_cdk.aws_ecs.AuthorizationConfig(*, access_point_id=None, iam=None)

Bases: object

The authorization configuration details for the Amazon EFS file system.

Parameters
  • access_point_id (Optional[str]) – 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. Default: No id

  • iam (Optional[str]) – 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 Default: If this parameter is omitted, the default value of DISABLED is used.

Attributes

access_point_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.

Default

No id

Return type

Optional[str]

iam

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

Default

If this parameter is omitted, the default value of DISABLED is used.

Return type

Optional[str]