class Aws::EFS::Types::PutFileSystemPolicyRequest
@note When making an API call, you may pass PutFileSystemPolicyRequest
data as a hash: { file_system_id: "FileSystemId", # required policy: "Policy", # required bypass_policy_lockout_safety_check: false, }
@!attribute [rw] file_system_id
The ID of the EFS file system that you want to create or update the `FileSystemPolicy` for. @return [String]
@!attribute [rw] policy
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][1]. [1]: https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies @return [String]
@!attribute [rw] bypass_policy_lockout_safety_check
(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. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutFileSystemPolicyRequest AWS API Documentation
Constants
- SENSITIVE