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
LookupAccessPointin the Go SDK.
public static class GetAccessPoint {
public static Task<GetAccessPointResult> InvokeAsync(GetAccessPointArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Access
Point stringId The ID that identifies the file system.
- Dictionary<string, string>
Key-value mapping of resource tags.
- Access
Point stringId The ID that identifies the file system.
- map[string]string
Key-value mapping of resource tags.
- access
Point stringId The ID that identifies the file system.
- {[key: string]: string}
Key-value mapping of resource tags.
- access_
point_ strid The ID that identifies the file system.
- Dict[str, str]
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 The 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> - 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 The 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 - 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 The 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[] - {[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 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[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] - 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 float
Group ID
- secondary
Gids 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.
- Creation
Infos List<GetAccess Point Root Directory Creation Info Args> 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 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 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.