Show / Hide Table of Contents

Class CfnAllowListProps

Properties for defining a CfnAllowList.

Inheritance
object
CfnAllowListProps
Implements
ICfnAllowListProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Macie
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAllowListProps : ICfnAllowListProps
Syntax (vb)
Public Class CfnAllowListProps 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

CfnAllowListProps()

Properties for defining a CfnAllowList.

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()

Properties for defining a CfnAllowList.

public CfnAllowListProps()
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"
                 } }
             };

Properties

Criteria

The criteria that specify the text or text pattern to ignore.

public object Criteria { get; set; }
Property Value

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-allowlist.html#cfn-macie-allowlist-criteria

Description

A custom description of the allow list.

public string? Description { get; set; }
Property Value

string

Remarks

The description can contain 1-512 characters.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-allowlist.html#cfn-macie-allowlist-description

Name

A custom name for the allow list.

public string Name { get; set; }
Property Value

string

Remarks

The name can contain 1-128 characters.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-allowlist.html#cfn-macie-allowlist-name

Tags

An array of key-value pairs to apply to the allow list.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

For more information, see Resource tag .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-macie-allowlist.html#cfn-macie-allowlist-tags

Implements

ICfnAllowListProps
Back to top Generated by DocFX