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 object_acl: Option<String>, pub read_only: Option<bool>, pub requester_pays: 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. Set this value to true to enable MIME type guessing, and otherwise to false. The default value is true.
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.
object_acl: Option<String>
Sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts objects into. The default value is "private".
read_only: Option<bool>
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
requester_pays: Option<bool>
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to 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]
impl Default for CreateNFSFileShareInput
fn default() -> CreateNFSFileShareInput
[src]
fn default() -> CreateNFSFileShareInput
Returns the "default value" for a type. Read more
impl Debug for CreateNFSFileShareInput
[src]
impl Debug for CreateNFSFileShareInput
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateNFSFileShareInput
[src]
impl Clone for CreateNFSFileShareInput
fn clone(&self) -> CreateNFSFileShareInput
[src]
fn clone(&self) -> CreateNFSFileShareInput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateNFSFileShareInput
[src]
impl PartialEq for CreateNFSFileShareInput
fn eq(&self, other: &CreateNFSFileShareInput) -> bool
[src]
fn eq(&self, other: &CreateNFSFileShareInput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateNFSFileShareInput) -> bool
[src]
fn ne(&self, other: &CreateNFSFileShareInput) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateNFSFileShareInput
impl Send for CreateNFSFileShareInput
impl Sync for CreateNFSFileShareInput
impl Sync for CreateNFSFileShareInput