chatbot

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SlackChannelConfiguration

type SlackChannelConfiguration struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the configuration
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The name of the configuration
	ConfigurationName pulumi.StringOutput `pulumi:"configurationName"`
	// 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.
	GuardrailPolicies pulumi.StringArrayOutput `pulumi:"guardrailPolicies"`
	// The ARN of the IAM role that defines the permissions for AWS Chatbot
	IamRoleArn pulumi.StringOutput `pulumi:"iamRoleArn"`
	// Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
	LoggingLevel pulumi.StringPtrOutput `pulumi:"loggingLevel"`
	// The id of the Slack channel
	SlackChannelId pulumi.StringOutput `pulumi:"slackChannelId"`
	// The id of the Slack workspace
	SlackWorkspaceId pulumi.StringOutput `pulumi:"slackWorkspaceId"`
	// ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
	SnsTopicArns pulumi.StringArrayOutput `pulumi:"snsTopicArns"`
	// Enables use of a user role requirement in your chat configuration
	UserRoleRequired pulumi.BoolPtrOutput `pulumi:"userRoleRequired"`
}

Resource schema for AWS::Chatbot::SlackChannelConfiguration.

func GetSlackChannelConfiguration

func GetSlackChannelConfiguration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SlackChannelConfigurationState, opts ...pulumi.ResourceOption) (*SlackChannelConfiguration, error)

GetSlackChannelConfiguration gets an existing SlackChannelConfiguration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSlackChannelConfiguration

func NewSlackChannelConfiguration(ctx *pulumi.Context,
	name string, args *SlackChannelConfigurationArgs, opts ...pulumi.ResourceOption) (*SlackChannelConfiguration, error)

NewSlackChannelConfiguration registers a new resource with the given unique name, arguments, and options.

func (*SlackChannelConfiguration) ElementType

func (*SlackChannelConfiguration) ElementType() reflect.Type

func (*SlackChannelConfiguration) ToSlackChannelConfigurationOutput

func (i *SlackChannelConfiguration) ToSlackChannelConfigurationOutput() SlackChannelConfigurationOutput

func (*SlackChannelConfiguration) ToSlackChannelConfigurationOutputWithContext

func (i *SlackChannelConfiguration) ToSlackChannelConfigurationOutputWithContext(ctx context.Context) SlackChannelConfigurationOutput

type SlackChannelConfigurationArgs

type SlackChannelConfigurationArgs struct {
	// The name of the configuration
	ConfigurationName pulumi.StringInput
	// 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.
	GuardrailPolicies pulumi.StringArrayInput
	// The ARN of the IAM role that defines the permissions for AWS Chatbot
	IamRoleArn pulumi.StringInput
	// Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs
	LoggingLevel pulumi.StringPtrInput
	// The id of the Slack channel
	SlackChannelId pulumi.StringInput
	// The id of the Slack workspace
	SlackWorkspaceId pulumi.StringInput
	// ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
	SnsTopicArns pulumi.StringArrayInput
	// Enables use of a user role requirement in your chat configuration
	UserRoleRequired pulumi.BoolPtrInput
}

The set of arguments for constructing a SlackChannelConfiguration resource.

func (SlackChannelConfigurationArgs) ElementType

type SlackChannelConfigurationInput

type SlackChannelConfigurationInput interface {
	pulumi.Input

	ToSlackChannelConfigurationOutput() SlackChannelConfigurationOutput
	ToSlackChannelConfigurationOutputWithContext(ctx context.Context) SlackChannelConfigurationOutput
}

type SlackChannelConfigurationOutput

type SlackChannelConfigurationOutput struct{ *pulumi.OutputState }

func (SlackChannelConfigurationOutput) ElementType

func (SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutput

func (o SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutput() SlackChannelConfigurationOutput

func (SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutputWithContext

func (o SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutputWithContext(ctx context.Context) SlackChannelConfigurationOutput

type SlackChannelConfigurationState

type SlackChannelConfigurationState struct {
}

func (SlackChannelConfigurationState) ElementType

Jump to

Keyboard shortcuts

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