Space

class Space : KotlinCustomResource

Provides a SageMaker Space resource.

Example Usage

Basic usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sagemaker.Space;
import com.pulumi.aws.sagemaker.SpaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Space("example", SpaceArgs.builder()
.domainId(aws_sagemaker_domain.test().id())
.spaceName("example")
.build());
}
}

Import

SageMaker Spaces can be imported using the id, e.g.,

$ pulumi import aws:sagemaker/space:Space test_space arn:aws:sagemaker:us-west-2:123456789012:space/domain-id/space-name

Properties

Link copied to clipboard
val arn: Output<String>

The space's Amazon Resource Name (ARN).

Link copied to clipboard
val domainId: Output<String>

The ID of the associated Domain.

Link copied to clipboard

The ID of the space's profile in the Amazon Elastic File System volume.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val spaceName: Output<String>

The name of the space.

Link copied to clipboard

A collection of space settings. See Space Settings below.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>