-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnSpaceProps.go
74 lines (71 loc) · 2.85 KB
/
CfnSpaceProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package awssagemaker
import (
"github.com/aws/aws-cdk-go/awscdk/v2"
)
// Properties for defining a `CfnSpace`.
//
// Example:
// // 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"
//
// cfnSpaceProps := &CfnSpaceProps{
// DomainId: jsii.String("domainId"),
// SpaceName: jsii.String("spaceName"),
//
// // the properties below are optional
// SpaceSettings: &SpaceSettingsProperty{
// JupyterServerAppSettings: &JupyterServerAppSettingsProperty{
// DefaultResourceSpec: &ResourceSpecProperty{
// InstanceType: jsii.String("instanceType"),
// SageMakerImageArn: jsii.String("sageMakerImageArn"),
// SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
// },
// },
// KernelGatewayAppSettings: &KernelGatewayAppSettingsProperty{
// CustomImages: []interface{}{
// &CustomImageProperty{
// AppImageConfigName: jsii.String("appImageConfigName"),
// ImageName: jsii.String("imageName"),
//
// // the properties below are optional
// ImageVersionNumber: jsii.Number(123),
// },
// },
// DefaultResourceSpec: &ResourceSpecProperty{
// InstanceType: jsii.String("instanceType"),
// SageMakerImageArn: jsii.String("sageMakerImageArn"),
// SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
// },
// },
// },
// Tags: []cfnTag{
// &cfnTag{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// },
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html
//
type CfnSpaceProps struct {
// The ID of the associated Domain.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-domainid
//
DomainId *string `field:"required" json:"domainId" yaml:"domainId"`
// The name of the space.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-spacename
//
SpaceName *string `field:"required" json:"spaceName" yaml:"spaceName"`
// A collection of space settings.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-spacesettings
//
SpaceSettings interface{} `field:"optional" json:"spaceSettings" yaml:"spaceSettings"`
// An array of key-value pairs to apply to this resource.
//
// For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html#cfn-sagemaker-space-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}