TeamsChannelConfiguration

class TeamsChannelConfiguration : KotlinCustomResource

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

Properties

Link copied to clipboard
val channelId: Output<String>

ID of the Microsoft Teams channel.

Link copied to clipboard
val channelName: Output<String>

Name of the Microsoft Teams channel.

Link copied to clipboard

ARN of the Microsoft Teams channel configuration.

Link copied to clipboard

Name of the Microsoft Teams channel configuration.

Link copied to clipboard

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>

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 id: Output<String>
Link copied to clipboard
val loggingLevel: Output<String>

Logging levels include ERROR, INFO, or NONE.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val snsTopicArns: Output<List<String>>

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

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

Map of tags assigned to the resource.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val teamId: Output<String>

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>

Name of the Microsoft Teams team.

Link copied to clipboard
val tenantId: Output<String>

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

Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

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