Class: Aws::StorageGateway::Types::NFSFileShareDefaults

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb

Overview

Note:

When making an API call, you may pass NFSFileShareDefaults data as a hash:

{
  file_mode: "PermissionMode",
  directory_mode: "PermissionMode",
  group_id: 1,
  owner_id: 1,
}

Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for S3 File Gateways.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#directory_modeString

The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

Returns:

  • (String)


5481
5482
5483
5484
5485
5486
5487
5488
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5481

class NFSFileShareDefaults < Struct.new(
  :file_mode,
  :directory_mode,
  :group_id,
  :owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#file_modeString

The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

Returns:

  • (String)


5481
5482
5483
5484
5485
5486
5487
5488
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5481

class NFSFileShareDefaults < Struct.new(
  :file_mode,
  :directory_mode,
  :group_id,
  :owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#group_idInteger

The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

Returns:

  • (Integer)


5481
5482
5483
5484
5485
5486
5487
5488
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5481

class NFSFileShareDefaults < Struct.new(
  :file_mode,
  :directory_mode,
  :group_id,
  :owner_id)
  SENSITIVE = []
  include Aws::Structure
end

#owner_idInteger

The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

Returns:

  • (Integer)


5481
5482
5483
5484
5485
5486
5487
5488
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 5481

class NFSFileShareDefaults < Struct.new(
  :file_mode,
  :directory_mode,
  :group_id,
  :owner_id)
  SENSITIVE = []
  include Aws::Structure
end