CfnArchiveRuleProps

class aws_cdk.aws_accessanalyzer.CfnArchiveRuleProps(*, analyzer_name, filter, rule_name)

Bases: object

Properties for defining a CfnArchiveRule.

Parameters:
  • analyzer_name (str) – The name of the analyzer for the archive rule.

  • filter (Union[IResolvable, Mapping[str, Union[IResolvable, FilterItemsProperty, Dict[str, Any]]]]) – The criteria for the archive rule. A map of filter criteria property names to their criterion values.

  • rule_name (str) – The name of the archive rule.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

cfn_archive_rule_props = accessanalyzer.CfnArchiveRuleProps(
    analyzer_name="analyzerName",
    filter={
        "filter_key": accessanalyzer.CfnArchiveRule.FilterItemsProperty(
            contains=["contains"],
            eq=["eq"],
            exists=False,
            neq=["neq"]
        )
    },
    rule_name="ruleName"
)

Attributes

analyzer_name

The name of the analyzer for the archive rule.

See:

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

filter

The criteria for the archive rule.

A map of filter criteria property names to their criterion values.

See:

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

rule_name

The name of the archive rule.

See:

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