interface DatetimeOptionsProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.DataBrew.CfnDataset.DatetimeOptionsProperty |
Java | software.amazon.awscdk.services.databrew.CfnDataset.DatetimeOptionsProperty |
Python | aws_cdk.aws_databrew.CfnDataset.DatetimeOptionsProperty |
TypeScript | @aws-cdk/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 * as databrew from '@aws-cdk/aws-databrew';
const datetimeOptionsProperty: databrew.CfnDataset.DatetimeOptionsProperty = {
format: 'format',
// the properties below are optional
localeCode: 'localeCode',
timezoneOffset: 'timezoneOffset',
};
Properties
Name | Type | Description |
---|---|---|
format | string | Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. |
locale | string | Optional value for a non-US locale code, needed for correct interpretation of some date formats. |
timezone | string | Optional 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.