NfsFileShare

class NfsFileShare : KotlinCustomResource

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());
}
}

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

Properties

Link copied to clipboard
val arn: Output<String>

Amazon Resource Name (ARN) of the NFS File Share.

Link copied to clipboard

The Amazon Resource Name (ARN) of the storage used for audit logs.

Link copied to clipboard
val bucketRegion: Output<String>?

The region of the S3 bucket used by the file share. Required when specifying vpc_endpoint_dns_name.

Link copied to clipboard

Refresh cache information. see Cache Attributes for more details.

Link copied to clipboard
val clientLists: Output<List<String>>

The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to ["0&#46;0&#46;0&#46;0/0"] to not limit access. Minimum 1 item. Maximum 100 items.

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
val fileshareId: Output<String>

ID of the NFS File Share.

Link copied to clipboard
val fileShareName: Output<String>

The name of the file share. Must be set if an S3 prefix name is set in location_arn.

Link copied to clipboard
val gatewayArn: Output<String>

Amazon Resource Name (ARN) of the file gateway.

Link copied to clipboard

Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to true.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kmsEncrypted: Output<Boolean>?

Boolean value if true to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Defaults to false.

Link copied to clipboard
val kmsKeyArn: Output<String>?

Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when kms_encrypted is true.

Link copied to clipboard
val locationArn: Output<String>

The ARN of the backed storage used for storing file data.

Link copied to clipboard

Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.

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
val objectAcl: Output<String>?

Access Control List permission for S3 objects. Defaults to private.

Link copied to clipboard
val path: Output<String>

File share path used by the NFS client to identify the mount point.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val readOnly: Output<Boolean>?

Boolean to indicate write status of file share. File share does not accept writes if true. Defaults to false.

Link copied to clipboard
val requesterPays: Output<Boolean>?

Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner. Defaults to false.

Link copied to clipboard
val roleArn: Output<String>

The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.

Link copied to clipboard
val squash: Output<String>?

Maps a user to anonymous user. Defaults to RootSquash. Valid values: RootSquash (only root is mapped to anonymous user), NoSquash (no one is mapped to anonymous user), AllSquash (everyone is mapped to anonymous user)

Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags. .If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

The DNS name of the VPC endpoint for S3 PrivateLink.