
com.pulumi.awsnative.chatbot.kotlin.MicrosoftTeamsChannelConfigurationArgs.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
import com.pulumi.awsnative.chatbot.MicrosoftTeamsChannelConfigurationArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Chatbot::MicrosoftTeamsChannelConfiguration.
* @property configurationName The name 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 teamId The id of the Microsoft Teams team
* @property teamsChannelId The id of the Microsoft Teams channel
* @property teamsTenantId The id of the Microsoft Teams tenant
* @property userRoleRequired Enables use of a user role requirement in your chat configuration
*/
public data class MicrosoftTeamsChannelConfigurationArgs(
public val configurationName: Output? = null,
public val guardrailPolicies: Output>? = null,
public val iamRoleArn: Output? = null,
public val loggingLevel: Output? = null,
public val snsTopicArns: Output>? = null,
public val tags: Output>? = null,
public val teamId: Output? = null,
public val teamsChannelId: Output? = null,
public val teamsTenantId: Output? = null,
public val userRoleRequired: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.chatbot.MicrosoftTeamsChannelConfigurationArgs =
com.pulumi.awsnative.chatbot.MicrosoftTeamsChannelConfigurationArgs.builder()
.configurationName(configurationName?.applyValue({ args0 -> args0 }))
.guardrailPolicies(guardrailPolicies?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.iamRoleArn(iamRoleArn?.applyValue({ args0 -> args0 }))
.loggingLevel(loggingLevel?.applyValue({ args0 -> args0 }))
.snsTopicArns(snsTopicArns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.teamId(teamId?.applyValue({ args0 -> args0 }))
.teamsChannelId(teamsChannelId?.applyValue({ args0 -> args0 }))
.teamsTenantId(teamsTenantId?.applyValue({ args0 -> args0 }))
.userRoleRequired(userRoleRequired?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MicrosoftTeamsChannelConfigurationArgs].
*/
@PulumiTagMarker
public class MicrosoftTeamsChannelConfigurationArgsBuilder internal constructor() {
private var configurationName: Output? = null
private var guardrailPolicies: Output>? = null
private var iamRoleArn: Output? = null
private var loggingLevel: Output? = null
private var snsTopicArns: Output>? = null
private var tags: Output>? = null
private var teamId: Output? = null
private var teamsChannelId: Output? = null
private var teamsTenantId: Output? = null
private var userRoleRequired: Output? = null
/**
* @param value The name of the configuration
*/
@JvmName("jesdpbpjqnuyvwst")
public suspend fun configurationName(`value`: Output) {
this.configurationName = value
}
/**
* @param value 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.
*/
@JvmName("ggxhmudwppabnujy")
public suspend fun guardrailPolicies(`value`: Output>) {
this.guardrailPolicies = value
}
@JvmName("pxwhlustinvxmrml")
public suspend fun guardrailPolicies(vararg values: Output) {
this.guardrailPolicies = Output.all(values.asList())
}
/**
* @param values 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.
*/
@JvmName("cqgagixfuwfqxvvf")
public suspend fun guardrailPolicies(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy