Show / Hide Table of Contents

Class CfnAnalyzerPropsMixin.AnalysisRuleCriteriaProperty

The criteria for an analysis rule for an analyzer.

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

The criteria determine which entities will generate findings.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrulecriteria.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.CfnPropertyMixins.AWS.AccessAnalyzer;

             var analysisRuleCriteriaProperty = new AnalysisRuleCriteriaProperty {
                 AccountIds = new [] { "accountIds" },
                 ResourceTags = new [] { new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } } }
             };

Synopsis

Constructors

AnalysisRuleCriteriaProperty()

The criteria for an analysis rule for an analyzer.

Properties

AccountIds

A list of AWS account IDs to apply to the analysis rule criteria.

ResourceTags

An array of key-value pairs to match for your resources.

Constructors

AnalysisRuleCriteriaProperty()

The criteria for an analysis rule for an analyzer.

public AnalysisRuleCriteriaProperty()
Remarks

The criteria determine which entities will generate findings.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrulecriteria.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.CfnPropertyMixins.AWS.AccessAnalyzer;

             var analysisRuleCriteriaProperty = new AnalysisRuleCriteriaProperty {
                 AccountIds = new [] { "accountIds" },
                 ResourceTags = new [] { new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } } }
             };

Properties

AccountIds

A list of AWS account IDs to apply to the analysis rule criteria.

public string[]? AccountIds { get; set; }
Property Value

string[]

Remarks

The accounts cannot include the organization analyzer owner account. Account IDs can only be applied to the analysis rule criteria for organization-level analyzers. The list cannot include more than 2,000 account IDs.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrulecriteria.html#cfn-accessanalyzer-analyzer-analysisrulecriteria-accountids

ResourceTags

An array of key-value pairs to match for your resources.

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

object

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. If the specified tag value is 0 characters, the rule is applied to all principals with the specified tag key.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accessanalyzer-analyzer-analysisrulecriteria.html#cfn-accessanalyzer-analyzer-analysisrulecriteria-resourcetags

Type union: either IResolvable or (either IResolvable or (either IResolvable or ICfnTag)[])[]

Implements

CfnAnalyzerPropsMixin.IAnalysisRuleCriteriaProperty
Back to top Generated by DocFX