Interface CfnHarnessPropsMixin.HarnessToolProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarnessPropsMixin.HarnessToolProperty.Jsii$Proxy
- Enclosing class:
CfnHarnessPropsMixin
@Stability(Stable)
public static interface CfnHarnessPropsMixin.HarnessToolProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.*;
Object awsIam;
Object inputSchema;
Object none;
HarnessToolProperty harnessToolProperty = HarnessToolProperty.builder()
.config(HarnessToolConfigurationProperty.builder()
.agentCoreBrowser(HarnessAgentCoreBrowserConfigProperty.builder()
.browserArn("browserArn")
.build())
.agentCoreCodeInterpreter(HarnessAgentCoreCodeInterpreterConfigProperty.builder()
.codeInterpreterArn("codeInterpreterArn")
.build())
.agentCoreGateway(HarnessAgentCoreGatewayConfigProperty.builder()
.gatewayArn("gatewayArn")
.outboundAuth(HarnessGatewayOutboundAuthProperty.builder()
.awsIam(awsIam)
.none(none)
.oauth(OAuthCredentialProviderProperty.builder()
.customParameters(Map.of(
"customParametersKey", "customParameters"))
.defaultReturnUrl("defaultReturnUrl")
.grantType("grantType")
.providerArn("providerArn")
.scopes(List.of("scopes"))
.build())
.build())
.build())
.inlineFunction(HarnessInlineFunctionConfigProperty.builder()
.description("description")
.inputSchema(inputSchema)
.build())
.remoteMcp(HarnessRemoteMcpConfigProperty.builder()
.headers(Map.of(
"headersKey", "headers"))
.url("url")
.build())
.build())
.name("name")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarnessPropsMixin.HarnessToolPropertystatic final classAn implementation forCfnHarnessPropsMixin.HarnessToolProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessToolConfigurationPropertydefault StringgetName()default StringgetType()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfig
Returns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessToolConfigurationProperty- See Also:
-
getName
- See Also:
-
getType
- See Also:
-
builder
-