Skip to content
v2.277.0

SpaceReference Struct ​

A reference to a Space resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const spaceReference: interfaces_sagemaker.SpaceReference = {
  domainId: 'domainId',
  spaceArn: 'spaceArn',
  spaceName: 'spaceName',
};
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_sagemaker as interfaces_sagemaker

space_reference = interfaces_sagemaker.SpaceReference(
    domain_id="domainId",
    space_arn="spaceArn",
    space_name="spaceName"
)
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.sagemaker.*;

SpaceReference spaceReference = SpaceReference.builder()
        .domainId("domainId")
        .spaceArn("spaceArn")
        .spaceName("spaceName")
        .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.Sagemaker;

var spaceReference = new SpaceReference {
    DomainId = "domainId",
    SpaceArn = "spaceArn",
    SpaceName = "spaceName"
};
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"

spaceReference := &SpaceReference{
	DomainId: jsii.String("domainId"),
	SpaceArn: jsii.String("spaceArn"),
	SpaceName: jsii.String("spaceName"),
}

Properties ​

domainIdstringdomain_idstrdomainIdStringDomainIdstringDomainId*stringrequired#
The DomainId of the Space resource.
spaceArnstringspace_arnstrspaceArnStringSpaceArnstringSpaceArn*stringrequired#
The ARN of the Space resource.
spaceNamestringspace_namestrspaceNameStringSpaceNamestringSpaceName*stringrequired#
The SpaceName of the Space resource.