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_securityagent as interfaces_securityagent } from 'aws-cdk-lib/interfaces';
const agentSpaceReference: interfaces_securityagent.AgentSpaceReference = {
  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_securityagent as interfaces_securityagent

agent_space_reference = interfaces_securityagent.AgentSpaceReference(
    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.securityagent.*;

AgentSpaceReference agentSpaceReference = AgentSpaceReference.builder()
        .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.SecurityAgent;

var agentSpaceReference = new AgentSpaceReference {
    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{
	AgentSpaceId: jsii.String("agentSpaceId"),
}

Properties ​

agentSpaceIdstringagent_space_idstragentSpaceIdStringAgentSpaceIdstringAgentSpaceId*stringrequired#
The AgentSpaceId of the AgentSpace resource.