Interface DetectorEvents.GuardDutyFinding.BucketLevelPermissions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DetectorEvents.GuardDutyFinding.BucketLevelPermissions.Jsii$Proxy
- Enclosing class:
DetectorEvents.GuardDutyFinding
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.BucketLevelPermissionsstatic final classAn implementation forDetectorEvents.GuardDutyFinding.BucketLevelPermissions -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) accessControlList property.(experimental) blockPublicAccess property.(experimental) bucketPolicy property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccessControlList
@Stability(Experimental) @Nullable default DetectorEvents.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getBlockPublicAccess
@Stability(Experimental) @Nullable default DetectorEvents.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getBucketPolicy
@Stability(Experimental) @Nullable default DetectorEvents.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static DetectorEvents.GuardDutyFinding.BucketLevelPermissions.Builder builder()
-