Class: Aws::FSx::Types::AutoExportPolicy

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb

Overview

Note:

When making an API call, you may pass AutoExportPolicy data as a hash:

{
  events: ["NEW"], # accepts NEW, CHANGED, DELETED
}

Describes a data repository association's automatic export policy. The AutoExportPolicy defines the types of updated objects on the file system that will be automatically exported to the data repository. As you create, modify, or delete files, Amazon FSx automatically exports the defined changes asynchronously once your application finishes modifying the file.

This AutoExportPolicy is supported only for file systems with the Persistent_2 deployment type.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<String>

The AutoExportPolicy can have the following event values:

  • NEW - Amazon FSx automatically exports new files and directories to the data repository as they are added to the file system.

  • CHANGED - Amazon FSx automatically exports changes to files and directories on the file system to the data repository.

  • DELETED - Files and directories are automatically deleted on the data repository when they are deleted on the file system.

You can define any combination of event types for your AutoExportPolicy.

Returns:

  • (Array<String>)


380
381
382
383
384
# File 'gems/aws-sdk-fsx/lib/aws-sdk-fsx/types.rb', line 380

class AutoExportPolicy < Struct.new(
  :events)
  SENSITIVE = []
  include Aws::Structure
end