CfnAnalyzerProps

class aws_cdk.aws_accessanalyzer.CfnAnalyzerProps(*, type, analyzer_name=None, archive_rules=None, tags=None)

Bases: object

Properties for defining a CfnAnalyzer.

Parameters:
  • type (str) – The type represents the zone of trust for the analyzer. Allowed Values : ACCOUNT | ORGANIZATION

  • analyzer_name (Optional[str]) – The name of the analyzer.

  • archive_rules (Union[IResolvable, Sequence[Union[ArchiveRuleProperty, Dict[str, Any], IResolvable]], None]) – Specifies the archive rules to add for the analyzer.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to apply to the analyzer.

Link:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_accessanalyzer as accessanalyzer

cfn_analyzer_props = accessanalyzer.CfnAnalyzerProps(
    type="type",

    # the properties below are optional
    analyzer_name="analyzerName",
    archive_rules=[accessanalyzer.CfnAnalyzer.ArchiveRuleProperty(
        filter=[accessanalyzer.CfnAnalyzer.FilterProperty(
            property="property",

            # the properties below are optional
            contains=["contains"],
            eq=["eq"],
            exists=False,
            neq=["neq"]
        )],
        rule_name="ruleName"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

analyzer_name

The name of the analyzer.

Link:

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

archive_rules

Specifies the archive rules to add for the analyzer.

Link:

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

tags

The tags to apply to the analyzer.

Link:

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.

Allowed Values : ACCOUNT | ORGANIZATION

Link:

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