Skip to content
v2.275.0

NFSFileShareDefaultsProperty Struct Added in v2.275.0 ​

Default values for the file and directory permissions of an NFS share.

Removing this property from a template leaves the live values unchanged rather than clearing them, because the service has no reset for it: a create that omits the object leaves it absent, but the update path merges member by member keyed on the same internal sentinel that reports absence, so no request can restore that state. Set the members you want rather than relying on removal.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_storagegateway as storagegateway } from 'aws-cdk-lib';
const nFSFileShareDefaultsProperty: storagegateway.CfnNFSFileShare.NFSFileShareDefaultsProperty = {
  directoryMode: 'directoryMode',
  fileMode: 'fileMode',
  groupId: 123,
  ownerId: 123,
};

Properties ​

directoryModeoptionalstringdirectory_modeoptionalstrdirectoryModeoptionalStringDirectoryModeoptionalstringDirectoryModeoptional*string#
The Unix directory mode in the form nnnn.
fileModeoptionalstringfile_modeoptionalstrfileModeoptionalStringFileModeoptionalstringFileModeoptional*string#
The Unix file mode in the form nnnn.
groupIdoptionalnumbergroup_idoptionalint | floatgroupIdoptionalNumberGroupIdoptionaldoubleGroupIdoptional*float64#
The default group ID for files in the file share.
ownerIdoptionalnumberowner_idoptionalint | floatownerIdoptionalNumberOwnerIdoptionaldoubleOwnerIdoptional*float64#
The default owner ID for files in the file share.