@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
57 lines (56 loc) • 2.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as enums from "../types/enums";
/**
* An AWS Support App resource that creates, updates, lists and deletes Slack channel configurations.
*/
export declare function getSlackChannelConfiguration(args: GetSlackChannelConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetSlackChannelConfigurationResult>;
export interface GetSlackChannelConfigurationArgs {
/**
* The channel ID in Slack, which identifies a channel within a workspace.
*/
channelId: string;
/**
* The team ID in Slack, which uniquely identifies a workspace.
*/
teamId: string;
}
export interface GetSlackChannelConfigurationResult {
/**
* The channel name in Slack.
*/
readonly channelName?: string;
/**
* The Amazon Resource Name (ARN) of an IAM role that grants the AWS Support App access to perform operations for AWS services.
*/
readonly channelRoleArn?: string;
/**
* Whether to notify when a correspondence is added to a case.
*/
readonly notifyOnAddCorrespondenceToCase?: boolean;
/**
* The severity level of a support case that a customer wants to get notified for.
*/
readonly notifyOnCaseSeverity?: enums.supportapp.SlackChannelConfigurationNotifyOnCaseSeverity;
/**
* Whether to notify when a case is created or reopened.
*/
readonly notifyOnCreateOrReopenCase?: boolean;
/**
* Whether to notify when a case is resolved.
*/
readonly notifyOnResolveCase?: boolean;
}
/**
* An AWS Support App resource that creates, updates, lists and deletes Slack channel configurations.
*/
export declare function getSlackChannelConfigurationOutput(args: GetSlackChannelConfigurationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSlackChannelConfigurationResult>;
export interface GetSlackChannelConfigurationOutputArgs {
/**
* The channel ID in Slack, which identifies a channel within a workspace.
*/
channelId: pulumi.Input<string>;
/**
* The team ID in Slack, which uniquely identifies a workspace.
*/
teamId: pulumi.Input<string>;
}