aws.chatbot.SlackChannelConfiguration
Explore with Pulumi AI
Resource for managing an AWS Chatbot Slack Channel Configuration.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.chatbot.SlackChannelConfiguration("test", {
configurationName: "min-slaka-kanal",
iamRoleArn: testAwsIamRole.arn,
slackChannelId: "C07EZ1ABC23",
slackTeamId: "T07EA123LEP",
tags: {
Name: "min-slaka-kanal",
},
});
import pulumi
import pulumi_aws as aws
test = aws.chatbot.SlackChannelConfiguration("test",
configuration_name="min-slaka-kanal",
iam_role_arn=test_aws_iam_role["arn"],
slack_channel_id="C07EZ1ABC23",
slack_team_id="T07EA123LEP",
tags={
"Name": "min-slaka-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.NewSlackChannelConfiguration(ctx, "test", &chatbot.SlackChannelConfigurationArgs{
ConfigurationName: pulumi.String("min-slaka-kanal"),
IamRoleArn: pulumi.Any(testAwsIamRole.Arn),
SlackChannelId: pulumi.String("C07EZ1ABC23"),
SlackTeamId: pulumi.String("T07EA123LEP"),
Tags: pulumi.StringMap{
"Name": pulumi.String("min-slaka-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.SlackChannelConfiguration("test", new()
{
ConfigurationName = "min-slaka-kanal",
IamRoleArn = testAwsIamRole.Arn,
SlackChannelId = "C07EZ1ABC23",
SlackTeamId = "T07EA123LEP",
Tags =
{
{ "Name", "min-slaka-kanal" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.chatbot.SlackChannelConfiguration;
import com.pulumi.aws.chatbot.SlackChannelConfigurationArgs;
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 SlackChannelConfiguration("test", SlackChannelConfigurationArgs.builder()
.configurationName("min-slaka-kanal")
.iamRoleArn(testAwsIamRole.arn())
.slackChannelId("C07EZ1ABC23")
.slackTeamId("T07EA123LEP")
.tags(Map.of("Name", "min-slaka-kanal"))
.build());
}
}
resources:
test:
type: aws:chatbot:SlackChannelConfiguration
properties:
configurationName: min-slaka-kanal
iamRoleArn: ${testAwsIamRole.arn}
slackChannelId: C07EZ1ABC23
slackTeamId: T07EA123LEP
tags:
Name: min-slaka-kanal
Create SlackChannelConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SlackChannelConfiguration(name: string, args: SlackChannelConfigurationArgs, opts?: CustomResourceOptions);
@overload
def SlackChannelConfiguration(resource_name: str,
args: SlackChannelConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SlackChannelConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration_name: Optional[str] = None,
iam_role_arn: Optional[str] = None,
slack_channel_id: Optional[str] = None,
slack_team_id: Optional[str] = None,
guardrail_policy_arns: Optional[Sequence[str]] = None,
logging_level: Optional[str] = None,
sns_topic_arns: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[SlackChannelConfigurationTimeoutsArgs] = None,
user_authorization_required: Optional[bool] = None)
func NewSlackChannelConfiguration(ctx *Context, name string, args SlackChannelConfigurationArgs, opts ...ResourceOption) (*SlackChannelConfiguration, error)
public SlackChannelConfiguration(string name, SlackChannelConfigurationArgs args, CustomResourceOptions? opts = null)
public SlackChannelConfiguration(String name, SlackChannelConfigurationArgs args)
public SlackChannelConfiguration(String name, SlackChannelConfigurationArgs args, CustomResourceOptions options)
type: aws:chatbot:SlackChannelConfiguration
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 SlackChannelConfigurationArgs
- 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 SlackChannelConfigurationArgs
- 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 SlackChannelConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SlackChannelConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SlackChannelConfigurationArgs
- 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 slackChannelConfigurationResource = new Aws.Chatbot.SlackChannelConfiguration("slackChannelConfigurationResource", new()
{
ConfigurationName = "string",
IamRoleArn = "string",
SlackChannelId = "string",
SlackTeamId = "string",
GuardrailPolicyArns = new[]
{
"string",
},
LoggingLevel = "string",
SnsTopicArns = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Chatbot.Inputs.SlackChannelConfigurationTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
UserAuthorizationRequired = false,
});
example, err := chatbot.NewSlackChannelConfiguration(ctx, "slackChannelConfigurationResource", &chatbot.SlackChannelConfigurationArgs{
ConfigurationName: pulumi.String("string"),
IamRoleArn: pulumi.String("string"),
SlackChannelId: pulumi.String("string"),
SlackTeamId: pulumi.String("string"),
GuardrailPolicyArns: pulumi.StringArray{
pulumi.String("string"),
},
LoggingLevel: pulumi.String("string"),
SnsTopicArns: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &chatbot.SlackChannelConfigurationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
UserAuthorizationRequired: pulumi.Bool(false),
})
var slackChannelConfigurationResource = new SlackChannelConfiguration("slackChannelConfigurationResource", SlackChannelConfigurationArgs.builder()
.configurationName("string")
.iamRoleArn("string")
.slackChannelId("string")
.slackTeamId("string")
.guardrailPolicyArns("string")
.loggingLevel("string")
.snsTopicArns("string")
.tags(Map.of("string", "string"))
.timeouts(SlackChannelConfigurationTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.userAuthorizationRequired(false)
.build());
slack_channel_configuration_resource = aws.chatbot.SlackChannelConfiguration("slackChannelConfigurationResource",
configuration_name="string",
iam_role_arn="string",
slack_channel_id="string",
slack_team_id="string",
guardrail_policy_arns=["string"],
logging_level="string",
sns_topic_arns=["string"],
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
user_authorization_required=False)
const slackChannelConfigurationResource = new aws.chatbot.SlackChannelConfiguration("slackChannelConfigurationResource", {
configurationName: "string",
iamRoleArn: "string",
slackChannelId: "string",
slackTeamId: "string",
guardrailPolicyArns: ["string"],
loggingLevel: "string",
snsTopicArns: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
userAuthorizationRequired: false,
});
type: aws:chatbot:SlackChannelConfiguration
properties:
configurationName: string
guardrailPolicyArns:
- string
iamRoleArn: string
loggingLevel: string
slackChannelId: string
slackTeamId: string
snsTopicArns:
- string
tags:
string: string
timeouts:
create: string
delete: string
update: string
userAuthorizationRequired: false
SlackChannelConfiguration 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 SlackChannelConfiguration resource accepts the following input properties:
- Configuration
Name string - Name of the Slack channel configuration.
- Iam
Role stringArn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- Slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - Slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- Timeouts
Slack
Channel Configuration Timeouts - bool
- Enables use of a user role requirement in your chat configuration.
- Configuration
Name string - Name of the Slack channel configuration.
- Iam
Role stringArn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- Slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - Slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- Timeouts
Slack
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- configuration
Name String - Name of the Slack channel configuration.
- iam
Role StringArn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slack
Channel StringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Team StringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- timeouts
Slack
Channel Configuration Timeouts - Boolean
- Enables use of a user role requirement in your chat configuration.
- configuration
Name string - Name of the Slack channel configuration.
- iam
Role stringArn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- timeouts
Slack
Channel Configuration Timeouts - boolean
- Enables use of a user role requirement in your chat configuration.
- configuration_
name str - Name of the Slack channel configuration.
- iam_
role_ strarn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slack_
channel_ strid - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack_
team_ strid ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- timeouts
Slack
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- configuration
Name String - Name of the Slack channel configuration.
- iam
Role StringArn - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slack
Channel StringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Team StringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- 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.
- 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 SlackChannelConfiguration resource produces the following output properties:
- Chat
Configuration stringArn - ARN of the Slack channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Slack
Channel stringName - Name of the Slack channel.
- Slack
Team stringName - Name of the Slack team.
- 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 Slack channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Slack
Channel stringName - Name of the Slack channel.
- Slack
Team stringName - Name of the Slack team.
- 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 Slack channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- slack
Channel StringName - Name of the Slack channel.
- slack
Team StringName - Name of the Slack team.
- 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 Slack channel configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- slack
Channel stringName - Name of the Slack channel.
- slack
Team stringName - Name of the Slack team.
- {[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 Slack channel configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- slack_
channel_ strname - Name of the Slack channel.
- slack_
team_ strname - Name of the Slack team.
- 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 Slack channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- slack
Channel StringName - Name of the Slack channel.
- slack
Team StringName - Name of the Slack team.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing SlackChannelConfiguration Resource
Get an existing SlackChannelConfiguration 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?: SlackChannelConfigurationState, opts?: CustomResourceOptions): SlackChannelConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = 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,
slack_channel_id: Optional[str] = None,
slack_channel_name: Optional[str] = None,
slack_team_id: Optional[str] = None,
slack_team_name: Optional[str] = None,
sns_topic_arns: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
timeouts: Optional[SlackChannelConfigurationTimeoutsArgs] = None,
user_authorization_required: Optional[bool] = None) -> SlackChannelConfiguration
func GetSlackChannelConfiguration(ctx *Context, name string, id IDInput, state *SlackChannelConfigurationState, opts ...ResourceOption) (*SlackChannelConfiguration, error)
public static SlackChannelConfiguration Get(string name, Input<string> id, SlackChannelConfigurationState? state, CustomResourceOptions? opts = null)
public static SlackChannelConfiguration get(String name, Output<String> id, SlackChannelConfigurationState 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.
- Chat
Configuration stringArn - ARN of the Slack channel configuration.
- Configuration
Name string - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - Slack
Channel stringName - Name of the Slack channel.
- Slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- Slack
Team stringName - Name of the Slack team.
- 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. - Timeouts
Slack
Channel Configuration Timeouts - bool
- Enables use of a user role requirement in your chat configuration.
- Chat
Configuration stringArn - ARN of the Slack channel configuration.
- Configuration
Name string - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- Logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - Slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - Slack
Channel stringName - Name of the Slack channel.
- Slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- Slack
Team stringName - Name of the Slack team.
- 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. - Timeouts
Slack
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- chat
Configuration StringArn - ARN of the Slack channel configuration.
- configuration
Name String - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - slack
Channel StringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Channel StringName - Name of the Slack channel.
- slack
Team StringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- slack
Team StringName - Name of the Slack team.
- 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. - timeouts
Slack
Channel Configuration Timeouts - Boolean
- Enables use of a user role requirement in your chat configuration.
- chat
Configuration stringArn - ARN of the Slack channel configuration.
- configuration
Name string - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- logging
Level string - Logging levels include
ERROR
,INFO
, orNONE
. - slack
Channel stringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Channel stringName - Name of the Slack channel.
- slack
Team stringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- slack
Team stringName - Name of the Slack team.
- 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. - timeouts
Slack
Channel Configuration Timeouts - boolean
- Enables use of a user role requirement in your chat configuration.
- chat_
configuration_ strarn - ARN of the Slack channel configuration.
- configuration_
name str - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- logging_
level str - Logging levels include
ERROR
,INFO
, orNONE
. - slack_
channel_ strid - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack_
channel_ strname - Name of the Slack channel.
- slack_
team_ strid ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- slack_
team_ strname - Name of the Slack team.
- 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. - timeouts
Slack
Channel Configuration Timeouts Args - bool
- Enables use of a user role requirement in your chat configuration.
- chat
Configuration StringArn - ARN of the Slack channel configuration.
- configuration
Name String - Name of the Slack 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 - User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- logging
Level String - Logging levels include
ERROR
,INFO
, orNONE
. - slack
Channel StringId - ID of the Slack channel. For example,
C07EZ1ABC23
. - slack
Channel StringName - Name of the Slack channel.
- slack
Team StringId ID of the Slack workspace authorized with AWS Chatbot. For example,
T07EA123LEP
.The following arguments are optional:
- slack
Team StringName - Name of the Slack team.
- 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. - timeouts Property Map
- Boolean
- Enables use of a user role requirement in your chat configuration.
Supporting Types
SlackChannelConfigurationTimeouts, SlackChannelConfigurationTimeoutsArgs
- 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 Slack Channel Configuration using the chat_configuration_arn
. For example:
$ pulumi import aws:chatbot/slackChannelConfiguration:SlackChannelConfiguration example arn:aws:chatbot::123456789012:chat-configuration/slack-channel/min-slaka-kanal
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.