com.pulumi.aws.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-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.cognito.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
*
* @property applicationArn Application ARN for an Amazon Pinpoint application. Conflicts with `external_id` and `role_arn`.
* @property applicationId Application ID for an Amazon Pinpoint application.
* @property externalId ID for the Analytics Configuration. Conflicts with `application_arn`.
* @property roleArn ARN of an IAM role that authorizes Amazon Cognito to publish events to Amazon Pinpoint analytics. Conflicts with `application_arn`.
* @property userDataShared If set to `true`, Amazon Cognito will include user data in the events 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.aws.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),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy