Interface DetectorEvents.GuardDutyFinding.PermissionConfiguration
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DetectorEvents.GuardDutyFinding.PermissionConfiguration.Jsii$Proxy
- Enclosing class:
DetectorEvents.GuardDutyFinding
@Stability(Experimental)
public static interface DetectorEvents.GuardDutyFinding.PermissionConfiguration
extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for PermissionConfiguration.
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.*;
PermissionConfiguration 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.PermissionConfigurationstatic final classAn implementation forDetectorEvents.GuardDutyFinding.PermissionConfiguration -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) accountLevelPermissions property.(experimental) bucketLevelPermissions property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountLevelPermissions
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.AccountLevelPermissions getAccountLevelPermissions()(experimental) accountLevelPermissions property.Specify an array of string values to match this event if the actual value of accountLevelPermissions 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
-
getBucketLevelPermissions
@Stability(Experimental) @Nullable default DetectorEvents.GuardDutyFinding.BucketLevelPermissions getBucketLevelPermissions()(experimental) bucketLevelPermissions property.Specify an array of string values to match this event if the actual value of bucketLevelPermissions 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.PermissionConfiguration.Builder builder()
-