Show / Hide Table of Contents

Interface DetectorEvents.GuardDutyFinding.IPermissionConfiguration

(experimental) Type definition for PermissionConfiguration.

Namespace: Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface DetectorEvents.GuardDutyFinding.IPermissionConfiguration
Syntax (vb)
Public Interface DetectorEvents.GuardDutyFinding.IPermissionConfiguration
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events;

             var permissionConfiguration = new PermissionConfiguration {
                 AccountLevelPermissions = new AccountLevelPermissions {
                     BlockPublicAccess = new BlockPublicAccess {
                         BlockPublicAcls = new [] { "blockPublicAcls" },
                         BlockPublicPolicy = new [] { "blockPublicPolicy" },
                         IgnorePublicAcls = new [] { "ignorePublicAcls" },
                         RestrictPublicBuckets = new [] { "restrictPublicBuckets" }
                     }
                 },
                 BucketLevelPermissions = new BucketLevelPermissions {
                     AccessControlList = new AccessControlList {
                         AllowsPublicReadAccess = new [] { "allowsPublicReadAccess" },
                         AllowsPublicWriteAccess = new [] { "allowsPublicWriteAccess" }
                     },
                     BlockPublicAccess = new BlockPublicAccess {
                         BlockPublicAcls = new [] { "blockPublicAcls" },
                         BlockPublicPolicy = new [] { "blockPublicPolicy" },
                         IgnorePublicAcls = new [] { "ignorePublicAcls" },
                         RestrictPublicBuckets = new [] { "restrictPublicBuckets" }
                     },
                     BucketPolicy = new AccessControlList {
                         AllowsPublicReadAccess = new [] { "allowsPublicReadAccess" },
                         AllowsPublicWriteAccess = new [] { "allowsPublicWriteAccess" }
                     }
                 }
             };

Synopsis

Properties

AccountLevelPermissions

(experimental) accountLevelPermissions property.

BucketLevelPermissions

(experimental) bucketLevelPermissions property.

Properties

AccountLevelPermissions

(experimental) accountLevelPermissions property.

DetectorEvents.GuardDutyFinding.IAccountLevelPermissions? AccountLevelPermissions { get; }
Property Value

DetectorEvents.GuardDutyFinding.IAccountLevelPermissions

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

BucketLevelPermissions

(experimental) bucketLevelPermissions property.

DetectorEvents.GuardDutyFinding.IBucketLevelPermissions? BucketLevelPermissions { get; }
Property Value

DetectorEvents.GuardDutyFinding.IBucketLevelPermissions

Remarks

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.

Default: - Do not filter on this field

Stability: Experimental

Back to top Generated by DocFX