AgentcoreGatewayPolicyEngineConfiguration constructor
const
AgentcoreGatewayPolicyEngineConfiguration({})
Creates a new AgentcoreGatewayPolicyEngineConfiguration.
arn 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.
mode Enforcement mode for the policy engine. Valid values: LOG_ONLY, ENFORCE. In LOG_ONLY mode, the policy engine evaluates actions and records traces but does not enforce decisions. In ENFORCE mode, the policy engine evaluates actions and enforces allow/deny decisions.
Implementation
const AgentcoreGatewayPolicyEngineConfiguration({
required this.arn,
required this.mode,
});