Interface DetectorEvents.GuardDutyFinding.InstanceDetails

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

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

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.*;
 Object ipv6Addresses;
 InstanceDetails instanceDetails = InstanceDetails.builder()
         .availabilityZone(List.of("availabilityZone"))
         .iamInstanceProfile(IamInstanceProfile.builder()
                 .arn(List.of("arn"))
                 .id(List.of("id"))
                 .build())
         .imageDescription(List.of("imageDescription"))
         .imageId(List.of("imageId"))
         .instanceId(List.of("instanceId"))
         .instanceState(List.of("instanceState"))
         .instanceType(List.of("instanceType"))
         .launchTime(List.of("launchTime"))
         .networkInterfaces(List.of(InstanceDetailsItem.builder()
                 .ipv6Addresses(List.of(ipv6Addresses))
                 .networkInterfaceId(List.of("networkInterfaceId"))
                 .privateDnsName(List.of("privateDnsName"))
                 .privateIpAddress(List.of("privateIpAddress"))
                 .privateIpAddresses(List.of(InstanceDetailsItemItem.builder()
                         .privateDnsName(List.of("privateDnsName"))
                         .privateIpAddress(List.of("privateIpAddress"))
                         .build()))
                 .publicDnsName(List.of("publicDnsName"))
                 .publicIp(List.of("publicIp"))
                 .securityGroups(List.of(InstanceDetailsItemItem1.builder()
                         .groupId(List.of("groupId"))
                         .groupName(List.of("groupName"))
                         .build()))
                 .subnetId(List.of("subnetId"))
                 .vpcId(List.of("vpcId"))
                 .build()))
         .outpostArn(List.of("outpostArn"))
         .platform(List.of("platform"))
         .productCodes(List.of(InstanceDetailsItem1.builder()
                 .productCodeId(List.of("productCodeId"))
                 .productCodeType(List.of("productCodeType"))
                 .build()))
         .tags(List.of(EcsClusterDetailsItem.builder()
                 .key(List.of("key"))
                 .value(List.of("value"))
                 .build()))
         .build();
 
  • Method Details

    • getAvailabilityZone

      @Stability(Experimental) @Nullable default List<String> getAvailabilityZone()
      (experimental) availabilityZone property.

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

    • getIamInstanceProfile

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.IamInstanceProfile getIamInstanceProfile()
      (experimental) iamInstanceProfile property.

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

    • getImageDescription

      @Stability(Experimental) @Nullable default List<String> getImageDescription()
      (experimental) imageDescription property.

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

    • getImageId

      @Stability(Experimental) @Nullable default List<String> getImageId()
      (experimental) imageId property.

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

    • getInstanceId

      @Stability(Experimental) @Nullable default List<String> getInstanceId()
      (experimental) instanceId property.

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

    • getInstanceState

      @Stability(Experimental) @Nullable default List<String> getInstanceState()
      (experimental) instanceState property.

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

    • getInstanceType

      @Stability(Experimental) @Nullable default List<String> getInstanceType()
      (experimental) instanceType property.

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

    • getLaunchTime

      @Stability(Experimental) @Nullable default List<String> getLaunchTime()
      (experimental) launchTime property.

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

    • getNetworkInterfaces

      @Stability(Experimental) @Nullable default List<DetectorEvents.GuardDutyFinding.InstanceDetailsItem> getNetworkInterfaces()
      (experimental) networkInterfaces property.

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

    • getOutpostArn

      @Stability(Experimental) @Nullable default List<String> getOutpostArn()
      (experimental) outpostArn property.

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

    • getPlatform

      @Stability(Experimental) @Nullable default List<String> getPlatform()
      (experimental) platform property.

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

    • getProductCodes

      @Stability(Experimental) @Nullable default List<DetectorEvents.GuardDutyFinding.InstanceDetailsItem1> getProductCodes()
      (experimental) productCodes property.

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

    • getTags

      @Stability(Experimental) @Nullable default List<DetectorEvents.GuardDutyFinding.EcsClusterDetailsItem> getTags()
      (experimental) tags property.

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