Access Point Args
data class AccessPointArgs(val fileSystemId: Output<String>? = null, val posixUser: Output<AccessPointPosixUserArgs>? = null, val rootDirectory: Output<AccessPointRootDirectoryArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<AccessPointArgs>
Provides an Elastic File System (EFS) access point.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.AccessPoint;
import com.pulumi.aws.efs.AccessPointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new AccessPoint("test", AccessPointArgs.builder()
.fileSystemId(aws_efs_file_system.foo().id())
.build());
}
}
Content copied to clipboard
Import
The EFS access points can be imported using the id
, e.g.,
$ pulumi import aws:efs/accessPoint:AccessPoint test fsap-52a643fb
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(fileSystemId: Output<String>? = null, posixUser: Output<AccessPointPosixUserArgs>? = null, rootDirectory: Output<AccessPointRootDirectoryArgs>? = null, tags: Output<Map<String, String>>? = null)
Properties
Link copied to clipboard
ID of the file system for which the access point is intended.
Link copied to clipboard
Operating system user and group applied to all file system requests made using the access point. Detailed below.
Link copied to clipboard
Directory on the Amazon EFS file system that the access point provides access to. Detailed below.