![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ecs.kotlin.outputs.TaskDefinitionAuthorizationConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ecs.kotlin.outputs
import com.pulumi.awsnative.ecs.kotlin.enums.TaskDefinitionAuthorizationConfigIam
import kotlin.String
import kotlin.Suppress
/**
* The authorization configuration details for the Amazon EFS file system.
* @property accessPointId The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the ``EFSVolumeConfiguration`` must 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 the ``EFSVolumeConfiguration``. For more information, see [Working with Amazon EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) in the *Amazon Elastic File System User Guide*.
* @property iam 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 of ``DISABLED`` is used. For more information, see [Using Amazon EFS access points](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html#efs-volume-accesspoints) in the *Amazon Elastic Container Service Developer Guide*.
*/
public data class TaskDefinitionAuthorizationConfig(
public val accessPointId: String? = null,
public val iam: TaskDefinitionAuthorizationConfigIam? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ecs.outputs.TaskDefinitionAuthorizationConfig): TaskDefinitionAuthorizationConfig = TaskDefinitionAuthorizationConfig(
accessPointId = javaType.accessPointId().map({ args0 -> args0 }).orElse(null),
iam = javaType.iam().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ecs.kotlin.enums.TaskDefinitionAuthorizationConfigIam.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy