@Stability(value=Stable)
public static interface CfnDataRepositoryAssociation.AutoImportPolicyProperty
extends software.amazon.jsii.JsiiSerializable
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 supported only for Amazon FSx for Lustre file systems with the Persistent_2 deployment type.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
AutoImportPolicyProperty autoImportPolicyProperty = AutoImportPolicyProperty.builder()
.events(List.of("events"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder
A builder for
CfnDataRepositoryAssociation.AutoImportPolicyProperty |
static class |
CfnDataRepositoryAssociation.AutoImportPolicyProperty.Jsii$Proxy
An implementation for
CfnDataRepositoryAssociation.AutoImportPolicyProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder |
builder() |
List<String> |
getEvents()
The `AutoImportPolicy` can have the following event values:.
|
@Stability(value=Stable) @NotNull List<String> getEvents()
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 .
@Stability(value=Stable) static CfnDataRepositoryAssociation.AutoImportPolicyProperty.Builder builder()
Copyright © 2022. All rights reserved.