Class CfnAnalyzer.ArchiveRuleProperty
Contains information about an archive rule.
Inheritance
System.Object
CfnAnalyzer.ArchiveRuleProperty
Implements
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ArchiveRuleProperty : Object, CfnAnalyzer.IArchiveRuleProperty
Syntax (vb)
Public Class ArchiveRuleProperty
Inherits Object
Implements CfnAnalyzer.IArchiveRuleProperty
Remarks
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 archiveRuleProperty = new ArchiveRuleProperty {
Filter = new [] { new FilterProperty {
Property = "property",
// the properties below are optional
Contains = new [] { "contains" },
Eq = new [] { "eq" },
Exists = false,
Neq = new [] { "neq" }
} },
RuleName = "ruleName"
};
Synopsis
Constructors
ArchiveRuleProperty() |
Properties
Filter | The criteria for the rule. |
RuleName | The name of the rule to create. |
Constructors
ArchiveRuleProperty()
public ArchiveRuleProperty()
Properties
Filter
The criteria for the rule.
public object Filter { get; set; }
Property Value
System.Object
Remarks
RuleName
The name of the rule to create.
public string RuleName { get; set; }
Property Value
System.String