import { Value } from '../../cloudformation/Value';
import { EntityOverrideProps } from './feature/EntityOverrideProps';
import { VariationObjectProps } from './feature/VariationObjectProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type FeatureAttributes = {
    Arn: Attribute<string>;
};
export type Feature = AwsResource<'AWS::Evidently::Feature', FeatureProperties, FeatureAttributes>;
/**
  Creates or updates an Evidently <em>feature</em> that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html">the AWS Docs</a>
*/
export declare function feature(featureProps: FeatureProperties): Feature;
/**
  Creates or updates an Evidently <em>feature</em> that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateProject.html">CreateProject</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html">the AWS Docs</a>
*/
export interface FeatureProperties {
    /** <code>Project</code>  <a name="cfn-evidently-feature-project"></a>
  The name or ARN of the project that is to contain the new feature.<br />
  
  Required: Yes<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>.*arn:[^:]*:[^:]*:[^:]*:[^:]*:project/[-a-zA-Z0-9._]*.*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    project: Value<string>;
    /** <code>Description</code>  <a name="cfn-evidently-feature-description"></a>
  An optional description of the feature.<br />
  
  Required: No<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>160</code><br />
  
  Pattern: <code>.*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    description?: Value<string>;
    /** <code>EvaluationStrategy</code>  <a name="cfn-evidently-feature-evaluationstrategy"></a>
  Specify <code>ALL_RULES</code> to activate the traffic allocation specified by any ongoing launches or experiments. Specify <code>DEFAULT_VARIATION</code> to serve the default variation to all users instead.<br />
  
  Required: No<br />
  
  Allowed values: <code>ALL_RULES | DEFAULT_VARIATION</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    evaluationStrategy?: Value<'ALL_RULES' | 'DEFAULT_VARIATION'>;
    /** <code>DefaultVariation</code>  <a name="cfn-evidently-feature-defaultvariation"></a>
  The name of the variation to use as the default variation. The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.<br />
  This variation must also be listed in the <code>Variations</code> structure.<br />
  If you omit <code>DefaultVariation</code>, the first variation listed in the <code>Variations</code> structure is used as the default variation.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>127</code><br />
  
  Pattern: <code>[-a-zA-Z0-9._]*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    defaultVariation?: Value<string>;
    /** <code>EntityOverrides</code>  <a name="cfn-evidently-feature-entityoverrides"></a>
  Specify users that should always be served a specific variation of a feature. Each user is specified by a key-value pair . For each key, specify a user by entering their user ID, account ID, or some other identifier. For the value, specify the name of the variation that they are to be served.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    entityOverrides?: EntityOverrideProps[];
    /** <code>Variations</code>  <a name="cfn-evidently-feature-variations"></a>
  An array of structures that contain the configuration of the feature’s different variations.<br />
  Each <code>VariationObject</code> in the <code>Variations</code> array for a feature must have the same type of value (<code>BooleanValue</code>, <code>DoubleValue</code>, <code>LongValue</code> or <code>StringValue</code>).<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    variations: VariationObjectProps[];
    /** <code>Tags</code>  <a name="cfn-evidently-feature-tags"></a>
  Assigns one or more tags (key-value pairs) to the feature.<br />
  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.<br />
  Tags don’t have any semantic meaning to AWS and are interpreted strictly as strings of characters.<br />
  You can associate as many as 50 tags with a feature.<br />
  For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging AWS resources</a>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>Name</code>  <a name="cfn-evidently-feature-name"></a>
  The name for the feature. It can include up to 127 characters.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>127</code><br />
  
  Pattern: <code>[-a-zA-Z0-9._]*</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    name: Value<string>;
}
