Documentation ¶
Index ¶
- type GetSlackWorkspaceArgs
- type GetSlackWorkspaceOutputArgs
- type GetSlackWorkspaceResult
- type GetSlackWorkspaceResultOutput
- func (GetSlackWorkspaceResultOutput) ElementType() reflect.Type
- func (o GetSlackWorkspaceResultOutput) Id() pulumi.StringOutput
- func (o GetSlackWorkspaceResultOutput) SlackTeamId() pulumi.StringOutput
- func (o GetSlackWorkspaceResultOutput) SlackTeamName() pulumi.StringOutput
- func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutput() GetSlackWorkspaceResultOutput
- func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutputWithContext(ctx context.Context) GetSlackWorkspaceResultOutput
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 ¶
func (GetSlackWorkspaceOutputArgs) ElementType() reflect.Type
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 GetSlackWorkspaceOutput ¶
func GetSlackWorkspaceOutput(ctx *pulumi.Context, args GetSlackWorkspaceOutputArgs, opts ...pulumi.InvokeOption) GetSlackWorkspaceResultOutput
func (GetSlackWorkspaceResultOutput) ElementType ¶
func (GetSlackWorkspaceResultOutput) ElementType() reflect.Type
func (GetSlackWorkspaceResultOutput) Id ¶
func (o GetSlackWorkspaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSlackWorkspaceResultOutput) SlackTeamId ¶
func (o GetSlackWorkspaceResultOutput) SlackTeamId() pulumi.StringOutput
ID of the Slack Workspace assigned by AWS Chatbot.
func (GetSlackWorkspaceResultOutput) SlackTeamName ¶
func (o GetSlackWorkspaceResultOutput) SlackTeamName() pulumi.StringOutput
func (GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutput ¶
func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutput() GetSlackWorkspaceResultOutput
func (GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutputWithContext ¶
func (o GetSlackWorkspaceResultOutput) ToGetSlackWorkspaceResultOutputWithContext(ctx context.Context) GetSlackWorkspaceResultOutput
Click to show internal directories.
Click to hide internal directories.