Project
Provides a CloudWatch Evidently Project resource.
Example Usage
Basic
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.evidently.Project;
import com.pulumi.aws.evidently.ProjectArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.description("Example Description")
.tags(Map.of("Key1", "example Project"))
.build());
}
}
Store evaluation events in a CloudWatch Log Group
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.evidently.Project;
import com.pulumi.aws.evidently.ProjectArgs;
import com.pulumi.aws.evidently.inputs.ProjectDataDeliveryArgs;
import com.pulumi.aws.evidently.inputs.ProjectDataDeliveryCloudwatchLogsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.dataDelivery(ProjectDataDeliveryArgs.builder()
.cloudwatchLogs(ProjectDataDeliveryCloudwatchLogsArgs.builder()
.logGroup("example-log-group-name")
.build())
.build())
.description("Example Description")
.tags(Map.of("Key1", "example Project"))
.build());
}
}
Store evaluation events in an S3 bucket
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.evidently.Project;
import com.pulumi.aws.evidently.ProjectArgs;
import com.pulumi.aws.evidently.inputs.ProjectDataDeliveryArgs;
import com.pulumi.aws.evidently.inputs.ProjectDataDeliveryS3DestinationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Project("example", ProjectArgs.builder()
.dataDelivery(ProjectDataDeliveryArgs.builder()
.s3Destination(ProjectDataDeliveryS3DestinationArgs.builder()
.bucket("example-bucket-name")
.prefix("example")
.build())
.build())
.description("Example Description")
.tags(Map.of("Key1", "example Project"))
.build());
}
}
Import
CloudWatch Evidently Project can be imported using the arn
, e.g.,
$ pulumi import aws:evidently/project:Project example arn:aws:evidently:us-east-1:123456789012:segment/example
Properties
The number of ongoing experiments currently in the project.
The number of ongoing launches currently in the project.
The date and time that the project is created.
A block that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view. See below.
Specifies the description of the project.
The number of experiments currently in the project. This includes all experiments that have been created and not deleted, whether they are ongoing or not.
The number of features currently in the project.
The date and time that the project was most recently updated.
The number of launches currently in the project. This includes all launches that have been created and not deleted, whether they are ongoing or not.