Interface CfnAutomatedReasoningPolicy.PolicyDefinitionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAutomatedReasoningPolicy.PolicyDefinitionProperty.Jsii$Proxy
Enclosing class:
CfnAutomatedReasoningPolicy

@Stability(Stable) public static interface CfnAutomatedReasoningPolicy.PolicyDefinitionProperty extends software.amazon.jsii.JsiiSerializable
The complete policy definition containing rules, variables, and types.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrock.*;
 PolicyDefinitionProperty policyDefinitionProperty = PolicyDefinitionProperty.builder()
         .rules(List.of(PolicyDefinitionRuleProperty.builder()
                 .expression("expression")
                 .id("id")
                 // the properties below are optional
                 .alternateExpression("alternateExpression")
                 .build()))
         .types(List.of(PolicyDefinitionTypeProperty.builder()
                 .name("name")
                 .values(List.of(PolicyDefinitionTypeValueProperty.builder()
                         .value("value")
                         // the properties below are optional
                         .description("description")
                         .build()))
                 // the properties below are optional
                 .description("description")
                 .build()))
         .variables(List.of(PolicyDefinitionVariableProperty.builder()
                 .description("description")
                 .name("name")
                 .type("type")
                 .build()))
         .version("version")
         .build();
 

See Also: