AWS::SupportApp::SlackWorkspaceConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::SupportApp::SlackWorkspaceConfiguration

You can use the AWS::SupportApp::SlackWorkspaceConfiguration resource to specify your Slack workspace configuration. This resource configures your Amazon Web Services account so that you can use the specified Slack workspace in the Amazon Web Services Support App. This resource includes the following information:

  • The team ID for the Slack workspace

  • The version ID of the resource to use with Amazon CloudFormation

For more information, see the following topics in the Amazon Web Services Support User Guide:

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::SupportApp::SlackWorkspaceConfiguration", "Properties" : { "TeamId" : String, "VersionId" : String } }

YAML

Type: AWS::SupportApp::SlackWorkspaceConfiguration Properties: TeamId: String VersionId: String

Properties

TeamId

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

Required: Yes

Type: String

Pattern: ^\S+$

Minimum: 1

Maximum: 256

Update requires: Replacement

VersionId

An identifier used to update an existing Slack workspace configuration in Amazon CloudFormation, such as 100.

Required: No

Type: String

Pattern: ^[0-9]+$

Minimum: 1

Maximum: 256

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ID of the Slack workspace, such as T012ABCDEFG.

For the Amazon Web Services Support App Slack workspace configuration, Ref returns the value of the Slack workspace ID.

For more information about using the Ref function, see Ref.

Examples

The following examples can help you create Amazon Web Services Support App resources using CloudFormation.

Example

Use this template to create a Slack workspace configuration for your account or your organization. You must replace the Slack workspace ID.

JSON

{ "AWSTemplateFormatVersion": "2010-09-09", "Description": "Example stack to create a Slack workspace configuration", "Resources": { "SlackWorkspaceConfiguration": { "Type": "AWS::SupportApp::SlackWorkspaceConfiguration", "Properties": { "TeamId": "T012ABCDEFG", "VersionId": "1" } } } }

YAML

AWSTemplateFormatVersion: '2010-09-09' Description: Example stack to create a Slack workspace configuration Resources: SlackWorkspaceConfiguration: Type: AWS::SupportApp::SlackWorkspaceConfiguration Properties: TeamId: T012ABCDEFG VersionId: '1'