Class: Aws::FSx::Types::AutoImportPolicy
- Inherits:
-
Struct
- Object
- Struct
- Aws::FSx::Types::AutoImportPolicy
- Defined in:
- gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb
Overview
When making an API call, you may pass AutoImportPolicy data as a hash:
{
events: ["NEW"], # accepts NEW, CHANGED, DELETED
}
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 file system as you modify objects in a linked S3 bucket.
This AutoImportPolicy
is supported only for file systems with the
Persistent_2
deployment type.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#events ⇒ Array<String>
The
AutoImportPolicy
can have the following event values:.
Instance Attribute Details
#events ⇒ Array<String>
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
.
421 422 423 424 425 |
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 421 class AutoImportPolicy < Struct.new( :events) SENSITIVE = [] include Aws::Structure end |