AWS Native is in preview. AWS Classic is fully supported.
aws-native.efs.getMountTarget
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- Id string
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- id String
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- id string
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- id str
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- id String
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
getMountTarget Result
The following output properties are available:
- Id string
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- Security
Groups 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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- Security
Groups []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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- security
Groups 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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- security
Groups 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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- 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
The ID of the Amazon EFS file system that the mount target provides access to.
Example:
fs-0123456789111222a
- security
Groups 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 is in preview. AWS Classic is fully supported.