Struct rusoto_storagegateway::CreateNFSFileShareInput
[−]
[src]
pub struct CreateNFSFileShareInput { pub client_list: Option<Vec<String>>, pub client_token: String, pub default_storage_class: Option<String>, pub gateway_arn: String, pub guess_mime_type_enabled: Option<bool>, pub kms_encrypted: Option<bool>, pub kms_key: Option<String>, pub location_arn: String, pub nfs_file_share_defaults: Option<NFSFileShareDefaults>, pub read_only: Option<bool>, pub role: String, pub squash: Option<String>, }
CreateNFSFileShareInput
Fields
client_list: Option<Vec<String>>
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
client_token: String
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
default_storage_class: Option<String>
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
gateway_arn: String
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
guess_mime_type_enabled: Option<bool>
Enables guessing of the MIME type for uploaded objects based on file extensions: "true" to enable MIME type guessing, and otherwise "false".
kms_encrypted: Option<bool>
True to use Amazon S3 server side encryption with your own AWS KMS key, or false to use a key managed by Amazon S3. Optional.
kms_key: Option<String>
The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional.
location_arn: String
The ARN of the backed storage used for storing file data.
File share default values. Optional.
read_only: Option<bool>
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
role: String
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
squash: Option<String>
Maps a user to anonymous user. Valid options are the following:
-
"RootSquash" - Only root is mapped to anonymous user.
-
"NoSquash" - No one is mapped to anonymous user.
-
"AllSquash" - Everyone is mapped to anonymous user.
Trait Implementations
impl Default for CreateNFSFileShareInput
[src]
fn default() -> CreateNFSFileShareInput
[src]
Returns the "default value" for a type. Read more
impl Debug for CreateNFSFileShareInput
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CreateNFSFileShareInput
[src]
fn clone(&self) -> CreateNFSFileShareInput
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more