View a markdown version of this page

AWS::S3Files::FileSystem ImportDataRule - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::S3Files::FileSystem ImportDataRule

Specifies a rule that controls how data is imported from S3 into the file system.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Prefix" : String, "SizeLessThan" : Integer, "Trigger" : String }

YAML

Prefix: String SizeLessThan: Integer Trigger: String

Properties

Prefix

The S3 key prefix that scopes this import rule. Only objects with keys beginning with this prefix are subject to the rule.

Required: Yes

Type: String

Pattern: ^(|.*/)$

Minimum: 0

Maximum: 1024

Update requires: No interruption

SizeLessThan

The upper size limit in bytes for this import rule. Only objects with a size strictly less than this value will have data imported into the file system.

Required: Yes

Type: Integer

Minimum: 0

Maximum: 52673613135872

Update requires: No interruption

Trigger

The event that triggers data import. Valid values are ON_DIRECTORY_FIRST_ACCESS (import when a directory is first accessed) and ON_FILE_ACCESS (import when a file is accessed).

Required: Yes

Type: String

Allowed values: ON_DIRECTORY_FIRST_ACCESS | ON_FILE_ACCESS

Update requires: No interruption