Class CfnProjectProps
Properties for defining a CfnProject
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Evidently
Assembly: Amazon.CDK.AWS.Evidently.dll
Syntax (csharp)
public class CfnProjectProps : Object, ICfnProjectProps
Syntax (vb)
Public Class CfnProjectProps
Inherits Object
Implements ICfnProjectProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-project.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 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"
} }
};
Synopsis
Constructors
CfnProjectProps() |
Properties
AppConfigResource | Use this parameter if the project will use client-side evaluation powered by AWS AppConfig . |
DataDelivery | A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. |
Description | An optional description of the project. |
Name | The name for the project. |
Tags | Assigns one or more tags (key-value pairs) to the project. |
Constructors
CfnProjectProps()
public CfnProjectProps()
Properties
AppConfigResource
Use this parameter if the project will use client-side evaluation powered by AWS AppConfig .
public object AppConfigResource { get; set; }
Property Value
System.Object
Remarks
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.
DataDelivery
A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so.
public object DataDelivery { get; set; }
Property Value
System.Object
Remarks
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.
Description
An optional description of the project.
public string Description { get; set; }
Property Value
System.String
Remarks
Name
The name for the project.
public string Name { get; set; }
Property Value
System.String
Remarks
It can include up to 127 characters.
Tags
Assigns one or more tags (key-value pairs) to the project.
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 project.
For more information, see Tagging AWS resources .