IPolicyValidationPluginBeta1 Interface
Represents a validation plugin that will be executed during synthesis.
Properties
The name of the plugin that will be displayed in the validation report.
ruleIdsstring[]rule_idstyping.List[str]ruleIdsList<String>RuleIdsstring[]RuleIds*[]*string= No rule is reported#The list of rule IDs that the plugin will evaluate.
Used for analytics purposes.
The version of the plugin, following the Semantic Versioning specification (see https://semver.org/). This version is used for analytics purposes, to measure the usage of different plugins and different versions. The value of this property should be kept in sync with the actual version of the software package. If the version is not provided or is not a valid semantic version, it will be reported as `0.0.0`.
Methods
validate(context: IPolicyValidationContextBeta1): PolicyValidationPluginReportBeta1def validate(self, context: IPolicyValidationContextBeta1) -> PolicyValidationPluginReportBeta1public PolicyValidationPluginReportBeta1 validate(IPolicyValidationContextBeta1 context)public PolicyValidationPluginReportBeta1 Validate(IPolicyValidationContextBeta1 context)func Validate(Context IPolicyValidationContextBeta1) PolicyValidationPluginReportBeta1#The method that will be called by the CDK framework to perform validations.
This is where the plugin will evaluate the CloudFormation templates for compliance and report and violations