The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::EFS::CreationInfo

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EFS::CreationInfo object:

  $service_obj->Method(Att1 => { OwnerGid => $value, ..., Permissions => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EFS::CreationInfo object:

  $result = $service_obj->Method(...);
  $result->Att1->OwnerGid

DESCRIPTION

Required if the RootDirectory > Path specified does not exist. Specifies the POSIX IDs and permissions to apply to the access point's RootDirectory > Path. If the access point root directory does not exist, EFS creates it with these settings when a client connects to the access point. When specifying CreationInfo, you must include values for all properties.

Amazon EFS creates a root directory only if you have provided the CreationInfo: OwnUid, OwnGID, and permissions for the directory. If you do not provide this information, Amazon EFS does not create the root directory. If the root directory does not exist, attempts to mount using the access point will fail.

If you do not provide CreationInfo and the specified RootDirectory does not exist, attempts to mount the file system using the access point will fail.

ATTRIBUTES

REQUIRED OwnerGid => Int

Specifies the POSIX group ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295).

REQUIRED OwnerUid => Int

Specifies the POSIX user ID to apply to the RootDirectory. Accepts values from 0 to 2^32 (4294967295).

REQUIRED Permissions => Str

Specifies the POSIX permissions to apply to the RootDirectory, in the format of an octal number representing the file's mode bits.

SEE ALSO

This class forms part of Paws, describing an object used 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