Paws::EFS::PutFileSystemPolicy - Arguments for method PutFileSystemPolicy on Paws::EFS
This class represents the parameters used for calling the method PutFileSystemPolicy on the Amazon Elastic File System service. Use the attributes of this class as arguments to method PutFileSystemPolicy.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutFileSystemPolicy.
my $elasticfilesystem = Paws->service('EFS'); my $FileSystemPolicyDescription = $elasticfilesystem->PutFileSystemPolicy( FileSystemId => 'MyFileSystemId', Policy => 'MyPolicy', BypassPolicyLockoutSafetyCheck => 1, # OPTIONAL ); # Results: my $FileSystemId = $FileSystemPolicyDescription->FileSystemId; my $Policy = $FileSystemPolicyDescription->Policy; # Returns a L<Paws::EFS::FileSystemPolicyDescription> 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/PutFileSystemPolicy
(Optional) A flag to indicate whether to bypass the FileSystemPolicy lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future PutFileSystemPolicy requests on the file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the principal that is making the request from making a subsequent PutFileSystemPolicy request on the file system. The default value is False.
FileSystemPolicy
PutFileSystemPolicy
BypassPolicyLockoutSafetyCheck
True
The ID of the EFS file system that you want to create or update the FileSystemPolicy for.
The FileSystemPolicy that you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see EFS Resource-based Policies (https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies).
This class forms part of Paws, documenting arguments for method PutFileSystemPolicy in Paws::EFS
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.