/
CfnSpace_ResourceSpecProperty.go
37 lines (34 loc) · 1.94 KB
/
CfnSpace_ResourceSpecProperty.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
package awssagemaker
// Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
//
// 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"
//
// resourceSpecProperty := &ResourceSpecProperty{
// InstanceType: jsii.String("instanceType"),
// SageMakerImageArn: jsii.String("sageMakerImageArn"),
// SageMakerImageVersionArn: jsii.String("sageMakerImageVersionArn"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html
//
type CfnSpace_ResourceSpecProperty struct {
// The instance type that the image version runs on.
//
// > *JupyterServer apps* only support the `system` value.
// >
// > For *KernelGateway apps* , the `system` value is translated to `ml.t3.medium` . KernelGateway apps also support all other values for available instance types.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-instancetype
//
InstanceType *string `field:"optional" json:"instanceType" yaml:"instanceType"`
// The ARN of the SageMaker image that the image version belongs to.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-sagemakerimagearn
//
SageMakerImageArn *string `field:"optional" json:"sageMakerImageArn" yaml:"sageMakerImageArn"`
// The ARN of the image version created on the instance.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-sagemakerimageversionarn
//
SageMakerImageVersionArn *string `field:"optional" json:"sageMakerImageVersionArn" yaml:"sageMakerImageVersionArn"`
}