View a markdown version of this page

Treatment - Amazon AppConfig
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Treatment

Describes a treatment in an experiment, including its traffic allocation weight and feature flag value.

Contents

FlagValue

The feature flag value served to users assigned to this treatment.

Type: FlagValue object

Required: Yes

Weight

The traffic allocation weight for this treatment.

Type: Float

Valid Range: Minimum value of 0.0.

Required: Yes

Description

A description of the treatment.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

Key

The unique key that identifies this treatment.

Type: String

Pattern: ^[a-zA-Z0-9]{1,8}

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: