@Stability(value=Stable)
public static interface CfnRuleGroup.TCPFlagFieldProperty
extends software.amazon.jsii.JsiiSerializable
For example:
"TCPFlags": [ { "Flags": [ "ECE", "SYN" ], "Masks": [ "SYN", "ECE" ] } ]
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkfirewall.*;
TCPFlagFieldProperty tCPFlagFieldProperty = TCPFlagFieldProperty.builder()
.flags(List.of("flags"))
// the properties below are optional
.masks(List.of("masks"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRuleGroup.TCPFlagFieldProperty.Builder
A builder for
CfnRuleGroup.TCPFlagFieldProperty |
static class |
CfnRuleGroup.TCPFlagFieldProperty.Jsii$Proxy
An implementation for
CfnRuleGroup.TCPFlagFieldProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRuleGroup.TCPFlagFieldProperty.Builder |
builder() |
List<String> |
getFlags()
Used in conjunction with the `Masks` setting to define the flags that must be set and flags that must not be set in order for the packet to match.
|
default List<String> |
getMasks()
The set of flags to consider in the inspection.
|
@Stability(value=Stable) @NotNull List<String> getFlags()
This setting can only specify values that are also specified in the Masks setting.
For the flags that are specified in the masks setting, the following must be true for the packet to match:
@Stability(value=Stable) @Nullable default List<String> getMasks()
To inspect all flags in the valid values list, leave this with no setting.
@Stability(value=Stable) static CfnRuleGroup.TCPFlagFieldProperty.Builder builder()
Copyright © 2022. All rights reserved.