AWS::StorageGateway::SMBFileShareResource Type definition for AWS::StorageGateway::SMBFileShare. An SMB file share exposes an Amazon S3 bucket through a Storage Gateway file gateway, so clients read and write objects as files over SMB. 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.
26 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 |
AccessBasedEnumeration | boolean | |
AdminUserList | Array<string> | |
AuditDestinationARN | string | |
Authentication | string | Create-only |
BucketRegion | string | Create-only |
CacheAttributes | CacheAttributes | |
CaseSensitivity | string | |
DefaultStorageClass | string | |
EncryptionType | string | |
FileShareName | string | |
GuessMIMETypeEnabled | boolean | |
InvalidUserList | Array<string> | |
KMSEncrypted | boolean | |
KMSKey | string | |
NotificationPolicy | string | |
ObjectACL | string | |
OplocksEnabled | boolean | |
ReadOnly | boolean | |
RequesterPays | boolean | |
SMBACLEnabled | boolean | |
Tags | Array<Tag> | |
ValidUserList | Array<string> | |
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::SMBFileShare
Resources:
MyResource:
Type: AWS::StorageGateway::SMBFileShare
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:CreateSMBFileSharestoragegateway:DescribeSMBFileSharesstoragegateway:DescribeSMBFileSharesstoragegateway:ListTagsForResourcelogs:CreateLogDeliverylogs:DeleteLogDeliverylogs:GetLogDeliverylogs:ListLogDeliverieslogs:UpdateLogDeliverystoragegateway:AddTagsToResourcestoragegateway:DescribeSMBFileSharesstoragegateway:ListTagsForResourcestoragegateway:RemoveTagsFromResourcestoragegateway:UpdateSMBFileSharelogs:CreateLogDeliverylogs:DeleteLogDeliverylogs:GetLogDeliverylogs:ListLogDeliverieslogs:UpdateLogDeliverystoragegateway:DeleteFileSharestoragegateway:DescribeSMBFileSharesstoragegateway: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.
GatewayARNRoleLocationARNBucketRegionVPCEndpointDNSNameAuthentication