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)

38 lines (37 loc) 1.85 kB
import * as pulumi from "@pulumi/pulumi"; /** * The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target. */ export declare function getMountTarget(args: GetMountTargetArgs, opts?: pulumi.InvokeOptions): Promise<GetMountTargetResult>; export interface GetMountTargetArgs { /** * The ID of the Amazon EFS file system that the mount target provides access to. * * Example: `fs-0123456789111222a` */ id: string; } export interface GetMountTargetResult { /** * The ID of the Amazon EFS file system that the mount target provides access to. * * Example: `fs-0123456789111222a` */ readonly id?: string; /** * VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as the subnet specified. The maximum number of security groups depends on account quota. For more information, see [Amazon VPC Quotas](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html) in the *Amazon VPC User Guide* (see the *Security Groups* table). */ readonly securityGroups?: string[]; } /** * The ``AWS::EFS::MountTarget`` resource is an Amazon EFS resource that creates a mount target for an EFS file system. You can then mount the file system on Amazon EC2 instances or other resources by using the mount target. */ export declare function getMountTargetOutput(args: GetMountTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMountTargetResult>; export interface GetMountTargetOutputArgs { /** * The ID of the Amazon EFS file system that the mount target provides access to. * * Example: `fs-0123456789111222a` */ id: pulumi.Input<string>; }