AWS::StorageGateway::NFSFileShareResource 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.
21 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
GatewayARN | string | RequiredCreate-only |
LocationARN | string | RequiredCreate-only |
Role | string | RequiredCreate-only |
AuditDestinationARN | string | |
BucketRegion | string | Create-only |
CacheAttributes | CacheAttributes | |
ClientList | Array<string> | |
DefaultStorageClass | string | |
EncryptionType | string | |
FileShareName | string | |
GuessMIMETypeEnabled | boolean | |
KMSEncrypted | boolean | |
KMSKey | string | |
NFSFileShareDefaults | NFSFileShareDefaults | |
NotificationPolicy | string | |
ObjectACL | string | |
ReadOnly | boolean | |
RequesterPays | boolean | |
Squash | string | |
Tags | Array<Tag> | |
VPCEndpointDNSName | string | Create-only |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
FileShareARN | string | The ARN of the file share. |
FileShareId | string | The ID of the file share. |
FileShareStatus | 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. |
Path | string | The export path the share is mounted or mapped at. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::StorageGateway::NFSFileShare
Resources:
MyResource:
Type: AWS::StorageGateway::NFSFileShare
Properties:
GatewayARN: "arn:aws:service:region:account:resource"
Role: "value"
LocationARN: "arn:aws:service:region:account:resource"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
iam:PassRolelogs:CreateLogDeliverylogs:DeleteLogDeliverylogs:GetLogDeliverylogs:ListLogDeliverieslogs:UpdateLogDeliverystoragegateway:AddTagsToResourcestoragegateway:CreateNFSFileSharestoragegateway:DescribeNFSFileSharesstoragegateway:DescribeNFSFileSharesstoragegateway:ListTagsForResourcelogs:CreateLogDeliverylogs:DeleteLogDeliverylogs:GetLogDeliverylogs:ListLogDeliverieslogs:UpdateLogDeliverystoragegateway:AddTagsToResourcestoragegateway:DescribeNFSFileSharesstoragegateway:ListTagsForResourcestoragegateway:RemoveTagsFromResourcestoragegateway:UpdateNFSFileSharelogs:CreateLogDeliverylogs:DeleteLogDeliverylogs:GetLogDeliverylogs:ListLogDeliverieslogs:UpdateLogDeliverystoragegateway:DeleteFileSharestoragegateway:DescribeNFSFileSharesstoragegateway:ListTagsForResourcestoragegateway:ListFileSharesOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterFileShareARNThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
GatewayARNRoleLocationARNBucketRegionVPCEndpointDNSName