Interface ICfnAllowListProps
Properties for defining a CfnAllowList
.
Namespace: Amazon.CDK.AWS.Macie
Assembly: Amazon.CDK.AWS.Macie.dll
Syntax (csharp)
public interface ICfnAllowListProps
Syntax (vb)
Public Interface ICfnAllowListProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-allowlist.html
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.AWS.Macie;
var cfnAllowListProps = new CfnAllowListProps {
Criteria = new CriteriaProperty {
Regex = "regex",
S3WordsList = new S3WordsListProperty {
BucketName = "bucketName",
ObjectKey = "objectKey"
}
},
Name = "name",
// the properties below are optional
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
Criteria | The criteria that specify the text or text pattern to ignore. |
Description | A custom description of the allow list. |
Name | A custom name for the allow list. |
Tags | An array of key-value pairs to apply to the allow list. |
Properties
Criteria
The criteria that specify the text or text pattern to ignore.
object Criteria { get; }
Property Value
System.Object
Remarks
The criteria can be the location and name of an Amazon S3 object that lists specific text to ignore ( S3WordsList
), or a regular expression ( Regex
) that defines a text pattern to ignore.
Description
A custom description of the allow list.
virtual string Description { get; }
Property Value
System.String
Remarks
The description can contain 1-512 characters.
Name
A custom name for the allow list.
string Name { get; }
Property Value
System.String
Remarks
The name can contain 1-128 characters.