Struct rusoto_fsx::DataRepositoryConfiguration
source · [−]pub struct DataRepositoryConfiguration {
pub auto_import_policy: Option<String>,
pub export_path: Option<String>,
pub failure_details: Option<DataRepositoryFailureDetails>,
pub import_path: Option<String>,
pub imported_file_chunk_size: Option<i64>,
pub lifecycle: Option<String>,
}
Expand description
The data repository configuration object for Lustre file systems returned in the response of the CreateFileSystem
operation.
Fields
auto_import_policy: Option<String>
Describes the file system's linked S3 data repository's AutoImportPolicy
. The AutoImportPolicy configures how Amazon FSx keeps your file and directory listings up to date as you add or modify objects in your linked S3 bucket. AutoImportPolicy
can have the following values:
-
NONE
- (Default) AutoImport is off. Amazon FSx only updates file and directory listings from the linked S3 bucket when the file system is created. FSx does not update file and directory listings for any new or changed objects after choosing this option. -
NEW
- AutoImport is on. Amazon FSx automatically imports directory listings of any new objects added to the linked S3 bucket that do not currently exist in the FSx file system. -
NEW_CHANGED
- AutoImport is on. Amazon FSx automatically imports file and directory listings of any new objects added to the S3 bucket and any existing objects that are changed in the S3 bucket after you choose this option.
For more information, see Automatically import updates from your S3 bucket.
export_path: Option<String>
The export path to the Amazon S3 bucket (and prefix) that you are using to store new and changed Lustre file system files in S3.
failure_details: Option<DataRepositoryFailureDetails>
import_path: Option<String>
The import path to the Amazon S3 bucket (and optional prefix) that you're using as the data repository for your FSx for Lustre file system, for example s3://import-bucket/optional-prefix
. If a prefix is specified after the Amazon S3 bucket name, only object keys with that prefix are loaded into the file system.
imported_file_chunk_size: Option<i64>
For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.
The default chunk size is 1,024 MiB (1 GiB) and can go as high as 512,000 MiB (500 GiB). Amazon S3 objects have a maximum size of 5 TB.
lifecycle: Option<String>
Describes the state of the file system's S3 durable data repository, if it is configured with an S3 repository. The lifecycle can have the following values:
-
CREATING
- The data repository configuration between the FSx file system and the linked S3 data repository is being created. The data repository is unavailable. -
AVAILABLE
- The data repository is available for use. -
MISCONFIGURED
- Amazon FSx cannot automatically import updates from the S3 bucket until the data repository configuration is corrected. For more information, see Troubleshooting a Misconfigured linked S3 bucket. -
UPDATING
- The data repository is undergoing a customer initiated update and availability may be impacted.
Trait Implementations
sourceimpl Clone for DataRepositoryConfiguration
impl Clone for DataRepositoryConfiguration
sourcefn clone(&self) -> DataRepositoryConfiguration
fn clone(&self) -> DataRepositoryConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataRepositoryConfiguration
impl Debug for DataRepositoryConfiguration
sourceimpl Default for DataRepositoryConfiguration
impl Default for DataRepositoryConfiguration
sourcefn default() -> DataRepositoryConfiguration
fn default() -> DataRepositoryConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DataRepositoryConfiguration
impl<'de> Deserialize<'de> for DataRepositoryConfiguration
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DataRepositoryConfiguration> for DataRepositoryConfiguration
impl PartialEq<DataRepositoryConfiguration> for DataRepositoryConfiguration
sourcefn eq(&self, other: &DataRepositoryConfiguration) -> bool
fn eq(&self, other: &DataRepositoryConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataRepositoryConfiguration) -> bool
fn ne(&self, other: &DataRepositoryConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for DataRepositoryConfiguration
Auto Trait Implementations
impl RefUnwindSafe for DataRepositoryConfiguration
impl Send for DataRepositoryConfiguration
impl Sync for DataRepositoryConfiguration
impl Unpin for DataRepositoryConfiguration
impl UnwindSafe for DataRepositoryConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more