@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
109 lines (108 loc) • 3.27 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Provides information about an Elastic File System (EFS) Access Point.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.efs.getAccessPoint({
* accessPointId: "fsap-12345678",
* });
* ```
*/
export declare function getAccessPoint(args: GetAccessPointArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessPointResult>;
/**
* A collection of arguments for invoking getAccessPoint.
*/
export interface GetAccessPointArgs {
/**
* ID that identifies the file system.
*/
accessPointId: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
/**
* Key-value mapping of resource tags.
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getAccessPoint.
*/
export interface GetAccessPointResult {
readonly accessPointId: string;
/**
* Amazon Resource Name of the file system.
*/
readonly arn: string;
/**
* Amazon Resource Name of the file system.
*/
readonly fileSystemArn: string;
/**
* ID of the file system for which the access point is intended.
*/
readonly fileSystemId: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly ownerId: string;
/**
* Single element list containing operating system user and group applied to all file system requests made using the access point.
*/
readonly posixUsers: outputs.efs.GetAccessPointPosixUser[];
readonly region: string;
/**
* Single element list containing information on the directory on the Amazon EFS file system that the access point provides access to.
*/
readonly rootDirectories: outputs.efs.GetAccessPointRootDirectory[];
/**
* Key-value mapping of resource tags.
*/
readonly tags: {
[key: string]: string;
};
}
/**
* Provides information about an Elastic File System (EFS) Access Point.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const test = aws.efs.getAccessPoint({
* accessPointId: "fsap-12345678",
* });
* ```
*/
export declare function getAccessPointOutput(args: GetAccessPointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessPointResult>;
/**
* A collection of arguments for invoking getAccessPoint.
*/
export interface GetAccessPointOutputArgs {
/**
* ID that identifies the file system.
*/
accessPointId: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
/**
* Key-value mapping of resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}