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

.NET
Go
Java
Python
TypeScript