Interface ICfnAnalyzerProps
Properties for defining a CfnAnalyzer
.
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnAnalyzerProps
Syntax (vb)
Public Interface ICfnAnalyzerProps
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 cfnAnalyzerProps = new CfnAnalyzerProps {
Type = "type",
// the properties below are optional
AnalyzerConfiguration = new AnalyzerConfigurationProperty {
UnusedAccessConfiguration = new UnusedAccessConfigurationProperty {
UnusedAccessAge = 123
}
},
AnalyzerName = "analyzerName",
ArchiveRules = new [] { 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"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Properties
AnalyzerConfiguration | Contains information about the configuration of an unused access analyzer for an AWS organization or account. |
AnalyzerName | The name of the analyzer. |
ArchiveRules | Specifies the archive rules to add for the analyzer. |
Tags | An array of key-value pairs to apply to the analyzer. |
Type | The type represents the zone of trust for the analyzer. |
Properties
AnalyzerConfiguration
Contains information about the configuration of an unused access analyzer for an AWS organization or account.
virtual object AnalyzerConfiguration { get; }
Property Value
System.Object
Remarks
AnalyzerName
The name of the analyzer.
virtual string AnalyzerName { get; }
Property Value
System.String
Remarks
ArchiveRules
Specifies the archive rules to add for the analyzer.
virtual object ArchiveRules { get; }
Property Value
System.Object
Remarks
Archive rules automatically archive findings that meet the criteria you define for the rule.
Tags
An array of key-value pairs to apply to the analyzer.
virtual ICfnTag[] Tags { get; }
Property Value
ICfnTag[]
Remarks
Type
The type represents the zone of trust for the analyzer.
string Type { get; }
Property Value
System.String
Remarks
Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ORGANIZATION_UNUSED_ACCESS