# PathOptionsProperty

Represents a set of options that define how DataBrew selects files for a given Amazon S3 path in a dataset.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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 pathOptionsProperty: databrew.CfnDataset.PathOptionsProperty = {
  filesLimit: {
    maxFiles: 123,

    // the properties below are optional
    order: 'order',
    orderedBy: 'orderedBy',
  },
  lastModifiedDateCondition: {
    expression: 'expression',
    valuesMap: [{
      value: 'value',
      valueReference: 'valueReference',
    }],
  },
  parameters: [{
    datasetParameter: {
      name: 'name',
      type: 'type',

      // the properties below are optional
      createColumn: false,
      datetimeOptions: {
        format: 'format',

        // the properties below are optional
        localeCode: 'localeCode',
        timezoneOffset: 'timezoneOffset',
      },
      filter: {
        expression: 'expression',
        valuesMap: [{
          value: 'value',
          valueReference: 'valueReference',
        }],
      },
    },
    pathParameterName: 'pathParameterName',
  }],
};
```

## Properties

- `filesLimit`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataset.FilesLimitProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnDataset.FilesLimitProperty.html) — If provided, this structure imposes a limit on a number of files that should be selected.

- `lastModifiedDateCondition`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataset.FilterExpressionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnDataset.FilterExpressionProperty.html) — If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .

- `parameters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataset.PathParameterProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnDataset.PathParameterProperty.html)[] — A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.
