AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BedrockAgentCore::GatewayTarget

CfnGatewayTarget

After creating a gateway, you can add targets, which define the tools that your gateway will host. For more information about adding gateway targets, see [Add targets to an existing gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html) . See the *Properties* section below for descriptions of both the required and optional properties.

Import

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

Or use the module namespace:

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

Properties

Configuration passed to the constructor as CfnGatewayTargetProps.

nameRequired
string

The name for the gateway target.

targetConfigurationRequired
IResolvable | TargetConfigurationProperty

The target configuration for the Smithy model target.

credentialProviderConfigurationsOptional
IResolvable | IResolvable | CredentialProviderConfigurationProperty[]

The OAuth credential provider configuration.

descriptionOptional
string

The description for the gateway target.

gatewayIdentifierOptional
string

The gateway ID for the gateway target.

metadataConfigurationOptional
IResolvable | MetadataConfigurationProperty

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

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-bedrockagentcore
CFN TypeAWS::BedrockAgentCore::GatewayTarget
Properties6

External Links