Class CfnCustomActionPropsMixin
AWS Chatbot is now .
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Chatbot
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnCustomActionPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnCustomActionPropsMixin Inherits Mixin Implements IMixin
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
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.CfnPropertyMixins.AWS.Chatbot;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnCustomActionPropsMixin = new CfnCustomActionPropsMixin(new CfnCustomActionMixinProps {
ActionName = "actionName",
AliasName = "aliasName",
Attachments = new [] { new CustomActionAttachmentProperty {
ButtonText = "buttonText",
Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
Operator = "operator",
Value = "value",
VariableName = "variableName"
} },
NotificationType = "notificationType",
Variables = new Dictionary<string, string> {
{ "variablesKey", "variables" }
}
} },
Definition = new CustomActionDefinitionProperty {
CommandText = "commandText"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnCustomActionPropsMixin(ICfnCustomActionMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | AWS Chatbot is now . |
| Props | AWS Chatbot is now . |
| Strategy | AWS Chatbot is now . |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnCustomActionPropsMixin(ICfnCustomActionMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::Chatbot::CustomAction.
public CfnCustomActionPropsMixin(ICfnCustomActionMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnCustomActionMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
AWS Chatbot is now .
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
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.CfnPropertyMixins.AWS.Chatbot;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnCustomActionPropsMixin = new CfnCustomActionPropsMixin(new CfnCustomActionMixinProps {
ActionName = "actionName",
AliasName = "aliasName",
Attachments = new [] { new CustomActionAttachmentProperty {
ButtonText = "buttonText",
Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
Operator = "operator",
Value = "value",
VariableName = "variableName"
} },
NotificationType = "notificationType",
Variables = new Dictionary<string, string> {
{ "variablesKey", "variables" }
}
} },
Definition = new CustomActionDefinitionProperty {
CommandText = "commandText"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
AWS Chatbot is now .
protected virtual ICfnCustomActionMixinProps Props { get; }
Property Value
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
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.CfnPropertyMixins.AWS.Chatbot;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnCustomActionPropsMixin = new CfnCustomActionPropsMixin(new CfnCustomActionMixinProps {
ActionName = "actionName",
AliasName = "aliasName",
Attachments = new [] { new CustomActionAttachmentProperty {
ButtonText = "buttonText",
Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
Operator = "operator",
Value = "value",
VariableName = "variableName"
} },
NotificationType = "notificationType",
Variables = new Dictionary<string, string> {
{ "variablesKey", "variables" }
}
} },
Definition = new CustomActionDefinitionProperty {
CommandText = "commandText"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
AWS Chatbot is now .
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
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.CfnPropertyMixins.AWS.Chatbot;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnCustomActionPropsMixin = new CfnCustomActionPropsMixin(new CfnCustomActionMixinProps {
ActionName = "actionName",
AliasName = "aliasName",
Attachments = new [] { new CustomActionAttachmentProperty {
ButtonText = "buttonText",
Criteria = new [] { new CustomActionAttachmentCriteriaProperty {
Operator = "operator",
Value = "value",
VariableName = "variableName"
} },
NotificationType = "notificationType",
Variables = new Dictionary<string, string> {
{ "variablesKey", "variables" }
}
} },
Definition = new CustomActionDefinitionProperty {
CommandText = "commandText"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
<code>Type</code> attribute values remain unchanged.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
CloudformationResource: AWS::Chatbot::CustomAction
Mixin: true
ExampleMetadata: fixture=_generated