Class CfnDatasetProps
Properties for defining a CfnDataset
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.DataBrew
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDatasetProps : Object, ICfnDatasetProps
Syntax (vb)
Public Class CfnDatasetProps
Inherits Object
Implements ICfnDatasetProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-databrew-dataset.html
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 cfnDatasetProps = new CfnDatasetProps {
Input = new InputProperty {
DatabaseInputDefinition = new DatabaseInputDefinitionProperty {
GlueConnectionName = "glueConnectionName",
// the properties below are optional
DatabaseTableName = "databaseTableName",
QueryString = "queryString",
TempDirectory = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
Key = "key"
}
},
DataCatalogInputDefinition = new DataCatalogInputDefinitionProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
TableName = "tableName",
TempDirectory = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
Key = "key"
}
},
Metadata = new MetadataProperty {
SourceArn = "sourceArn"
},
S3InputDefinition = new S3LocationProperty {
Bucket = "bucket",
// the properties below are optional
Key = "key"
}
},
Name = "name",
// the properties below are optional
Format = "format",
FormatOptions = new FormatOptionsProperty {
Csv = new CsvOptionsProperty {
Delimiter = "delimiter",
HeaderRow = false
},
Excel = new ExcelOptionsProperty {
HeaderRow = false,
SheetIndexes = new [] { 123 },
SheetNames = new [] { "sheetNames" }
},
Json = new JsonOptionsProperty {
MultiLine = false
}
},
PathOptions = new PathOptionsProperty {
FilesLimit = new FilesLimitProperty {
MaxFiles = 123,
// the properties below are optional
Order = "order",
OrderedBy = "orderedBy"
},
LastModifiedDateCondition = new FilterExpressionProperty {
Expression = "expression",
ValuesMap = new [] { new FilterValueProperty {
Value = "value",
ValueReference = "valueReference"
} }
},
Parameters = new [] { new PathParameterProperty {
DatasetParameter = new DatasetParameterProperty {
Name = "name",
Type = "type",
// the properties below are optional
CreateColumn = false,
DatetimeOptions = new DatetimeOptionsProperty {
Format = "format",
// the properties below are optional
LocaleCode = "localeCode",
TimezoneOffset = "timezoneOffset"
},
Filter = new FilterExpressionProperty {
Expression = "expression",
ValuesMap = new [] { new FilterValueProperty {
Value = "value",
ValueReference = "valueReference"
} }
}
},
PathParameterName = "pathParameterName"
} }
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnDatasetProps() |
Properties
Format | The file format of a dataset that is created from an Amazon S3 file or folder. |
FormatOptions | A set of options that define how DataBrew interprets the data in the dataset. |
Input | Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 . |
Name | The unique name of the dataset. |
PathOptions | A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset. |
Tags | Metadata tags that have been applied to the dataset. |
Constructors
CfnDatasetProps()
public CfnDatasetProps()
Properties
Format
The file format of a dataset that is created from an Amazon S3 file or folder.
public string Format { get; set; }
Property Value
System.String
Remarks
FormatOptions
A set of options that define how DataBrew interprets the data in the dataset.
public object FormatOptions { get; set; }
Property Value
System.Object
Remarks
Input
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3 .
public object Input { get; set; }
Property Value
System.Object
Remarks
Name
The unique name of the dataset.
public string Name { get; set; }
Property Value
System.String
Remarks
PathOptions
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
public object PathOptions { get; set; }
Property Value
System.Object
Remarks
Tags
Metadata tags that have been applied to the dataset.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]