Interface DetectorEvents.GuardDutyFinding.KubernetesWorkloadDetails

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

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

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.*;
 KubernetesWorkloadDetails kubernetesWorkloadDetails = KubernetesWorkloadDetails.builder()
         .containers(List.of(KubernetesWorkloadDetailsItem.builder()
                 .image(List.of("image"))
                 .imagePrefix(List.of("imagePrefix"))
                 .name(List.of("name"))
                 .securityContext(SecurityContext.builder()
                         .privileged(List.of("privileged"))
                         .build())
                 .build()))
         .name(List.of("name"))
         .namespace(List.of("namespace"))
         .type(List.of("type"))
         .uid(List.of("uid"))
         .build();
 
  • Method Details

    • getContainers

      @Stability(Experimental) @Nullable default List<DetectorEvents.GuardDutyFinding.KubernetesWorkloadDetailsItem> getContainers()
      (experimental) containers property.

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

    • getName

      @Stability(Experimental) @Nullable default List<String> getName()
      (experimental) name property.

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

    • getNamespace

      @Stability(Experimental) @Nullable default List<String> getNamespace()
      (experimental) namespace property.

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

    • getType

      @Stability(Experimental) @Nullable default List<String> getType()
      (experimental) type property.

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

    • getUid

      @Stability(Experimental) @Nullable default List<String> getUid()
      (experimental) uid property.

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