Interface CfnFirewallPolicy.ICustomActionProperty
An optional, non-standard action to use for stateless packet handling.
Namespace: Amazon.CDK.AWS.NetworkFirewall
Assembly: Amazon.CDK.AWS.NetworkFirewall.dll
Syntax (csharp)
public interface ICustomActionProperty
Syntax (vb)
Public Interface 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:
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
Properties
ActionDefinition | The custom action associated with the action name. |
ActionName | The descriptive name of the custom action. |
Properties
ActionDefinition
The custom action associated with the action name.
object ActionDefinition { get; }
Property Value
System.Object
Remarks
ActionName
The descriptive name of the custom action.
string ActionName { get; }
Property Value
System.String
Remarks
You can't change the name of a custom action after you create it.