PolicyValidationPluginReportBeta1
- class aws_cdk.PolicyValidationPluginReportBeta1(*, success, violations, metadata=None, plugin_version=None)
Bases:
object(deprecated) The report emitted by the plugin after evaluation.
- Parameters:
success (
bool) – (deprecated) Whether or not the report was successful.violations (
Sequence[Union[PolicyViolationBeta1,Dict[str,Any]]]) – (deprecated) List of violations in the report.metadata (
Optional[Mapping[str,str]]) – (deprecated) Arbitrary information about the report. Default: - no metadataplugin_version (
Optional[str]) – (deprecated) The version of the plugin that created the report. Default: - no version
- Deprecated:
Use
PolicyValidationPluginReportinstead.- Stability:
deprecated
- 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 as cdk policy_validation_plugin_report_beta1 = cdk.PolicyValidationPluginReportBeta1( success=False, violations=[cdk.PolicyViolationBeta1( description="description", rule_name="ruleName", violating_resources=[cdk.PolicyViolatingResourceBeta1( locations=["locations"], resource_logical_id="resourceLogicalId", template_path="templatePath" )], # the properties below are optional fix="fix", rule_metadata={ "rule_metadata_key": "ruleMetadata" }, severity="severity" )], # the properties below are optional metadata={ "metadata_key": "metadata" }, plugin_version="pluginVersion" )
Attributes
- metadata
(deprecated) Arbitrary information about the report.
- Default:
no metadata
- Stability:
deprecated
- plugin_version
(deprecated) The version of the plugin that created the report.
- Default:
no version
- Stability:
deprecated
- success
(deprecated) Whether or not the report was successful.
- Stability:
deprecated
- violations
(deprecated) List of violations in the report.
- Stability:
deprecated