AWS Classic

v4.30.0 published on Tuesday, Nov 30, 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

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 getAccessPoints(args: GetAccessPointsArgs, opts?: InvokeOptions): Promise<GetAccessPointsResult>
function getAccessPointsOutput(args: GetAccessPointsOutputArgs, opts?: InvokeOptions): Output<GetAccessPointsResult>
def get_access_points(file_system_id: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetAccessPointsResult
def get_access_points_output(file_system_id: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetAccessPointsResult]
func GetAccessPoints(ctx *Context, args *GetAccessPointsArgs, opts ...InvokeOption) (*GetAccessPointsResult, error)
func GetAccessPointsOutput(ctx *Context, args *GetAccessPointsOutputArgs, opts ...InvokeOption) GetAccessPointsResultOutput

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

public static class GetAccessPoints 
{
    public static Task<GetAccessPointsResult> InvokeAsync(GetAccessPointsArgs args, InvokeOptions? opts = null)
    public static Output<GetAccessPointsResult> Invoke(GetAccessPointsInvokeArgs 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.