Interface CfnExperimentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnExperimentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-23T05:56:17.135Z") @Stability(Stable) public interface CfnExperimentProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnExperiment.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.evidently.*;
 CfnExperimentProps cfnExperimentProps = CfnExperimentProps.builder()
         .metricGoals(List.of(MetricGoalObjectProperty.builder()
                 .desiredChange("desiredChange")
                 .entityIdKey("entityIdKey")
                 .metricName("metricName")
                 .valueKey("valueKey")
                 // the properties below are optional
                 .eventPattern("eventPattern")
                 .unitLabel("unitLabel")
                 .build()))
         .name("name")
         .onlineAbConfig(OnlineAbConfigObjectProperty.builder()
                 .controlTreatmentName("controlTreatmentName")
                 .treatmentWeights(List.of(TreatmentToWeightProperty.builder()
                         .splitWeight(123)
                         .treatment("treatment")
                         .build()))
                 .build())
         .project("project")
         .treatments(List.of(TreatmentObjectProperty.builder()
                 .feature("feature")
                 .treatmentName("treatmentName")
                 .variation("variation")
                 // the properties below are optional
                 .description("description")
                 .build()))
         // the properties below are optional
         .description("description")
         .randomizationSalt("randomizationSalt")
         .removeSegment(false)
         .runningStatus(RunningStatusObjectProperty.builder()
                 .status("status")
                 // the properties below are optional
                 .analysisCompleteTime("analysisCompleteTime")
                 .desiredState("desiredState")
                 .reason("reason")
                 .build())
         .samplingRate(123)
         .segment("segment")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnExperimentProps
    static final class 
    An implementation for CfnExperimentProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default String
    An optional description of the experiment.
    An array of structures that defines the metrics used for the experiment, and whether a higher or lower value for each metric is the goal.
    A name for the new experiment.
    A structure that contains the configuration of which variation to use as the "control" version.
    The name or the ARN of the project where this experiment is to be created.
    default String
    When Evidently assigns a particular user session to an experiment, it must use a randomization ID to determine which variation the user session is served.
    default Object
    Set this to true to remove the segment that is associated with this experiment.
    default Object
    A structure that you can use to start and stop the experiment.
    default Number
    The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
    default String
    Specifies an audience segment to use in the experiment.
    default List<CfnTag>
    Assigns one or more tags (key-value pairs) to the experiment.
    An array of structures that describe the configuration of each feature variation used in the experiment.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson