Interface CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnAutomatedReasoningPolicyPropsMixin
@Stability(Stable)
public static interface CfnAutomatedReasoningPolicyPropsMixin.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.cfnpropertymixins.services.bedrock.*;
PolicyDefinitionProperty policyDefinitionProperty = PolicyDefinitionProperty.builder()
.rules(List.of(PolicyDefinitionRuleProperty.builder()
.alternateExpression("alternateExpression")
.expression("expression")
.id("id")
.build()))
.types(List.of(PolicyDefinitionTypeProperty.builder()
.description("description")
.name("name")
.values(List.of(PolicyDefinitionTypeValueProperty.builder()
.description("description")
.value("value")
.build()))
.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 classstatic final classAn implementation forCfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetRules()The collection of rules that define the policy logic.default ObjectgetTypes()The custom types defined within the policy definition.default ObjectThe variables used within the policy definition.default StringThe 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionRuleProperty>- See Also:
-
getTypes
The custom types defined within the policy definition.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionTypeProperty>- See Also:
-
getVariables
The variables used within the policy definition.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionVariableProperty>- See Also:
-
getVersion
The version of the policy definition.- See Also:
-
builder
@Stability(Stable) static CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty.Builder builder()
-