All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.evidently.kotlin.outputs.GetProjectResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.evidently.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property appConfigResource 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.
 * @property arn The ARN of the project. For example, `arn:aws:evidently:us-west-2:0123455678912:project/myProject`
 * @property dataDelivery 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.
 * @property description An optional description of the project.
 * @property tags An array of key-value pairs to apply to this resource.
 */
public data class GetProjectResult(
    public val appConfigResource: ProjectAppConfigResourceObject? = null,
    public val arn: String? = null,
    public val dataDelivery: ProjectDataDeliveryObject? = null,
    public val description: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.evidently.outputs.GetProjectResult): GetProjectResult = GetProjectResult(
            appConfigResource = javaType.appConfigResource().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.evidently.kotlin.outputs.ProjectAppConfigResourceObject.Companion.toKotlin(args0)
                })
            }).orElse(null),
            arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
            dataDelivery = javaType.dataDelivery().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.evidently.kotlin.outputs.ProjectDataDeliveryObject.Companion.toKotlin(args0)
                })
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy