Interface DetectorEvents.GuardDutyFinding.AwsApiCallAction1

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

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

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.*;
 AwsApiCallAction1 awsApiCallAction1 = AwsApiCallAction1.builder()
         .affectedResources(AffectedResources1.builder()
                 .awsCloudTrailTrail(List.of("awsCloudTrailTrail"))
                 .awsEc2Instance(List.of("awsEc2Instance"))
                 .awsS3Bucket(List.of("awsS3Bucket"))
                 .build())
         .api(List.of("api"))
         .callerType(List.of("callerType"))
         .errorCode(List.of("errorCode"))
         .remoteAccountDetails(RemoteAccountDetails.builder()
                 .accountId(List.of("accountId"))
                 .affiliated(List.of("affiliated"))
                 .build())
         .remoteIpDetails(RemoteIpDetails1.builder()
                 .city(City1.builder()
                         .cityName(List.of("cityName"))
                         .build())
                 .country(Country1.builder()
                         .countryName(List.of("countryName"))
                         .build())
                 .geoLocation(GeoLocation.builder()
                         .lat(List.of("lat"))
                         .lon(List.of("lon"))
                         .build())
                 .ipAddressV4(List.of("ipAddressV4"))
                 .organization(Organization1.builder()
                         .asn(List.of("asn"))
                         .asnOrg(List.of("asnOrg"))
                         .isp(List.of("isp"))
                         .org(List.of("org"))
                         .build())
                 .build())
         .serviceName(List.of("serviceName"))
         .build();
 
  • Method Details

    • getAffectedResources

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.AffectedResources1 getAffectedResources()
      (experimental) affectedResources property.

      Specify an array of string values to match this event if the actual value of affectedResources 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

    • getApi

      @Stability(Experimental) @Nullable default List<String> getApi()
      (experimental) api property.

      Specify an array of string values to match this event if the actual value of api 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

    • getCallerType

      @Stability(Experimental) @Nullable default List<String> getCallerType()
      (experimental) callerType property.

      Specify an array of string values to match this event if the actual value of callerType 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

    • getErrorCode

      @Stability(Experimental) @Nullable default List<String> getErrorCode()
      (experimental) errorCode property.

      Specify an array of string values to match this event if the actual value of errorCode 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

    • getRemoteAccountDetails

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.RemoteAccountDetails getRemoteAccountDetails()
      (experimental) remoteAccountDetails property.

      Specify an array of string values to match this event if the actual value of remoteAccountDetails 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.RemoteIpDetails1 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

    • getServiceName

      @Stability(Experimental) @Nullable default List<String> getServiceName()
      (experimental) serviceName property.

      Specify an array of string values to match this event if the actual value of serviceName 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.AwsApiCallAction1.Builder builder()
      Returns:
      a DetectorEvents.GuardDutyFinding.AwsApiCallAction1.Builder of DetectorEvents.GuardDutyFinding.AwsApiCallAction1