
com.pulumi.awsnative.efs.kotlin.AccessPointArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.efs.kotlin
import com.pulumi.awsnative.efs.AccessPointArgs.builder
import com.pulumi.awsnative.efs.kotlin.inputs.AccessPointPosixUserArgs
import com.pulumi.awsnative.efs.kotlin.inputs.AccessPointPosixUserArgsBuilder
import com.pulumi.awsnative.efs.kotlin.inputs.AccessPointRootDirectoryArgs
import com.pulumi.awsnative.efs.kotlin.inputs.AccessPointRootDirectoryArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The ``AWS::EFS::AccessPoint`` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html).
* This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action.
* @property accessPointTags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
* @property clientToken The opaque string specified in the request to ensure idempotent creation.
* @property fileSystemId The ID of the EFS file system that the access point applies to. Accepts only the ID format for input when specifying a file system, for example ``fs-0123456789abcedf2``.
* @property posixUser The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point.
* @property rootDirectory The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point.
*/
public data class AccessPointArgs(
public val accessPointTags: Output>? = null,
public val clientToken: Output? = null,
public val fileSystemId: Output? = null,
public val posixUser: Output? = null,
public val rootDirectory: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.efs.AccessPointArgs =
com.pulumi.awsnative.efs.AccessPointArgs.builder()
.accessPointTags(
accessPointTags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.clientToken(clientToken?.applyValue({ args0 -> args0 }))
.fileSystemId(fileSystemId?.applyValue({ args0 -> args0 }))
.posixUser(posixUser?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.rootDirectory(rootDirectory?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AccessPointArgs].
*/
@PulumiTagMarker
public class AccessPointArgsBuilder internal constructor() {
private var accessPointTags: Output>? = null
private var clientToken: Output? = null
private var fileSystemId: Output? = null
private var posixUser: Output? = null
private var rootDirectory: Output? = null
/**
* @param value An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
*/
@JvmName("quddtgdbccsibecu")
public suspend fun accessPointTags(`value`: Output>) {
this.accessPointTags = value
}
@JvmName("jfubppqpuonpnott")
public suspend fun accessPointTags(vararg values: Output) {
this.accessPointTags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html).
*/
@JvmName("fdpllnjceoxqswsp")
public suspend fun accessPointTags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy