aws.chatbot.TeamsChannelConfiguration
Explore with Pulumi AI
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",
})
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
})
}
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 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
Create TeamsChannelConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeamsChannelConfiguration(name: string, args: TeamsChannelConfigurationArgs, opts?: CustomResourceOptions);
@overload
def TeamsChannelConfiguration(resource_name: str,
args: TeamsChannelConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeamsChannelConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel_id: Optional[str] = None,
tenant_id: Optional[str] = None,
configuration_name: Optional[str] = None,
team_id: Optional[str] = None,
iam_role_arn: Optional[str] = None,
sns_topic_arns: Optional[Sequence[str]] = None,
logging_level: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
guardrail_policy_arns: Optional[Sequence[str]] = None,
team_name: Optional[str] = None,
channel_name: Optional[str] = None,
timeouts: Optional[TeamsChannelConfigurationTimeoutsArgs] = None,
user_authorization_required: Optional[bool] = None)
func NewTeamsChannelConfiguration(ctx *Context, name string, args TeamsChannelConfigurationArgs, opts ...ResourceOption) (*TeamsChannelConfiguration, error)
public TeamsChannelConfiguration(string name, TeamsChannelConfigurationArgs args, CustomResourceOptions? opts = null)
public TeamsChannelConfiguration(String name, TeamsChannelConfigurationArgs args)
public TeamsChannelConfiguration(String name, TeamsChannelConfigurationArgs args, CustomResourceOptions options)
type: aws:chatbot:TeamsChannelConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args TeamsChannelConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TeamsChannelConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TeamsChannelConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamsChannelConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamsChannelConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var teamsChannelConfigurationResource = new Aws.Chatbot.TeamsChannelConfiguration("teamsChannelConfigurationResource", new()
{
ChannelId = "string",
TenantId = "string",
ConfigurationName = "string",
TeamId = "string",
IamRoleArn = "string",
SnsTopicArns = new[]
{
"string",
},
LoggingLevel = "string",
Tags =
{
{ "string", "string" },
},
GuardrailPolicyArns = new[]
{
"string",
},
TeamName = "string",
ChannelName = "string",
Timeouts = new Aws.Chatbot.Inputs.TeamsChannelConfigurationTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UserAuthorizationRequired = false,
});
example, err := chatbot.NewTeamsChannelConfiguration(ctx, "teamsChannelConfigurationResource", &chatbot.TeamsChannelConfigurationArgs{
ChannelId: pulumi.String("string"),
TenantId: pulumi.String("string"),
ConfigurationName: pulumi.String("string"),
TeamId: pulumi.String("string"),
IamRoleArn: pulumi.String("string"),
SnsTopicArns: pulumi.StringArray{
pulumi.String("string"),
},
LoggingLevel: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
GuardrailPolicyArns: pulumi.StringArray{
pulumi.String("string"),
},
TeamName: pulumi.String("string"),
ChannelName: pulumi.String("string"),
Timeouts: &chatbot.TeamsChannelConfigurationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserAuthorizationRequired: pulumi.Bool(false),
})
var teamsChannelConfigurationResource = new TeamsChannelConfiguration("teamsChannelConfigurationResource", TeamsChannelConfigurationArgs.builder()
.channelId("string")
.tenantId("string")
.configurationName("string")
.teamId("string")
.iamRoleArn("string")
.snsTopicArns("string")
.loggingLevel("string")
.tags(Map.of("string", "string"))
.guardrailPolicyArns("string")
.teamName("string")
.channelName("string")
.timeouts(TeamsChannelConfigurationTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.userAuthorizationRequired(false)
.build());
teams_channel_configuration_resource = aws.chatbot.TeamsChannelConfiguration("teamsChannelConfigurationResource",
channel_id="string",
tenant_id="string",
configuration_name="string",
team_id="string",
iam_role_arn="string",
sns_topic_arns=["string"],
logging_level="string",
tags={
"string": "string",
},
guardrail_policy_arns=["string"],
team_name="string",
channel_name="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user_authorization_required=False)
const teamsChannelConfigurationResource = new aws.chatbot.TeamsChannelConfiguration("teamsChannelConfigurationResource", {
channelId: "string",
tenantId: "string",
configurationName: "string",
teamId: "string",
iamRoleArn: "string",
snsTopicArns: ["string"],
loggingLevel: "string",
tags: {
string: "string",
},
guardrailPolicyArns: ["string"],
teamName: "string",
channelName: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
userAuthorizationRequired: false,
});
type: aws:chatbot:TeamsChannelConfiguration
properties:
channelId: string
channelName: string
configurationName: string
guardrailPolicyArns:
- string
iamRoleArn: string
loggingLevel: string
snsTopicArns:
- string
tags:
string: string
teamId: string
teamName: string
tenantId: string
timeouts:
create: string
delete: string
update: string
userAuthorizationRequired: false
TeamsChannelConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeamsChannelConfiguration resource accepts the following input properties:
- Channel
Id string - ID of the Microsoft Teams channel.
- Configuration
Name string - Name of the Microsoft Teams channel configuration.
- Iam
Role stringArn - 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.
- Team
Id 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.
- Tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- Channel
Name string - Name of the Microsoft Teams channel.
- Guardrail
Policy List<string>Arns - 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. - Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Sns
Topic List<string>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Team
Name string - Name of the Microsoft Teams team.
- Timeouts
Teams
Channel Configuration Timeouts - bool
- Enables use of a user role requirement in your chat configuration.
- Channel
Id string - ID of the Microsoft Teams channel.
- Configuration
Name string - Name of the Microsoft Teams channel configuration.
- Iam
Role stringArn - 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.
- Team
Id 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.
- Tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- Channel
Name string - Name of the Microsoft Teams channel.
- Guardrail
Policy []stringArns - 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. - Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Sns
Topic []stringArns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- map[string]string
- Map of tags assigned to the resource.
- Team
Name string - Name of the Microsoft Teams team.
- Timeouts
Teams
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- channel
Id String - ID of the Microsoft Teams channel.
- configuration
Name String - Name of the Microsoft Teams channel configuration.
- iam
Role StringArn - 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.
- team
Id 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.
- tenant
Id String ID of the Microsoft Teams tenant.
The following arguments are optional:
- channel
Name String - Name of the Microsoft Teams channel.
- guardrail
Policy List<String>Arns - 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. - logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic List<String>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Map<String,String>
- Map of tags assigned to the resource.
- team
Name String - Name of the Microsoft Teams team.
- timeouts
Teams
Channel Configuration Timeouts - Boolean
- Enables use of a user role requirement in your chat configuration.
- channel
Id string - ID of the Microsoft Teams channel.
- configuration
Name string - Name of the Microsoft Teams channel configuration.
- iam
Role stringArn - 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.
- team
Id 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.
- tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- channel
Name string - Name of the Microsoft Teams channel.
- guardrail
Policy string[]Arns - 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. - logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic string[]Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- {[key: string]: string}
- Map of tags assigned to the resource.
- team
Name string - Name of the Microsoft Teams team.
- timeouts
Teams
Channel Configuration Timeouts - boolean
- Enables use of a user role requirement in your chat configuration.
- channel_
id str - ID of the Microsoft Teams channel.
- configuration_
name str - Name of the Microsoft Teams channel configuration.
- iam_
role_ strarn - 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.
- team_
id str - 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.
- tenant_
id str ID of the Microsoft Teams tenant.
The following arguments are optional:
- channel_
name str - Name of the Microsoft Teams channel.
- guardrail_
policy_ Sequence[str]arns - 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. - logging_
level str - Logging levels include
ERROR
,INFO
, orNONE
. - sns_
topic_ Sequence[str]arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Mapping[str, str]
- Map of tags assigned to the resource.
- team_
name str - Name of the Microsoft Teams team.
- timeouts
Teams
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- channel
Id String - ID of the Microsoft Teams channel.
- configuration
Name String - Name of the Microsoft Teams channel configuration.
- iam
Role StringArn - 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.
- team
Id 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.
- tenant
Id String ID of the Microsoft Teams tenant.
The following arguments are optional:
- channel
Name String - Name of the Microsoft Teams channel.
- guardrail
Policy List<String>Arns - 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. - logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic List<String>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Map<String>
- Map of tags assigned to the resource.
- team
Name String - Name of the Microsoft Teams team.
- timeouts Property Map
- Boolean
- Enables use of a user role requirement in your chat configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeamsChannelConfiguration resource produces the following output properties:
- Chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- chat
Configuration StringArn - ARN of the Microsoft Teams channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- chat_
configuration_ strarn - ARN of the Microsoft Teams channel configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- chat
Configuration StringArn - ARN of the Microsoft Teams channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing TeamsChannelConfiguration Resource
Get an existing TeamsChannelConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TeamsChannelConfigurationState, opts?: CustomResourceOptions): TeamsChannelConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
channel_id: Optional[str] = None,
channel_name: Optional[str] = None,
chat_configuration_arn: Optional[str] = None,
configuration_name: Optional[str] = None,
guardrail_policy_arns: Optional[Sequence[str]] = None,
iam_role_arn: Optional[str] = None,
logging_level: Optional[str] = None,
sns_topic_arns: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
team_id: Optional[str] = None,
team_name: Optional[str] = None,
tenant_id: Optional[str] = None,
timeouts: Optional[TeamsChannelConfigurationTimeoutsArgs] = None,
user_authorization_required: Optional[bool] = None) -> TeamsChannelConfiguration
func GetTeamsChannelConfiguration(ctx *Context, name string, id IDInput, state *TeamsChannelConfigurationState, opts ...ResourceOption) (*TeamsChannelConfiguration, error)
public static TeamsChannelConfiguration Get(string name, Input<string> id, TeamsChannelConfigurationState? state, CustomResourceOptions? opts = null)
public static TeamsChannelConfiguration get(String name, Output<String> id, TeamsChannelConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Channel
Id string - ID of the Microsoft Teams channel.
- Channel
Name string - Name of the Microsoft Teams channel.
- Chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- Configuration
Name string - Name of the Microsoft Teams channel configuration.
- Guardrail
Policy List<string>Arns - 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. - Iam
Role stringArn - 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.
- Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Sns
Topic List<string>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Team
Id 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.
- Team
Name string - Name of the Microsoft Teams team.
- Tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- Timeouts
Teams
Channel Configuration Timeouts - bool
- Enables use of a user role requirement in your chat configuration.
- Channel
Id string - ID of the Microsoft Teams channel.
- Channel
Name string - Name of the Microsoft Teams channel.
- Chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- Configuration
Name string - Name of the Microsoft Teams channel configuration.
- Guardrail
Policy []stringArns - 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. - Iam
Role stringArn - 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.
- Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Sns
Topic []stringArns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- map[string]string
- Map of tags assigned to the resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Team
Id 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.
- Team
Name string - Name of the Microsoft Teams team.
- Tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- Timeouts
Teams
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- channel
Id String - ID of the Microsoft Teams channel.
- channel
Name String - Name of the Microsoft Teams channel.
- chat
Configuration StringArn - ARN of the Microsoft Teams channel configuration.
- configuration
Name String - Name of the Microsoft Teams channel configuration.
- guardrail
Policy List<String>Arns - 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. - iam
Role StringArn - 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.
- logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic List<String>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Map<String,String>
- Map of tags assigned to the resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - team
Id 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.
- team
Name String - Name of the Microsoft Teams team.
- tenant
Id String ID of the Microsoft Teams tenant.
The following arguments are optional:
- timeouts
Teams
Channel Configuration Timeouts - Boolean
- Enables use of a user role requirement in your chat configuration.
- channel
Id string - ID of the Microsoft Teams channel.
- channel
Name string - Name of the Microsoft Teams channel.
- chat
Configuration stringArn - ARN of the Microsoft Teams channel configuration.
- configuration
Name string - Name of the Microsoft Teams channel configuration.
- guardrail
Policy string[]Arns - 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. - iam
Role stringArn - 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.
- logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic string[]Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- {[key: string]: string}
- Map of tags assigned to the resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - team
Id 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.
- team
Name string - Name of the Microsoft Teams team.
- tenant
Id string ID of the Microsoft Teams tenant.
The following arguments are optional:
- timeouts
Teams
Channel Configuration Timeouts - boolean
- Enables use of a user role requirement in your chat configuration.
- channel_
id str - ID of the Microsoft Teams channel.
- channel_
name str - Name of the Microsoft Teams channel.
- chat_
configuration_ strarn - ARN of the Microsoft Teams channel configuration.
- configuration_
name str - Name of the Microsoft Teams channel configuration.
- guardrail_
policy_ Sequence[str]arns - 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. - iam_
role_ strarn - 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.
- logging_
level str - Logging levels include
ERROR
,INFO
, orNONE
. - sns_
topic_ Sequence[str]arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Mapping[str, str]
- Map of tags assigned to the resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - team_
id str - 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.
- team_
name str - Name of the Microsoft Teams team.
- tenant_
id str ID of the Microsoft Teams tenant.
The following arguments are optional:
- timeouts
Teams
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- channel
Id String - ID of the Microsoft Teams channel.
- channel
Name String - Name of the Microsoft Teams channel.
- chat
Configuration StringArn - ARN of the Microsoft Teams channel configuration.
- configuration
Name String - Name of the Microsoft Teams channel configuration.
- guardrail
Policy List<String>Arns - 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. - iam
Role StringArn - 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.
- logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - sns
Topic List<String>Arns - ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- Map<String>
- Map of tags assigned to the resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - team
Id 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.
- team
Name String - Name of the Microsoft Teams team.
- tenant
Id String ID of the Microsoft Teams tenant.
The following arguments are optional:
- timeouts Property Map
- Boolean
- Enables use of a user role requirement in your chat configuration.
Supporting Types
TeamsChannelConfigurationTimeouts, TeamsChannelConfigurationTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.