1. Packages
  2. AWS
  3. API Docs
  4. chatbot
  5. SlackChannelConfiguration
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.chatbot.SlackChannelConfiguration

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    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

    The SlackChannelConfiguration resource accepts the following input properties:

    ConfigurationName string
    Name of the Slack channel configuration.
    IamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    SlackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    SlackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    GuardrailPolicyArns List<string>
    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.
    LoggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    SnsTopicArns List<string>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    Timeouts SlackChannelConfigurationTimeouts
    UserAuthorizationRequired bool
    Enables use of a user role requirement in your chat configuration.
    ConfigurationName string
    Name of the Slack channel configuration.
    IamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    SlackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    SlackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    GuardrailPolicyArns []string
    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.
    LoggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    SnsTopicArns []string
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    Tags map[string]string
    Map of tags assigned to the resource.
    Timeouts SlackChannelConfigurationTimeoutsArgs
    UserAuthorizationRequired bool
    Enables use of a user role requirement in your chat configuration.
    configurationName String
    Name of the Slack channel configuration.
    iamRoleArn String
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    slackChannelId String
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackTeamId String

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    guardrailPolicyArns List<String>
    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.
    loggingLevel String
    Logging levels include ERROR, INFO, or NONE.
    snsTopicArns List<String>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Map<String,String>
    Map of tags assigned to the resource.
    timeouts SlackChannelConfigurationTimeouts
    userAuthorizationRequired Boolean
    Enables use of a user role requirement in your chat configuration.
    configurationName string
    Name of the Slack channel configuration.
    iamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    slackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    guardrailPolicyArns string[]
    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.
    loggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    snsTopicArns string[]
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    timeouts SlackChannelConfigurationTimeouts
    userAuthorizationRequired boolean
    Enables use of a user role requirement in your chat configuration.
    configuration_name str
    Name of the Slack channel configuration.
    iam_role_arn str
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    slack_channel_id str
    ID of the Slack channel. For example, C07EZ1ABC23.
    slack_team_id str

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    guardrail_policy_arns Sequence[str]
    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, or NONE.
    sns_topic_arns Sequence[str]
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    timeouts SlackChannelConfigurationTimeoutsArgs
    user_authorization_required bool
    Enables use of a user role requirement in your chat configuration.
    configurationName String
    Name of the Slack channel configuration.
    iamRoleArn String
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    slackChannelId String
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackTeamId String

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    guardrailPolicyArns List<String>
    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.
    loggingLevel String
    Logging levels include ERROR, INFO, or NONE.
    snsTopicArns List<String>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Map<String>
    Map of tags assigned to the resource.
    timeouts Property Map
    userAuthorizationRequired 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:

    ChatConfigurationArn string
    ARN of the Slack channel configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    SlackChannelName string
    Name of the Slack channel.
    SlackTeamName string
    Name of the Slack team.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    ChatConfigurationArn string
    ARN of the Slack channel configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    SlackChannelName string
    Name of the Slack channel.
    SlackTeamName string
    Name of the Slack team.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    chatConfigurationArn String
    ARN of the Slack channel configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    slackChannelName String
    Name of the Slack channel.
    slackTeamName String
    Name of the Slack team.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    chatConfigurationArn string
    ARN of the Slack channel configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    slackChannelName string
    Name of the Slack channel.
    slackTeamName string
    Name of the Slack team.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    chat_configuration_arn str
    ARN of the Slack channel configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    slack_channel_name str
    Name of the Slack channel.
    slack_team_name str
    Name of the Slack team.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    chatConfigurationArn String
    ARN of the Slack channel configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    slackChannelName String
    Name of the Slack channel.
    slackTeamName String
    Name of the Slack team.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    ChatConfigurationArn string
    ARN of the Slack channel configuration.
    ConfigurationName string
    Name of the Slack channel configuration.
    GuardrailPolicyArns List<string>
    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.
    IamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    LoggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    SlackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    SlackChannelName string
    Name of the Slack channel.
    SlackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    SlackTeamName string
    Name of the Slack team.
    SnsTopicArns List<string>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts SlackChannelConfigurationTimeouts
    UserAuthorizationRequired bool
    Enables use of a user role requirement in your chat configuration.
    ChatConfigurationArn string
    ARN of the Slack channel configuration.
    ConfigurationName string
    Name of the Slack channel configuration.
    GuardrailPolicyArns []string
    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.
    IamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    LoggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    SlackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    SlackChannelName string
    Name of the Slack channel.
    SlackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    SlackTeamName string
    Name of the Slack team.
    SnsTopicArns []string
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    Tags map[string]string
    Map of tags assigned to the resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Timeouts SlackChannelConfigurationTimeoutsArgs
    UserAuthorizationRequired bool
    Enables use of a user role requirement in your chat configuration.
    chatConfigurationArn String
    ARN of the Slack channel configuration.
    configurationName String
    Name of the Slack channel configuration.
    guardrailPolicyArns List<String>
    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.
    iamRoleArn String
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    loggingLevel String
    Logging levels include ERROR, INFO, or NONE.
    slackChannelId String
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackChannelName String
    Name of the Slack channel.
    slackTeamId String

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    slackTeamName String
    Name of the Slack team.
    snsTopicArns List<String>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Map<String,String>
    Map of tags assigned to the resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts SlackChannelConfigurationTimeouts
    userAuthorizationRequired Boolean
    Enables use of a user role requirement in your chat configuration.
    chatConfigurationArn string
    ARN of the Slack channel configuration.
    configurationName string
    Name of the Slack channel configuration.
    guardrailPolicyArns string[]
    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.
    iamRoleArn string
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    loggingLevel string
    Logging levels include ERROR, INFO, or NONE.
    slackChannelId string
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackChannelName string
    Name of the Slack channel.
    slackTeamId string

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    slackTeamName string
    Name of the Slack team.
    snsTopicArns string[]
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts SlackChannelConfigurationTimeouts
    userAuthorizationRequired boolean
    Enables use of a user role requirement in your chat configuration.
    chat_configuration_arn str
    ARN of the Slack channel configuration.
    configuration_name str
    Name of the Slack channel configuration.
    guardrail_policy_arns Sequence[str]
    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_arn str
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    logging_level str
    Logging levels include ERROR, INFO, or NONE.
    slack_channel_id str
    ID of the Slack channel. For example, C07EZ1ABC23.
    slack_channel_name str
    Name of the Slack channel.
    slack_team_id str

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    slack_team_name str
    Name of the Slack team.
    sns_topic_arns Sequence[str]
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts SlackChannelConfigurationTimeoutsArgs
    user_authorization_required bool
    Enables use of a user role requirement in your chat configuration.
    chatConfigurationArn String
    ARN of the Slack channel configuration.
    configurationName String
    Name of the Slack channel configuration.
    guardrailPolicyArns List<String>
    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.
    iamRoleArn String
    User-defined role that AWS Chatbot assumes. This is not the service-linked role.
    loggingLevel String
    Logging levels include ERROR, INFO, or NONE.
    slackChannelId String
    ID of the Slack channel. For example, C07EZ1ABC23.
    slackChannelName String
    Name of the Slack channel.
    slackTeamId String

    ID of the Slack workspace authorized with AWS Chatbot. For example, T07EA123LEP.

    The following arguments are optional:

    slackTeamName String
    Name of the Slack team.
    snsTopicArns List<String>
    ARNs of the SNS topics that deliver notifications to AWS Chatbot.
    tags Map<String>
    Map of tags assigned to the resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    timeouts Property Map
    userAuthorizationRequired 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::012345678901: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.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi