FilesLimitProperty Struct
Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew
files_limit_property = databrew.CfnDataset.FilesLimitProperty(
max_files=123,
# the properties below are optional
order="order",
ordered_by="orderedBy"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
FilesLimitProperty filesLimitProperty = FilesLimitProperty.builder()
.maxFiles(123)
// the properties below are optional
.order("order")
.orderedBy("orderedBy")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;
var filesLimitProperty = new FilesLimitProperty {
MaxFiles = 123,
// the properties below are optional
Order = "order",
OrderedBy = "orderedBy"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
filesLimitProperty := &FilesLimitProperty{
MaxFiles: jsii.Number(123),
// the properties below are optional
Order: jsii.String("order"),
OrderedBy: jsii.String("orderedBy"),
}
Properties
The number of Amazon S3 files to select.
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.
orderedByoptionalstringordered_byoptionalstrorderedByoptionalStringOrderedByoptionalstringOrderedByoptional*string#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.