1. Packages
  2. AWS Native
  3. API Docs
  4. efs
  5. getMountTarget

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.efs.getMountTarget

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by 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.

    Using getMountTarget

    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 getMountTarget(args: GetMountTargetArgs, opts?: InvokeOptions): Promise<GetMountTargetResult>
    function getMountTargetOutput(args: GetMountTargetOutputArgs, opts?: InvokeOptions): Output<GetMountTargetResult>
    def get_mount_target(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetMountTargetResult
    def get_mount_target_output(id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetMountTargetResult]
    func LookupMountTarget(ctx *Context, args *LookupMountTargetArgs, opts ...InvokeOption) (*LookupMountTargetResult, error)
    func LookupMountTargetOutput(ctx *Context, args *LookupMountTargetOutputArgs, opts ...InvokeOption) LookupMountTargetResultOutput

    > Note: This function is named LookupMountTarget in the Go SDK.

    public static class GetMountTarget 
    {
        public static Task<GetMountTargetResult> InvokeAsync(GetMountTargetArgs args, InvokeOptions? opts = null)
        public static Output<GetMountTargetResult> Invoke(GetMountTargetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMountTargetResult> getMountTarget(GetMountTargetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:efs:getMountTarget
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Id string
    id String
    id string
    id str
    id String

    getMountTarget Result

    The following output properties are available:

    Id string
    SecurityGroups List<string>
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
    Id string
    SecurityGroups []string
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
    id String
    securityGroups List<String>
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
    id string
    securityGroups string[]
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
    id str
    security_groups Sequence[str]
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.
    id String
    securityGroups List<String>
    Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi