Interface CfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayPropsMixin
A policy engine is a collection of policies that evaluates and authorizes agent tool calls. When associated with a gateway, the policy engine intercepts all agent requests and determines whether to allow or deny each action based on the defined policies.
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.bedrockagentcore.*;
GatewayPolicyEngineConfigurationProperty gatewayPolicyEngineConfigurationProperty = GatewayPolicyEngineConfigurationProperty.builder()
.arn("arn")
.mode("mode")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArn
The ARN of the policy engine.The policy engine contains Cedar policies that define fine-grained authorization rules specifying who can perform what actions on which resources as agents interact through the gateway.
- See Also:
-
getMode
The enforcement mode for the policy engine.LOG_ONLY - The policy engine evaluates each action against your policies and adds traces on whether tool calls would be allowed or denied, but does not enforce the decision. Use this mode to test and validate policies before enabling enforcement. ENFORCE - The policy engine evaluates actions against your policies and enforces decisions by allowing or denying agent operations. Test and validate policies in LOG_ONLY mode before enabling enforcement to avoid unintended denials or adversely affecting production traffic.
- See Also:
-
builder
@Stability(Stable) static CfnGatewayPropsMixin.GatewayPolicyEngineConfigurationProperty.Builder builder()
-