Struct aws_sdk_fsx::types::AutoImportPolicy
source · #[non_exhaustive]pub struct AutoImportPolicy {
pub events: Option<Vec<EventType>>,
}
Expand description
Describes the data repository association's automatic import policy. The AutoImportPolicy defines how Amazon FSx keeps your file metadata and directory listings up to date by importing changes to your Amazon FSx for Lustre file system as you modify objects in a linked S3 bucket.
The AutoImportPolicy
is only supported on Amazon FSx for Lustre file systems with a data repository association.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.events: Option<Vec<EventType>>
The AutoImportPolicy
can have the following event values:
-
NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. -
CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. -
DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your AutoImportPolicy
.
Implementations§
source§impl AutoImportPolicy
impl AutoImportPolicy
sourcepub fn events(&self) -> &[EventType]
pub fn events(&self) -> &[EventType]
The AutoImportPolicy
can have the following event values:
-
NEW
- Amazon FSx automatically imports metadata of files added to the linked S3 bucket that do not currently exist in the FSx file system. -
CHANGED
- Amazon FSx automatically updates file metadata and invalidates existing file content on the file system as files change in the data repository. -
DELETED
- Amazon FSx automatically deletes files on the file system as corresponding files are deleted in the data repository.
You can define any combination of event types for your AutoImportPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
source§impl AutoImportPolicy
impl AutoImportPolicy
sourcepub fn builder() -> AutoImportPolicyBuilder
pub fn builder() -> AutoImportPolicyBuilder
Creates a new builder-style object to manufacture AutoImportPolicy
.
Trait Implementations§
source§impl Clone for AutoImportPolicy
impl Clone for AutoImportPolicy
source§fn clone(&self) -> AutoImportPolicy
fn clone(&self) -> AutoImportPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoImportPolicy
impl Debug for AutoImportPolicy
source§impl PartialEq for AutoImportPolicy
impl PartialEq for AutoImportPolicy
source§fn eq(&self, other: &AutoImportPolicy) -> bool
fn eq(&self, other: &AutoImportPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.