Nfs File Share Args
data class NfsFileShareArgs(val auditDestinationArn: Output<String>? = null, val bucketRegion: Output<String>? = null, val cacheAttributes: Output<NfsFileShareCacheAttributesArgs>? = null, val clientLists: Output<List<String>>? = null, val defaultStorageClass: Output<String>? = null, val fileShareName: Output<String>? = null, val gatewayArn: Output<String>? = null, val guessMimeTypeEnabled: Output<Boolean>? = null, val kmsEncrypted: Output<Boolean>? = null, val kmsKeyArn: Output<String>? = null, val locationArn: Output<String>? = null, val nfsFileShareDefaults: Output<NfsFileShareNfsFileShareDefaultsArgs>? = null, val notificationPolicy: Output<String>? = null, val objectAcl: Output<String>? = null, val readOnly: Output<Boolean>? = null, val requesterPays: Output<Boolean>? = null, val roleArn: Output<String>? = null, val squash: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val vpcEndpointDnsName: Output<String>? = null) : ConvertibleToJava<NfsFileShareArgs>
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
Constructors
Link copied to clipboard
fun NfsFileShareArgs(auditDestinationArn: Output<String>? = null, bucketRegion: Output<String>? = null, cacheAttributes: Output<NfsFileShareCacheAttributesArgs>? = null, clientLists: Output<List<String>>? = null, defaultStorageClass: Output<String>? = null, fileShareName: Output<String>? = null, gatewayArn: Output<String>? = null, guessMimeTypeEnabled: Output<Boolean>? = null, kmsEncrypted: Output<Boolean>? = null, kmsKeyArn: Output<String>? = null, locationArn: Output<String>? = null, nfsFileShareDefaults: Output<NfsFileShareNfsFileShareDefaultsArgs>? = null, notificationPolicy: Output<String>? = null, objectAcl: Output<String>? = null, readOnly: Output<Boolean>? = null, requesterPays: Output<Boolean>? = null, roleArn: Output<String>? = null, squash: Output<String>? = null, tags: Output<Map<String, String>>? = null, vpcEndpointDnsName: Output<String>? = null)
Functions
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
The notification policy of the file share. For more information see the AWS Documentation. Default value is {}
.
Link copied to clipboard