sagemakermodel

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 Container

type Container struct {
	// ContainerHostname: string, optional
	ContainerHostname terra.StringValue `hcl:"container_hostname,attr"`
	// Environment: map of string, optional
	Environment terra.MapValue[terra.StringValue] `hcl:"environment,attr"`
	// Image: string, optional
	Image terra.StringValue `hcl:"image,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// ModelDataUrl: string, optional
	ModelDataUrl terra.StringValue `hcl:"model_data_url,attr"`
	// ModelPackageName: string, optional
	ModelPackageName terra.StringValue `hcl:"model_package_name,attr"`
	// ContainerImageConfig: optional
	ImageConfig *ContainerImageConfig `hcl:"image_config,block"`
}

type ContainerAttributes

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

func (ContainerAttributes) ContainerHostname

func (c ContainerAttributes) ContainerHostname() terra.StringValue

func (ContainerAttributes) Environment

func (ContainerAttributes) Image

func (ContainerAttributes) ImageConfig

func (ContainerAttributes) InternalRef

func (c ContainerAttributes) InternalRef() (terra.Reference, error)

func (ContainerAttributes) InternalTokens

func (c ContainerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerAttributes) InternalWithRef

func (c ContainerAttributes) InternalWithRef(ref terra.Reference) ContainerAttributes

func (ContainerAttributes) Mode

func (ContainerAttributes) ModelDataUrl

func (c ContainerAttributes) ModelDataUrl() terra.StringValue

func (ContainerAttributes) ModelPackageName

func (c ContainerAttributes) ModelPackageName() terra.StringValue

type ContainerImageConfig

type ContainerImageConfig struct {
	// RepositoryAccessMode: string, required
	RepositoryAccessMode terra.StringValue `hcl:"repository_access_mode,attr" validate:"required"`
	// ContainerImageConfigRepositoryAuthConfig: optional
	RepositoryAuthConfig *ContainerImageConfigRepositoryAuthConfig `hcl:"repository_auth_config,block"`
}

type ContainerImageConfigAttributes

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

func (ContainerImageConfigAttributes) InternalRef

func (ContainerImageConfigAttributes) InternalTokens

func (ic ContainerImageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerImageConfigAttributes) InternalWithRef

func (ContainerImageConfigAttributes) RepositoryAccessMode

func (ic ContainerImageConfigAttributes) RepositoryAccessMode() terra.StringValue

func (ContainerImageConfigAttributes) RepositoryAuthConfig

type ContainerImageConfigRepositoryAuthConfig

type ContainerImageConfigRepositoryAuthConfig struct {
	// RepositoryCredentialsProviderArn: string, required
	RepositoryCredentialsProviderArn terra.StringValue `hcl:"repository_credentials_provider_arn,attr" validate:"required"`
}

type ContainerImageConfigRepositoryAuthConfigAttributes

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

func (ContainerImageConfigRepositoryAuthConfigAttributes) InternalRef

func (ContainerImageConfigRepositoryAuthConfigAttributes) InternalTokens

func (ContainerImageConfigRepositoryAuthConfigAttributes) InternalWithRef

func (ContainerImageConfigRepositoryAuthConfigAttributes) RepositoryCredentialsProviderArn

func (rac ContainerImageConfigRepositoryAuthConfigAttributes) RepositoryCredentialsProviderArn() terra.StringValue

type ContainerImageConfigRepositoryAuthConfigState

type ContainerImageConfigRepositoryAuthConfigState struct {
	RepositoryCredentialsProviderArn string `json:"repository_credentials_provider_arn"`
}

type ContainerImageConfigState

type ContainerImageConfigState struct {
	RepositoryAccessMode string                                          `json:"repository_access_mode"`
	RepositoryAuthConfig []ContainerImageConfigRepositoryAuthConfigState `json:"repository_auth_config"`
}

type ContainerState

type ContainerState struct {
	ContainerHostname string                      `json:"container_hostname"`
	Environment       map[string]string           `json:"environment"`
	Image             string                      `json:"image"`
	Mode              string                      `json:"mode"`
	ModelDataUrl      string                      `json:"model_data_url"`
	ModelPackageName  string                      `json:"model_package_name"`
	ImageConfig       []ContainerImageConfigState `json:"image_config"`
}

type InferenceExecutionConfig

type InferenceExecutionConfig struct {
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
}

type InferenceExecutionConfigAttributes

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

func (InferenceExecutionConfigAttributes) InternalRef

func (InferenceExecutionConfigAttributes) InternalTokens

func (iec InferenceExecutionConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InferenceExecutionConfigAttributes) InternalWithRef

func (InferenceExecutionConfigAttributes) Mode

type InferenceExecutionConfigState

type InferenceExecutionConfigState struct {
	Mode string `json:"mode"`
}

type PrimaryContainer

type PrimaryContainer struct {
	// ContainerHostname: string, optional
	ContainerHostname terra.StringValue `hcl:"container_hostname,attr"`
	// Environment: map of string, optional
	Environment terra.MapValue[terra.StringValue] `hcl:"environment,attr"`
	// Image: string, optional
	Image terra.StringValue `hcl:"image,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// ModelDataUrl: string, optional
	ModelDataUrl terra.StringValue `hcl:"model_data_url,attr"`
	// ModelPackageName: string, optional
	ModelPackageName terra.StringValue `hcl:"model_package_name,attr"`
	// PrimaryContainerImageConfig: optional
	ImageConfig *PrimaryContainerImageConfig `hcl:"image_config,block"`
}

