GetAccessPoint

Provides information about an Elastic File System (EFS) Access Point.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Aws.Efs.GetAccessPoint.InvokeAsync(new Aws.Efs.GetAccessPointArgs
        {
            AccessPointId = "fsap-12345678",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/efs"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := efs.LookupAccessPoint(ctx, &efs.LookupAccessPointArgs{
            AccessPointId: "fsap-12345678",
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

test = aws.efs.get_access_point(access_point_id="fsap-12345678")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = pulumi.output(aws.efs.getAccessPoint({
    accessPointId: "fsap-12345678",
}, { async: true }));

Using GetAccessPoint

function getAccessPoint(args: GetAccessPointArgs, opts?: InvokeOptions): Promise<GetAccessPointResult>
function  get_access_point(access_point_id=None, tags=None, opts=None)
func LookupAccessPoint(ctx *Context, args *LookupAccessPointArgs, opts ...InvokeOption) (*LookupAccessPointResult, error)

Note: This function is named LookupAccessPoint in the Go SDK.

public static class GetAccessPoint {
    public static Task<GetAccessPointResult> InvokeAsync(GetAccessPointArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

AccessPointId string

The ID that identifies the file system.

Tags Dictionary<string, string>

Key-value mapping of resource tags.

AccessPointId string

The ID that identifies the file system.

Tags map[string]string

Key-value mapping of resource tags.

accessPointId string

The ID that identifies the file system.

tags {[key: string]: string}

Key-value mapping of resource tags.

access_point_id str

The ID that identifies the file system.

tags Dict[str, str]

Key-value mapping of resource tags.

GetAccessPoint Result

The following output properties are available:

AccessPointId string
Arn string

Amazon Resource Name of the file system.

FileSystemArn string

Amazon Resource Name of the file system.

FileSystemId string

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

Id string

The provider-assigned unique ID for this managed resource.

OwnerId string
PosixUsers List<GetAccessPointPosixUser>

Single element list containing operating system user and group applied to all file system requests made using the access point.

RootDirectories List<GetAccessPointRootDirectory>
Tags Dictionary<string, string>

Key-value mapping of resource tags.

AccessPointId string
Arn string

Amazon Resource Name of the file system.

FileSystemArn string

Amazon Resource Name of the file system.

FileSystemId string

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

Id string

The provider-assigned unique ID for this managed resource.

OwnerId string
PosixUsers []GetAccessPointPosixUser

Single element list containing operating system user and group applied to all file system requests made using the access point.

RootDirectories []GetAccessPointRootDirectory
Tags map[string]string

Key-value mapping of resource tags.

accessPointId string
arn string

Amazon Resource Name of the file system.

fileSystemArn string

Amazon Resource Name of the file system.

fileSystemId string

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

id string

The provider-assigned unique ID for this managed resource.

ownerId string
posixUsers GetAccessPointPosixUser[]

Single element list containing operating system user and group applied to all file system requests made using the access point.

rootDirectories GetAccessPointRootDirectory[]
tags {[key: string]: string}

Key-value mapping of resource tags.

access_point_id str
arn str

Amazon Resource Name of the file system.

file_system_arn str

Amazon Resource Name of the file system.

file_system_id str

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

id str

The provider-assigned unique ID for this managed resource.

owner_id str
posix_users List[GetAccessPointPosixUser]

Single element list containing operating system user and group applied to all file system requests made using the access point.

root_directories List[GetAccessPointRootDirectory]
tags Dict[str, str]

Key-value mapping of resource tags.

Supporting Types

GetAccessPointPosixUser

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Gid int

Group ID

SecondaryGids List<int>

Secondary group IDs

Uid int

User Id * root_directory- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

Gid int

Group ID

SecondaryGids []int

Secondary group IDs

Uid int

User Id * root_directory- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

gid number

Group ID

secondaryGids number[]

Secondary group IDs

uid number

User Id * root_directory- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

gid float

Group ID

secondaryGids List[Integer]

Secondary group IDs

uid float

User Id * root_directory- Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.

GetAccessPointRootDirectory

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

CreationInfos List<GetAccessPointRootDirectoryCreationInfoArgs>

Single element list containing information on the creation permissions of the directory

Path string

Path exposed as the root directory

CreationInfos []GetAccessPointRootDirectoryCreationInfo

Single element list containing information on the creation permissions of the directory

Path string

Path exposed as the root directory

creationInfos GetAccessPointRootDirectoryCreationInfo[]

Single element list containing information on the creation permissions of the directory

path string

Path exposed as the root directory

creationInfos List[GetAccessPointRootDirectoryCreationInfo]

Single element list containing information on the creation permissions of the directory

path str

Path exposed as the root directory

GetAccessPointRootDirectoryCreationInfo

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

OwnerGid int

POSIX owner group ID

OwnerUid int

POSIX owner user ID

Permissions string

POSIX permissions mode

OwnerGid int

POSIX owner group ID

OwnerUid int

POSIX owner user ID

Permissions string

POSIX permissions mode

ownerGid number

POSIX owner group ID

ownerUid number

POSIX owner user ID

permissions string

POSIX permissions mode

ownerGid float

POSIX owner group ID

ownerUid float

POSIX owner user ID

permissions str

POSIX permissions mode

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.