AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.9.2 published on Friday, Jun 24, 2022 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/v5/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
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Output.of(EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
            .fileSystemId("fs-12345678")
            .build()));

    }
}
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",
}));
variables:
  test:
    Fn::Invoke:
      Function: aws:efs:getAccessPoints
      Arguments:
        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)
}
public static CompletableFuture<GetAccessPointsResult> getAccessPoints(GetAccessPointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:efs/getAccessPoints:getAccessPoints
  Arguments:
    # Arguments dictionary

The following arguments are supported:

FileSystemId string

EFS File System identifier.

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.

fileSystemId String

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 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 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.

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.

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.