Skip to content
v2.278.0

SampleProperty Struct ​

Represents the sample size and sampling type for DataBrew to use for interactive data analysis.

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 sampleProperty: databrew.CfnProject.SampleProperty = {
  type: 'type',

  // the properties below are optional
  size: 123,
};
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

sample_property = databrew.CfnProject.SampleProperty(
    type="type",

    # the properties below are optional
    size=123
)
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.*;

SampleProperty sampleProperty = SampleProperty.builder()
        .type("type")

        // the properties below are optional
        .size(123)
        .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 sampleProperty = new SampleProperty {
    Type = "type",

    // the properties below are optional
    Size = 123
};
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"

sampleProperty := &SampleProperty{
	Type: jsii.String("type"),

	// the properties below are optional
	Size: jsii.Number(123),
}

Properties ​

sizeoptionalnumbersizeoptionalint | floatsizeoptionalNumberSizeoptionaldoubleSizeoptional*float64 #
The number of rows in the sample.
typestringtypestrtypeStringTypestringType*string required #
The way in which DataBrew obtains rows from a dataset.