interface BucketLevelPermissions
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.BucketLevelPermissions |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_BucketLevelPermissions |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.BucketLevelPermissions |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.BucketLevelPermissions |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป BucketLevelPermissions |
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 { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const bucketLevelPermissions: guardduty_events.DetectorEvents.GuardDutyFinding.BucketLevelPermissions = {
accessControlList: {
allowsPublicReadAccess: ['allowsPublicReadAccess'],
allowsPublicWriteAccess: ['allowsPublicWriteAccess'],
},
blockPublicAccess: {
blockPublicAcls: ['blockPublicAcls'],
blockPublicPolicy: ['blockPublicPolicy'],
ignorePublicAcls: ['ignorePublicAcls'],
restrictPublicBuckets: ['restrictPublicBuckets'],
},
bucketPolicy: {
allowsPublicReadAccess: ['allowsPublicReadAccess'],
allowsPublicWriteAccess: ['allowsPublicWriteAccess'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| access | Access | accessControlList property. |
| block | Block | blockPublicAccess property. |
| bucket | Access | bucketPolicy property. |
accessControlList?
Type:
Access
(optional, default: Do not filter on this field)
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.
blockPublicAccess?
Type:
Block
(optional, default: Do not filter on this field)
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.
bucketPolicy?
Type:
Access
(optional, default: Do not filter on this field)
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.

.NET
Go
Java
Python
TypeScript