aws-cdk-lib.aws_databrew.CfnDataset.PathOptionsProperty

interface PathOptionsProperty

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

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

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 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

NameTypeDescription
filesLimit?IResolvable | FilesLimitPropertyIf provided, this structure imposes a limit on a number of files that should be selected.
lastModifiedDateCondition?IResolvable | FilterExpressionPropertyIf provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .
parameters?IResolvable | IResolvable | PathParameterProperty[]A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.

filesLimit?

Type: IResolvable | FilesLimitProperty (optional)

If provided, this structure imposes a limit on a number of files that should be selected.


lastModifiedDateCondition?

Type: IResolvable | FilterExpressionProperty (optional)

If provided, this structure defines a date range for matching Amazon S3 objects based on their LastModifiedDate attribute in Amazon S3 .


parameters?

Type: IResolvable | IResolvable | PathParameterProperty[] (optional)

A structure that maps names of parameters used in the Amazon S3 path of a dataset to their definitions.