# AWS::Evidently Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as evidently from 'aws-cdk-lib/aws-evidently';
```

Python:

```python
import aws_cdk.aws_evidently as evidently
```

Java:

```java
import software.amazon.awscdk.services.evidently.*;
```

C#:

```csharp
using Amazon.CDK.AWS.Evidently;
```

Go:

```go
import evidently "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for Evidently construct libraries](https://constructs.dev/search?q=evidently)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::Evidently resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Evidently.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::Evidently](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Evidently.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnExperiment`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.html) Construct (L1) Creates or updates an Evidently *experiment* .
- [`CfnFeature`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnFeature.html) Construct (L1) Creates or updates an Evidently *feature* that you want to launch or test.
- [`CfnLaunch`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.html) Construct (L1) Creates or updates a *launch* of a given feature.
- [`CfnProject`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnProject.html) Construct (L1) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments.
- [`CfnSegment`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnSegment.html) Construct (L1) Creates or updates a *segment* of your audience.

### Structs

- [`CfnExperiment.MetricGoalObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.MetricGoalObjectProperty.html) Struct Use this structure to tell Evidently whether higher or lower values are desired for a metric that is used in an experiment.
- [`CfnExperiment.OnlineAbConfigObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.OnlineAbConfigObjectProperty.html) Struct A structure that contains the configuration of which variation to use as the "control" version.
- [`CfnExperiment.RunningStatusObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.RunningStatusObjectProperty.html) Struct Use this structure to start and stop the experiment.
- [`CfnExperiment.TreatmentObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.TreatmentObjectProperty.html) Struct A structure that defines one treatment in an experiment.
- [`CfnExperiment.TreatmentToWeightProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperiment.TreatmentToWeightProperty.html) Struct This structure defines how much experiment traffic to allocate to one treatment used in the experiment.
- [`CfnExperimentProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnExperimentProps.html) Struct Properties for defining a `CfnExperiment`.
- [`CfnFeature.EntityOverrideProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnFeature.EntityOverrideProperty.html) Struct A set of key-value pairs that specify users who should always be served a specific variation of a feature.
- [`CfnFeature.VariationObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnFeature.VariationObjectProperty.html) Struct This structure contains the name and variation value of one variation of a feature.
- [`CfnFeatureProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnFeatureProps.html) Struct Properties for defining a `CfnFeature`.
- [`CfnLaunch.ExecutionStatusObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.ExecutionStatusObjectProperty.html) Struct Use this structure to start and stop the launch.
- [`CfnLaunch.GroupToWeightProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.GroupToWeightProperty.html) Struct A structure containing the percentage of launch traffic to allocate to one launch group.
- [`CfnLaunch.LaunchGroupObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.LaunchGroupObjectProperty.html) Struct A structure that defines one launch group in a launch.
- [`CfnLaunch.MetricDefinitionObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.MetricDefinitionObjectProperty.html) Struct This structure defines a metric that you want to use to evaluate the variations during a launch or experiment.
- [`CfnLaunch.SegmentOverrideProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.SegmentOverrideProperty.html) Struct Use this structure to specify different traffic splits for one or more audience *segments* .
- [`CfnLaunch.StepConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunch.StepConfigProperty.html) Struct A structure that defines when each step of the launch is to start, and how much launch traffic is to be allocated to each variation during each step.
- [`CfnLaunchProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnLaunchProps.html) Struct Properties for defining a `CfnLaunch`.
- [`CfnProject.AppConfigResourceObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnProject.AppConfigResourceObjectProperty.html) Struct This is a structure that defines the configuration of how your application integrates with AWS AppConfig to run client-side evaluation.
- [`CfnProject.DataDeliveryObjectProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnProject.DataDeliveryObjectProperty.html) Struct A structure that contains information about where Evidently is to store evaluation events for longer term storage.
- [`CfnProject.S3DestinationProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnProject.S3DestinationProperty.html) Struct If the project stores evaluation events in an Amazon S3 bucket, this structure stores the bucket name and bucket prefix.
- [`CfnProjectProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnProjectProps.html) Struct Properties for defining a `CfnProject`.
- [`CfnSegmentProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_evidently.CfnSegmentProps.html) Struct Properties for defining a `CfnSegment`.
