Package software.amazon.awscdk
Interface ValidationRuleSource
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ValidationRuleSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-24T11:46:38.454Z")
@Stability(Stable)
public interface ValidationRuleSource
extends software.amazon.jsii.JsiiSerializable
A custom rule source for the validation engine.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
ValidationRuleSource validationRuleSource = ValidationRuleSource.builder()
.content("content")
.name("name")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forValidationRuleSourcestatic final classAn implementation forValidationRuleSource -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidationRuleSource.Builderbuilder()The rule content (e.g., Rego policy source code).getName()The name of the rule source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
The rule content (e.g., Rego policy source code). -
getName
The name of the rule source. -
builder
- Returns:
- a
ValidationRuleSource.BuilderofValidationRuleSource
-