NAME

Paws::EFS::CreateMountTarget - Arguments for method CreateMountTarget on Paws::EFS

DESCRIPTION

This class represents the parameters used for calling the method CreateMountTarget on the Amazon Elastic File System service. Use the attributes of this class as arguments to method CreateMountTarget.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMountTarget.

SYNOPSIS

my $elasticfilesystem = Paws->service('EFS');
# To create a new mount target
# This operation creates a new mount target for an EFS file system.
my $MountTargetDescription = $elasticfilesystem->CreateMountTarget(
  'FileSystemId' => 'fs-01234567',
  'SubnetId'     => 'subnet-1234abcd'
);

# Results:
my $FileSystemId       = $MountTargetDescription->FileSystemId;
my $IpAddress          = $MountTargetDescription->IpAddress;
my $LifeCycleState     = $MountTargetDescription->LifeCycleState;
my $MountTargetId      = $MountTargetDescription->MountTargetId;
my $NetworkInterfaceId = $MountTargetDescription->NetworkInterfaceId;
my $OwnerId            = $MountTargetDescription->OwnerId;
my $SubnetId           = $MountTargetDescription->SubnetId;

# Returns a L<Paws::EFS::MountTargetDescription> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem/CreateMountTarget

ATTRIBUTES

REQUIRED FileSystemId => Str

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

IpAddress => Str

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

SecurityGroups => ArrayRef[Str|Undef]

Up to five VPC security group IDs, of the form sg-xxxxxxxx. These must be for the same VPC as subnet specified.

REQUIRED SubnetId => Str

The ID of the subnet to add the mount target in. For file systems that use One Zone storage classes, use the subnet that is associated with the file system's Availability Zone.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateMountTarget in Paws::EFS

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues