Class CfnMalwareProtectionPlanPropsMixin.S3BucketProperty
Information about the protected S3 bucket resource.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.GuardDuty
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnMalwareProtectionPlanPropsMixin.S3BucketProperty : CfnMalwareProtectionPlanPropsMixin.IS3BucketProperty
Syntax (vb)
Public Class CfnMalwareProtectionPlanPropsMixin.S3BucketProperty Implements CfnMalwareProtectionPlanPropsMixin.IS3BucketProperty
Remarks
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.CfnPropertyMixins.AWS.GuardDuty;
var s3BucketProperty = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
};
Synopsis
Constructors
| S3BucketProperty() | Information about the protected S3 bucket resource. |
Properties
| BucketName | Name of the S3 bucket. |
| ObjectPrefixes | Information about the specified object prefixes. |
Constructors
S3BucketProperty()
Information about the protected S3 bucket resource.
public S3BucketProperty()
Remarks
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.CfnPropertyMixins.AWS.GuardDuty;
var s3BucketProperty = new S3BucketProperty {
BucketName = "bucketName",
ObjectPrefixes = new [] { "objectPrefixes" }
};
Properties
BucketName
Name of the S3 bucket.
public string? BucketName { get; set; }
Property Value
Remarks
ObjectPrefixes
Information about the specified object prefixes.
public string[]? ObjectPrefixes { get; set; }
Property Value
string[]
Remarks
An S3 object will be scanned only if it belongs to any of the specified object prefixes.