
com.pulumi.awsnative.chatbot.kotlin.outputs.GetMicrosoftTeamsChannelConfigurationResult.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.chatbot.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn Amazon Resource Name (ARN) of the configuration
* @property guardrailPolicies The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
* @property iamRoleArn The ARN of the IAM role that defines the permissions for AWS Chatbot
* @property loggingLevel Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
* @property snsTopicArns ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
* @property tags The tags to add to the configuration
* @property teamsChannelId The id of the Microsoft Teams channel
* @property userRoleRequired Enables use of a user role requirement in your chat configuration
*/
public data class GetMicrosoftTeamsChannelConfigurationResult(
public val arn: String? = null,
public val guardrailPolicies: List? = null,
public val iamRoleArn: String? = null,
public val loggingLevel: String? = null,
public val snsTopicArns: List? = null,
public val tags: List? = null,
public val teamsChannelId: String? = null,
public val userRoleRequired: Boolean? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.chatbot.outputs.GetMicrosoftTeamsChannelConfigurationResult): GetMicrosoftTeamsChannelConfigurationResult = GetMicrosoftTeamsChannelConfigurationResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
guardrailPolicies = javaType.guardrailPolicies().map({ args0 -> args0 }),
iamRoleArn = javaType.iamRoleArn().map({ args0 -> args0 }).orElse(null),
loggingLevel = javaType.loggingLevel().map({ args0 -> args0 }).orElse(null),
snsTopicArns = javaType.snsTopicArns().map({ args0 -> args0 }),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
teamsChannelId = javaType.teamsChannelId().map({ args0 -> args0 }).orElse(null),
userRoleRequired = javaType.userRoleRequired().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy