We recommend new projects start with resources from the AWS provider.
aws-native.chatbot.SlackChannelConfiguration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::Chatbot::SlackChannelConfiguration.
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,
iam_role_arn: Optional[str] = None,
slack_channel_id: Optional[str] = None,
slack_workspace_id: Optional[str] = None,
configuration_name: Optional[str] = None,
guardrail_policies: Optional[Sequence[str]] = None,
logging_level: Optional[str] = None,
sns_topic_arns: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
user_role_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-native: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.
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:
- Iam
Role stringArn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- Slack
Channel stringId - The id of the Slack channel
- Slack
Workspace stringId - The id of the Slack workspace
- Configuration
Name string - The name of the configuration
- Guardrail
Policies List<string> - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- Logging
Level string - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- Sns
Topic List<string>Arns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- List<Pulumi.
Aws Native. Inputs. Tag> - The tags to add to the configuration
- User
Role boolRequired - Enables use of a user role requirement in your chat configuration
- Iam
Role stringArn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- Slack
Channel stringId - The id of the Slack channel
- Slack
Workspace stringId - The id of the Slack workspace
- Configuration
Name string - The name of the configuration
- Guardrail
Policies []string - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- Logging
Level string - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- Sns
Topic []stringArns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- Tag
Args - The tags to add to the configuration
- User
Role boolRequired - Enables use of a user role requirement in your chat configuration
- iam
Role StringArn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- slack
Channel StringId - The id of the Slack channel
- slack
Workspace StringId - The id of the Slack workspace
- configuration
Name String - The name of the configuration
- guardrail
Policies List<String> - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- logging
Level String - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- sns
Topic List<String>Arns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- List<Tag>
- The tags to add to the configuration
- user
Role BooleanRequired - Enables use of a user role requirement in your chat configuration
- iam
Role stringArn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- slack
Channel stringId - The id of the Slack channel
- slack
Workspace stringId - The id of the Slack workspace
- configuration
Name string - The name of the configuration
- guardrail
Policies string[] - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- logging
Level string - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- sns
Topic string[]Arns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- Tag[]
- The tags to add to the configuration
- user
Role booleanRequired - Enables use of a user role requirement in your chat configuration
- iam_
role_ strarn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- slack_
channel_ strid - The id of the Slack channel
- slack_
workspace_ strid - The id of the Slack workspace
- configuration_
name str - The name of the configuration
- guardrail_
policies Sequence[str] - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- logging_
level str - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- sns_
topic_ Sequence[str]arns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- Sequence[Tag
Args] - The tags to add to the configuration
- user_
role_ boolrequired - Enables use of a user role requirement in your chat configuration
- iam
Role StringArn - The ARN of the IAM role that defines the permissions for AWS Chatbot
- slack
Channel StringId - The id of the Slack channel
- slack
Workspace StringId - The id of the Slack workspace
- configuration
Name String - The name of the configuration
- guardrail
Policies List<String> - The list of IAM policy ARNs that are applied as channel guardrails. The AWS managed 'AdministratorAccess' policy is applied as a default if this is not set.
- logging
Level String - Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
- sns
Topic List<String>Arns - ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
- List<Property Map>
- The tags to add to the configuration
- user
Role BooleanRequired - 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:
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.