Show / Hide Table of Contents

Class CfnFeatureProps

Properties for defining a CfnFeature.

Inheritance
object
CfnFeatureProps
Implements
ICfnFeatureProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFeatureProps : ICfnFeatureProps
Syntax (vb)
Public Class CfnFeatureProps Implements ICfnFeatureProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Evidently;

             var cfnFeatureProps = new CfnFeatureProps {
                 Name = "name",
                 Project = "project",
                 Variations = new [] { new VariationObjectProperty {
                     VariationName = "variationName",

                     // the properties below are optional
                     BooleanValue = false,
                     DoubleValue = 123,
                     LongValue = 123,
                     StringValue = "stringValue"
                 } },

                 // the properties below are optional
                 DefaultVariation = "defaultVariation",
                 Description = "description",
                 EntityOverrides = new [] { new EntityOverrideProperty {
                     EntityId = "entityId",
                     Variation = "variation"
                 } },
                 EvaluationStrategy = "evaluationStrategy",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnFeatureProps()

Properties for defining a CfnFeature.

Properties

DefaultVariation

The name of the variation to use as the default variation.

Description

An optional description of the feature.

EntityOverrides

Specify users that should always be served a specific variation of a feature.

EvaluationStrategy

Specify ALL_RULES to activate the traffic allocation specified by any ongoing launches or experiments.

Name

The name for the feature.

Project

The name or ARN of the project that is to contain the new feature.

Tags

Assigns one or more tags (key-value pairs) to the feature.

Variations

An array of structures that contain the configuration of the feature's different variations.

Constructors

CfnFeatureProps()

Properties for defining a CfnFeature.

public CfnFeatureProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Evidently;

             var cfnFeatureProps = new CfnFeatureProps {
                 Name = "name",
                 Project = "project",
                 Variations = new [] { new VariationObjectProperty {
                     VariationName = "variationName",

                     // the properties below are optional
                     BooleanValue = false,
                     DoubleValue = 123,
                     LongValue = 123,
                     StringValue = "stringValue"
                 } },

                 // the properties below are optional
                 DefaultVariation = "defaultVariation",
                 Description = "description",
                 EntityOverrides = new [] { new EntityOverrideProperty {
                     EntityId = "entityId",
                     Variation = "variation"
                 } },
                 EvaluationStrategy = "evaluationStrategy",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

DefaultVariation

The name of the variation to use as the default variation.

public string? DefaultVariation { get; set; }
Property Value

string

Remarks

The default variation is served to users who are not allocated to any ongoing launches or experiments of this feature.

This variation must also be listed in the Variations structure.

If you omit DefaultVariation , the first variation listed in the Variations structure is used as the default variation.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-defaultvariation

Description

An optional description of the feature.

public string? Description { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-description

EntityOverrides

Specify users that should always be served a specific variation of a feature.

public object? EntityOverrides { get; set; }
Property Value

object

Remarks

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-entityoverrides

EvaluationStrategy

Specify ALL_RULES to activate the traffic allocation specified by any ongoing launches or experiments.

public string? EvaluationStrategy { get; set; }
Property Value

string

Remarks

Specify DEFAULT_VARIATION to serve the default variation to all users instead.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-evaluationstrategy

Name

The name for the feature.

public string Name { get; set; }
Property Value

string

Remarks

It can include up to 127 characters.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-name

Project

The name or ARN of the project that is to contain the new feature.

public string Project { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-project

Tags

Assigns one or more tags (key-value pairs) to the feature.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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 feature.

For more information, see Tagging AWS resources .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-tags

Variations

An array of structures that contain the configuration of the feature's different variations.

public object Variations { get; set; }
Property Value

object

Remarks

Each VariationObject in the Variations array for a feature must have the same type of value ( BooleanValue , DoubleValue , LongValue or StringValue ).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-feature.html#cfn-evidently-feature-variations

Implements

ICfnFeatureProps
Back to top Generated by DocFX