Skip to content
v2.278.0

EntityOverrideProperty Struct ​

A set of key-value pairs that specify users who should always be served a specific variation of a feature.

Each key specifies a user using their user ID, account ID, or some other identifier. The value specifies the name of the variation that the user is to be served.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evidently as evidently } from 'aws-cdk-lib';
const entityOverrideProperty: evidently.CfnFeature.EntityOverrideProperty = {
  entityId: 'entityId',
  variation: 'variation',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_evidently as evidently

entity_override_property = evidently.CfnFeature.EntityOverrideProperty(
    entity_id="entityId",
    variation="variation"
)
java
// 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.*;

EntityOverrideProperty entityOverrideProperty = EntityOverrideProperty.builder()
        .entityId("entityId")
        .variation("variation")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 entityOverrideProperty = new EntityOverrideProperty {
    EntityId = "entityId",
    Variation = "variation"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

entityOverrideProperty := &EntityOverrideProperty{
	EntityId: jsii.String("entityId"),
	Variation: jsii.String("variation"),
}

Properties ​

entityIdoptionalstringentity_idoptionalstrentityIdoptionalStringEntityIdoptionalstringEntityIdoptional*string #
The entity ID to be served the variation specified in `Variation` .
variationoptionalstringvariationoptionalstrvariationoptionalStringVariationoptionalstringVariationoptional*string #
The name of the variation to serve to the user session that matches the `EntityId` .