@Stability(value=Stable) public static final class CfnRuleGroup.ActionDefinitionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRuleGroup.ActionDefinitionProperty>
CfnRuleGroup.ActionDefinitionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRuleGroup.ActionDefinitionProperty |
build()
Builds the configured instance.
|
CfnRuleGroup.ActionDefinitionProperty.Builder |
publishMetricAction(CfnRuleGroup.PublishMetricActionProperty publishMetricAction)
Sets the value of
CfnRuleGroup.ActionDefinitionProperty.getPublishMetricAction() |
CfnRuleGroup.ActionDefinitionProperty.Builder |
publishMetricAction(IResolvable publishMetricAction)
Sets the value of
CfnRuleGroup.ActionDefinitionProperty.getPublishMetricAction() |
@Stability(value=Stable) public CfnRuleGroup.ActionDefinitionProperty.Builder publishMetricAction(CfnRuleGroup.PublishMetricActionProperty publishMetricAction)
CfnRuleGroup.ActionDefinitionProperty.getPublishMetricAction()publishMetricAction - Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
This setting defines a CloudWatch dimension value to be published.
You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.
this@Stability(value=Stable) public CfnRuleGroup.ActionDefinitionProperty.Builder publishMetricAction(IResolvable publishMetricAction)
CfnRuleGroup.ActionDefinitionProperty.getPublishMetricAction()publishMetricAction - Stateless inspection criteria that publishes the specified metrics to Amazon CloudWatch for the matching packet.
This setting defines a CloudWatch dimension value to be published.
You can pair this custom action with any of the standard stateless rule actions. For example, you could pair this in a rule action with the standard action that forwards the packet for stateful inspection. Then, when a packet matches the rule, Network Firewall publishes metrics for the packet and forwards it.
this@Stability(value=Stable) public CfnRuleGroup.ActionDefinitionProperty build()
build in interface software.amazon.jsii.Builder<CfnRuleGroup.ActionDefinitionProperty>CfnRuleGroup.ActionDefinitionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.