We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi
Resource Type definition for AWS::StorageGateway::NFSFileShare. An NFS file share exposes an Amazon S3 bucket through a Storage Gateway file gateway, so clients read and write objects as files over NFS. The share’s variant is fixed by its resource type rather than by a property: the service constructs the two variants with different APIs, and a property carrying the choice would belong to neither API’s input.
Using getNfsFileShare
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNfsFileShare(args: GetNfsFileShareArgs, opts?: InvokeOptions): Promise<GetNfsFileShareResult>
function getNfsFileShareOutput(args: GetNfsFileShareOutputArgs, opts?: InvokeOutputOptions): Output<GetNfsFileShareResult>def get_nfs_file_share(file_share_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNfsFileShareResult
def get_nfs_file_share_output(file_share_arn: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetNfsFileShareResult]func LookupNfsFileShare(ctx *Context, args *LookupNfsFileShareArgs, opts ...InvokeOption) (*LookupNfsFileShareResult, error)
func LookupNfsFileShareOutput(ctx *Context, args *LookupNfsFileShareOutputArgs, opts ...InvokeOption) LookupNfsFileShareResultOutput> Note: This function is named LookupNfsFileShare in the Go SDK.
public static class GetNfsFileShare
{
public static Task<GetNfsFileShareResult> InvokeAsync(GetNfsFileShareArgs args, InvokeOptions? opts = null)
public static Output<GetNfsFileShareResult> Invoke(GetNfsFileShareInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetNfsFileShareResult> Invoke(GetNfsFileShareInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetNfsFileShareResult> getNfsFileShare(GetNfsFileShareArgs args, InvokeOptions options)
public static Output<GetNfsFileShareResult> getNfsFileShare(GetNfsFileShareArgs args, InvokeOptions options)
public static Output<GetNfsFileShareResult> getNfsFileShare(GetNfsFileShareArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:storagegateway:getNfsFileShare
arguments:
# arguments dictionarydata "aws-native_storagegateway_get_nfs_file_share" "name" {
# arguments
}The following arguments are supported:
- string
- The ARN of the file share.
- string
- The ARN of the file share.
- string
- The ARN of the file share.
- String
- The ARN of the file share.
- string
- The ARN of the file share.
- str
- The ARN of the file share.
- String
- The ARN of the file share.
getNfsFileShare Result
The following output properties are available:
- Audit
Destination stringArn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- Cache
Attributes Pulumi.Aws Native. Storage Gateway. Outputs. Nfs File Share Cache Attributes - Client
List List<string> - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- Default
Storage stringClass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- Encryption
Type Pulumi.Aws Native. Storage Gateway. Nfs File Share Encryption Type - The server-side encryption the gateway applies to objects it writes.
- string
- The ARN of the file share.
- string
- The ID of the file share.
- string
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- string
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- Guess
Mime boolType Enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- Kms
Encrypted bool - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- Kms
Key string - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
-
Pulumi.
Aws Native. Storage Gateway. Outputs. Nfs File Share Nfs File Share Defaults - Notification
Policy string - The upload-notification settling period, as a JSON document.
- Object
Acl Pulumi.Aws Native. Storage Gateway. Nfs File Share Object Acl - The canned S3 ACL applied to objects the gateway writes.
- Path string
- The export path the share is mounted or mapped at.
- Read
Only bool - Whether clients may write to the share.
- Requester
Pays bool - Whether the bucket is a Requester Pays bucket.
- Squash string
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
-
List<Pulumi.
Aws Native. Outputs. Tag> - Tags assigned to the file share.
- Audit
Destination stringArn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- Cache
Attributes NfsFile Share Cache Attributes - Client
List []string - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- Default
Storage stringClass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- Encryption
Type NfsFile Share Encryption Type - The server-side encryption the gateway applies to objects it writes.
- string
- The ARN of the file share.
- string
- The ID of the file share.
- string
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- string
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- Guess
Mime boolType Enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- Kms
Encrypted bool - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- Kms
Key string - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
-
Nfs
File Share Nfs File Share Defaults - Notification
Policy string - The upload-notification settling period, as a JSON document.
- Object
Acl NfsFile Share Object Acl - The canned S3 ACL applied to objects the gateway writes.
- Path string
- The export path the share is mounted or mapped at.
- Read
Only bool - Whether clients may write to the share.
- Requester
Pays bool - Whether the bucket is a Requester Pays bucket.
- Squash string
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- Tag
- Tags assigned to the file share.
- audit_
destination_ stringarn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- cache_
attributes object - client_
list list(string) - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- default_
storage_ stringclass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- encryption_
type "SseS3" | "Sse Kms" | "Dsse Kms" - The server-side encryption the gateway applies to objects it writes.
- string
- The ARN of the file share.
- string
- The ID of the file share.
- string
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- string
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- guess_
mime_ booltype_ enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- kms_
encrypted bool - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- kms_
key string - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- object
- notification_
policy string - The upload-notification settling period, as a JSON document.
- object_
acl "private" | "public-read" | "public-read-write" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "aws-exec-read" - The canned S3 ACL applied to objects the gateway writes.
- path string
- The export path the share is mounted or mapped at.
- read_
only bool - Whether clients may write to the share.
- requester_
pays bool - Whether the bucket is a Requester Pays bucket.
- squash string
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- list(object)
- Tags assigned to the file share.
- audit
Destination StringArn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- cache
Attributes NfsFile Share Cache Attributes - client
List List<String> - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- default
Storage StringClass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- encryption
Type NfsFile Share Encryption Type - The server-side encryption the gateway applies to objects it writes.
- String
- The ARN of the file share.
- String
- The ID of the file share.
- String
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- String
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- guess
Mime BooleanType Enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- kms
Encrypted Boolean - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- kms
Key String - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
-
Nfs
File Share Nfs File Share Defaults - notification
Policy String - The upload-notification settling period, as a JSON document.
- object
Acl NfsFile Share Object Acl - The canned S3 ACL applied to objects the gateway writes.
- path String
- The export path the share is mounted or mapped at.
- read
Only Boolean - Whether clients may write to the share.
- requester
Pays Boolean - Whether the bucket is a Requester Pays bucket.
- squash String
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- List<Tag>
- Tags assigned to the file share.
- audit
Destination stringArn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- cache
Attributes NfsFile Share Cache Attributes - client
List string[] - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- default
Storage stringClass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- encryption
Type NfsFile Share Encryption Type - The server-side encryption the gateway applies to objects it writes.
- string
- The ARN of the file share.
- string
- The ID of the file share.
- string
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- string
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- guess
Mime booleanType Enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- kms
Encrypted boolean - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- kms
Key string - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
-
Nfs
File Share Nfs File Share Defaults - notification
Policy string - The upload-notification settling period, as a JSON document.
- object
Acl NfsFile Share Object Acl - The canned S3 ACL applied to objects the gateway writes.
- path string
- The export path the share is mounted or mapped at.
- read
Only boolean - Whether clients may write to the share.
- requester
Pays boolean - Whether the bucket is a Requester Pays bucket.
- squash string
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- Tag[]
- Tags assigned to the file share.
- audit_
destination_ strarn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- cache_
attributes NfsFile Share Cache Attributes - client_
list Sequence[str] - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- default_
storage_ strclass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- encryption_
type NfsFile Share Encryption Type - The server-side encryption the gateway applies to objects it writes.
- str
- The ARN of the file share.
- str
- The ID of the file share.
- str
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- str
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- guess_
mime_ booltype_ enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- kms_
encrypted bool - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- kms_
key str - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
-
Nfs
File Share Nfs File Share Defaults - notification_
policy str - The upload-notification settling period, as a JSON document.
- object_
acl NfsFile Share Object Acl - The canned S3 ACL applied to objects the gateway writes.
- path str
- The export path the share is mounted or mapped at.
- read_
only bool - Whether clients may write to the share.
- requester_
pays bool - Whether the bucket is a Requester Pays bucket.
- squash str
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- Sequence[root_Tag]
- Tags assigned to the file share.
- audit
Destination StringArn - The ARN of the CloudWatch log group that receives the share's audit logs. Removing this property from a template detaches audit logging: the update sends the empty string, which the service treats as the reset.
- cache
Attributes Property Map - client
List List<String> - The IPv4 or IPv6 addresses and CIDR blocks permitted to mount the NFS share. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- default
Storage StringClass - The S3 storage class for new objects. The service accepts S3_STANDARD, S3_INTELLIGENT_TIERING, S3_STANDARD_IA and S3_ONEZONE_IA; it is a length-bounded string in the API model rather than an enumeration.
- encryption
Type "SseS3" | "Sse Kms" | "Dsse Kms" - The server-side encryption the gateway applies to objects it writes.
- String
- The ARN of the file share.
- String
- The ID of the file share.
- String
- The name of the file share, which defaults to the bucket name when omitted. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- String
- The status of the file share. The service reports CREATING, UPDATING, AVAILABLE, DELETING and FORCE_DELETING; it is a length-bounded string in the API model rather than an enumeration.
- guess
Mime BooleanType Enabled - Whether the gateway infers the MIME type of uploaded objects from their extension.
- kms
Encrypted Boolean - Deprecated by the service in favour of EncryptionType; true selects KMS encryption. Retained because it remains readable and settable.
- kms
Key String - The KMS key used for encryption, when EncryptionType selects KMS. Removing this property from a template leaves the share's current value: the service documents no value that resets it.
- Property Map
- notification
Policy String - The upload-notification settling period, as a JSON document.
- object
Acl "private" | "public-read" | "public-read-write" | "authenticated-read" | "bucket-owner-read" | "bucket-owner-full-control" | "aws-exec-read" - The canned S3 ACL applied to objects the gateway writes.
- path String
- The export path the share is mounted or mapped at.
- read
Only Boolean - Whether clients may write to the share.
- requester
Pays Boolean - Whether the bucket is a Requester Pays bucket.
- squash String
- How the NFS share maps client user IDs. The service accepts RootSquash, NoSquash and AllSquash; it is a length-bounded string in the API model rather than an enumeration.
- List<Property Map>
- Tags assigned to the file share.
Supporting Types
NfsFileShareCacheAttributes
- Cache
Stale intTimeout In Seconds - How long the directory contents cached by the gateway are considered valid.
- Cache
Stale intTimeout In Seconds - How long the directory contents cached by the gateway are considered valid.
- cache_
stale_ numbertimeout_ in_ seconds - How long the directory contents cached by the gateway are considered valid.
- cache
Stale IntegerTimeout In Seconds - How long the directory contents cached by the gateway are considered valid.
- cache
Stale numberTimeout In Seconds - How long the directory contents cached by the gateway are considered valid.
- cache_
stale_ inttimeout_ in_ seconds - How long the directory contents cached by the gateway are considered valid.
- cache
Stale NumberTimeout In Seconds - How long the directory contents cached by the gateway are considered valid.
NfsFileShareEncryptionType
NfsFileShareNfsFileShareDefaults
- Directory
Mode string - The Unix directory mode in the form nnnn.
- File
Mode string - The Unix file mode in the form nnnn.
- Group
Id int - The default group ID for files in the file share.
- Owner
Id int - The default owner ID for files in the file share.
- Directory
Mode string - The Unix directory mode in the form nnnn.
- File
Mode string - The Unix file mode in the form nnnn.
- Group
Id int - The default group ID for files in the file share.
- Owner
Id int - The default owner ID for files in the file share.
- directory_
mode string - The Unix directory mode in the form nnnn.
- file_
mode string - The Unix file mode in the form nnnn.
- group_
id number - The default group ID for files in the file share.
- owner_
id number - The default owner ID for files in the file share.
- directory
Mode String - The Unix directory mode in the form nnnn.
- file
Mode String - The Unix file mode in the form nnnn.
- group
Id Integer - The default group ID for files in the file share.
- owner
Id Integer - The default owner ID for files in the file share.
- directory
Mode string - The Unix directory mode in the form nnnn.
- file
Mode string - The Unix file mode in the form nnnn.
- group
Id number - The default group ID for files in the file share.
- owner
Id number - The default owner ID for files in the file share.
- directory_
mode str - The Unix directory mode in the form nnnn.
- file_
mode str - The Unix file mode in the form nnnn.
- group_
id int - The default group ID for files in the file share.
- owner_
id int - The default owner ID for files in the file share.
- directory
Mode String - The Unix directory mode in the form nnnn.
- file
Mode String - The Unix file mode in the form nnnn.
- group
Id Number - The default group ID for files in the file share.
- owner
Id Number - The default owner ID for files in the file share.
NfsFileShareObjectAcl
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Nov 2, 2026 by Pulumi