AWS v6.77.1 published on Friday, Apr 18, 2025 by Pulumi
aws.efs.getAccessPoint
Explore with Pulumi AI
Provides information about an Elastic File System (EFS) Access Point.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.efs.getAccessPoint({
    accessPointId: "fsap-12345678",
});
import pulumi
import pulumi_aws as aws
test = aws.efs.get_access_point(access_point_id="fsap-12345678")
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.LookupAccessPoint(ctx, &efs.LookupAccessPointArgs{
			AccessPointId: "fsap-12345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var test = Aws.Efs.GetAccessPoint.Invoke(new()
    {
        AccessPointId = "fsap-12345678",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.EfsFunctions;
import com.pulumi.aws.efs.inputs.GetAccessPointArgs;
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) {
        final var test = EfsFunctions.getAccessPoint(GetAccessPointArgs.builder()
            .accessPointId("fsap-12345678")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: aws:efs:getAccessPoint
      arguments:
        accessPointId: fsap-12345678
Using getAccessPoint
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAccessPoint(args: GetAccessPointArgs, opts?: InvokeOptions): Promise<GetAccessPointResult>
function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: InvokeOptions): Output<GetAccessPointResult>def get_access_point(access_point_id: Optional[str] = None,
                     tags: Optional[Mapping[str, str]] = None,
                     opts: Optional[InvokeOptions] = None) -> GetAccessPointResult
def get_access_point_output(access_point_id: Optional[pulumi.Input[str]] = None,
                     tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetAccessPointResult]func LookupAccessPoint(ctx *Context, args *LookupAccessPointArgs, opts ...InvokeOption) (*LookupAccessPointResult, error)
func LookupAccessPointOutput(ctx *Context, args *LookupAccessPointOutputArgs, opts ...InvokeOption) LookupAccessPointResultOutput> Note: This function is named LookupAccessPoint in the Go SDK.
public static class GetAccessPoint 
{
    public static Task<GetAccessPointResult> InvokeAsync(GetAccessPointArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessPointResult> Invoke(GetAccessPointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAccessPointResult> getAccessPoint(GetAccessPointArgs args, InvokeOptions options)
public static Output<GetAccessPointResult> getAccessPoint(GetAccessPointArgs args, InvokeOptions options)
fn::invoke:
  function: aws:efs/getAccessPoint:getAccessPoint
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Access
Point stringId  - ID that identifies the file system.
 - Dictionary<string, string>
 - Key-value mapping of resource tags.
 
- Access
Point stringId  - ID that identifies the file system.
 - map[string]string
 - Key-value mapping of resource tags.
 
- access
Point StringId  - ID that identifies the file system.
 - Map<String,String>
 - Key-value mapping of resource tags.
 
- access
Point stringId  - ID that identifies the file system.
 - {[key: string]: string}
 - Key-value mapping of resource tags.
 
- access_
point_ strid  - ID that identifies the file system.
 - Mapping[str, str]
 - Key-value mapping of resource tags.
 
- access
Point StringId  - ID that identifies the file system.
 - Map<String>
 - Key-value mapping of resource tags.
 
getAccessPoint Result
The following output properties are available:
- Access
Point stringId  - Arn string
 - Amazon Resource Name of the file system.
 - File
System stringArn  - Amazon Resource Name of the file system.
 - File
System stringId  - ID of the file system for which the access point is intended.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Owner
Id string - Posix
Users List<GetAccess Point Posix User>  - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - Root
Directories List<GetAccess Point Root Directory>  - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - Dictionary<string, string>
 - Key-value mapping of resource tags.
 
- Access
Point stringId  - Arn string
 - Amazon Resource Name of the file system.
 - File
System stringArn  - Amazon Resource Name of the file system.
 - File
System stringId  - ID of the file system for which the access point is intended.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 - Owner
Id string - Posix
Users []GetAccess Point Posix User  - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - Root
Directories []GetAccess Point Root Directory  - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - map[string]string
 - Key-value mapping of resource tags.
 
- access
Point StringId  - arn String
 - Amazon Resource Name of the file system.
 - file
System StringArn  - Amazon Resource Name of the file system.
 - file
System StringId  - ID of the file system for which the access point is intended.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - owner
Id String - posix
Users List<GetAccess Point Posix User>  - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - root
Directories List<GetAccess Point Root Directory>  - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - Map<String,String>
 - Key-value mapping of resource tags.
 
- access
Point stringId  - arn string
 - Amazon Resource Name of the file system.
 - file
System stringArn  - Amazon Resource Name of the file system.
 - file
System stringId  - ID of the file system for which the access point is intended.
 - id string
 - The provider-assigned unique ID for this managed resource.
 - owner
Id string - posix
Users GetAccess Point Posix User[]  - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - root
Directories GetAccess Point Root Directory[]  - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - {[key: string]: string}
 - Key-value mapping of resource tags.
 
- access_
point_ strid  - arn str
 - Amazon Resource Name of the file system.
 - file_
system_ strarn  - Amazon Resource Name of the file system.
 - file_
system_ strid  - 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 Sequence[GetAccess Point Posix User]  - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - root_
directories Sequence[GetAccess Point Root Directory]  - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - Mapping[str, str]
 - Key-value mapping of resource tags.
 
- access
Point StringId  - arn String
 - Amazon Resource Name of the file system.
 - file
System StringArn  - Amazon Resource Name of the file system.
 - file
System StringId  - ID of the file system for which the access point is intended.
 - id String
 - The provider-assigned unique ID for this managed resource.
 - owner
Id String - posix
Users List<Property Map> - Single element list containing operating system user and group applied to all file system requests made using the access point.
 - root
Directories List<Property Map> - Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
 - Map<String>
 - Key-value mapping of resource tags.
 
Supporting Types
GetAccessPointPosixUser    
- Gid int
 - Group ID
 - Secondary
Gids List<int> - Secondary group IDs
 - Uid int
 - User Id
 
- Gid int
 - Group ID
 - Secondary
Gids []int - Secondary group IDs
 - Uid int
 - User Id
 
- gid Integer
 - Group ID
 - secondary
Gids List<Integer> - Secondary group IDs
 - uid Integer
 - User Id
 
- gid number
 - Group ID
 - secondary
Gids number[] - Secondary group IDs
 - uid number
 - User Id
 
- gid int
 - Group ID
 - secondary_
gids Sequence[int] - Secondary group IDs
 - uid int
 - User Id
 
- gid Number
 - Group ID
 - secondary
Gids List<Number> - Secondary group IDs
 - uid Number
 - User Id
 
GetAccessPointRootDirectory    
- Creation
Infos List<GetAccess Point Root Directory Creation Info>  - Single element list containing information on the creation permissions of the directory
 - Path string
 - Path exposed as the root directory
 
- Creation
Infos []GetAccess Point Root Directory Creation Info  - Single element list containing information on the creation permissions of the directory
 - Path string
 - Path exposed as the root directory
 
- creation
Infos List<GetAccess Point Root Directory Creation Info>  - Single element list containing information on the creation permissions of the directory
 - path String
 - Path exposed as the root directory
 
- creation
Infos GetAccess Point Root Directory Creation Info[]  - Single element list containing information on the creation permissions of the directory
 - path string
 - Path exposed as the root directory
 
- creation_
infos Sequence[GetAccess Point Root Directory Creation Info]  - Single element list containing information on the creation permissions of the directory
 - path str
 - Path exposed as the root directory
 
- creation
Infos List<Property Map> - Single element list containing information on the creation permissions of the directory
 - path String
 - Path exposed as the root directory
 
GetAccessPointRootDirectoryCreationInfo      
- Owner
Gid int - POSIX owner group ID
 - Owner
Uid int - POSIX owner user ID
 - Permissions string
 - POSIX permissions mode
 
- Owner
Gid int - POSIX owner group ID
 - Owner
Uid int - POSIX owner user ID
 - Permissions string
 - POSIX permissions mode
 
- owner
Gid Integer - POSIX owner group ID
 - owner
Uid Integer - POSIX owner user ID
 - permissions String
 - POSIX permissions mode
 
- owner
Gid number - POSIX owner group ID
 - owner
Uid number - POSIX owner user ID
 - permissions string
 - POSIX permissions mode
 
- owner_
gid int - POSIX owner group ID
 - owner_
uid int - POSIX owner user ID
 - permissions str
 - POSIX permissions mode
 
- owner
Gid Number - POSIX owner group ID
 - owner
Uid Number - POSIX owner user ID
 - permissions String
 - POSIX permissions mode
 
Package Details
- Repository
 - AWS Classic pulumi/pulumi-aws
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
awsTerraform Provider.