Class: AWSCDK::FSX::CfnDataRepositoryAssociation::AutoExportPolicyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::FSX::CfnDataRepositoryAssociation::AutoExportPolicyProperty
- Defined in:
- fsx/cfn_data_repository_association.rb
Overview
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 for Lustre automatically exports the defined changes asynchronously once your application finishes modifying the file.
The AutoExportPolicy is only supported on Amazon FSx for Lustre file systems with a data repository association.
Instance Attribute Summary collapse
-
#events ⇒ Array<String>
readonly
The
AutoExportPolicycan have the following event values:.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(events:) ⇒ AutoExportPolicyProperty
constructor
A new instance of AutoExportPolicyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(events:) ⇒ AutoExportPolicyProperty
Returns a new instance of AutoExportPolicyProperty.
609 610 611 612 |
# File 'fsx/cfn_data_repository_association.rb', line 609 def initialize(events:) @events = events Jsii::Type.check_type(@events, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "events") end |
Instance Attribute Details
#events ⇒ Array<String> (readonly)
The AutoExportPolicy can have the following event values:.
NEW- New files and directories are automatically exported to the data repository as they are added to the file system.CHANGED- Changes to files and directories on the file system are automatically exported 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 .
624 625 626 |
# File 'fsx/cfn_data_repository_association.rb', line 624 def events @events end |
Class Method Details
.jsii_properties ⇒ Object
626 627 628 629 630 |
# File 'fsx/cfn_data_repository_association.rb', line 626 def self.jsii_properties { :events => "events", } end |
Instance Method Details
#to_jsii ⇒ Object
632 633 634 635 636 637 638 |
# File 'fsx/cfn_data_repository_association.rb', line 632 def to_jsii result = {} result.merge!({ "events" => @events, }) result.compact end |