AWS v6.55.0 published on Monday, Oct 7, 2024 by Pulumi
aws.efs.getAccessPoints
Explore with Pulumi AI
Provides information about multiple Elastic File System (EFS) Access Points.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = aws.efs.getAccessPoints({
fileSystemId: "fs-12345678",
});
import pulumi
import pulumi_aws as aws
test = aws.efs.get_access_points(file_system_id="fs-12345678")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = Aws.Efs.GetAccessPoints.Invoke(new()
{
FileSystemId = "fs-12345678",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.efs.EfsFunctions;
import com.pulumi.aws.efs.inputs.GetAccessPointsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = EfsFunctions.getAccessPoints(GetAccessPointsArgs.builder()
.fileSystemId("fs-12345678")
.build());
}
}
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:
- File
System stringId - EFS File System identifier.
- File
System stringId - EFS File System identifier.
- file
System StringId - EFS File System identifier.
- file
System stringId - EFS File System identifier.
- file_
system_ strid - EFS File System identifier.
- file
System StringId - EFS File System identifier.
getAccessPoints Result
The following output properties are available:
- Arns List<string>
- Set of Amazon Resource Names (ARNs).
- File
System stringId - 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).
- File
System stringId - 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).
- file
System StringId - 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).
- file
System stringId - 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_ strid - 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).
- file
System StringId - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- Set of identifiers.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.