sagemakerspace

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeRepository

type CodeRepository struct {
	// RepositoryUrl: string, required
	RepositoryUrl terra.StringValue `hcl:"repository_url,attr" validate:"required"`
}

type CodeRepositoryAttributes

type CodeRepositoryAttributes struct {
	// contains filtered or unexported fields
}

func (CodeRepositoryAttributes) InternalRef

func (cr CodeRepositoryAttributes) InternalRef() (terra.Reference, error)

func (CodeRepositoryAttributes) InternalTokens

func (cr CodeRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeRepositoryAttributes) InternalWithRef

func (CodeRepositoryAttributes) RepositoryUrl

func (cr CodeRepositoryAttributes) RepositoryUrl() terra.StringValue

type CodeRepositoryState

type CodeRepositoryState struct {
	RepositoryUrl string `json:"repository_url"`
}

type CustomImage

type CustomImage struct {
	// AppImageConfigName: string, required
	AppImageConfigName terra.StringValue `hcl:"app_image_config_name,attr" validate:"required"`
	// ImageName: string, required
	ImageName terra.StringValue `hcl:"image_name,attr" validate:"required"`
	// ImageVersionNumber: number, optional
	ImageVersionNumber terra.NumberValue `hcl:"image_version_number,attr"`
}

type CustomImageAttributes

type CustomImageAttributes struct {
	// contains filtered or unexported fields
}

func (CustomImageAttributes) AppImageConfigName

func (ci CustomImageAttributes) AppImageConfigName() terra.StringValue

func (CustomImageAttributes) ImageName

func (ci CustomImageAttributes) ImageName() terra.StringValue

func (CustomImageAttributes) ImageVersionNumber

func (ci CustomImageAttributes) ImageVersionNumber() terra.NumberValue

func (CustomImageAttributes) InternalRef

func (ci CustomImageAttributes) InternalRef() (terra.Reference, error)

func (CustomImageAttributes) InternalTokens

func (ci CustomImageAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CustomImageAttributes) InternalWithRef

type CustomImageState

type CustomImageState struct {
	AppImageConfigName string  `json:"app_image_config_name"`
	ImageName          string  `json:"image_name"`
	ImageVersionNumber float64 `json:"image_version_number"`
}

type JupyterServerAppSettings

type JupyterServerAppSettings struct {
	// LifecycleConfigArns: set of string, optional
	LifecycleConfigArns terra.SetValue[terra.StringValue] `hcl:"lifecycle_config_arns,attr"`
	// CodeRepository: min=0,max=10
	CodeRepository []CodeRepository `hcl:"code_repository,block" validate:"min=0,max=10"`
	// JupyterServerAppSettingsDefaultResourceSpec: required
	DefaultResourceSpec *JupyterServerAppSettingsDefaultResourceSpec `hcl:"default_resource_spec,block" validate:"required"`
}

type JupyterServerAppSettingsAttributes

type JupyterServerAppSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (JupyterServerAppSettingsAttributes) CodeRepository

func (JupyterServerAppSettingsAttributes) DefaultResourceSpec

func (JupyterServerAppSettingsAttributes) InternalRef

func (JupyterServerAppSettingsAttributes) InternalTokens

func (jsas JupyterServerAppSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JupyterServerAppSettingsAttributes) InternalWithRef

func (JupyterServerAppSettingsAttributes) LifecycleConfigArns

type JupyterServerAppSettingsDefaultResourceSpec

type JupyterServerAppSettingsDefaultResourceSpec struct {
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// LifecycleConfigArn: string, optional
	LifecycleConfigArn terra.StringValue `hcl:"lifecycle_config_arn,attr"`
	// SagemakerImageArn: string, optional
	SagemakerImageArn terra.StringValue `hcl:"sagemaker_image_arn,attr"`
	// SagemakerImageVersionArn: string, optional
	SagemakerImageVersionArn terra.StringValue `hcl:"sagemaker_image_version_arn,attr"`
}

type JupyterServerAppSettingsDefaultResourceSpecAttributes

type JupyterServerAppSettingsDefaultResourceSpecAttributes struct {
	// contains filtered or unexported fields
}

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) InstanceType

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) InternalRef

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) InternalTokens

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) InternalWithRef

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) LifecycleConfigArn

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) SagemakerImageArn

func (JupyterServerAppSettingsDefaultResourceSpecAttributes) SagemakerImageVersionArn

type JupyterServerAppSettingsDefaultResourceSpecState

type JupyterServerAppSettingsDefaultResourceSpecState struct {
	InstanceType             string `json:"instance_type"`
	LifecycleConfigArn       string `json:"lifecycle_config_arn"`
	SagemakerImageArn        string `json:"sagemaker_image_arn"`
	SagemakerImageVersionArn string `json:"sagemaker_image_version_arn"`
}

