Interface ICfnTableProps
Properties for defining a CfnTable
.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTableProps
Syntax (vb)
Public Interface ICfnTableProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-table.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.Glue;
var parameters;
var skewedColumnValueLocationMaps;
var cfnTableProps = new CfnTableProps {
CatalogId = "catalogId",
DatabaseName = "databaseName",
TableInput = new TableInputProperty {
Description = "description",
Name = "name",
Owner = "owner",
Parameters = parameters,
PartitionKeys = new [] { new ColumnProperty {
Name = "name",
// the properties below are optional
Comment = "comment",
Type = "type"
} },
Retention = 123,
StorageDescriptor = new StorageDescriptorProperty {
BucketColumns = new [] { "bucketColumns" },
Columns = new [] { new ColumnProperty {
Name = "name",
// the properties below are optional
Comment = "comment",
Type = "type"
} },
Compressed = false,
InputFormat = "inputFormat",
Location = "location",
NumberOfBuckets = 123,
OutputFormat = "outputFormat",
Parameters = parameters,
SchemaReference = new SchemaReferenceProperty {
SchemaId = new SchemaIdProperty {
RegistryName = "registryName",
SchemaArn = "schemaArn",
SchemaName = "schemaName"
},
SchemaVersionId = "schemaVersionId",
SchemaVersionNumber = 123
},
SerdeInfo = new SerdeInfoProperty {
Name = "name",
Parameters = parameters,
SerializationLibrary = "serializationLibrary"
},
SkewedInfo = new SkewedInfoProperty {
SkewedColumnNames = new [] { "skewedColumnNames" },
SkewedColumnValueLocationMaps = skewedColumnValueLocationMaps,
SkewedColumnValues = new [] { "skewedColumnValues" }
},
SortColumns = new [] { new OrderProperty {
Column = "column",
SortOrder = 123
} },
StoredAsSubDirectories = false
},
TableType = "tableType",
TargetTable = new TableIdentifierProperty {
CatalogId = "catalogId",
DatabaseName = "databaseName",
Name = "name",
Region = "region"
},
ViewExpandedText = "viewExpandedText",
ViewOriginalText = "viewOriginalText"
},
// the properties below are optional
OpenTableFormatInput = new OpenTableFormatInputProperty {
IcebergInput = new IcebergInputProperty {
MetadataOperation = "metadataOperation",
Version = "version"
}
}
};
Synopsis
Properties
CatalogId | The ID of the Data Catalog in which to create the |
DatabaseName | The name of the database where the table metadata resides. |
OpenTableFormatInput | Specifies an |
TableInput | A structure used to define a table. |
Properties
CatalogId
The ID of the Data Catalog in which to create the Table
.
string CatalogId { get; }
Property Value
System.String
Remarks
DatabaseName
The name of the database where the table metadata resides.
string DatabaseName { get; }
Property Value
System.String
Remarks
For Hive compatibility, this must be all lowercase.
OpenTableFormatInput
Specifies an OpenTableFormatInput
structure when creating an open format table.
virtual object OpenTableFormatInput { get; }
Property Value
System.Object
Remarks
TableInput
A structure used to define a table.
object TableInput { get; }
Property Value
System.Object