TeamsChannelConfigurationArgs

data class TeamsChannelConfigurationArgs(val channelId: Output<String>? = null, val channelName: Output<String>? = null, val configurationName: Output<String>? = null, val guardrailPolicyArns: Output<List<String>>? = null, val iamRoleArn: Output<String>? = null, val loggingLevel: Output<String>? = null, val snsTopicArns: Output<List<String>>? = null, val tags: Output<Map<String, String>>? = null, val teamId: Output<String>? = null, val teamName: Output<String>? = null, val tenantId: Output<String>? = null, val timeouts: Output<TeamsChannelConfigurationTimeoutsArgs>? = null, val userAuthorizationRequired: Output<Boolean>? = null) : ConvertibleToJava<TeamsChannelConfigurationArgs>

Resource for managing an AWS Chatbot Microsoft Teams Channel Configuration.

NOTE: We provide this resource on a best-effort basis. If you are able to test it and find it useful, we welcome your input at GitHub.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.chatbot.TeamsChannelConfiguration("test", {
channelId: "C07EZ1ABC23",
configurationName: "mitt-lags-kanal",
iamRoleArn: testAwsIamRole.arn,
teamId: "74361522-da01-538d-aa2e-ac7918c6bb92",
tenantId: "1234",
tags: {
Name: "mitt-lags-kanal",
},
});
import pulumi
import pulumi_aws as aws
test = aws.chatbot.TeamsChannelConfiguration("test",
channel_id="C07EZ1ABC23",
configuration_name="mitt-lags-kanal",
iam_role_arn=test_aws_iam_role["arn"],
team_id="74361522-da01-538d-aa2e-ac7918c6bb92",
tenant_id="1234",
tags={
"Name": "mitt-lags-kanal",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var test = new Aws.Chatbot.TeamsChannelConfiguration("test", new()
{
ChannelId = "C07EZ1ABC23",
ConfigurationName = "mitt-lags-kanal",
IamRoleArn = testAwsIamRole.Arn,
TeamId = "74361522-da01-538d-aa2e-ac7918c6bb92",
TenantId = "1234",
Tags =
{
{ "Name", "mitt-lags-kanal" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chatbot"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := chatbot.NewTeamsChannelConfiguration(ctx, "test", &chatbot.TeamsChannelConfigurationArgs{
ChannelId: pulumi.String("C07EZ1ABC23"),
ConfigurationName: pulumi.String("mitt-lags-kanal"),
IamRoleArn: pulumi.Any(testAwsIamRole.Arn),
TeamId: pulumi.String("74361522-da01-538d-aa2e-ac7918c6bb92"),
TenantId: pulumi.String("1234"),
Tags: pulumi.StringMap{
"Name": pulumi.String("mitt-lags-kanal"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.chatbot.TeamsChannelConfiguration;
import com.pulumi.aws.chatbot.TeamsChannelConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new TeamsChannelConfiguration("test", TeamsChannelConfigurationArgs.builder()
.channelId("C07EZ1ABC23")
.configurationName("mitt-lags-kanal")
.iamRoleArn(testAwsIamRole.arn())
.teamId("74361522-da01-538d-aa2e-ac7918c6bb92")
.tenantId("1234")
.tags(Map.of("Name", "mitt-lags-kanal"))
.build());
}
}
resources:
test:
type: aws:chatbot:TeamsChannelConfiguration
properties:
channelId: C07EZ1ABC23
configurationName: mitt-lags-kanal
iamRoleArn: ${testAwsIamRole.arn}
teamId: 74361522-da01-538d-aa2e-ac7918c6bb92
tenantId: '1234'
tags:
Name: mitt-lags-kanal

Import

Using pulumi import, import Chatbot Microsoft Teams Channel Configuration using the team_id. For example:

$ pulumi import aws:chatbot/teamsChannelConfiguration:TeamsChannelConfiguration example 5f4f15d2-b958-522a-8333-124aa8bf0925

Constructors

Link copied to clipboard
constructor(channelId: Output<String>? = null, channelName: Output<String>? = null, configurationName: Output<String>? = null, guardrailPolicyArns: Output<List<String>>? = null, iamRoleArn: Output<String>? = null, loggingLevel: Output<String>? = null, snsTopicArns: Output<List<String>>? = null, tags: Output<Map<String, String>>? = null, teamId: Output<String>? = null, teamName: Output<String>? = null, tenantId: Output<String>? = null, timeouts: Output<TeamsChannelConfigurationTimeoutsArgs>? = null, userAuthorizationRequired: Output<Boolean>? = null)

Properties

Link copied to clipboard
val channelId: Output<String>? = null

ID of the Microsoft Teams channel.

Link copied to clipboard
val channelName: Output<String>? = null

Name of the Microsoft Teams channel.

Link copied to clipboard
val configurationName: Output<String>? = null

Name of the Microsoft Teams channel configuration.

Link copied to clipboard
val guardrailPolicyArns: Output<List<String>>? = null

List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccess policy is applied by default if this is not set.

Link copied to clipboard
val iamRoleArn: Output<String>? = null

ARN of the IAM role that defines the permissions for AWS Chatbot. This is a user-defined role that AWS Chatbot will assume. This is not the service-linked role.

Link copied to clipboard
val loggingLevel: Output<String>? = null

Logging levels include ERROR, INFO, or NONE.

Link copied to clipboard
val snsTopicArns: Output<List<String>>? = null

ARNs of the SNS topics that deliver notifications to AWS Chatbot.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags assigned to the resource.

Link copied to clipboard
val teamId: Output<String>? = null

ID of the Microsoft Team authorized with AWS Chatbot. To get the team ID, you must perform the initial authorization flow with Microsoft Teams in the AWS Chatbot console. Then you can copy and paste the team ID from the console.

Link copied to clipboard
val teamName: Output<String>? = null

Name of the Microsoft Teams team.

Link copied to clipboard
val tenantId: Output<String>? = null

ID of the Microsoft Teams tenant. The following arguments are optional:

Link copied to clipboard
Link copied to clipboard
val userAuthorizationRequired: Output<Boolean>? = null

Enables use of a user role requirement in your chat configuration.

Functions

Link copied to clipboard
open override fun toJava(): TeamsChannelConfigurationArgs