Nfs File Share
Manages an AWS Storage Gateway NFS File Share.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.NfsFileShare;
import com.pulumi.aws.storagegateway.NfsFileShareArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new NfsFileShare("example", NfsFileShareArgs.builder()
.clientLists("0.0.0.0/0")
.gatewayArn(aws_storagegateway_gateway.example().arn())
.locationArn(aws_s3_bucket.example().arn())
.roleArn(aws_iam_role.example().arn())
.build());
}
}
Content copied to clipboard
Import
aws_storagegateway_nfs_file_share
can be imported by using the NFS File Share Amazon Resource Name (ARN), e.g.,
$ pulumi import aws:storagegateway/nfsFileShare:NfsFileShare example arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678
Content copied to clipboard
Properties
Link copied to clipboard
The default storage class for objects put into an Amazon S3 bucket by the file gateway. Defaults to S3_STANDARD
.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The notification policy of the file share. For more information see the AWS Documentation. Default value is {}
.
Link copied to clipboard