CfnAnalyzerMixinProps
- class aws_cdk.mixins_preview.aws_accessanalyzer.mixins.CfnAnalyzerMixinProps(*, analyzer_configuration=None, analyzer_name=None, archive_rules=None, tags=None, type=None)
Bases:
objectProperties for CfnAnalyzerPropsMixin.
- Parameters:
analyzer_configuration (
Union[IResolvable,AnalyzerConfigurationProperty,Dict[str,Any],None]) – Contains information about the configuration of an analyzer for an AWS organization or account.analyzer_name (
Optional[str]) – The name of the analyzer.archive_rules (
Union[IResolvable,Sequence[Union[IResolvable,ArchiveRuleProperty,Dict[str,Any]]],None]) – Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – An array of key-value pairs to apply to the analyzer. 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 withaws:. For the tag value, you can specify a value that is 0 to 256 characters in length.type (
Optional[str]) – The type represents the zone of trust for the analyzer. Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS
- 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.mixins_preview.aws_accessanalyzer import mixins as accessanalyzer_mixins cfn_analyzer_mixin_props = accessanalyzer_mixins.CfnAnalyzerMixinProps( analyzer_configuration=accessanalyzer_mixins.CfnAnalyzerPropsMixin.AnalyzerConfigurationProperty( internal_access_configuration=accessanalyzer_mixins.CfnAnalyzerPropsMixin.InternalAccessConfigurationProperty( internal_access_analysis_rule=accessanalyzer_mixins.CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleProperty( inclusions=[accessanalyzer_mixins.CfnAnalyzerPropsMixin.InternalAccessAnalysisRuleCriteriaProperty( account_ids=["accountIds"], resource_arns=["resourceArns"], resource_types=["resourceTypes"] )] ) ), unused_access_configuration=accessanalyzer_mixins.CfnAnalyzerPropsMixin.UnusedAccessConfigurationProperty( analysis_rule=accessanalyzer_mixins.CfnAnalyzerPropsMixin.AnalysisRuleProperty( exclusions=[accessanalyzer_mixins.CfnAnalyzerPropsMixin.AnalysisRuleCriteriaProperty( account_ids=["accountIds"], resource_tags=[[CfnTag( key="key", value="value" )]] )] ), unused_access_age=123 ) ), analyzer_name="analyzerName", archive_rules=[accessanalyzer_mixins.CfnAnalyzerPropsMixin.ArchiveRuleProperty( filter=[accessanalyzer_mixins.CfnAnalyzerPropsMixin.FilterProperty( contains=["contains"], eq=["eq"], exists=False, neq=["neq"], property="property" )], rule_name="ruleName" )], tags=[CfnTag( key="key", value="value" )], type="type" )
Attributes
- analyzer_configuration
Contains information about the configuration of an analyzer for an AWS organization or account.
- analyzer_name
The name of the analyzer.
- archive_rules
Specifies the archive rules to add for the analyzer.
Archive rules automatically archive findings that meet the criteria you define for the rule.
- tags
An array of key-value pairs to apply to the analyzer.
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.
- type
The type represents the zone of trust for the analyzer.
Allowed Values : ACCOUNT | ORGANIZATION | ACCOUNT_UNUSED_ACCESS | ACCOUNT_INTERNAL_ACCESS | ORGANIZATION_INTERNAL_ACCESS | ORGANIZATION_UNUSED_ACCESS