Show / Hide Table of Contents

Class CfnCustomAction.CustomActionAttachmentProperty

AWS Chatbot is now . Learn more > > Type attribute values remain unchanged.

Inheritance
object
CfnCustomAction.CustomActionAttachmentProperty
Implements
CfnCustomAction.ICustomActionAttachmentProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Chatbot
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomAction.CustomActionAttachmentProperty : CfnCustomAction.ICustomActionAttachmentProperty
Syntax (vb)
Public Class CfnCustomAction.CustomActionAttachmentProperty Implements CfnCustomAction.ICustomActionAttachmentProperty
Remarks

Defines when a custom action button should be attached to a notification.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Chatbot;

             var customActionAttachmentProperty = new CustomActionAttachmentProperty {
                 ButtonText = "buttonText",
                 Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
                     Operator = "operator",
                     VariableName = "variableName",

                     // the properties below are optional
                     Value = "value"
                 } },
                 NotificationType = "notificationType",
                 Variables = new Dictionary<string, string> {
                     { "variablesKey", "variables" }
                 }
             };

Synopsis

Constructors

CustomActionAttachmentProperty()

AWS Chatbot is now . Learn more > > Type attribute values remain unchanged.

Properties

ButtonText

The text of the button that appears on the notification.

Criteria

The criteria for when a button should be shown based on values in the notification.

NotificationType

The type of notification that the custom action should be attached to.

Variables

The variables to extract from the notification.

Constructors

CustomActionAttachmentProperty()

AWS Chatbot is now . Learn more > > Type attribute values remain unchanged.

public CustomActionAttachmentProperty()
Remarks

Defines when a custom action button should be attached to a notification.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Chatbot;

             var customActionAttachmentProperty = new CustomActionAttachmentProperty {
                 ButtonText = "buttonText",
                 Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
                     Operator = "operator",
                     VariableName = "variableName",

                     // the properties below are optional
                     Value = "value"
                 } },
                 NotificationType = "notificationType",
                 Variables = new Dictionary<string, string> {
                     { "variablesKey", "variables" }
                 }
             };

Properties

ButtonText

The text of the button that appears on the notification.

public string? ButtonText { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-buttontext

Criteria

The criteria for when a button should be shown based on values in the notification.

public object? Criteria { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-criteria

NotificationType

The type of notification that the custom action should be attached to.

public string? NotificationType { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-notificationtype

Variables

The variables to extract from the notification.

public object? Variables { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-chatbot-customaction-customactionattachment.html#cfn-chatbot-customaction-customactionattachment-variables

Implements

CfnCustomAction.ICustomActionAttachmentProperty
Back to top Generated by DocFX