The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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.

SYNOPSIS

    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

ATTRIBUTES

BypassPolicyLockoutSafetyCheck => Bool

(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.

REQUIRED FileSystemId => Str

The ID of the EFS file system that you want to create or update the FileSystemPolicy for.

REQUIRED Policy => Str

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).

SEE ALSO

This class forms part of Paws, documenting arguments for method PutFileSystemPolicy 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