AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BedrockAgentCore::Gateway

CfnGateway

Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with. For more information about creating a gateway, see [Set up an Amazon Bedrock AgentCore gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html) . See the *Properties* section below for descriptions of both the required and optional properties.

Import

import { CfnGateway } from 'aws-cdk-lib/aws-bedrockagentcore';

Or use the module namespace:

import * as bedrockagentcore from 'aws-cdk-lib/aws-bedrockagentcore';
// bedrockagentcore.CfnGateway

Properties

Configuration passed to the constructor as CfnGatewayProps.

authorizerTypeRequired
string

The authorizer type for the gateway.

nameRequired
string

The name for the gateway.

protocolTypeRequired
string

The protocol type for the gateway target.

roleArnRequired
string
authorizerConfigurationOptional
IResolvable | AuthorizerConfigurationProperty
descriptionOptional
string

The description for the gateway.

exceptionLevelOptional
string

The exception level for the gateway.

interceptorConfigurationsOptional
IResolvable | IResolvable | GatewayInterceptorConfigurationProperty[]
kmsKeyArnOptional
string

The KMS key ARN for the gateway.

policyEngineConfigurationOptional
IResolvable | GatewayPolicyEngineConfigurationProperty

The configuration for a policy engine associated with a gateway. 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.

protocolConfigurationOptional
IResolvable | GatewayProtocolConfigurationProperty

The protocol configuration for the gateway target.

tagsOptional
{ [key: string]: string }

The tags for the gateway.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter