Class CfnAnalyzer
A CloudFormation AWS::AccessAnalyzer::Analyzer
.
Inherited Members
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.AWS.AccessAnalyzer.dll
Syntax (csharp)
public class CfnAnalyzer : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnAnalyzer
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::AccessAnalyzer::Analyzer
resource specifies a new analyzer. 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
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(Construct, String, ICfnAnalyzerProps) | Create a new |
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 |
Properties
AnalyzerName | The name of the analyzer. |
ArchiveRules | Specifies the archive rules to add for the analyzer. |
AttrArn | |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | The tags 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(Construct, String, ICfnAnalyzerProps)
Create a new AWS::AccessAnalyzer::Analyzer
.
public CfnAnalyzer(Construct scope, string id, ICfnAnalyzerProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnAnalyzerProps
- resource properties.
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
Properties
AnalyzerName
The name of the analyzer.
public virtual string AnalyzerName { get; set; }
Property Value
System.String
Remarks
ArchiveRules
Specifies the archive rules to add for the analyzer.
public virtual object ArchiveRules { get; set; }
Property Value
System.Object
Remarks
AttrArn
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
The tags to apply to the analyzer.
public virtual TagManager Tags { get; }
Property Value
Remarks
Type
The type represents the zone of trust for the analyzer.
public virtual string Type { get; set; }
Property Value
System.String
Remarks
Allowed Values : ACCOUNT | ORGANIZATION
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>