Interface DetectorEvents.GuardDutyFinding.NetworkConnectionAction
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DetectorEvents.GuardDutyFinding.NetworkConnectionAction.Jsii$Proxy
- Enclosing class:
DetectorEvents.GuardDutyFinding
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.guardduty.events.*;
NetworkConnectionAction networkConnectionAction = NetworkConnectionAction.builder()
.blocked(List.of("blocked"))
.connectionDirection(List.of("connectionDirection"))
.localIpDetails(LocalIpDetails.builder()
.ipAddressV4(List.of("ipAddressV4"))
.build())
.localPortDetails(LocalPortDetails.builder()
.port(List.of("port"))
.portName(List.of("portName"))
.build())
.protocol(List.of("protocol"))
.remoteIpDetails(RemoteIpDetails3.builder()
.city(City3.builder()
.cityName(List.of("cityName"))
.build())
.country(Country3.builder()
.countryName(List.of("countryName"))
.build())
.geoLocation(GeoLocation.builder()
.lat(List.of("lat"))
.lon(List.of("lon"))
.build())
.ipAddressV4(List.of("ipAddressV4"))
.organization(Organization3.builder()
.asn(List.of("asn"))
.asnOrg(List.of("asnOrg"))
.isp(List.of("isp"))
.org(List.of("org"))
.build())
.build())
.remotePortDetails(RemotePortDetails.builder()
.port(List.of("port"))
.portName(List.of("portName"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.NetworkConnectionActionstatic final classAn implementation forDetectorEvents.GuardDutyFinding.NetworkConnectionAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) blocked property.(experimental) connectionDirection property.(experimental) localIpDetails property.(experimental) localPortDetails property.(experimental) protocol property.(experimental) remoteIpDetails property.(experimental) remotePortDetails property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBlocked
(experimental) blocked property.Specify an array of string values to match this event if the actual value of blocked is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getConnectionDirection
(experimental) connectionDirection property.Specify an array of string values to match this event if the actual value of connectionDirection is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getLocalIpDetails
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.LocalIpDetails getLocalIpDetails()(experimental) localIpDetails property.Specify an array of string values to match this event if the actual value of localIpDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getLocalPortDetails
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.LocalPortDetails getLocalPortDetails()(experimental) localPortDetails property.Specify an array of string values to match this event if the actual value of localPortDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getProtocol
(experimental) protocol property.Specify an array of string values to match this event if the actual value of protocol is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getRemoteIpDetails
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.RemoteIpDetails3 getRemoteIpDetails()(experimental) remoteIpDetails property.Specify an array of string values to match this event if the actual value of remoteIpDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getRemotePortDetails
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.RemotePortDetails getRemotePortDetails()(experimental) remotePortDetails property.Specify an array of string values to match this event if the actual value of remotePortDetails is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static DetectorEvents.GuardDutyFinding.NetworkConnectionAction.Builder builder()
-