Builder

class Builder

Properties

Link copied to clipboard

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

Link copied to clipboard

The description of the A/B test.

Link copied to clipboard

Whether to enable the A/B test immediately upon creation. If true, traffic splitting begins automatically.

Link copied to clipboard

The evaluation configuration specifying which online evaluation configurations to use for measuring variant performance.

Link copied to clipboard

The Amazon Resource Name (ARN) of the gateway to use for traffic splitting.

Link copied to clipboard

Optional filter to restrict which gateway target paths are included in the A/B test.

Link copied to clipboard
var name: String?

The name of the A/B test. Must be unique within your account.

Link copied to clipboard

The IAM role ARN that grants permissions for the A/B test to access gateway and evaluation resources.

Link copied to clipboard

The list of variants for the A/B test. Must contain exactly two variants: a control (C) and a treatment (T1), each with a configuration bundle or target reference and a traffic weight.

Functions

Link copied to clipboard