Class CfnDataset.DatetimeOptionsProperty
Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.AWS.DataBrew.dll
Syntax (csharp)
public class DatetimeOptionsProperty : Object, CfnDataset.IDatetimeOptionsProperty
Syntax (vb)
Public Class DatetimeOptionsProperty
Inherits Object
Implements CfnDataset.IDatetimeOptionsProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// 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 datetimeOptionsProperty = new DatetimeOptionsProperty {
Format = "format",
// the properties below are optional
LocaleCode = "localeCode",
TimezoneOffset = "timezoneOffset"
};
Synopsis
Constructors
DatetimeOptionsProperty() |
Properties
Format | Required option, that defines the datetime format used for a date parameter in the Amazon S3 path. |
LocaleCode | Optional value for a non-US locale code, needed for correct interpretation of some date formats. |
TimezoneOffset | Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path. |
Constructors
DatetimeOptionsProperty()
public DatetimeOptionsProperty()
Properties
Format
Required option, that defines the datetime format used for a date parameter in the Amazon S3 path.
public string Format { get; set; }
Property Value
System.String
Remarks
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
Optional value for a non-US locale code, needed for correct interpretation of some date formats.
public string LocaleCode { get; set; }
Property Value
System.String
Remarks
TimezoneOffset
Optional value for a timezone offset of the datetime parameter value in the Amazon S3 path.
public string TimezoneOffset { get; set; }
Property Value
System.String
Remarks
Shouldn't be used if Format for this parameter includes timezone fields. If no offset specified, UTC is assumed.