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:
- ConfigurationName string
- Name of the Slack channel configuration.
- IamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- SlackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- SlackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- GuardrailPolicy List<string>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- LoggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- SnsTopic 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
SlackChannel Configuration Timeouts 
- bool
- Enables use of a user role requirement in your chat configuration.
- ConfigurationName string
- Name of the Slack channel configuration.
- IamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- SlackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- SlackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- GuardrailPolicy []stringArns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- LoggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- SnsTopic []stringArns 
- ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- map[string]string
- Map of tags assigned to the resource.
- Timeouts
SlackChannel Configuration Timeouts Args 
- bool
- Enables use of a user role requirement in your chat configuration.
- configurationName String
- Name of the Slack channel configuration.
- iamRole StringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slackChannel StringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackTeam StringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- guardrailPolicy List<String>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- loggingLevel String
- Logging levels include ERROR,INFO, orNONE.
- snsTopic 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
SlackChannel Configuration Timeouts 
- Boolean
- Enables use of a user role requirement in your chat configuration.
- configurationName string
- Name of the Slack channel configuration.
- iamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- guardrailPolicy string[]Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- loggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- snsTopic string[]Arns 
- ARNs of the SNS topics that deliver notifications to AWS Chatbot.
- {[key: string]: string}
- Map of tags assigned to the resource.
- timeouts
SlackChannel 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 AdministratorAccesspolicy 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
SlackChannel Configuration Timeouts Args 
- bool
- Enables use of a user role requirement in your chat configuration.
- configurationName String
- Name of the Slack channel configuration.
- iamRole StringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- slackChannel StringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackTeam StringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- guardrailPolicy List<String>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- loggingLevel String
- Logging levels include ERROR,INFO, orNONE.
- snsTopic 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:
- ChatConfiguration stringArn 
- ARN of the Slack channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- SlackChannel stringName 
- Name of the Slack channel.
- SlackTeam stringName 
- Name of the Slack team.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- ChatConfiguration stringArn 
- ARN of the Slack channel configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- SlackChannel stringName 
- Name of the Slack channel.
- SlackTeam stringName 
- Name of the Slack team.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- chatConfiguration StringArn 
- ARN of the Slack channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- slackChannel StringName 
- Name of the Slack channel.
- slackTeam StringName 
- Name of the Slack team.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- chatConfiguration stringArn 
- ARN of the Slack channel configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- slackChannel stringName 
- Name of the Slack channel.
- slackTeam stringName 
- Name of the Slack team.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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_tagsconfiguration block.
- chatConfiguration StringArn 
- ARN of the Slack channel configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- slackChannel StringName 
- Name of the Slack channel.
- slackTeam StringName 
- Name of the Slack team.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration 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) -> SlackChannelConfigurationfunc 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)resources:  _:    type: aws:chatbot:SlackChannelConfiguration    get:      id: ${id}- 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.
- ChatConfiguration stringArn 
- ARN of the Slack channel configuration.
- ConfigurationName string
- Name of the Slack channel configuration.
- GuardrailPolicy List<string>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- IamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- LoggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- SlackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- SlackChannel stringName 
- Name of the Slack channel.
- SlackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- SlackTeam stringName 
- Name of the Slack team.
- SnsTopic 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_tagsconfiguration block.
- Timeouts
SlackChannel Configuration Timeouts 
- bool
- Enables use of a user role requirement in your chat configuration.
- ChatConfiguration stringArn 
- ARN of the Slack channel configuration.
- ConfigurationName string
- Name of the Slack channel configuration.
- GuardrailPolicy []stringArns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- IamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- LoggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- SlackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- SlackChannel stringName 
- Name of the Slack channel.
- SlackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- SlackTeam stringName 
- Name of the Slack team.
- SnsTopic []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_tagsconfiguration block.
- Timeouts
SlackChannel Configuration Timeouts Args 
- bool
- Enables use of a user role requirement in your chat configuration.
- chatConfiguration StringArn 
- ARN of the Slack channel configuration.
- configurationName String
- Name of the Slack channel configuration.
- guardrailPolicy List<String>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- iamRole StringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- loggingLevel String
- Logging levels include ERROR,INFO, orNONE.
- slackChannel StringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackChannel StringName 
- Name of the Slack channel.
- slackTeam StringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- slackTeam StringName 
- Name of the Slack team.
- snsTopic 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_tagsconfiguration block.
- timeouts
SlackChannel Configuration Timeouts 
- Boolean
- Enables use of a user role requirement in your chat configuration.
- chatConfiguration stringArn 
- ARN of the Slack channel configuration.
- configurationName string
- Name of the Slack channel configuration.
- guardrailPolicy string[]Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- iamRole stringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- loggingLevel string
- Logging levels include ERROR,INFO, orNONE.
- slackChannel stringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackChannel stringName 
- Name of the Slack channel.
- slackTeam stringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- slackTeam stringName 
- Name of the Slack team.
- snsTopic 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_tagsconfiguration block.
- timeouts
SlackChannel 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 AdministratorAccesspolicy 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_tagsconfiguration block.
- timeouts
SlackChannel Configuration Timeouts Args 
- bool
- Enables use of a user role requirement in your chat configuration.
- chatConfiguration StringArn 
- ARN of the Slack channel configuration.
- configurationName String
- Name of the Slack channel configuration.
- guardrailPolicy List<String>Arns 
- List of IAM policy ARNs that are applied as channel guardrails. The AWS managed AdministratorAccesspolicy is applied by default if this is not set.
- iamRole StringArn 
- User-defined role that AWS Chatbot assumes. This is not the service-linked role.
- loggingLevel String
- Logging levels include ERROR,INFO, orNONE.
- slackChannel StringId 
- ID of the Slack channel. For example, C07EZ1ABC23.
- slackChannel StringName 
- Name of the Slack channel.
- slackTeam StringId 
- ID of the Slack workspace authorized with AWS Chatbot. For example, - T07EA123LEP.- The following arguments are optional: 
- slackTeam StringName 
- Name of the Slack team.
- snsTopic 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_tagsconfiguration 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 awsTerraform Provider.