com.pulumi.awsnative.cognito.kotlin.outputs.UserPoolClientAnalyticsConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.cognito.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property applicationArn The Amazon Resource Name (ARN) of an Amazon Pinpoint project. You can use the Amazon Pinpoint project for integration with the chosen user pool client. Amazon Cognito publishes events to the Amazon Pinpoint project that the app ARN declares.
* @property applicationId The application ID for an Amazon Pinpoint application.
* @property externalId The external ID.
* @property roleArn The ARN of an AWS Identity and Access Management role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics.
* @property userDataShared If `UserDataShared` is `true` , Amazon Cognito includes user data in the events that it publishes to Amazon Pinpoint analytics.
*/
public data class UserPoolClientAnalyticsConfiguration(
public val applicationArn: String? = null,
public val applicationId: String? = null,
public val externalId: String? = null,
public val roleArn: String? = null,
public val userDataShared: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.cognito.outputs.UserPoolClientAnalyticsConfiguration): UserPoolClientAnalyticsConfiguration = UserPoolClientAnalyticsConfiguration(
applicationArn = javaType.applicationArn().map({ args0 -> args0 }).orElse(null),
applicationId = javaType.applicationId().map({ args0 -> args0 }).orElse(null),
externalId = javaType.externalId().map({ args0 -> args0 }).orElse(null),
roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
userDataShared = javaType.userDataShared().map({ args0 -> args0 }).orElse(null),
)
}
}