type PrimaryContainerAttributes

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

func (PrimaryContainerAttributes) ContainerHostname

func (pc PrimaryContainerAttributes) ContainerHostname() terra.StringValue

func (PrimaryContainerAttributes) Environment

func (PrimaryContainerAttributes) Image

func (PrimaryContainerAttributes) ImageConfig

func (PrimaryContainerAttributes) InternalRef

func (pc PrimaryContainerAttributes) InternalRef() (terra.Reference, error)

func (PrimaryContainerAttributes) InternalTokens

func (pc PrimaryContainerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrimaryContainerAttributes) InternalWithRef

func (PrimaryContainerAttributes) Mode

func (PrimaryContainerAttributes) ModelDataUrl

func (pc PrimaryContainerAttributes) ModelDataUrl() terra.StringValue

func (PrimaryContainerAttributes) ModelPackageName

func (pc PrimaryContainerAttributes) ModelPackageName() terra.StringValue

type PrimaryContainerImageConfig

type PrimaryContainerImageConfig struct {
	// RepositoryAccessMode: string, required
	RepositoryAccessMode terra.StringValue `hcl:"repository_access_mode,attr" validate:"required"`
	// PrimaryContainerImageConfigRepositoryAuthConfig: optional
	RepositoryAuthConfig *PrimaryContainerImageConfigRepositoryAuthConfig `hcl:"repository_auth_config,block"`
}

type PrimaryContainerImageConfigAttributes

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

func (PrimaryContainerImageConfigAttributes) InternalRef

func (PrimaryContainerImageConfigAttributes) InternalTokens

func (PrimaryContainerImageConfigAttributes) InternalWithRef

func (PrimaryContainerImageConfigAttributes) RepositoryAccessMode

func (ic PrimaryContainerImageConfigAttributes) RepositoryAccessMode() terra.StringValue

type PrimaryContainerImageConfigRepositoryAuthConfig

type PrimaryContainerImageConfigRepositoryAuthConfig struct {
	// RepositoryCredentialsProviderArn: string, required
	RepositoryCredentialsProviderArn terra.StringValue `hcl:"repository_credentials_provider_arn,attr" validate:"required"`
}

type PrimaryContainerImageConfigRepositoryAuthConfigAttributes

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

func (PrimaryContainerImageConfigRepositoryAuthConfigAttributes) InternalRef

func (PrimaryContainerImageConfigRepositoryAuthConfigAttributes) InternalTokens

func (PrimaryContainerImageConfigRepositoryAuthConfigAttributes) InternalWithRef

func (PrimaryContainerImageConfigRepositoryAuthConfigAttributes) RepositoryCredentialsProviderArn

func (rac PrimaryContainerImageConfigRepositoryAuthConfigAttributes) RepositoryCredentialsProviderArn() terra.StringValue

type PrimaryContainerImageConfigRepositoryAuthConfigState

type PrimaryContainerImageConfigRepositoryAuthConfigState struct {
	RepositoryCredentialsProviderArn string `json:"repository_credentials_provider_arn"`
}

type PrimaryContainerImageConfigState

type PrimaryContainerImageConfigState struct {
	RepositoryAccessMode string                                                 `json:"repository_access_mode"`
	RepositoryAuthConfig []PrimaryContainerImageConfigRepositoryAuthConfigState `json:"repository_auth_config"`
}

type PrimaryContainerState

type PrimaryContainerState struct {
	ContainerHostname string                             `json:"container_hostname"`
	Environment       map[string]string                  `json:"environment"`
	Image             string                             `json:"image"`
	Mode              string                             `json:"mode"`
	ModelDataUrl      string                             `json:"model_data_url"`
	ModelPackageName  string                             `json:"model_package_name"`
	ImageConfig       []PrimaryContainerImageConfigState `json:"image_config"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type VpcConfigAttributes

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

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) Subnets

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	Subnets          []string `json:"subnets"`
}

Jump to

Keyboard shortcuts

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