Interface CfnPentest.NetworkTrafficConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPentest.NetworkTrafficConfigProperty.Jsii$Proxy
- Enclosing class:
CfnPentest
@Stability(Stable)
public static interface CfnPentest.NetworkTrafficConfigProperty
extends software.amazon.jsii.JsiiSerializable
Network traffic configuration for the pentest.
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.securityagent.*;
NetworkTrafficConfigProperty networkTrafficConfigProperty = NetworkTrafficConfigProperty.builder()
.customHeaders(List.of(CustomHeaderProperty.builder()
.name("name")
.value("value")
.build()))
.rules(List.of(NetworkTrafficRuleProperty.builder()
.effect("effect")
.networkTrafficRuleType("networkTrafficRuleType")
.pattern("pattern")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPentest.NetworkTrafficConfigPropertystatic final classAn implementation forCfnPentest.NetworkTrafficConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomHeaders
Custom headers to include in outbound requests.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.CustomHeaderProperty>- See Also:
-
getRules
Ordered list of network traffic rules.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPentest.NetworkTrafficRuleProperty>- See Also:
-
builder
-