NAME
Paws::EFS::CreateAccessPoint - Arguments for method CreateAccessPoint on Paws::EFS
DESCRIPTION
This class represents the parameters used for calling the method CreateAccessPoint on the Amazon Elastic File System service. Use the attributes of this class as arguments to method CreateAccessPoint.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAccessPoint.
SYNOPSIS
my $elasticfilesystem = Paws->service('EFS');
my $AccessPointDescription = $elasticfilesystem->CreateAccessPoint(
ClientToken => 'MyClientToken',
FileSystemId => 'MyFileSystemId',
PosixUser => {
Gid => 1, # max: 4294967295
Uid => 1, # max: 4294967295
SecondaryGids => [
1, ... # max: 4294967295
], # max: 16; OPTIONAL
}, # OPTIONAL
RootDirectory => {
CreationInfo => {
OwnerGid => 1, # max: 4294967295
OwnerUid => 1, # max: 4294967295
Permissions => 'MyPermissions', # min: 3, max: 4
}, # OPTIONAL
Path => 'MyPath', # min: 1, max: 100; OPTIONAL
}, # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $AccessPointArn = $AccessPointDescription->AccessPointArn;
my $AccessPointId = $AccessPointDescription->AccessPointId;
my $ClientToken = $AccessPointDescription->ClientToken;
my $FileSystemId = $AccessPointDescription->FileSystemId;
my $LifeCycleState = $AccessPointDescription->LifeCycleState;
my $Name = $AccessPointDescription->Name;
my $OwnerId = $AccessPointDescription->OwnerId;
my $PosixUser = $AccessPointDescription->PosixUser;
my $RootDirectory = $AccessPointDescription->RootDirectory;
my $Tags = $AccessPointDescription->Tags;
# Returns a L<Paws::EFS::AccessPointDescription> 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/CreateAccessPoint
ATTRIBUTES
REQUIRED ClientToken => Str
A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.
REQUIRED FileSystemId => Str
The ID of the EFS file system that the access point provides access to.
PosixUser => Paws::EFS::PosixUser
The operating system user and group applied to all file system requests made using the access point.
RootDirectory => Paws::EFS::RootDirectory
Specifies the directory on the Amazon EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory
> Path
specified does not exist, EFS creates it and applies the CreationInfo
settings when a client connects to an access point. When specifying a RootDirectory
, you need to provide the Path
, and the CreationInfo
.
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.
Tags => ArrayRef[Paws::EFS::Tag]
Creates tags associated with the access point. Each tag is a key-value pair.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateAccessPoint 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