Class CfnDeliveryStreamPropsMixin.PartitionSpecProperty
Represents how to produce partition data for a table.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.KinesisFirehose.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDeliveryStreamPropsMixin.PartitionSpecProperty : CfnDeliveryStreamPropsMixin.IPartitionSpecProperty
Syntax (vb)
Public Class CfnDeliveryStreamPropsMixin.PartitionSpecProperty Implements CfnDeliveryStreamPropsMixin.IPartitionSpecProperty
Remarks
Partition data is produced by transforming columns in a table. Each column transform is represented by a named PartitionField .
Here is an example of the schema in JSON.
"partitionSpec": { "identity": [ {"sourceName": "column1"}, {"sourceName": "column2"}, {"sourceName": "column3"} ] }
Amazon Data Firehose is in preview release and is subject to change.
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.Mixins.Preview.AWS.KinesisFirehose.Mixins;
var partitionSpecProperty = new PartitionSpecProperty {
Identity = new [] { new PartitionFieldProperty {
SourceName = "sourceName"
} }
};
Synopsis
Constructors
| PartitionSpecProperty() | Represents how to produce partition data for a table. |
Properties
| Identity | List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type. |
Constructors
PartitionSpecProperty()
Represents how to produce partition data for a table.
public PartitionSpecProperty()
Remarks
Partition data is produced by transforming columns in a table. Each column transform is represented by a named PartitionField .
Here is an example of the schema in JSON.
"partitionSpec": { "identity": [ {"sourceName": "column1"}, {"sourceName": "column2"}, {"sourceName": "column3"} ] }
Amazon Data Firehose is in preview release and is subject to change.
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.Mixins.Preview.AWS.KinesisFirehose.Mixins;
var partitionSpecProperty = new PartitionSpecProperty {
Identity = new [] { new PartitionFieldProperty {
SourceName = "sourceName"
} }
};
Properties
Identity
List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.
public object? Identity { get; set; }
Property Value
Remarks
Amazon Data Firehose is in preview release and is subject to change.
Type union: either IResolvable or (either IResolvable or CfnDeliveryStreamPropsMixin.IPartitionFieldProperty)[]