Skip to main content

mount_target

Gets an individual mount_target resource

Overview

Namemount_target
TypeResource
Descriptionmount_target
Idawscc.efs.mount_target

Fields

NameDatatypeDescription
idstring
ip_addressstringValid IPv4 address within the address range of the specified subnet.
file_system_idstringThe ID of the file system for which to create the mount target.
security_groupsarrayUp to five VPC security group IDs, of the form ``sg-xxxxxxxx``. These must be for the same VPC as subnet specified.
subnet_idstringThe ID of the subnet to add the mount target in. For One Zone file systems, use the subnet that is associated with the file system's Availability Zone.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
id,
ip_address,
file_system_id,
security_groups,
subnet_id
FROM awscc.efs.mount_target
WHERE data__Identifier = '<Id>';

Permissions

To operate on the mount_target resource, the following permissions are required:

Read

elasticfilesystem:DescribeMountTargets,
elasticfilesystem:DescribeMountTargetSecurityGroups

Update

elasticfilesystem:DescribeMountTargets,
elasticfilesystem:DescribeMountTargetSecurityGroups,
elasticfilesystem:ModifyMountTargetSecurityGroups

Delete

elasticfilesystem:DescribeMountTargets,
elasticfilesystem:DeleteMountTarget