UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

87 lines (86 loc) 4.83 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * The ``AWS::EFS::AccessPoint`` resource creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point's root directory. Applications using the access point can only access data in its own directory and below. To learn more, see [Mounting a file system using EFS access points](https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html). * This operation requires permissions for the ``elasticfilesystem:CreateAccessPoint`` action. */ export declare class AccessPoint extends pulumi.CustomResource { /** * Get an existing AccessPoint resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AccessPoint; /** * Returns true if the given object is an instance of AccessPoint. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AccessPoint; /** * The ID of the EFS access point. */ readonly accessPointId: pulumi.Output<string>; /** * An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html). */ readonly accessPointTags: pulumi.Output<outputs.Tag[] | undefined>; /** * The Amazon Resource Name (ARN) of the access point. */ readonly arn: pulumi.Output<string>; /** * The opaque string specified in the request to ensure idempotent creation. */ readonly clientToken: pulumi.Output<string | undefined>; /** * The ID of the EFS file system that the access point applies to. Accepts only the ID format for input when specifying a file system, for example ``fs-0123456789abcedf2``. */ readonly fileSystemId: pulumi.Output<string>; /** * The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. */ readonly posixUser: pulumi.Output<outputs.efs.AccessPointPosixUser | undefined>; /** * The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point. */ readonly rootDirectory: pulumi.Output<outputs.efs.AccessPointRootDirectory | undefined>; /** * Create a AccessPoint resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AccessPointArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a AccessPoint resource. */ export interface AccessPointArgs { /** * An array of key-value pairs to apply to this resource. * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html). */ accessPointTags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; /** * The opaque string specified in the request to ensure idempotent creation. */ clientToken?: pulumi.Input<string>; /** * The ID of the EFS file system that the access point applies to. Accepts only the ID format for input when specifying a file system, for example ``fs-0123456789abcedf2``. */ fileSystemId: pulumi.Input<string>; /** * The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. */ posixUser?: pulumi.Input<inputs.efs.AccessPointPosixUserArgs>; /** * The directory on the EFS file system that the access point exposes as the root directory to NFS clients using the access point. */ rootDirectory?: pulumi.Input<inputs.efs.AccessPointRootDirectoryArgs>; }