CfnArchiveRuleProps
- class aws_cdk.aws_accessanalyzer.CfnArchiveRuleProps(*, analyzer_name, filter, rule_name)
Bases:
objectProperties 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:
- 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.
- filter
The criteria for the archive rule.
A map of filter criteria property names to their criterion values.
- rule_name
The name of the archive rule.