Skip to content
v2.277.0

ApiGatewayToolOverrideProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const apiGatewayToolOverrideProperty: bedrockagentcore.CfnGatewayTarget.ApiGatewayToolOverrideProperty = {
  method: 'method',
  name: 'name',
  path: 'path',

  // the properties below are optional
  description: 'description',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

api_gateway_tool_override_property = bedrockagentcore.CfnGatewayTarget.ApiGatewayToolOverrideProperty(
    method="method",
    name="name",
    path="path",

    # the properties below are optional
    description="description"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

ApiGatewayToolOverrideProperty apiGatewayToolOverrideProperty = ApiGatewayToolOverrideProperty.builder()
        .method("method")
        .name("name")
        .path("path")

        // the properties below are optional
        .description("description")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var apiGatewayToolOverrideProperty = new ApiGatewayToolOverrideProperty {
    Method = "method",
    Name = "name",
    Path = "path",

    // the properties below are optional
    Description = "description"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

apiGatewayToolOverrideProperty := &ApiGatewayToolOverrideProperty{
	Method: jsii.String("method"),
	Name: jsii.String("name"),
	Path: jsii.String("path"),

	// the properties below are optional
	Description: jsii.String("description"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
methodstringmethodstrmethodStringMethodstringMethod*stringrequired#
namestringnamestrnameStringNamestringName*stringrequired#
pathstringpathstrpathStringPathstringPath*stringrequired#