chatbot

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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 LookupSlackChannelConfigurationArgs added in v0.12.0

type LookupSlackChannelConfigurationArgs struct {
	// Amazon Resource Name (ARN) of the configuration
	Arn string `pulumi:"arn"`
}

type LookupSlackChannelConfigurationOutputArgs added in v0.12.0

type LookupSlackChannelConfigurationOutputArgs struct {
	// Amazon Resource Name (ARN) of the configuration
	Arn pulumi.StringInput `pulumi:"arn"`
}

func (LookupSlackChannelConfigurationOutputArgs) ElementType added in v0.12.0

type LookupSlackChannelConfigurationResult added in v0.12.0

type LookupSlackChannelConfigurationResult struct {
	// Amazon Resource Name (ARN) of the configuration
	Arn *string `pulumi:"arn"`
	// 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 []string `pulumi:"guardrailPolicies"`
	// The ARN of the IAM role that defines the permissions for AWS Chatbot
	IamRoleArn *string `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 *string `pulumi:"loggingLevel"`
	// The id of the Slack channel
	SlackChannelId *string `pulumi:"slackChannelId"`
	// ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.
	SnsTopicArns []string `pulumi:"snsTopicArns"`
	// Enables use of a user role requirement in your chat configuration
	UserRoleRequired *bool `pulumi:"userRoleRequired"`
}

func LookupSlackChannelConfiguration added in v0.12.0

Resource schema for AWS::Chatbot::SlackChannelConfiguration.

type LookupSlackChannelConfigurationResultOutput added in v0.12.0

type LookupSlackChannelConfigurationResultOutput struct{ *pulumi.OutputState }

func (LookupSlackChannelConfigurationResultOutput) Arn added in v0.12.0

Amazon Resource Name (ARN) of the configuration

func (LookupSlackChannelConfigurationResultOutput) ElementType added in v0.12.0

func (LookupSlackChannelConfigurationResultOutput) GuardrailPolicies added in v0.12.0

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.

func (LookupSlackChannelConfigurationResultOutput) IamRoleArn added in v0.12.0

The ARN of the IAM role that defines the permissions for AWS Chatbot

func (LookupSlackChannelConfigurationResultOutput) LoggingLevel added in v0.12.0

Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs

func (LookupSlackChannelConfigurationResultOutput) SlackChannelId added in v0.12.0

The id of the Slack channel

func (LookupSlackChannelConfigurationResultOutput) SnsTopicArns added in v0.12.0

ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.

func (LookupSlackChannelConfigurationResultOutput) ToLookupSlackChannelConfigurationResultOutput added in v0.12.0

func (o LookupSlackChannelConfigurationResultOutput) ToLookupSlackChannelConfigurationResultOutput() LookupSlackChannelConfigurationResultOutput

func (LookupSlackChannelConfigurationResultOutput) ToLookupSlackChannelConfigurationResultOutputWithContext added in v0.12.0

func (o LookupSlackChannelConfigurationResultOutput) ToLookupSlackChannelConfigurationResultOutputWithContext(ctx context.Context) LookupSlackChannelConfigurationResultOutput

func (LookupSlackChannelConfigurationResultOutput) UserRoleRequired added in v0.12.0

Enables use of a user role requirement in your chat configuration

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) Arn added in v0.17.0

Amazon Resource Name (ARN) of the configuration

func (SlackChannelConfigurationOutput) ConfigurationName added in v0.17.0

func (o SlackChannelConfigurationOutput) ConfigurationName() pulumi.StringOutput

The name of the configuration

func (SlackChannelConfigurationOutput) ElementType

func (SlackChannelConfigurationOutput) GuardrailPolicies added in v0.17.0

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.

func (SlackChannelConfigurationOutput) IamRoleArn added in v0.17.0

The ARN of the IAM role that defines the permissions for AWS Chatbot

func (SlackChannelConfigurationOutput) LoggingLevel added in v0.17.0

Specifies the logging level for this configuration:ERROR,INFO or NONE. This property affects the log entries pushed to Amazon CloudWatch logs

func (SlackChannelConfigurationOutput) SlackChannelId added in v0.17.0

The id of the Slack channel

func (SlackChannelConfigurationOutput) SlackWorkspaceId added in v0.17.0

The id of the Slack workspace

func (SlackChannelConfigurationOutput) SnsTopicArns added in v0.17.0

ARNs of SNS topics which delivers notifications to AWS Chatbot, for example CloudWatch alarm notifications.

func (SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutput

func (o SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutput() SlackChannelConfigurationOutput

func (SlackChannelConfigurationOutput) ToSlackChannelConfigurationOutputWithContext

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

func (SlackChannelConfigurationOutput) UserRoleRequired added in v0.17.0

Enables use of a user role requirement in your chat configuration

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