chatbot

package
v6.43.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetSlackWorkspaceArgs

type GetSlackWorkspaceArgs struct {
	// Slack workspace name configured with AWS Chatbot.
	SlackTeamName string `pulumi:"slackTeamName"`
}

A collection of arguments for invoking getSlackWorkspace.

type GetSlackWorkspaceOutputArgs

type GetSlackWorkspaceOutputArgs struct {
	// Slack workspace name configured with AWS Chatbot.
	SlackTeamName pulumi.StringInput `pulumi:"slackTeamName"`
}

A collection of arguments for invoking getSlackWorkspace.

func (GetSlackWorkspaceOutputArgs) ElementType

type GetSlackWorkspaceResult

type GetSlackWorkspaceResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// ID of the Slack Workspace assigned by AWS Chatbot.
	SlackTeamId   string `pulumi:"slackTeamId"`
	SlackTeamName string `pulumi:"slackTeamName"`
}

A collection of values returned by getSlackWorkspace.

func GetSlackWorkspace

func GetSlackWorkspace(ctx *pulumi.Context, args *GetSlackWorkspaceArgs, opts ...pulumi.InvokeOption) (*GetSlackWorkspaceResult, error)

Data source for managing an AWS Chatbot Slack Workspace.

## Example Usage

### Basic Usage

```go 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.GetSlackWorkspace(ctx, &chatbot.GetSlackWorkspaceArgs{
			SlackTeamName: "abc",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSlackWorkspaceResultOutput

type GetSlackWorkspaceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSlackWorkspace.

func (GetSlackWorkspaceResultOutput) ElementType

func (GetSlackWorkspaceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSlackWorkspaceResultOutput) SlackTeamId

ID of the Slack Workspace assigned by AWS Chatbot.

func (GetSlackWorkspaceResultOutput) SlackTeamName

func (GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutput

func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutput() GetSlackWorkspaceResultOutput

func (GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutputWithContext

func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutputWithContext(ctx context.Context) GetSlackWorkspaceResultOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL