interface BlockPublicAccess
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events.DetectorEvents.GuardDutyFinding.BlockPublicAccess |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsguardduty/events#DetectorEvents_GuardDutyFinding_BlockPublicAccess |
Java | software.amazon.awscdk.mixins.preview.services.guardduty.events.DetectorEvents.GuardDutyFinding.BlockPublicAccess |
Python | aws_cdk.mixins_preview.aws_guardduty.events.DetectorEvents.GuardDutyFinding.BlockPublicAccess |
TypeScript | @aws-cdk/mixins-preview ยป aws_guardduty ยป events ยป DetectorEvents ยป GuardDutyFinding ยป BlockPublicAccess |
Type definition for BlockPublicAccess.
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 blockPublicAccess: guardduty_events.DetectorEvents.GuardDutyFinding.BlockPublicAccess = {
blockPublicAcls: ['blockPublicAcls'],
blockPublicPolicy: ['blockPublicPolicy'],
ignorePublicAcls: ['ignorePublicAcls'],
restrictPublicBuckets: ['restrictPublicBuckets'],
};
Properties
| Name | Type | Description |
|---|---|---|
| block | string[] | blockPublicAcls property. |
| block | string[] | blockPublicPolicy property. |
| ignore | string[] | ignorePublicAcls property. |
| restrict | string[] | restrictPublicBuckets property. |
blockPublicAcls?
Type:
string[]
(optional, default: Do not filter on this field)
blockPublicAcls property.
Specify an array of string values to match this event if the actual value of blockPublicAcls is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
blockPublicPolicy?
Type:
string[]
(optional, default: Do not filter on this field)
blockPublicPolicy property.
Specify an array of string values to match this event if the actual value of blockPublicPolicy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ignorePublicAcls?
Type:
string[]
(optional, default: Do not filter on this field)
ignorePublicAcls property.
Specify an array of string values to match this event if the actual value of ignorePublicAcls is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
restrictPublicBuckets?
Type:
string[]
(optional, default: Do not filter on this field)
restrictPublicBuckets property.
Specify an array of string values to match this event if the actual value of restrictPublicBuckets 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