# SampleProperty

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

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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
};
```

Golang:

```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

- `size`: number — The number of rows in the sample.

- `type`: string (required) — The way in which DataBrew obtains rows from a dataset.
