Interface CfnAnalyzer.IFilterProperty
The criteria that defines the archive rule.
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFilterProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Contains
A "contains" condition to match for the rule.
virtual string[] Contains { get; }
Property Value
System.String[]
Remarks
Eq
An "equals" condition to match for the rule.
virtual string[] Eq { get; }
Property Value
System.String[]
Remarks
Exists
An "exists" condition to match for the rule.
virtual object Exists { get; }
Property Value
System.Object
Remarks
Neq
A "not equal" condition to match for the rule.
virtual string[] Neq { get; }
Property Value
System.String[]
Remarks
Property
The property used to define the criteria in the filter for the rule.
string Property { get; }
Property Value
System.String