@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:34.928Z") @Stability(value=Stable) public interface CfnLaunchProps 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.*;
CfnLaunchProps cfnLaunchProps = CfnLaunchProps.builder()
.groups(List.of(LaunchGroupObjectProperty.builder()
.feature("feature")
.groupName("groupName")
.variation("variation")
// the properties below are optional
.description("description")
.build()))
.name("name")
.project("project")
.scheduledSplitsConfig(List.of(StepConfigProperty.builder()
.groupWeights(List.of(GroupToWeightProperty.builder()
.groupName("groupName")
.splitWeight(123)
.build()))
.startTime("startTime")
// the properties below are optional
.segmentOverrides(List.of(SegmentOverrideProperty.builder()
.evaluationOrder(123)
.segment("segment")
.weights(List.of(GroupToWeightProperty.builder()
.groupName("groupName")
.splitWeight(123)
.build()))
.build()))
.build()))
// the properties below are optional
.description("description")
.executionStatus(ExecutionStatusObjectProperty.builder()
.status("status")
// the properties below are optional
.desiredState("desiredState")
.reason("reason")
.build())
.metricMonitors(List.of(MetricDefinitionObjectProperty.builder()
.entityIdKey("entityIdKey")
.eventPattern("eventPattern")
.metricName("metricName")
.valueKey("valueKey")
// the properties below are optional
.unitLabel("unitLabel")
.build()))
.randomizationSalt("randomizationSalt")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnLaunchProps.Builder
A builder for
CfnLaunchProps |
static class |
CfnLaunchProps.Jsii$Proxy
An implementation for
CfnLaunchProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnLaunchProps.Builder |
builder() |
default String |
getDescription()
An optional description for the launch.
|
default Object |
getExecutionStatus()
A structure that you can use to start and stop the launch.
|
Object |
getGroups()
An array of structures that contains the feature and variations that are to be used for the launch.
|
default Object |
getMetricMonitors()
An array of structures that define the metrics that will be used to monitor the launch performance.
|
String |
getName()
The name for the launch.
|
String |
getProject()
The name or ARN of the project that you want to create the launch in.
|
default String |
getRandomizationSalt()
When Evidently assigns a particular user session to a launch, it must use a randomization ID to determine which variation the user session is served.
|
Object |
getScheduledSplitsConfig()
An array of structures that define the traffic allocation percentages among the feature variations during each step of the launch.
|
default List<CfnTag> |
getTags()
Assigns one or more tags (key-value pairs) to the launch.
|
@Stability(value=Stable) @NotNull Object getGroups()
You can up to five launch groups in a launch.
@Stability(value=Stable) @NotNull String getName()
It can include up to 127 characters.
@Stability(value=Stable) @NotNull String getProject()
@Stability(value=Stable) @NotNull Object getScheduledSplitsConfig()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getExecutionStatus()
@Stability(value=Stable) @Nullable default Object getMetricMonitors()
You can have up to three metric monitors in the array.
@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 launch name as the randomizationsSalt .
@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 a launch.
For more information, see Tagging AWS resources .
@Stability(value=Stable) static CfnLaunchProps.Builder builder()
CfnLaunchProps.Builder of CfnLaunchPropsCopyright © 2022. All rights reserved.