Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

AWS Classic

v4.25.0 published on Friday, Oct 15, 2021 by Pulumi

getAccessPoints

Provides information about multiple Elastic File System (EFS) Access Points.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Aws.Efs.GetAccessPoints.InvokeAsync(new Aws.Efs.GetAccessPointsArgs
        {
            FileSystemId = "fs-12345678",
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := efs.GetAccessPoints(ctx, &efs.GetAccessPointsArgs{
			FileSystemId: "fs-12345678",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_aws as aws

test = aws.efs.get_access_points(file_system_id="fs-12345678")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = pulumi.output(aws.efs.getAccessPoints({
    fileSystemId: "fs-12345678",
}));

Using getAccessPoints

function getAccessPoints(args: GetAccessPointsArgs, opts?: InvokeOptions): Promise<GetAccessPointsResult>
def get_access_points(file_system_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAccessPointsResult
func GetAccessPoints(ctx *Context, args *GetAccessPointsArgs, opts ...InvokeOption) (*GetAccessPointsResult, error)

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

public static class GetAccessPoints {
    public static Task<GetAccessPointsResult> InvokeAsync(GetAccessPointsArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

FileSystemId string
EFS File System identifier.
FileSystemId string
EFS File System identifier.
fileSystemId string
EFS File System identifier.
file_system_id str
EFS File System identifier.

getAccessPoints Result

The following output properties are available:

Arns List<string>
Set of Amazon Resource Names (ARNs).
FileSystemId string
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
Set of identifiers.
Arns []string
Set of Amazon Resource Names (ARNs).
FileSystemId string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Set of identifiers.
arns string[]
Set of Amazon Resource Names (ARNs).
fileSystemId string
id string
The provider-assigned unique ID for this managed resource.
ids string[]
Set of identifiers.
arns Sequence[str]
Set of Amazon Resource Names (ARNs).
file_system_id str
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
Set of identifiers.

Package Details

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