MountTargetArgs

data class MountTargetArgs(val fileSystemId: Output<String>? = null, val ipAddress: Output<String>? = null, val securityGroups: Output<List<String>>? = null, val subnetId: Output<String>? = null) : ConvertibleToJava<MountTargetArgs>

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.

Constructors

Link copied to clipboard
constructor(fileSystemId: Output<String>? = null, ipAddress: Output<String>? = null, securityGroups: Output<List<String>>? = null, subnetId: Output<String>? = null)

Properties

Link copied to clipboard
val fileSystemId: Output<String>? = null

The ID of the file system for which to create the mount target.

Link copied to clipboard
val ipAddress: Output<String>? = null

Valid IPv4 address within the address range of the specified subnet.

Link copied to clipboard
val securityGroups: Output<List<String>>? = null

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 in the Amazon VPC User Guide (see the Security Groups table).

Link copied to clipboard
val subnetId: Output<String>? = null

The 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.

Functions

Link copied to clipboard
open override fun toJava(): MountTargetArgs