UNPKG

@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)

92 lines (91 loc) 5.46 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::Evidently::Project */ export declare class Project extends pulumi.CustomResource { /** * Get an existing Project resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Project; /** * Returns true if the given object is an instance of Project. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Project; /** * 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: pulumi.Output<outputs.evidently.ProjectAppConfigResourceObject | undefined>; /** * The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject` */ readonly arn: pulumi.Output<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: pulumi.Output<outputs.evidently.ProjectDataDeliveryObject | undefined>; /** * An optional description of the project. */ readonly description: pulumi.Output<string | undefined>; /** * The name for the project. It can include up to 127 characters. */ readonly name: pulumi.Output<string>; /** * An array of key-value pairs to apply to this resource. */ readonly tags: pulumi.Output<outputs.Tag[] | undefined>; /** * Create a Project resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Project resource. */ export interface ProjectArgs { /** * 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. */ appConfigResource?: pulumi.Input<inputs.evidently.ProjectAppConfigResourceObjectArgs>; /** * 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. */ dataDelivery?: pulumi.Input<inputs.evidently.ProjectDataDeliveryObjectArgs>; /** * An optional description of the project. */ description?: pulumi.Input<string>; /** * The name for the project. It can include up to 127 characters. */ name?: pulumi.Input<string>; /** * An array of key-value pairs to apply to this resource. */ tags?: pulumi.Input<pulumi.Input<inputs.TagArgs>[]>; }