Interface GuardDutyFinding.BucketLevelPermissions

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

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

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

    • getAccessControlList

      @Stability(Experimental) @Nullable default GuardDutyFinding.AccessControlList getAccessControlList()
      (experimental) accessControlList property.

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

    • getBlockPublicAccess

      @Stability(Experimental) @Nullable default GuardDutyFinding.BlockPublicAccess getBlockPublicAccess()
      (experimental) blockPublicAccess property.

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

    • getBucketPolicy

      @Stability(Experimental) @Nullable default GuardDutyFinding.AccessControlList getBucketPolicy()
      (experimental) bucketPolicy property.

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