Interface ICfnPartitionProps
Properties for defining a CfnPartition
.
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnPartitionProps
Syntax (vb)
Public Interface ICfnPartitionProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-partition.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 cfnPartitionProps = new CfnPartitionProps {
CatalogId = "catalogId",
DatabaseName = "databaseName",
PartitionInput = new PartitionInputProperty {
Values = new [] { "values" },
// the properties below are optional
Parameters = parameters,
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",
// the properties below are optional
SortOrder = 123
} },
StoredAsSubDirectories = false
}
},
TableName = "tableName"
};
Synopsis
Properties
CatalogId | The AWS account ID of the catalog in which the partion is to be created. |
DatabaseName | The name of the catalog database in which to create the partition. |
PartitionInput | The structure used to create and update a partition. |
TableName | The name of the metadata table in which the partition is to be created. |
Properties
CatalogId
The AWS account ID of the catalog in which the partion is to be created.
string CatalogId { get; }
Property Value
System.String
Remarks
To specify the account ID, you can use the Ref
intrinsic function with the AWS::AccountId
pseudo parameter. For example: !Ref AWS::AccountId
DatabaseName
The name of the catalog database in which to create the partition.
string DatabaseName { get; }
Property Value
System.String
Remarks
PartitionInput
The structure used to create and update a partition.
object PartitionInput { get; }
Property Value
System.Object
Remarks
TableName
The name of the metadata table in which the partition is to be created.
string TableName { get; }
Property Value
System.String