Interface GuardDutyFinding.PortProbeAction

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
GuardDutyFinding.PortProbeAction.Jsii$Proxy
Enclosing class:
GuardDutyFinding

@Stability(Experimental) public static interface GuardDutyFinding.PortProbeAction extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for PortProbeAction.

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.*;
 PortProbeAction portProbeAction = PortProbeAction.builder()
         .blocked(List.of("blocked"))
         .portProbeDetails(List.of(PortProbeActionItem.builder()
                 .localIpDetails(LocalIpDetails1.builder()
                         .ipAddressV4(List.of("ipAddressV4"))
                         .build())
                 .localPortDetails(LocalPortDetails1.builder()
                         .port(List.of("port"))
                         .portName(List.of("portName"))
                         .build())
                 .remoteIpDetails(RemoteIpDetails4.builder()
                         .city(City4.builder()
                                 .cityName(List.of("cityName"))
                                 .build())
                         .country(Country4.builder()
                                 .countryName(List.of("countryName"))
                                 .build())
                         .geoLocation(GeoLocation1.builder()
                                 .lat(List.of("lat"))
                                 .lon(List.of("lon"))
                                 .build())
                         .ipAddressV4(List.of("ipAddressV4"))
                         .organization(Organization4.builder()
                                 .asn(List.of("asn"))
                                 .asnOrg(List.of("asnOrg"))
                                 .isp(List.of("isp"))
                                 .org(List.of("org"))
                                 .build())
                         .build())
                 .build()))
         .build();
 
  • Method Details

    • getBlocked

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getPortProbeDetails

      @Stability(Experimental) @Nullable default List<GuardDutyFinding.PortProbeActionItem> getPortProbeDetails()
      (experimental) portProbeDetails property.

      Specify an array of string values to match this event if the actual value of portProbeDetails is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      @Stability(Experimental) static GuardDutyFinding.PortProbeAction.Builder builder()
      Returns:
      a GuardDutyFinding.PortProbeAction.Builder of GuardDutyFinding.PortProbeAction