Skip to content
v2.277.0

AgentSpaceReference Struct ​

A reference to a AgentSpace resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as interfaces_devopsagent } from 'aws-cdk-lib/interfaces';
const agentSpaceReference: interfaces_devopsagent.AgentSpaceReference = {
  agentSpaceArn: 'agentSpaceArn',
  agentSpaceId: 'agentSpaceId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_devopsagent as interfaces_devopsagent

agent_space_reference = interfaces_devopsagent.AgentSpaceReference(
    agent_space_arn="agentSpaceArn",
    agent_space_id="agentSpaceId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.devopsagent.*;

AgentSpaceReference agentSpaceReference = AgentSpaceReference.builder()
        .agentSpaceArn("agentSpaceArn")
        .agentSpaceId("agentSpaceId")
        .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.Interfaces.DevOpsAgent;

var agentSpaceReference = new AgentSpaceReference {
    AgentSpaceArn = "agentSpaceArn",
    AgentSpaceId = "agentSpaceId"
};
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"

agentSpaceReference := &AgentSpaceReference{
	AgentSpaceArn: jsii.String("agentSpaceArn"),
	AgentSpaceId: jsii.String("agentSpaceId"),
}

Properties ​

agentSpaceArnstringagent_space_arnstragentSpaceArnStringAgentSpaceArnstringAgentSpaceArn*string required #
The ARN of the AgentSpace resource.
agentSpaceIdstringagent_space_idstragentSpaceIdStringAgentSpaceIdstringAgentSpaceId*string required #
The AgentSpaceId of the AgentSpace resource.