Show / Hide Table of Contents

Class CfnAnalyzerProps

Properties for defining a CfnAnalyzer.

Inheritance
object
CfnAnalyzerProps
Implements
ICfnAnalyzerProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AccessAnalyzer
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAnalyzerProps : ICfnAnalyzerProps
Syntax (vb)
Public Class CfnAnalyzerProps Implements ICfnAnalyzerProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html

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 {
                     InternalAccessConfiguration = new InternalAccessConfigurationProperty {
                         InternalAccessAnalysisRule = new InternalAccessAnalysisRuleProperty {
                             Inclusions = new [] { new InternalAccessAnalysisRuleCriteriaProperty {
                                 AccountIds = new [] { "accountIds" },
                                 ResourceArns = new [] { "resourceArns" },
                                 ResourceTypes = new [] { "resourceTypes" }
                             } }
                         }
                     },
                     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

CfnAnalyzerProps()

Properties for defining a CfnAnalyzer.

Properties

AnalyzerConfiguration

Contains information about the configuration of an 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.

Constructors

CfnAnalyzerProps()

Properties for defining a CfnAnalyzer.

public CfnAnalyzerProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html

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 {
                     InternalAccessConfiguration = new InternalAccessConfigurationProperty {
                         InternalAccessAnalysisRule = new InternalAccessAnalysisRuleProperty {
                             Inclusions = new [] { new InternalAccessAnalysisRuleCriteriaProperty {
                                 AccountIds = new [] { "accountIds" },
                                 ResourceArns = new [] { "resourceArns" },
                                 ResourceTypes = new [] { "resourceTypes" }
                             } }
                         }
                     },
                     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"
                 } }
             };

Properties

AnalyzerConfiguration

Contains information about the configuration of an analyzer for an AWS organization or account.

public object? AnalyzerConfiguration { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-analyzerconfiguration

AnalyzerName

The name of the analyzer.

public string? AnalyzerName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-analyzername

ArchiveRules

Specifies the archive rules to add for the analyzer.

public object? ArchiveRules { get; set; }
Property Value

object

Remarks

Archive rules automatically archive findings that meet the criteria you define for the rule.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-archiverules

Tags

An array of key-value pairs to apply to the analyzer.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-tags

Type

The type represents the zone of trust for the analyzer.

public string Type { get; set; }
Property Value

string

Remarks

Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html#cfn-accessanalyzer-analyzer-type

Implements

ICfnAnalyzerProps
Back to top Generated by DocFX