Show / Hide Table of Contents

Class CfnRuleGroup.CustomActionProperty

An optional, non-standard action to use for stateless packet handling.

Inheritance
System.Object
CfnRuleGroup.CustomActionProperty
Implements
CfnRuleGroup.ICustomActionProperty
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public class CustomActionProperty : Object, CfnRuleGroup.ICustomActionProperty
Syntax (vb)
Public Class CustomActionProperty
    Inherits Object
    Implements CfnRuleGroup.ICustomActionProperty
Remarks

You can define this in addition to the standard action that you must specify.

You define and name the custom actions that you want to be able to use, and then you reference them by name in your actions settings.

You can use custom actions in the following places:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.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.NetworkFirewall;
    
    var customActionProperty = new CustomActionProperty {
        ActionDefinition = new ActionDefinitionProperty {
            PublishMetricAction = new PublishMetricActionProperty {
                Dimensions = new [] { new DimensionProperty {
                    Value = "value"
                } }
            }
        },
        ActionName = "actionName"
    };

    Synopsis

    Constructors

    CustomActionProperty()

    Properties

    ActionDefinition

    The custom action associated with the action name.

    ActionName

    The descriptive name of the custom action.

    Constructors

    CustomActionProperty()

    public CustomActionProperty()

    Properties

    ActionDefinition

    The custom action associated with the action name.

    public object ActionDefinition { get; set; }
    Property Value

    System.Object

    Remarks

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.html#cfn-networkfirewall-rulegroup-customaction-actiondefinition

    ActionName

    The descriptive name of the custom action.

    public string ActionName { get; set; }
    Property Value

    System.String

    Remarks

    You can't change the name of a custom action after you create it.

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-customaction.html#cfn-networkfirewall-rulegroup-customaction-actionname

    Implements

    CfnRuleGroup.ICustomActionProperty
    Back to top Generated by DocFX