interface StatelessRulesAndCustomActionsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.NetworkFirewall.Mixins.CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsnetworkfirewall/mixins#CfnRuleGroupPropsMixin_StatelessRulesAndCustomActionsProperty |
Java | software.amazon.awscdk.mixins.preview.services.networkfirewall.mixins.CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty |
Python | aws_cdk.mixins_preview.aws_networkfirewall.mixins.CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_networkfirewall » mixins » CfnRuleGroupPropsMixin » StatelessRulesAndCustomActionsProperty |
Stateless inspection criteria.
Each stateless rule group uses exactly one of these data types to define its stateless rules.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as networkfirewall_mixins } from '@aws-cdk/mixins-preview/aws-networkfirewall';
const statelessRulesAndCustomActionsProperty: networkfirewall_mixins.CfnRuleGroupPropsMixin.StatelessRulesAndCustomActionsProperty = {
customActions: [{
actionDefinition: {
publishMetricAction: {
dimensions: [{
value: 'value',
}],
},
},
actionName: 'actionName',
}],
statelessRules: [{
priority: 123,
ruleDefinition: {
actions: ['actions'],
matchAttributes: {
destinationPorts: [{
fromPort: 123,
toPort: 123,
}],
destinations: [{
addressDefinition: 'addressDefinition',
}],
protocols: [123],
sourcePorts: [{
fromPort: 123,
toPort: 123,
}],
sources: [{
addressDefinition: 'addressDefinition',
}],
tcpFlags: [{
flags: ['flags'],
masks: ['masks'],
}],
},
},
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| custom | IResolvable | (IResolvable | Custom)[] | Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification. |
| stateless | IResolvable | (IResolvable | Stateless)[] | Defines the set of stateless rules for use in a stateless rule group. |
customActions?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions specification.
You name each custom action that you define, and then you can use it by name in your stateless rule definition Actions specification.
statelessRules?
Type:
IResolvable | (IResolvable | Stateless)[]
(optional)
Defines the set of stateless rules for use in a stateless rule group.

.NET
Go
Java
Python
TypeScript