/
CfnDomain_DefaultSpaceSettingsProperty.go
65 lines (62 loc) · 3.12 KB
/
CfnDomain_DefaultSpaceSettingsProperty.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
package awssagemaker
// A collection of settings that apply to spaces created in the domain.
//
// 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"
//
// defaultSpaceSettingsProperty := &DefaultSpaceSettingsProperty{
// ExecutionRole: jsii.String("executionRole"),
//
// // the properties below are optional
// JupyterServerAppSettings: &JupyterServerAppSettingsProperty{
// DefaultResourceSpec: &ResourceSpecProperty{
// InstanceType: jsii.String("instanceType"),
// LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
// 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"),
// LifecycleConfigArn: jsii.String("lifecycleConfigArn"),
// SageMakerImageArn: jsii.String("sageMakerImageArn"),
// SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
// },
// },
// SecurityGroups: []*string{
// jsii.String("securityGroups"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html
//
type CfnDomain_DefaultSpaceSettingsProperty struct {
// The ARN of the execution role for the space.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-executionrole
//
ExecutionRole *string `field:"required" json:"executionRole" yaml:"executionRole"`
// The JupyterServer app settings.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-jupyterserverappsettings
//
JupyterServerAppSettings interface{} `field:"optional" json:"jupyterServerAppSettings" yaml:"jupyterServerAppSettings"`
// The KernelGateway app settings.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-kernelgatewayappsettings
//
KernelGatewayAppSettings interface{} `field:"optional" json:"kernelGatewayAppSettings" yaml:"kernelGatewayAppSettings"`
// The security group IDs for the Amazon VPC that the space uses for communication.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html#cfn-sagemaker-domain-defaultspacesettings-securitygroups
//
SecurityGroups *[]*string `field:"optional" json:"securityGroups" yaml:"securityGroups"`
}