Interface DetectorEvents.GuardDutyFinding.ResourceItem

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

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

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.*;
 ResourceItem resourceItem = ResourceItem.builder()
         .arn(List.of("arn"))
         .createdAt(List.of("createdAt"))
         .defaultServerSideEncryption(DefaultServerSideEncryption.builder()
                 .encryptionType(List.of("encryptionType"))
                 .kmsMasterKeyArn(List.of("kmsMasterKeyArn"))
                 .build())
         .name(List.of("name"))
         .owner(Owner.builder()
                 .id(List.of("id"))
                 .build())
         .publicAccess(PublicAccess.builder()
                 .effectivePermission(List.of("effectivePermission"))
                 .permissionConfiguration(PermissionConfiguration.builder()
                         .accountLevelPermissions(AccountLevelPermissions.builder()
                                 .blockPublicAccess(BlockPublicAccess.builder()
                                         .blockPublicAcls(List.of("blockPublicAcls"))
                                         .blockPublicPolicy(List.of("blockPublicPolicy"))
                                         .ignorePublicAcls(List.of("ignorePublicAcls"))
                                         .restrictPublicBuckets(List.of("restrictPublicBuckets"))
                                         .build())
                                 .build())
                         .bucketLevelPermissions(BucketLevelPermissions.builder()
                                 .accessControlList(AccessControlList.builder()
                                         .allowsPublicReadAccess(List.of("allowsPublicReadAccess"))
                                         .allowsPublicWriteAccess(List.of("allowsPublicWriteAccess"))
                                         .build())
                                 .blockPublicAccess(BlockPublicAccess.builder()
                                         .blockPublicAcls(List.of("blockPublicAcls"))
                                         .blockPublicPolicy(List.of("blockPublicPolicy"))
                                         .ignorePublicAcls(List.of("ignorePublicAcls"))
                                         .restrictPublicBuckets(List.of("restrictPublicBuckets"))
                                         .build())
                                 .bucketPolicy(AccessControlList.builder()
                                         .allowsPublicReadAccess(List.of("allowsPublicReadAccess"))
                                         .allowsPublicWriteAccess(List.of("allowsPublicWriteAccess"))
                                         .build())
                                 .build())
                         .build())
                 .build())
         .tags(List.of(EcsClusterDetailsItem.builder()
                 .key(List.of("key"))
                 .value(List.of("value"))
                 .build()))
         .type(List.of("type"))
         .build();
 
  • Method Details

    • getArn

      @Stability(Experimental) @Nullable default List<String> getArn()
      (experimental) arn property.

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

    • getCreatedAt

      @Stability(Experimental) @Nullable default List<String> getCreatedAt()
      (experimental) createdAt property.

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

    • getDefaultServerSideEncryption

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.DefaultServerSideEncryption getDefaultServerSideEncryption()
      (experimental) defaultServerSideEncryption property.

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

    • getOwner

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.Owner getOwner()
      (experimental) owner property.

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

    • getPublicAccess

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.PublicAccess getPublicAccess()
      (experimental) publicAccess property.

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

    • 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

    • builder

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