You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::EFS::Types::PutFileSystemPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EFS::Types::PutFileSystemPolicyRequest
- Defined in:
- (unknown)
Overview
When passing PutFileSystemPolicyRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
file_system_id: "FileSystemId", # required
policy: "Policy", # required
bypass_policy_lockout_safety_check: false,
}
Instance Attribute Summary collapse
-
#bypass_policy_lockout_safety_check ⇒ Boolean
(Optional) A flag to indicate whether to bypass the
FileSystemPolicylockout safety check. -
#file_system_id ⇒ String
The ID of the EFS file system that you want to create or update the
FileSystemPolicyfor. -
#policy ⇒ String
The
FileSystemPolicythat you\'re creating.
Instance Attribute Details
#bypass_policy_lockout_safety_check ⇒ Boolean
(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.
#file_system_id ⇒ String
The ID of the EFS file system that you want to create or update the
FileSystemPolicy for.
#policy ⇒ String
The FileSystemPolicy that you\'re creating. Accepts a JSON formatted
policy definition. To find out more about the elements that make up a
file system policy, see EFS Resource-based Policies.