interface PublicAccess
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.PublicAccess |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_PublicAccess |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.PublicAccess |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.PublicAccess |
TypeScript | @aws-cdk/mixins-preview » aws_guardduty » events » DetectorEvents » GuardDutyFinding » PublicAccess |
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 { events as guardduty_events } from '@aws-cdk/mixins-preview/aws-guardduty';
const publicAccess: guardduty_events.DetectorEvents.GuardDutyFinding.PublicAccess = {
effectivePermission: ['effectivePermission'],
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 |
|---|---|---|
| effective | string[] | effectivePermission property. |
| permission | Permission | permissionConfiguration property. |
effectivePermission?
Type:
string[]
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
permissionConfiguration?
Type:
Permission
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript