aws-cdk-lib.aws_databrew.CfnDataset.DatetimeOptionsProperty

interface DatetimeOptionsProperty

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

Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of 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 datetimeOptionsProperty: databrew.CfnDataset.DatetimeOptionsProperty = {
  format: 'format',

  // the properties below are optional
  localeCode: 'localeCode',
  timezoneOffset: 'timezoneOffset',
};

Properties

NameTypeDescription
formatstringRequired option, that defines the datetime format used for a date parameter in the Amazon S3 path.
localeCode?stringOptional value for a non-US locale code, needed for correct interpretation of some date formats.
timezoneOffset?stringOptional value for a timezone offset of the datetime parameter value in the Amazon S3 path.

format

Type: string

Required option, that defines the datetime format used for a date parameter in the Amazon S3 path.

Should use only supported datetime specifiers and separation characters, all litera a-z or A-Z character should be escaped with single quotes. E.g. "MM.dd.yyyy-'at'-HH:mm".


localeCode?

Type: string (optional)

Optional value for a non-US locale code, needed for correct interpretation of some date formats.


timezoneOffset?

Type: string (optional)

Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path.

Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.