# VariationObjectProperty

This structure contains the name and variation value of one variation of a feature.

It can contain only one of the following parameters: `BooleanValue` , `DoubleValue` , `LongValue` or `StringValue` .

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as evidently } from 'aws-cdk-lib';
const variationObjectProperty: evidently.CfnFeature.VariationObjectProperty = {
  variationName: 'variationName',

  // the properties below are optional
  booleanValue: false,
  doubleValue: 123,
  longValue: 123,
  stringValue: 'stringValue',
};
```

## Properties

- `booleanValue`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — The value assigned to this variation, if the variation type is boolean.

- `doubleValue`: number — The value assigned to this variation, if the variation type is a double.

- `longValue`: number — The value assigned to this variation, if the variation type is a long.

- `stringValue`: string — The value assigned to this variation, if the variation type is a string.

- `variationName`: string (required) — A name for the variation.

  It can include up to 127 characters.
