Show / Hide Table of Contents

Interface CfnRuleGroupPropsMixin.IStatelessRulesAndCustomActionsProperty

Stateless inspection criteria.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.NetworkFirewall
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnRuleGroupPropsMixin.IStatelessRulesAndCustomActionsProperty
Syntax (vb)
Public Interface CfnRuleGroupPropsMixin.IStatelessRulesAndCustomActionsProperty
Remarks

Each stateless rule group uses exactly one of these data types to define its stateless rules.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.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.CfnPropertyMixins.AWS.NetworkFirewall;

             var statelessRulesAndCustomActionsProperty = new StatelessRulesAndCustomActionsProperty {
                 CustomActions = new [] { new CustomActionProperty {
                     ActionDefinition = new ActionDefinitionProperty {
                         PublishMetricAction = new PublishMetricActionProperty {
                             Dimensions = new [] { new DimensionProperty {
                                 Value = "value"
                             } }
                         }
                     },
                     ActionName = "actionName"
                 } },
                 StatelessRules = new [] { new StatelessRuleProperty {
                     Priority = 123,
                     RuleDefinition = new RuleDefinitionProperty {
                         Actions = new [] { "actions" },
                         MatchAttributes = new MatchAttributesProperty {
                             DestinationPorts = new [] { new PortRangeProperty {
                                 FromPort = 123,
                                 ToPort = 123
                             } },
                             Destinations = new [] { new AddressProperty {
                                 AddressDefinition = "addressDefinition"
                             } },
                             Protocols = new [] { 123 },
                             SourcePorts = new [] { new PortRangeProperty {
                                 FromPort = 123,
                                 ToPort = 123
                             } },
                             Sources = new [] { new AddressProperty {
                                 AddressDefinition = "addressDefinition"
                             } },
                             TcpFlags = new [] { new TCPFlagFieldProperty {
                                 Flags = new [] { "flags" },
                                 Masks = new [] { "masks" }
                             } }
                         }
                     }
                 } }
             };

Synopsis

Properties

CustomActions

Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification.

StatelessRules

Defines the set of stateless rules for use in a stateless rule group.

Properties

CustomActions

Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification.

object? CustomActions { get; }
Property Value

object

Remarks

You name each custom action that you define, and then you can use it by name in your stateless rule definition Actions specification.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.html#cfn-networkfirewall-rulegroup-statelessrulesandcustomactions-customactions

Type union: either IResolvable or (either IResolvable or CfnRuleGroupPropsMixin.ICustomActionProperty)[]

StatelessRules

Defines the set of stateless rules for use in a stateless rule group.

object? StatelessRules { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networkfirewall-rulegroup-statelessrulesandcustomactions.html#cfn-networkfirewall-rulegroup-statelessrulesandcustomactions-statelessrules

Type union: either IResolvable or (either IResolvable or CfnRuleGroupPropsMixin.IStatelessRuleProperty)[]

Back to top Generated by DocFX