Creates an AWS Chatbot configuration for Microsoft Teams¶
Description¶
Creates an AWS Chatbot configuration for Microsoft Teams.
Usage¶
chatbot_create_microsoft_teams_channel_configuration(ChannelId,
ChannelName, TeamId, TeamName, TenantId, SnsTopicArns, IamRoleArn,
ConfigurationName, LoggingLevel, GuardrailPolicyArns,
UserAuthorizationRequired, Tags)
Arguments¶
-
ChannelId[required] The ID of the Microsoft Teams channel.
-
ChannelNameThe name of the Microsoft Teams channel.
-
TeamId[required] The ID of the Microsoft Teams 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. For more information, see Step 1: Configure a Microsoft Teams client in the AWS Chatbot Administrator Guide.
-
TeamNameThe name of the Microsoft Teams Team.
-
TenantId[required] The ID of the Microsoft Teams tenant.
-
SnsTopicArnsThe Amazon Resource Names (ARNs) of the SNS topics that deliver notifications to AWS Chatbot.
-
IamRoleArn[required] A user-defined role that AWS Chatbot assumes. This is not the service-linked role.
For more information, see IAM policies for AWS Chatbot in the AWS Chatbot Administrator Guide.
-
ConfigurationName[required] The name of the configuration.
-
LoggingLevelLogging levels include
ERROR,INFO, orNONE. -
GuardrailPolicyArnsThe list of IAM policy ARNs that are applied as channel guardrails. The AWS managed
AdministratorAccesspolicy is applied by default if this is not set. -
UserAuthorizationRequiredEnables use of a user role requirement in your chat configuration.
-
TagsA map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.
Value¶
A list with the following syntax:
list(
ChannelConfiguration = list(
ChannelId = "string",
ChannelName = "string",
TeamId = "string",
TeamName = "string",
TenantId = "string",
ChatConfigurationArn = "string",
IamRoleArn = "string",
SnsTopicArns = list(
"string"
),
ConfigurationName = "string",
LoggingLevel = "string",
GuardrailPolicyArns = list(
"string"
),
UserAuthorizationRequired = TRUE|FALSE,
Tags = list(
list(
TagKey = "string",
TagValue = "string"
)
),
State = "string",
StateReason = "string"
)
)
Request syntax¶
svc$create_microsoft_teams_channel_configuration(
ChannelId = "string",
ChannelName = "string",
TeamId = "string",
TeamName = "string",
TenantId = "string",
SnsTopicArns = list(
"string"
),
IamRoleArn = "string",
ConfigurationName = "string",
LoggingLevel = "string",
GuardrailPolicyArns = list(
"string"
),
UserAuthorizationRequired = TRUE|FALSE,
Tags = list(
list(
TagKey = "string",
TagValue = "string"
)
)
)