ColumnStatisticsConfigurationProperty Struct
Configuration for column evaluations for a profile job.
ColumnStatisticsConfiguration can be used to select evaluations and override parameters of evaluations for particular columns.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const columnStatisticsConfigurationProperty: databrew.CfnJob.ColumnStatisticsConfigurationProperty = {
statistics: {
includedStatistics: ['includedStatistics'],
overrides: [{
parameters: {
parametersKey: 'parameters',
},
statistic: 'statistic',
}],
},
// the properties below are optional
selectors: [{
name: 'name',
regex: 'regex',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew
column_statistics_configuration_property = databrew.CfnJob.ColumnStatisticsConfigurationProperty(
statistics=databrew.CfnJob.StatisticsConfigurationProperty(
included_statistics=["includedStatistics"],
overrides=[databrew.CfnJob.StatisticOverrideProperty(
parameters={
"parameters_key": "parameters"
},
statistic="statistic"
)]
),
# the properties below are optional
selectors=[databrew.CfnJob.ColumnSelectorProperty(
name="name",
regex="regex"
)]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;
ColumnStatisticsConfigurationProperty columnStatisticsConfigurationProperty = ColumnStatisticsConfigurationProperty.builder()
.statistics(StatisticsConfigurationProperty.builder()
.includedStatistics(List.of("includedStatistics"))
.overrides(List.of(StatisticOverrideProperty.builder()
.parameters(Map.of(
"parametersKey", "parameters"))
.statistic("statistic")
.build()))
.build())
// the properties below are optional
.selectors(List.of(ColumnSelectorProperty.builder()
.name("name")
.regex("regex")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 columnStatisticsConfigurationProperty = new ColumnStatisticsConfigurationProperty {
Statistics = new StatisticsConfigurationProperty {
IncludedStatistics = new [] { "includedStatistics" },
Overrides = new [] { new StatisticOverrideProperty {
Parameters = new Dictionary<string, string> {
{ "parametersKey", "parameters" }
},
Statistic = "statistic"
} }
},
// the properties below are optional
Selectors = new [] { new ColumnSelectorProperty {
Name = "name",
Regex = "regex"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
columnStatisticsConfigurationProperty := &ColumnStatisticsConfigurationProperty{
Statistics: &StatisticsConfigurationProperty{
IncludedStatistics: []*string{
jsii.String("includedStatistics"),
},
Overrides: []interface{}{
&StatisticOverrideProperty{
Parameters: map[string]*string{
"parametersKey": jsii.String("parameters"),
},
Statistic: jsii.String("statistic"),
},
},
},
// the properties below are optional
Selectors: []interface{}{
&ColumnSelectorProperty{
Name: jsii.String("name"),
Regex: jsii.String("regex"),
},
},
}
Properties
selectorsoptionalIResolvable | IResolvable | CfnJob.ColumnSelectorProperty[]selectorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnSelectorProperty]]]selectorsoptionalIResolvableSelectorsoptionalIResolvableSelectorsoptionalinterface{}#List of column selectors.
Selectors can be used to select columns from the dataset. When selectors are undefined, configuration will be applied to all supported columns.
statisticsIResolvable | CfnJob.StatisticsConfigurationPropertystatisticstyping.Union[IResolvable, StatisticsConfigurationProperty]statisticsIResolvableStatisticsIResolvableStatisticsinterface{}required#Configuration for evaluations.
Statistics can be used to select evaluations and override parameters of evaluations.