Interface DetectorEvents.GuardDutyFinding.NetworkConnectionAction

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

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

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();
 
  • 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

    • getConnectionDirection

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

      Default: - Do not filter on this field

    • getProtocol

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

      Default: - Do not filter on this field

    • builder

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