Interface CfnRuleGroup.RulesSourceListProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRuleGroup.RulesSourceListProperty.Jsii$Proxy
- Enclosing class:
CfnRuleGroup
@Stability(Stable)
public static interface CfnRuleGroup.RulesSourceListProperty
extends software.amazon.jsii.JsiiSerializable
Stateful inspection criteria for a domain list rule group.
For HTTPS traffic, domain filtering is SNI-based. It uses the server name indicator extension of the TLS handshake.
By default, Network Firewall domain list inspection only includes traffic coming from the VPC where you deploy the firewall. To inspect traffic from IP addresses outside of the deployment VPC, you set the HOME_NET
rule variable to include the CIDR range of the deployment VPC plus the other CIDR ranges. For more information, see RuleGroup.RuleVariables
in this guide and Stateful domain list rule groups in AWS Network Firewall in the Network Firewall Developer Guide
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.*; RulesSourceListProperty rulesSourceListProperty = RulesSourceListProperty.builder() .generatedRulesType("generatedRulesType") .targets(List.of("targets")) .targetTypes(List.of("targetTypes")) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRuleGroup.RulesSourceListProperty
static final class
An implementation forCfnRuleGroup.RulesSourceListProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Whether you want to allow or deny access to the domains in your target list.The domains that you want to inspect for in your traffic flows.The types of targets to inspect for.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGeneratedRulesType
Whether you want to allow or deny access to the domains in your target list.- See Also:
-
getTargets
The domains that you want to inspect for in your traffic flows. Valid domain specifications are the following:.- Explicit names. For example,
abc.example.com
matches only the domainabc.example.com
. - Names that use a domain wildcard, which you indicate with an initial '
.
'. For example,.example.com
matchesexample.com
and matches all subdomains ofexample.com
, such asabc.example.com
andwww.example.com
.
- See Also:
- Explicit names. For example,
-
getTargetTypes
The types of targets to inspect for.Valid values are
TLS_SNI
andHTTP_HOST
.- See Also:
-
builder
-