Interface DetectorEvents.GuardDutyFinding.PublicAccess

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

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

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.*;
 PublicAccess 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();
 
  • Method Details

    • getEffectivePermission

      @Stability(Experimental) @Nullable default List<String> getEffectivePermission()
      (experimental) effectivePermission property.

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

    • getPermissionConfiguration

      @Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.PermissionConfiguration getPermissionConfiguration()
      (experimental) permissionConfiguration property.

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