Skip to content
GitHubXDiscordRSS

Project

Learn how to create, update, and manage AWS Evidently Projects using Alchemy Cloud Control.

The Project resource allows you to create and manage AWS Evidently Projects for running experiments and feature flagging in your applications.

Create a basic Evidently Project with required properties and a description.

import AWS from "alchemy/aws/control";
const basicProject = await AWS.Evidently.Project("basicProject", {
name: "UserExperienceProject",
description: "A project to enhance user experience through A/B testing",
DataDelivery: {
S3Destination: {
Bucket: "my-evidently-bucket",
Prefix: "data/"
}
}
});

Configure an Evidently Project with additional settings, such as AppConfig resource and tags.

const advancedProject = await AWS.Evidently.Project("advancedProject", {
name: "PerformanceTestingProject",
description: "Project for performance testing new features",
AppConfigResource: {
Application: "MyApplication",
Environment: "Production",
Configuration: "TestConfig"
},
Tags: [
{
Key: "Environment",
Value: "Production"
},
{
Key: "Team",
Value: "Development"
}
],
DataDelivery: {
S3Destination: {
Bucket: "my-evidently-data-bucket",
Prefix: "performance/"
}
}
});

Create a project that utilizes tags for better organization and management.

const taggedProject = await AWS.Evidently.Project("taggedProject", {
name: "FeatureFlagProject",
description: "A project focused on implementing feature flags",
Tags: [
{
Key: "ProjectType",
Value: "FeatureFlag"
},
{
Key: "Owner",
Value: "Alice"
}
]
});

Create a project that adopts an existing resource instead of failing if it already exists.

const adoptedProject = await AWS.Evidently.Project("adoptedProject", {
name: "LegacyFeatureProject",
description: "Adopting an existing project for legacy features",
adopt: true
});