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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAutomatedReasoningPolicy.PolicyDefinitionProperty
static final class
An implementation forCfnAutomatedReasoningPolicy.PolicyDefinitionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
getRules()
The collection of rules that define the policy logic.default Object
getTypes()
The custom types defined within the policy definition.default Object
The variables used within the policy definition.default String
The version of the policy definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRules
The collection of rules that define the policy logic.- See Also:
-
getTypes
The custom types defined within the policy definition.- See Also:
-
getVariables
The variables used within the policy definition.- See Also:
-
getVersion
The version of the policy definition.- See Also:
-
builder
-