Package com.pulumi.aws.efs
Class FileSystemPolicyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.efs.FileSystemPolicyArgs.Builder
-
- Enclosing class:
- FileSystemPolicyArgs
public static final class FileSystemPolicyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(FileSystemPolicyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemPolicyArgsbuild()FileSystemPolicyArgs.BuilderbypassPolicyLockoutSafetyCheck(com.pulumi.core.Output<java.lang.Boolean> bypassPolicyLockoutSafetyCheck)FileSystemPolicyArgs.BuilderbypassPolicyLockoutSafetyCheck(java.lang.Boolean bypassPolicyLockoutSafetyCheck)FileSystemPolicyArgs.BuilderfileSystemId(com.pulumi.core.Output<java.lang.String> fileSystemId)FileSystemPolicyArgs.BuilderfileSystemId(java.lang.String fileSystemId)FileSystemPolicyArgs.Builderpolicy(com.pulumi.core.Output<java.lang.String> policy)FileSystemPolicyArgs.Builderpolicy(java.lang.String policy)FileSystemPolicyArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)FileSystemPolicyArgs.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FileSystemPolicyArgs defaults)
-
-
Method Detail
-
bypassPolicyLockoutSafetyCheck
public FileSystemPolicyArgs.Builder bypassPolicyLockoutSafetyCheck(@Nullable com.pulumi.core.Output<java.lang.Boolean> bypassPolicyLockoutSafetyCheck)
- Parameters:
bypassPolicyLockoutSafetyCheck- A flag to indicate whether to bypass the `aws.efs.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`.- Returns:
- builder
-
bypassPolicyLockoutSafetyCheck
public FileSystemPolicyArgs.Builder bypassPolicyLockoutSafetyCheck(java.lang.Boolean bypassPolicyLockoutSafetyCheck)
- Parameters:
bypassPolicyLockoutSafetyCheck- A flag to indicate whether to bypass the `aws.efs.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`.- Returns:
- builder
-
fileSystemId
public FileSystemPolicyArgs.Builder fileSystemId(com.pulumi.core.Output<java.lang.String> fileSystemId)
- Parameters:
fileSystemId- The ID of the EFS file system.- Returns:
- builder
-
fileSystemId
public FileSystemPolicyArgs.Builder fileSystemId(java.lang.String fileSystemId)
- Parameters:
fileSystemId- The ID of the EFS file system.- Returns:
- builder
-
policy
public FileSystemPolicyArgs.Builder policy(com.pulumi.core.Output<java.lang.String> policy)
- Parameters:
policy- The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. The following arguments are optional:- Returns:
- builder
-
policy
public FileSystemPolicyArgs.Builder policy(java.lang.String policy)
- Parameters:
policy- The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. The following arguments are optional:- Returns:
- builder
-
region
public FileSystemPolicyArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public FileSystemPolicyArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
build
public FileSystemPolicyArgs build()
-
-