# MultiAgentConfigurationProperty

Struct · External

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```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 multiAgentConfigurationProperty: wisdom.CfnAIAgent.MultiAgentConfigurationProperty = {
  delegateAgentConfiguration: {
    agentTarget: {
      aiAgentId: 'aiAgentId',
      applicationId: 'applicationId',
    },

    // the properties below are optional
    instruction: {
      examples: ['examples'],
      instruction: 'instruction',
    },
  },
  handoffAgentConfiguration: {
    agentTarget: {
      aiAgentId: 'aiAgentId',
      applicationId: 'applicationId',
    },

    // the properties below are optional
    audioStreamingEnabled: false,
    immediateHandoff: false,
    instruction: {
      examples: ['examples'],
      instruction: 'instruction',
    },
  },
};
```

Python:

```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

multi_agent_configuration_property = wisdom.CfnAIAgent.MultiAgentConfigurationProperty(
    delegate_agent_configuration=wisdom.CfnAIAgent.DelegateAgentConfigurationProperty(
        agent_target=wisdom.CfnAIAgent.AgentTargetProperty(
            ai_agent_id="aiAgentId",
            application_id="applicationId"
        ),

        # the properties below are optional
        instruction=wisdom.CfnAIAgent.MultiAgentInstructionProperty(
            examples=["examples"],
            instruction="instruction"
        )
    ),
    handoff_agent_configuration=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:

```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.*;

MultiAgentConfigurationProperty multiAgentConfigurationProperty = MultiAgentConfigurationProperty.builder()
        .delegateAgentConfiguration(DelegateAgentConfigurationProperty.builder()
                .agentTarget(AgentTargetProperty.builder()
                        .aiAgentId("aiAgentId")
                        .applicationId("applicationId")
                        .build())

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

C#:

```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 multiAgentConfigurationProperty = new MultiAgentConfigurationProperty {
    DelegateAgentConfiguration = new DelegateAgentConfigurationProperty {
        AgentTarget = new AgentTargetProperty {
            AiAgentId = "aiAgentId",
            ApplicationId = "applicationId"
        },

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

```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"

multiAgentConfigurationProperty := &MultiAgentConfigurationProperty{
	DelegateAgentConfiguration: &DelegateAgentConfigurationProperty{
		AgentTarget: &AgentTargetProperty{
			AiAgentId: jsii.String("aiAgentId"),
			ApplicationId: jsii.String("applicationId"),
		},

		// the properties below are optional
		Instruction: &MultiAgentInstructionProperty{
			Examples: []*string{
				jsii.String("examples"),
			},
			Instruction: jsii.String("instruction"),
		},
	},
	HandoffAgentConfiguration: &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

- `delegateAgentConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.DelegateAgentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.DelegateAgentConfigurationProperty.html)

- `handoffAgentConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAIAgent.HandoffAgentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnAIAgent.HandoffAgentConfigurationProperty.html)
