Class GuardDutyFinding.BucketLevelPermissions
(experimental) Type definition for BucketLevelPermissions.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.GuardDuty.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class GuardDutyFinding.BucketLevelPermissions : GuardDutyFinding.IBucketLevelPermissions
Syntax (vb)
Public Class GuardDutyFinding.BucketLevelPermissions Implements GuardDutyFinding.IBucketLevelPermissions
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 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
Constructors
| BucketLevelPermissions() | (experimental) Type definition for BucketLevelPermissions. |
Properties
| AccessControlList | (experimental) accessControlList property. |
| BlockPublicAccess | (experimental) blockPublicAccess property. |
| BucketPolicy | (experimental) bucketPolicy property. |
Constructors
BucketLevelPermissions()
(experimental) Type definition for BucketLevelPermissions.
public BucketLevelPermissions()
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 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" }
}
};
Properties
AccessControlList
(experimental) accessControlList property.
public GuardDutyFinding.IAccessControlList? AccessControlList { get; set; }
Property Value
GuardDutyFinding.IAccessControlList
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental
BlockPublicAccess
(experimental) blockPublicAccess property.
public GuardDutyFinding.IBlockPublicAccess? BlockPublicAccess { get; set; }
Property Value
GuardDutyFinding.IBlockPublicAccess
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental
BucketPolicy
(experimental) bucketPolicy property.
public GuardDutyFinding.IAccessControlList? BucketPolicy { get; set; }
Property Value
GuardDutyFinding.IAccessControlList
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental