Skip to content
v2.278.0

HandoffAgentConfigurationProperty ​

Struct External

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const handoffAgentConfigurationProperty: wisdom.CfnAIAgent.HandoffAgentConfigurationProperty = {
  agentTarget: {
    aiAgentId: 'aiAgentId',
    applicationId: 'applicationId',
  },

  // the properties below are optional
  audioStreamingEnabled: false,
  immediateHandoff: false,
  instruction: {
    examples: ['examples'],
    instruction: 'instruction',
  },
};
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_wisdom as wisdom

handoff_agent_configuration_property = wisdom.CfnAIAgent.HandoffAgentConfigurationProperty(
    agent_target=wisdom.CfnAIAgent.AgentTargetProperty(
        ai_agent_id="aiAgentId",
        application_id="applicationId"
    ),

    # the properties below are optional
    audio_streaming_enabled=False,
    immediate_handoff=False,
    instruction=wisdom.CfnAIAgent.MultiAgentInstructionProperty(
        examples=["examples"],
        instruction="instruction"
    )
)
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.wisdom.*;

HandoffAgentConfigurationProperty handoffAgentConfigurationProperty = HandoffAgentConfigurationProperty.builder()
        .agentTarget(AgentTargetProperty.builder()
                .aiAgentId("aiAgentId")
                .applicationId("applicationId")
                .build())

        // the properties below are optional
        .audioStreamingEnabled(false)
        .immediateHandoff(false)
        .instruction(MultiAgentInstructionProperty.builder()
                .examples(List.of("examples"))
                .instruction("instruction")
                .build())
        .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.Wisdom;

var handoffAgentConfigurationProperty = new HandoffAgentConfigurationProperty {
    AgentTarget = new AgentTargetProperty {
        AiAgentId = "aiAgentId",
        ApplicationId = "applicationId"
    },

    // the properties below are optional
    AudioStreamingEnabled = false,
    ImmediateHandoff = false,
    Instruction = new MultiAgentInstructionProperty {
        Examples = new [] { "examples" },
        Instruction = "instruction"
    }
};
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"

handoffAgentConfigurationProperty := &HandoffAgentConfigurationProperty{
	AgentTarget: &AgentTargetProperty{
		AiAgentId: jsii.String("aiAgentId"),
		ApplicationId: jsii.String("applicationId"),
	},

	// the properties below are optional
	AudioStreamingEnabled: jsii.Boolean(false),
	ImmediateHandoff: jsii.Boolean(false),
	Instruction: &MultiAgentInstructionProperty{
		Examples: []*string{
			jsii.String("examples"),
		},
		Instruction: jsii.String("instruction"),
	},
}

Properties ​

agentTargetIResolvable | CfnAIAgent.AgentTargetPropertyagent_targettyping.Union[IResolvable, AgentTargetProperty]agentTargetIResolvableAgentTargetIResolvableAgentTargetinterface{} required #
audioStreamingEnabledoptionalboolean | IResolvableaudio_streaming_enabledoptionaltyping.Union[bool, IResolvable]audioStreamingEnabledoptionalBooleanAudioStreamingEnabledoptionalboolAudioStreamingEnabledoptionalinterface{} #
immediateHandoffoptionalboolean | IResolvableimmediate_handoffoptionaltyping.Union[bool, IResolvable]immediateHandoffoptionalBooleanImmediateHandoffoptionalboolImmediateHandoffoptionalinterface{} #
instructionoptionalIResolvable | CfnAIAgent.MultiAgentInstructionPropertyinstructionoptionaltyping.Union[IResolvable, MultiAgentInstructionProperty]instructionoptionalIResolvableInstructionoptionalIResolvableInstructionoptionalinterface{} #