CfnProjectProps Struct
Properties for defining a CfnProject.
Example
// 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 cfnProjectProps: evidently.CfnProjectProps = {
name: 'name',
// the properties below are optional
appConfigResource: {
applicationId: 'applicationId',
environmentId: 'environmentId',
},
dataDelivery: {
logGroup: 'logGroup',
s3: {
bucketName: 'bucketName',
// the properties below are optional
prefix: 'prefix',
},
},
description: 'description',
tags: [{
key: 'key',
value: 'value',
}],
};
from aws_cdk import CfnTag
# 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
cfn_project_props = evidently.CfnProjectProps(
name="name",
# the properties below are optional
app_config_resource=evidently.CfnProject.AppConfigResourceObjectProperty(
application_id="applicationId",
environment_id="environmentId"
),
data_delivery=evidently.CfnProject.DataDeliveryObjectProperty(
log_group="logGroup",
s3=evidently.CfnProject.S3DestinationProperty(
bucket_name="bucketName",
# the properties below are optional
prefix="prefix"
)
),
description="description",
tags=[CfnTag(
key="key",
value="value"
)]
)
// 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.*;
CfnProjectProps cfnProjectProps = CfnProjectProps.builder()
.name("name")
// the properties below are optional
.appConfigResource(AppConfigResourceObjectProperty.builder()
.applicationId("applicationId")
.environmentId("environmentId")
.build())
.dataDelivery(DataDeliveryObjectProperty.builder()
.logGroup("logGroup")
.s3(S3DestinationProperty.builder()
.bucketName("bucketName")
// the properties below are optional
.prefix("prefix")
.build())
.build())
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
// 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 cfnProjectProps = new CfnProjectProps {
Name = "name",
// the properties below are optional
AppConfigResource = new AppConfigResourceObjectProperty {
ApplicationId = "applicationId",
EnvironmentId = "environmentId"
},
DataDelivery = new DataDeliveryObjectProperty {
LogGroup = "logGroup",
S3 = new S3DestinationProperty {
BucketName = "bucketName",
// the properties below are optional
Prefix = "prefix"
}
},
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
// 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"
cfnProjectProps := &CfnProjectProps{
Name: jsii.String("name"),
// the properties below are optional
AppConfigResource: &AppConfigResourceObjectProperty{
ApplicationId: jsii.String("applicationId"),
EnvironmentId: jsii.String("environmentId"),
},
DataDelivery: &DataDeliveryObjectProperty{
LogGroup: jsii.String("logGroup"),
S3: &S3DestinationProperty{
BucketName: jsii.String("bucketName"),
// the properties below are optional
Prefix: jsii.String("prefix"),
},
},
Description: jsii.String("description"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
appConfigResourceoptionalIResolvable | CfnProject.AppConfigResourceObjectPropertyapp_config_resourceoptionaltyping.Union[IResolvable, AppConfigResourceObjectProperty]appConfigResourceoptionalIResolvableAppConfigResourceoptionalIResolvableAppConfigResourceoptionalinterface{}#notes
Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. For more information, see Use client-side evaluation - powered by AWS AppConfig .
This parameter is a structure that contains information about the AWS AppConfig application that will be used as for client-side evaluation.
To create a project that uses client-side evaluation, you must have the evidently:ExportProjectAsConfiguration permission.
dataDeliveryoptionalIResolvable | CfnProject.DataDeliveryObjectPropertydata_deliveryoptionaltyping.Union[IResolvable, DataDeliveryObjectProperty]dataDeliveryoptionalIResolvableDataDeliveryoptionalIResolvableDataDeliveryoptionalinterface{}#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.
You can't specify both CloudWatchLogs and S3Destination in the same operation.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#It can include up to 127 characters.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#notes
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 project.
For more information, see Tagging AWS resources .