Class CfnAnalyzer.FilterProperty
The criteria that defines the archive rule.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FilterProperty : Object, CfnAnalyzer.IFilterProperty
Syntax (vb)
Public Class FilterProperty
Inherits Object
Implements CfnAnalyzer.IFilterProperty
Remarks
To learn about filter keys that you can use to create an archive rule, see filter keys in the User Guide .
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.AccessAnalyzer;
var filterProperty = new FilterProperty {
Property = "property",
// the properties below are optional
Contains = new [] { "contains" },
Eq = new [] { "eq" },
Exists = false,
Neq = new [] { "neq" }
};
Synopsis
Constructors
FilterProperty() |
Properties
Contains | A "contains" condition to match for the rule. |
Eq | An "equals" condition to match for the rule. |
Exists | An "exists" condition to match for the rule. |
Neq | A "not equal" condition to match for the rule. |
Property | The property used to define the criteria in the filter for the rule. |
Constructors
FilterProperty()
public FilterProperty()
Properties
Contains
A "contains" condition to match for the rule.
public string[] Contains { get; set; }
Property Value
System.String[]
Remarks
Eq
An "equals" condition to match for the rule.
public string[] Eq { get; set; }
Property Value
System.String[]
Remarks
Exists
An "exists" condition to match for the rule.
public object Exists { get; set; }
Property Value
System.Object
Remarks
Neq
A "not equal" condition to match for the rule.
public string[] Neq { get; set; }
Property Value
System.String[]
Remarks
Property
The property used to define the criteria in the filter for the rule.
public string Property { get; set; }
Property Value
System.String