Class CfnAllowListProps
Properties for defining a CfnAllowList
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Macie
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAllowListProps : Object, ICfnAllowListProps
Syntax (vb)
Public Class CfnAllowListProps
Inherits Object
Implements ICfnAllowListProps
Remarks
See: 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
Constructors
Cfn |
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. |
Constructors
CfnAllowListProps()
public CfnAllowListProps()
Properties
Criteria
The criteria that specify the text or text pattern to ignore.
public object Criteria { get; set; }
Property Value
System.
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.
public string Description { get; set; }
Property Value
System.
Remarks
The description can contain 1-512 characters.
Name
A custom name for the allow list.
public string Name { get; set; }
Property Value
System.
Remarks
The name can contain 1-128 characters.
Tags
An array of key-value pairs to apply to the allow list.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
For more information, see Resource tag .