Skip to content
v2.278.0

ProfileConfigurationProperty Struct ​

Configuration for profile jobs.

Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported 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 profileConfigurationProperty: databrew.CfnJob.ProfileConfigurationProperty = {
  columnStatisticsConfigurations: [{
    statistics: {
      includedStatistics: ['includedStatistics'],
      overrides: [{
        parameters: {
          parametersKey: 'parameters',
        },
        statistic: 'statistic',
      }],
    },

    // the properties below are optional
    selectors: [{
      name: 'name',
      regex: 'regex',
    }],
  }],
  datasetStatisticsConfiguration: {
    includedStatistics: ['includedStatistics'],
    overrides: [{
      parameters: {
        parametersKey: 'parameters',
      },
      statistic: 'statistic',
    }],
  },
  entityDetectorConfiguration: {
    entityTypes: ['entityTypes'],

    // the properties below are optional
    allowedStatistics: {
      statistics: ['statistics'],
    },
  },
  profileColumns: [{
    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

profile_configuration_property = databrew.CfnJob.ProfileConfigurationProperty(
    column_statistics_configurations=[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"
        )]
    )],
    dataset_statistics_configuration=databrew.CfnJob.StatisticsConfigurationProperty(
        included_statistics=["includedStatistics"],
        overrides=[databrew.CfnJob.StatisticOverrideProperty(
            parameters={
                "parameters_key": "parameters"
            },
            statistic="statistic"
        )]
    ),
    entity_detector_configuration=databrew.CfnJob.EntityDetectorConfigurationProperty(
        entity_types=["entityTypes"],

        # the properties below are optional
        allowed_statistics=databrew.CfnJob.AllowedStatisticsProperty(
            statistics=["statistics"]
        )
    ),
    profile_columns=[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.*;

ProfileConfigurationProperty profileConfigurationProperty = ProfileConfigurationProperty.builder()
        .columnStatisticsConfigurations(List.of(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()))
        .datasetStatisticsConfiguration(StatisticsConfigurationProperty.builder()
                .includedStatistics(List.of("includedStatistics"))
                .overrides(List.of(StatisticOverrideProperty.builder()
                        .parameters(Map.of(
                                "parametersKey", "parameters"))
                        .statistic("statistic")
                        .build()))
                .build())
        .entityDetectorConfiguration(EntityDetectorConfigurationProperty.builder()
                .entityTypes(List.of("entityTypes"))

                // the properties below are optional
                .allowedStatistics(AllowedStatisticsProperty.builder()
                        .statistics(List.of("statistics"))
                        .build())
                .build())
        .profileColumns(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 profileConfigurationProperty = new ProfileConfigurationProperty {
    ColumnStatisticsConfigurations = new [] { 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"
        } }
    } },
    DatasetStatisticsConfiguration = new StatisticsConfigurationProperty {
        IncludedStatistics = new [] { "includedStatistics" },
        Overrides = new [] { new StatisticOverrideProperty {
            Parameters = new Dictionary<string, string> {
                { "parametersKey", "parameters" }
            },
            Statistic = "statistic"
        } }
    },
    EntityDetectorConfiguration = new EntityDetectorConfigurationProperty {
        EntityTypes = new [] { "entityTypes" },

        // the properties below are optional
        AllowedStatistics = new AllowedStatisticsProperty {
            Statistics = new [] { "statistics" }
        }
    },
    ProfileColumns = 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"

profileConfigurationProperty := &ProfileConfigurationProperty{
	ColumnStatisticsConfigurations: []interface{}{
		&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"),
				},
			},
		},
	},
	DatasetStatisticsConfiguration: &StatisticsConfigurationProperty{
		IncludedStatistics: []*string{
			jsii.String("includedStatistics"),
		},
		Overrides: []interface{}{
			&StatisticOverrideProperty{
				Parameters: map[string]*string{
					"parametersKey": jsii.String("parameters"),
				},
				Statistic: jsii.String("statistic"),
			},
		},
	},
	EntityDetectorConfiguration: &EntityDetectorConfigurationProperty{
		EntityTypes: []*string{
			jsii.String("entityTypes"),
		},

		// the properties below are optional
		AllowedStatistics: &AllowedStatisticsProperty{
			Statistics: []*string{
				jsii.String("statistics"),
			},
		},
	},
	ProfileColumns: []interface{}{
		&ColumnSelectorProperty{
			Name: jsii.String("name"),
			Regex: jsii.String("regex"),
		},
	},
}

Properties ​

columnStatisticsConfigurationsoptionalIResolvable | IResolvable | CfnJob.ColumnStatisticsConfigurationProperty[]column_statistics_configurationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnStatisticsConfigurationProperty]]]columnStatisticsConfigurationsoptionalIResolvableColumnStatisticsConfigurationsoptionalIResolvableColumnStatisticsConfigurationsoptionalinterface{} #
List of configurations for column evaluations.
notes

ColumnStatisticsConfigurations are used to select evaluations and override parameters of evaluations for particular columns. When ColumnStatisticsConfigurations is undefined, the profile job will profile all supported columns and run all supported evaluations.

datasetStatisticsConfigurationoptionalIResolvable | CfnJob.StatisticsConfigurationPropertydataset_statistics_configurationoptionaltyping.Union[IResolvable, StatisticsConfigurationProperty]datasetStatisticsConfigurationoptionalIResolvableDatasetStatisticsConfigurationoptionalIResolvableDatasetStatisticsConfigurationoptionalinterface{} #
Configuration for inter-column evaluations.

Configuration can be used to select evaluations and override parameters of evaluations. When configuration is undefined, the profile job will run all supported inter-column evaluations.

entityDetectorConfigurationoptionalIResolvable | CfnJob.EntityDetectorConfigurationPropertyentity_detector_configurationoptionaltyping.Union[IResolvable, EntityDetectorConfigurationProperty]entityDetectorConfigurationoptionalIResolvableEntityDetectorConfigurationoptionalIResolvableEntityDetectorConfigurationoptionalinterface{} #
Configuration of entity detection for a profile job.

When undefined, entity detection is disabled.

profileColumnsoptionalIResolvable | IResolvable | CfnJob.ColumnSelectorProperty[]profile_columnsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ColumnSelectorProperty]]]profileColumnsoptionalIResolvableProfileColumnsoptionalIResolvableProfileColumnsoptionalinterface{} #
List of column selectors.

ProfileColumns can be used to select columns from the dataset. When ProfileColumns is undefined, the profile job will profile all supported columns.