type JupyterServerAppSettingsState

type JupyterServerAppSettingsState struct {
	LifecycleConfigArns []string                                           `json:"lifecycle_config_arns"`
	CodeRepository      []CodeRepositoryState                              `json:"code_repository"`
	DefaultResourceSpec []JupyterServerAppSettingsDefaultResourceSpecState `json:"default_resource_spec"`
}

type KernelGatewayAppSettings

type KernelGatewayAppSettings struct {
	// LifecycleConfigArns: set of string, optional
	LifecycleConfigArns terra.SetValue[terra.StringValue] `hcl:"lifecycle_config_arns,attr"`
	// CustomImage: min=0,max=30
	CustomImage []CustomImage `hcl:"custom_image,block" validate:"min=0,max=30"`
	// KernelGatewayAppSettingsDefaultResourceSpec: required
	DefaultResourceSpec *KernelGatewayAppSettingsDefaultResourceSpec `hcl:"default_resource_spec,block" validate:"required"`
}

type KernelGatewayAppSettingsAttributes

type KernelGatewayAppSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (KernelGatewayAppSettingsAttributes) CustomImage

func (KernelGatewayAppSettingsAttributes) DefaultResourceSpec

func (KernelGatewayAppSettingsAttributes) InternalRef

func (KernelGatewayAppSettingsAttributes) InternalTokens

func (kgas KernelGatewayAppSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KernelGatewayAppSettingsAttributes) InternalWithRef

func (KernelGatewayAppSettingsAttributes) LifecycleConfigArns

type KernelGatewayAppSettingsDefaultResourceSpec

type KernelGatewayAppSettingsDefaultResourceSpec struct {
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// LifecycleConfigArn: string, optional
	LifecycleConfigArn terra.StringValue `hcl:"lifecycle_config_arn,attr"`
	// SagemakerImageArn: string, optional
	SagemakerImageArn terra.StringValue `hcl:"sagemaker_image_arn,attr"`
	// SagemakerImageVersionArn: string, optional
	SagemakerImageVersionArn terra.StringValue `hcl:"sagemaker_image_version_arn,attr"`
}

type KernelGatewayAppSettingsDefaultResourceSpecAttributes

type KernelGatewayAppSettingsDefaultResourceSpecAttributes struct {
	// contains filtered or unexported fields
}

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) InstanceType

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) InternalRef

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) InternalTokens

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) InternalWithRef

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) LifecycleConfigArn

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) SagemakerImageArn

func (KernelGatewayAppSettingsDefaultResourceSpecAttributes) SagemakerImageVersionArn

type KernelGatewayAppSettingsDefaultResourceSpecState

type KernelGatewayAppSettingsDefaultResourceSpecState struct {
	InstanceType             string `json:"instance_type"`
	LifecycleConfigArn       string `json:"lifecycle_config_arn"`
	SagemakerImageArn        string `json:"sagemaker_image_arn"`
	SagemakerImageVersionArn string `json:"sagemaker_image_version_arn"`
}

type KernelGatewayAppSettingsState

type KernelGatewayAppSettingsState struct {
	LifecycleConfigArns []string                                           `json:"lifecycle_config_arns"`
	CustomImage         []CustomImageState                                 `json:"custom_image"`
	DefaultResourceSpec []KernelGatewayAppSettingsDefaultResourceSpecState `json:"default_resource_spec"`
}

type SpaceSettings

type SpaceSettings struct {
	// JupyterServerAppSettings: optional
	JupyterServerAppSettings *JupyterServerAppSettings `hcl:"jupyter_server_app_settings,block"`
	// KernelGatewayAppSettings: optional
	KernelGatewayAppSettings *KernelGatewayAppSettings `hcl:"kernel_gateway_app_settings,block"`
}

type SpaceSettingsAttributes

type SpaceSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (SpaceSettingsAttributes) InternalRef

func (ss SpaceSettingsAttributes) InternalRef() (terra.Reference, error)

func (SpaceSettingsAttributes) InternalTokens

func (ss SpaceSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpaceSettingsAttributes) InternalWithRef

func (SpaceSettingsAttributes) JupyterServerAppSettings

func (SpaceSettingsAttributes) KernelGatewayAppSettings

type SpaceSettingsState

type SpaceSettingsState struct {
	JupyterServerAppSettings []JupyterServerAppSettingsState `json:"jupyter_server_app_settings"`
	KernelGatewayAppSettings []KernelGatewayAppSettingsState `json:"kernel_gateway_app_settings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL