@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.352Z") @Stability(value=Stable) public interface CfnExperimentProps extends software.amazon.jsii.JsiiSerializable
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")
.eventPattern("eventPattern")
.metricName("metricName")
.valueKey("valueKey")
// the properties below are optional
.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()
.analysisCompleteTime("analysisCompleteTime")
.desiredState("desiredState")
.reason("reason")
.status("status")
.build())
.samplingRate(123)
.segment("segment")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnExperimentProps.Builder
A builder for
CfnExperimentProps |
static class |
CfnExperimentProps.Jsii$Proxy
An implementation for
CfnExperimentProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnExperimentProps.Builder |
builder() |
default String |
getDescription()
An optional description of the experiment.
|
Object |
getMetricGoals()
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.
|
String |
getName()
A name for the new experiment.
|
Object |
getOnlineAbConfig()
A structure that contains the configuration of which variation to use as the "control" version.
|
String |
getProject()
The name or the ARN of the project where this experiment is to be created.
|
default String |
getRandomizationSalt()
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 |
getRemoveSegment()
`AWS::Evidently::Experiment.RemoveSegment`.
|
default Object |
getRunningStatus()
A structure that you can use to start and stop the experiment.
|
default Number |
getSamplingRate()
The portion of the available audience that you want to allocate to this experiment, in thousandths of a percent.
|
default String |
getSegment()
`AWS::Evidently::Experiment.Segment`.
|
default List<CfnTag> |
getTags()
Assigns one or more tags (key-value pairs) to the experiment.
|
Object |
getTreatments()
An array of structures that describe the configuration of each feature variation used in the experiment.
|
@Stability(value=Stable) @NotNull Object getMetricGoals()
You can use up to three metrics in an experiment.
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull Object getOnlineAbConfig()
The "control" version is used for comparison with other variations. This structure also specifies how much experiment traffic is allocated to each variation.
@Stability(value=Stable) @NotNull String getProject()
@Stability(value=Stable) @NotNull Object getTreatments()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default String getRandomizationSalt()
This randomization ID is a combination of the entity ID and randomizationSalt . If you omit randomizationSalt , Evidently uses the experiment name as the randomizationSalt .
@Stability(value=Stable) @Nullable default Object getRemoveSegment()
@Stability(value=Stable) @Nullable default Object getRunningStatus()
@Stability(value=Stable) @Nullable default Number getSamplingRate()
The available audience is the total audience minus the audience that you have allocated to overrides or current launches of this feature.
This is represented in thousandths of a percent. For example, specify 10,000 to allocate 10% of the available audience.
@Stability(value=Stable) @Nullable default String getSegment()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to AWS and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with an experiment.
For more information, see Tagging AWS resources .
@Stability(value=Stable) static CfnExperimentProps.Builder builder()
CfnExperimentProps.Builder of CfnExperimentPropsCopyright © 2022. All rights reserved.