AccessPointArgs

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

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.efs.AccessPoint("test", {fileSystemId: foo.id});
import pulumi
import pulumi_aws as aws
test = aws.efs.AccessPoint("test", file_system_id=foo["id"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Efs.AccessPoint("test", new()
{
FileSystemId = foo.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/efs"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := efs.NewAccessPoint(ctx, "test", &efs.AccessPointArgs{
FileSystemId: pulumi.Any(foo.Id),
})
if err != nil {
return err
}
return nil
})
}
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(foo.id())
.build());
}
}
resources:
test:
type: aws:efs:AccessPoint
properties:
fileSystemId: ${foo.id}

Import

Using pulumi import, import the EFS access points using the id. For example:

$ pulumi import aws:efs/accessPoint:AccessPoint test fsap-52a643fb

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
val fileSystemId: Output<String>? = null

ID of the file system for which the access point is intended.

Link copied to clipboard
val posixUser: Output<AccessPointPosixUserArgs>? = null

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.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level

Functions

Link copied to clipboard
open override fun toJava(): AccessPointArgs