@Stability(value=Stable) public static final class CfnFirewallPolicy.ActionDefinitionProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFirewallPolicy.ActionDefinitionProperty>
CfnFirewallPolicy.ActionDefinitionProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFirewallPolicy.ActionDefinitionProperty |
build()
Builds the configured instance.
|
CfnFirewallPolicy.ActionDefinitionProperty.Builder |
publishMetricAction(CfnFirewallPolicy.PublishMetricActionProperty publishMetricAction)
Sets the value of
CfnFirewallPolicy.ActionDefinitionProperty.getPublishMetricAction() |
CfnFirewallPolicy.ActionDefinitionProperty.Builder |
publishMetricAction(IResolvable publishMetricAction)
Sets the value of
CfnFirewallPolicy.ActionDefinitionProperty.getPublishMetricAction() |
@Stability(value=Stable) public CfnFirewallPolicy.ActionDefinitionProperty.Builder publishMetricAction(CfnFirewallPolicy.PublishMetricActionProperty publishMetricAction)
CfnFirewallPolicy.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 CfnFirewallPolicy.ActionDefinitionProperty.Builder publishMetricAction(IResolvable publishMetricAction)
CfnFirewallPolicy.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 CfnFirewallPolicy.ActionDefinitionProperty build()
build in interface software.amazon.jsii.Builder<CfnFirewallPolicy.ActionDefinitionProperty>CfnFirewallPolicy.ActionDefinitionPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.