

# AgentSpaceConfiguration

Configuration for linking this AgentSpace to another AgentSpace. Specify the target AgentSpace and the type of relationship to establish.

## Contents
<a name="API_AgentSpaceConfiguration_Contents"></a>

 ** relationshipType **   <a name="devopsagent-Type-AgentSpaceConfiguration-relationshipType"></a>
The type of relationship to establish with the target AgentSpace.  
Type: String  
Valid Values: `lead | member | dependency | consumer`   
Required: Yes

 ** targetAgentSpaceArn **   <a name="devopsagent-Type-AgentSpaceConfiguration-targetAgentSpaceArn"></a>
The Amazon Resource Name (ARN) of the target AgentSpace resource to associate.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `arn:(aws|aws-cn|aws-us-gov):aidevops:[a-z0-9-]+:\d{12}:agentspace/[a-z0-9-]+`   
Required: Yes

 ** targetAgentSpaceDescription **   <a name="devopsagent-Type-AgentSpaceConfiguration-targetAgentSpaceDescription"></a>
The description of the target AgentSpace resource.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1000.  
Pattern: `[\p{L}\p{N}\p{P}\p{S}\p{Z}]+`   
Required: No

 ** targetAgentSpaceName **   <a name="devopsagent-Type-AgentSpaceConfiguration-targetAgentSpaceName"></a>
The name of the target AgentSpace resource.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[\p{L}\p{N}\p{P}\p{S}\p{Z}]+`   
Required: No

## See Also
<a name="API_AgentSpaceConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/devops-agent-2026-01-01/AgentSpaceConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/devops-agent-2026-01-01/AgentSpaceConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/devops-agent-2026-01-01/AgentSpaceConfiguration) 