aws-cdk-lib.aws_databrew.CfnDataset.FilesLimitProperty

interface FilesLimitProperty

LanguageType name
.NETAmazon.CDK.AWS.DataBrew.CfnDataset.FilesLimitProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsdatabrew#CfnDataset_FilesLimitProperty
Javasoftware.amazon.awscdk.services.databrew.CfnDataset.FilesLimitProperty
Pythonaws_cdk.aws_databrew.CfnDataset.FilesLimitProperty
TypeScript aws-cdk-lib » aws_databrew » CfnDataset » FilesLimitProperty

Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const filesLimitProperty: databrew.CfnDataset.FilesLimitProperty = {
  maxFiles: 123,

  // the properties below are optional
  order: 'order',
  orderedBy: 'orderedBy',
};

Properties

NameTypeDescription
maxFilesnumberThe number of Amazon S3 files to select.
order?stringA criteria to use for Amazon S3 files sorting before their selection.
orderedBy?stringA criteria to use for Amazon S3 files sorting before their selection.

maxFiles

Type: number

The number of Amazon S3 files to select.


order?

Type: string (optional)

A criteria to use for Amazon S3 files sorting before their selection.

By default uses DESCENDING order, i.e. most recent files are selected first. Anotherpossible value is ASCENDING.


orderedBy?

Type: string (optional)

A criteria to use for Amazon S3 files sorting before their selection.

By default uses LAST_MODIFIED_DATE as a sorting criteria. Currently it's the only allowed value.