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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDetectorEvents.GuardDutyFinding.PublicAccessstatic final classAn implementation forDetectorEvents.GuardDutyFinding.PublicAccess -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) effectivePermission property.(experimental) permissionConfiguration property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor 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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
-