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

com.pulumi.azure.eventgrid.kotlin.outputs.SystemTopicEventSubscriptionDeadLetterIdentity.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.eventgrid.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property type Specifies the type of Managed Service Identity that is used for dead lettering. Allowed value is `SystemAssigned`, `UserAssigned`.
 * @property userAssignedIdentity The user identity associated with the resource.
 */
public data class SystemTopicEventSubscriptionDeadLetterIdentity(
    public val type: String,
    public val userAssignedIdentity: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.SystemTopicEventSubscriptionDeadLetterIdentity): SystemTopicEventSubscriptionDeadLetterIdentity =
            SystemTopicEventSubscriptionDeadLetterIdentity(
                type = javaType.type(),
                userAssignedIdentity = javaType.userAssignedIdentity().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy