Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateAccessPointCommand

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 the application's own directory and any subdirectories. To learn more, see Mounting a file system using EFS access points.

If multiple requests to create access points on the same file system are sent in quick succession, and the file system is near the limit of 1000 access points, you may experience a throttling response for these requests. This is to ensure that the file system does not exceed the stated access point limit.

This operation requires permissions for the elasticfilesystem:CreateAccessPoint action.

example

Use a bare-bones client and the command you need to make an API call.

import { EFSClient, CreateAccessPointCommand } from "@aws-sdk/client-efs"; // ES Modules import
// const { EFSClient, CreateAccessPointCommand } = require("@aws-sdk/client-efs"); // CommonJS import
const client = new EFSClient(config);
const command = new CreateAccessPointCommand(input);
const response = await client.send(command);
see

CreateAccessPointCommandInput for command's input shape.

see

CreateAccessPointCommandOutput for command's response shape.

see

config for EFSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateAccessPointCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions