create_mount: Create EFS Mount Target

Description Usage Arguments Details Value References See Also

View source: R/create_mount.R

Description

Create an EFS Mount Target

Usage

1
create_mount(id, ip, sgroup, subnet, ...)

Arguments

id

A character string specifying an EFS File System ID, perhaps as returned by create_efs or efs_list.

ip

An object of class “ec2_ip” or an allocationId (for a VPC IP).

sgroup

A character vector specifying one or more Security Group IDs, or (a list of) objects of class “ec2_security_group”. No more than 5 security groups can be specified. These values can be modified later using replace_mount_sgroups.

subnet

A character string containing the name of a subnet, or an object of class “ec2_subnet”.

...

Additional arguments passed to efsHTTP.

Details

This function creates a mount target for an EFS File System so that it can mounted to one or more EC2 instances. All instances within an AWS availability zone share a mount target. Mount targets are subnet-specific, so one mount target should be created for each subnet.

Value

A list.

References

API Documentation

See Also

create_efs, delete_mount, get_mount_sgroups


cloudyr/aws.efs documentation built on Jan. 14, 2020, 4:56 a.m.