Class CfnAnalyzer
The AWS::AccessAnalyzer::Analyzer
resource specifies a new analyzer.
Inherited Members
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAnalyzer : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnAnalyzer
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
The analyzer is an object that represents the IAM Access Analyzer feature. An analyzer is required for Access Analyzer to become operational.
CloudformationResource: AWS::AccessAnalyzer::Analyzer
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 cfnAnalyzer = new CfnAnalyzer(this, "MyCfnAnalyzer", 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
Constructors
CfnAnalyzer(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAnalyzer(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnAnalyzer(Construct, String, ICfnAnalyzerProps) |
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. |
AttrArn | The ARN of the analyzer that was created. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to the analyzer. |
Type | The type represents the zone of trust for the analyzer. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAnalyzer(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAnalyzer(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAnalyzer(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAnalyzer(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnAnalyzer(Construct, String, ICfnAnalyzerProps)
public CfnAnalyzer(Construct scope, string id, ICfnAnalyzerProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnAnalyzerProps
Resource properties.
Properties
AnalyzerConfiguration
Contains information about the configuration of an unused access analyzer for an AWS organization or account.
public virtual object AnalyzerConfiguration { get; set; }
Property Value
System.Object
AnalyzerName
The name of the analyzer.
public virtual string AnalyzerName { get; set; }
Property Value
System.String
ArchiveRules
Specifies the archive rules to add for the analyzer.
public virtual object ArchiveRules { get; set; }
Property Value
System.Object
AttrArn
The ARN of the analyzer that was created.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to the analyzer.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Type
The type represents the zone of trust for the analyzer.
public virtual string Type { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>