Class CfnAnalyzerProps
Properties for defining a CfnAnalyzer
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAnalyzerProps : Object, ICfnAnalyzerProps
Syntax (vb)
Public Class CfnAnalyzerProps
Inherits Object
Implements 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 {
AnalysisRule = new AnalysisRuleProperty {
Exclusions = new [] { new AnalysisRuleCriteriaProperty {
AccountIds = new [] { "accountIds" },
ResourceTags = new [] { new [] { new CfnTag {
Key = "key",
Value = "value"
} } }
} }
},
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
Constructors
Cfn |
Properties
Analyzer |
Contains information about the configuration of an analyzer for an AWS organization or account. |
Analyzer |
The name of the analyzer. |
Archive |
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. |
Constructors
CfnAnalyzerProps()
public CfnAnalyzerProps()
Properties
AnalyzerConfiguration
Contains information about the configuration of an analyzer for an AWS organization or account.
public object AnalyzerConfiguration { get; set; }
Property Value
System.
Remarks
AnalyzerName
The name of the analyzer.
public string AnalyzerName { get; set; }
Property Value
System.
Remarks
ArchiveRules
Specifies the archive rules to add for the analyzer.
public object ArchiveRules { get; set; }
Property Value
System.
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.
public ICfnTag[] Tags { get; set; }
Property Value
ICfn
Remarks
You can use the set of Unicode letters, digits, whitespace, _
, .
, /
, =
, +
, and -
.
For the tag key, you can specify a value that is 1 to 128 characters in length and cannot be prefixed with aws:
.
For the tag value, you can specify a value that is 0 to 256 characters in length.
Type
The type represents the zone of trust for the analyzer.
public string Type { get; set; }
Property Value
System.
Remarks
Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ORGANIZATION_UNUSED_ACCESS