@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
51 lines (50 loc) • 2.73 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource Type definition for AWS::Evidently::Project
*/
export declare function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult>;
export interface GetProjectArgs {
/**
* The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject`
*/
arn: string;
}
export interface GetProjectResult {
/**
* Use this parameter if the project will use *client-side evaluation powered by AWS AppConfig* . Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the [EvaluateFeature](https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html) 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 .](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html)
*
* 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.
*/
readonly appConfigResource?: outputs.evidently.ProjectAppConfigResourceObject;
/**
* The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject`
*/
readonly arn?: string;
/**
* A structure 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.
*
* You can't specify both `CloudWatchLogs` and `S3Destination` in the same operation.
*/
readonly dataDelivery?: outputs.evidently.ProjectDataDeliveryObject;
/**
* An optional description of the project.
*/
readonly description?: string;
/**
* An array of key-value pairs to apply to this resource.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type definition for AWS::Evidently::Project
*/
export declare function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult>;
export interface GetProjectOutputArgs {
/**
* The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject`
*/
arn: pulumi.Input<string>;
}