class CfnGatewayTargetPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BedrockAgentCore.Mixins.CfnGatewayTargetPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrockagentcore/mixins#CfnGatewayTargetPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.bedrockagentcore.mixins.CfnGatewayTargetPropsMixin |
Python | aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnGatewayTargetPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_bedrockagentcore » mixins » CfnGatewayTargetPropsMixin |
Implements
IMixin
Extends
Mixin
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 .
See the Properties section below for descriptions of both the required and optional properties.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as bedrockagentcore_mixins } from '@aws-cdk/mixins-preview/aws-bedrockagentcore';
declare const schemaDefinitionProperty_: bedrockagentcore_mixins.CfnGatewayTargetPropsMixin.SchemaDefinitionProperty;
const cfnGatewayTargetPropsMixin = new bedrockagentcore_mixins.CfnGatewayTargetPropsMixin({
credentialProviderConfigurations: [{
credentialProvider: {
apiKeyCredentialProvider: {
credentialLocation: 'credentialLocation',
credentialParameterName: 'credentialParameterName',
credentialPrefix: 'credentialPrefix',
providerArn: 'providerArn',
},
oauthCredentialProvider: {
customParameters: {
customParametersKey: 'customParameters',
},
providerArn: 'providerArn',
scopes: ['scopes'],
},
},
credentialProviderType: 'credentialProviderType',
}],
description: 'description',
gatewayIdentifier: 'gatewayIdentifier',
name: 'name',
targetConfiguration: {
mcp: {
lambda: {
lambdaArn: 'lambdaArn',
toolSchema: {
inlinePayload: [{
description: 'description',
inputSchema: {
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
type: 'type',
},
name: 'name',
outputSchema: {
description: 'description',
items: schemaDefinitionProperty_,
properties: {
propertiesKey: schemaDefinitionProperty_,
},
required: ['required'],
type: 'type',
},
}],
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
},
mcpServer: {
endpoint: 'endpoint',
},
openApiSchema: {
inlinePayload: 'inlinePayload',
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
smithyModel: {
inlinePayload: 'inlinePayload',
s3: {
bucketOwnerAccountId: 'bucketOwnerAccountId',
uri: 'uri',
},
},
},
},
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnGatewayTargetPropsMixin(props: CfnGatewayTargetMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Gateway Target Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::BedrockAgentCore::GatewayTarget.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript