sagemakerendpointconfiguration

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 AsyncInferenceConfig

type AsyncInferenceConfig struct {
	// ClientConfig: optional
	ClientConfig *ClientConfig `hcl:"client_config,block"`
	// OutputConfig: required
	OutputConfig *OutputConfig `hcl:"output_config,block" validate:"required"`
}

type AsyncInferenceConfigAttributes

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

func (AsyncInferenceConfigAttributes) ClientConfig

func (AsyncInferenceConfigAttributes) InternalRef

func (aic AsyncInferenceConfigAttributes) InternalRef() (terra.Reference, error)

func (AsyncInferenceConfigAttributes) InternalTokens

func (aic AsyncInferenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AsyncInferenceConfigAttributes) InternalWithRef

func (AsyncInferenceConfigAttributes) OutputConfig

type AsyncInferenceConfigState

type AsyncInferenceConfigState struct {
	ClientConfig []ClientConfigState `json:"client_config"`
	OutputConfig []OutputConfigState `json:"output_config"`
}

type CaptureContentTypeHeader

type CaptureContentTypeHeader struct {
	// CsvContentTypes: set of string, optional
	CsvContentTypes terra.SetValue[terra.StringValue] `hcl:"csv_content_types,attr"`
	// JsonContentTypes: set of string, optional
	JsonContentTypes terra.SetValue[terra.StringValue] `hcl:"json_content_types,attr"`
}

type CaptureContentTypeHeaderAttributes

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

func (CaptureContentTypeHeaderAttributes) CsvContentTypes

func (CaptureContentTypeHeaderAttributes) InternalRef

func (CaptureContentTypeHeaderAttributes) InternalTokens

func (ccth CaptureContentTypeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CaptureContentTypeHeaderAttributes) InternalWithRef

func (CaptureContentTypeHeaderAttributes) JsonContentTypes

type CaptureContentTypeHeaderState

type CaptureContentTypeHeaderState struct {
	CsvContentTypes  []string `json:"csv_content_types"`
	JsonContentTypes []string `json:"json_content_types"`
}

type CaptureOptions

type CaptureOptions struct {
	// CaptureMode: string, required
	CaptureMode terra.StringValue `hcl:"capture_mode,attr" validate:"required"`
}

type CaptureOptionsAttributes

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

func (CaptureOptionsAttributes) CaptureMode

func (co CaptureOptionsAttributes) CaptureMode() terra.StringValue

func (CaptureOptionsAttributes) InternalRef

func (co CaptureOptionsAttributes) InternalRef() (terra.Reference, error)

func (CaptureOptionsAttributes) InternalTokens

func (co CaptureOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CaptureOptionsAttributes) InternalWithRef

type CaptureOptionsState

type CaptureOptionsState struct {
	CaptureMode string `json:"capture_mode"`
}

type ClientConfig

type ClientConfig struct {
	// MaxConcurrentInvocationsPerInstance: number, optional
	MaxConcurrentInvocationsPerInstance terra.NumberValue `hcl:"max_concurrent_invocations_per_instance,attr"`
}

type ClientConfigAttributes

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

func (ClientConfigAttributes) InternalRef

func (cc ClientConfigAttributes) InternalRef() (terra.Reference, error)

func (ClientConfigAttributes) InternalTokens

func (cc ClientConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientConfigAttributes) InternalWithRef

func (ClientConfigAttributes) MaxConcurrentInvocationsPerInstance

func (cc ClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue

type ClientConfigState

type ClientConfigState struct {
	MaxConcurrentInvocationsPerInstance float64 `json:"max_concurrent_invocations_per_instance"`
}

type DataCaptureConfig

type DataCaptureConfig struct {
	// DestinationS3Uri: string, required
	DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"`
	// EnableCapture: bool, optional
	EnableCapture terra.BoolValue `hcl:"enable_capture,attr"`
	// InitialSamplingPercentage: number, required
	InitialSamplingPercentage terra.NumberValue `hcl:"initial_sampling_percentage,attr" validate:"required"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// CaptureContentTypeHeader: optional
	CaptureContentTypeHeader *CaptureContentTypeHeader `hcl:"capture_content_type_header,block"`
	// CaptureOptions: min=1,max=2
	CaptureOptions []CaptureOptions `hcl:"capture_options,block" validate:"min=1,max=2"`
}

type DataCaptureConfigAttributes

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

func (DataCaptureConfigAttributes) CaptureContentTypeHeader

func (DataCaptureConfigAttributes) CaptureOptions

func (DataCaptureConfigAttributes) DestinationS3Uri

func (dcc DataCaptureConfigAttributes) DestinationS3Uri() terra.StringValue

func (DataCaptureConfigAttributes) EnableCapture

func (dcc DataCaptureConfigAttributes) EnableCapture() terra.BoolValue

func (DataCaptureConfigAttributes) InitialSamplingPercentage

func (dcc DataCaptureConfigAttributes) InitialSamplingPercentage() terra.NumberValue

func (DataCaptureConfigAttributes) InternalRef

func (dcc DataCaptureConfigAttributes) InternalRef() (terra.Reference, error)

func (DataCaptureConfigAttributes) InternalTokens

func (dcc DataCaptureConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCaptureConfigAttributes) InternalWithRef

func (DataCaptureConfigAttributes) KmsKeyId

type DataCaptureConfigState

type DataCaptureConfigState struct {
	DestinationS3Uri          string                          `json:"destination_s3_uri"`
	EnableCapture             bool                            `json:"enable_capture"`
	InitialSamplingPercentage float64                         `json:"initial_sampling_percentage"`
	KmsKeyId                  string                          `json:"kms_key_id"`
	CaptureContentTypeHeader  []CaptureContentTypeHeaderState `json:"capture_content_type_header"`
	CaptureOptions            []CaptureOptionsState           `json:"capture_options"`
}

type NotificationConfig

type NotificationConfig struct {
	// ErrorTopic: string, optional
	ErrorTopic terra.StringValue `hcl:"error_topic,attr"`
	// IncludeInferenceResponseIn: set of string, optional
	IncludeInferenceResponseIn terra.SetValue[terra.StringValue] `hcl:"include_inference_response_in,attr"`
	// SuccessTopic: string, optional
	SuccessTopic terra.StringValue `hcl:"success_topic,attr"`
}

type NotificationConfigAttributes

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

func (NotificationConfigAttributes) ErrorTopic

func (NotificationConfigAttributes) IncludeInferenceResponseIn

func (nc NotificationConfigAttributes) IncludeInferenceResponseIn() terra.SetValue[terra.StringValue]

func (NotificationConfigAttributes) InternalRef

func (nc NotificationConfigAttributes) InternalRef() (terra.Reference, error)

func (NotificationConfigAttributes) InternalTokens

func (nc NotificationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationConfigAttributes) InternalWithRef

func (NotificationConfigAttributes) SuccessTopic

type NotificationConfigState

type NotificationConfigState struct {
	ErrorTopic                 string   `json:"error_topic"`
	IncludeInferenceResponseIn []string `json:"include_inference_response_in"`
	SuccessTopic               string   `json:"success_topic"`
}

type OutputConfig

type OutputConfig struct {
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// S3FailurePath: string, optional
	S3FailurePath terra.StringValue `hcl:"s3_failure_path,attr"`
	// S3OutputPath: string, required
	S3OutputPath terra.StringValue `hcl:"s3_output_path,attr" validate:"required"`
	// NotificationConfig: optional
	NotificationConfig *NotificationConfig `hcl:"notification_config,block"`
}

type OutputConfigAttributes

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

func (OutputConfigAttributes) InternalRef

func (oc OutputConfigAttributes) InternalRef() (terra.Reference, error)

func (OutputConfigAttributes) InternalTokens

func (oc OutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputConfigAttributes) InternalWithRef

func (OutputConfigAttributes) KmsKeyId

func (OutputConfigAttributes) NotificationConfig

func (OutputConfigAttributes) S3FailurePath

func (oc OutputConfigAttributes) S3FailurePath() terra.StringValue

func (OutputConfigAttributes) S3OutputPath

func (oc OutputConfigAttributes) S3OutputPath() terra.StringValue

type OutputConfigState

type OutputConfigState struct {
	KmsKeyId           string                    `json:"kms_key_id"`
	S3FailurePath      string                    `json:"s3_failure_path"`
	S3OutputPath       string                    `json:"s3_output_path"`
	NotificationConfig []NotificationConfigState `json:"notification_config"`
}

type ProductionVariants

type ProductionVariants struct {
	// AcceleratorType: string, optional
	AcceleratorType terra.StringValue `hcl:"accelerator_type,attr"`
	// ContainerStartupHealthCheckTimeoutInSeconds: number, optional
	ContainerStartupHealthCheckTimeoutInSeconds terra.NumberValue `hcl:"container_startup_health_check_timeout_in_seconds,attr"`
	// EnableSsmAccess: bool, optional
	EnableSsmAccess terra.BoolValue `hcl:"enable_ssm_access,attr"`
	// InitialInstanceCount: number, optional
	InitialInstanceCount terra.NumberValue `hcl:"initial_instance_count,attr"`
	// InitialVariantWeight: number, optional
	InitialVariantWeight terra.NumberValue `hcl:"initial_variant_weight,attr"`
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// ModelDataDownloadTimeoutInSeconds: number, optional
	ModelDataDownloadTimeoutInSeconds terra.NumberValue `hcl:"model_data_download_timeout_in_seconds,attr"`
	// ModelName: string, required
	ModelName terra.StringValue `hcl:"model_name,attr" validate:"required"`
	// VariantName: string, optional
	VariantName terra.StringValue `hcl:"variant_name,attr"`
	// VolumeSizeInGb: number, optional
	VolumeSizeInGb terra.NumberValue `hcl:"volume_size_in_gb,attr"`
	// ProductionVariantsCoreDumpConfig: optional
	CoreDumpConfig *ProductionVariantsCoreDumpConfig `hcl:"core_dump_config,block"`
	// ProductionVariantsServerlessConfig: optional
	ServerlessConfig *ProductionVariantsServerlessConfig `hcl:"serverless_config,block"`
}

type ProductionVariantsAttributes

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

func (ProductionVariantsAttributes) AcceleratorType

func (pv ProductionVariantsAttributes) AcceleratorType() terra.StringValue

func (ProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds

func (pv ProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue

func (ProductionVariantsAttributes) CoreDumpConfig

func (ProductionVariantsAttributes) EnableSsmAccess

func (pv ProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue

func (ProductionVariantsAttributes) InitialInstanceCount

func (pv ProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue

func (ProductionVariantsAttributes) InitialVariantWeight

func (pv ProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue

func (ProductionVariantsAttributes) InstanceType

func (ProductionVariantsAttributes) InternalRef

func (pv ProductionVariantsAttributes) InternalRef() (terra.Reference, error)

func (ProductionVariantsAttributes) InternalTokens

func (pv ProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProductionVariantsAttributes) InternalWithRef

func (ProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds

func (pv ProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds() terra.NumberValue

func (ProductionVariantsAttributes) ModelName

func (ProductionVariantsAttributes) ServerlessConfig

func (ProductionVariantsAttributes) VariantName

func (ProductionVariantsAttributes) VolumeSizeInGb

func (pv ProductionVariantsAttributes) VolumeSizeInGb() terra.NumberValue

type ProductionVariantsCoreDumpConfig

type ProductionVariantsCoreDumpConfig struct {
	// DestinationS3Uri: string, required
	DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
}

type ProductionVariantsCoreDumpConfigAttributes

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

func (ProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri

func (ProductionVariantsCoreDumpConfigAttributes) InternalRef

func (ProductionVariantsCoreDumpConfigAttributes) InternalTokens

func (ProductionVariantsCoreDumpConfigAttributes) InternalWithRef

func (ProductionVariantsCoreDumpConfigAttributes) KmsKeyId

type ProductionVariantsCoreDumpConfigState

type ProductionVariantsCoreDumpConfigState struct {
	DestinationS3Uri string `json:"destination_s3_uri"`
	KmsKeyId         string `json:"kms_key_id"`
}

type ProductionVariantsServerlessConfig

type ProductionVariantsServerlessConfig struct {
	// MaxConcurrency: number, required
	MaxConcurrency terra.NumberValue `hcl:"max_concurrency,attr" validate:"required"`
	// MemorySizeInMb: number, required
	MemorySizeInMb terra.NumberValue `hcl:"memory_size_in_mb,attr" validate:"required"`
	// ProvisionedConcurrency: number, optional
	ProvisionedConcurrency terra.NumberValue `hcl:"provisioned_concurrency,attr"`
}

type ProductionVariantsServerlessConfigAttributes

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

func (ProductionVariantsServerlessConfigAttributes) InternalRef

func (ProductionVariantsServerlessConfigAttributes) InternalTokens

func (ProductionVariantsServerlessConfigAttributes) InternalWithRef

func (ProductionVariantsServerlessConfigAttributes) MaxConcurrency

func (ProductionVariantsServerlessConfigAttributes) MemorySizeInMb

func (ProductionVariantsServerlessConfigAttributes) ProvisionedConcurrency

type ProductionVariantsServerlessConfigState

type ProductionVariantsServerlessConfigState struct {
	MaxConcurrency         float64 `json:"max_concurrency"`
	MemorySizeInMb         float64 `json:"memory_size_in_mb"`
	ProvisionedConcurrency float64 `json:"provisioned_concurrency"`
}

type ProductionVariantsState

type ProductionVariantsState struct {
	AcceleratorType                             string                                    `json:"accelerator_type"`
	ContainerStartupHealthCheckTimeoutInSeconds float64                                   `json:"container_startup_health_check_timeout_in_seconds"`
	EnableSsmAccess                             bool                                      `json:"enable_ssm_access"`
	InitialInstanceCount                        float64                                   `json:"initial_instance_count"`
	InitialVariantWeight                        float64                                   `json:"initial_variant_weight"`
	InstanceType                                string                                    `json:"instance_type"`
	ModelDataDownloadTimeoutInSeconds           float64                                   `json:"model_data_download_timeout_in_seconds"`
	ModelName                                   string                                    `json:"model_name"`
	VariantName                                 string                                    `json:"variant_name"`
	VolumeSizeInGb                              float64                                   `json:"volume_size_in_gb"`
	CoreDumpConfig                              []ProductionVariantsCoreDumpConfigState   `json:"core_dump_config"`
	ServerlessConfig                            []ProductionVariantsServerlessConfigState `json:"serverless_config"`
}

type ShadowProductionVariants

type ShadowProductionVariants struct {
	// AcceleratorType: string, optional
	AcceleratorType terra.StringValue `hcl:"accelerator_type,attr"`
	// ContainerStartupHealthCheckTimeoutInSeconds: number, optional
	ContainerStartupHealthCheckTimeoutInSeconds terra.NumberValue `hcl:"container_startup_health_check_timeout_in_seconds,attr"`
	// EnableSsmAccess: bool, optional
	EnableSsmAccess terra.BoolValue `hcl:"enable_ssm_access,attr"`
	// InitialInstanceCount: number, optional
	InitialInstanceCount terra.NumberValue `hcl:"initial_instance_count,attr"`
	// InitialVariantWeight: number, optional
	InitialVariantWeight terra.NumberValue `hcl:"initial_variant_weight,attr"`
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// ModelDataDownloadTimeoutInSeconds: number, optional
	ModelDataDownloadTimeoutInSeconds terra.NumberValue `hcl:"model_data_download_timeout_in_seconds,attr"`
	// ModelName: string, required
	ModelName terra.StringValue `hcl:"model_name,attr" validate:"required"`
	// VariantName: string, optional
	VariantName terra.StringValue `hcl:"variant_name,attr"`
	// VolumeSizeInGb: number, optional
	VolumeSizeInGb terra.NumberValue `hcl:"volume_size_in_gb,attr"`
	// ShadowProductionVariantsCoreDumpConfig: optional
	CoreDumpConfig *ShadowProductionVariantsCoreDumpConfig `hcl:"core_dump_config,block"`
	// ShadowProductionVariantsServerlessConfig: optional
	ServerlessConfig *ShadowProductionVariantsServerlessConfig `hcl:"serverless_config,block"`
}

type ShadowProductionVariantsAttributes

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

func (ShadowProductionVariantsAttributes) AcceleratorType

func (ShadowProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds

func (spv ShadowProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue

func (ShadowProductionVariantsAttributes) CoreDumpConfig

func (ShadowProductionVariantsAttributes) EnableSsmAccess

func (spv ShadowProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue

func (ShadowProductionVariantsAttributes) InitialInstanceCount

func (spv ShadowProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue

func (ShadowProductionVariantsAttributes) InitialVariantWeight

func (spv ShadowProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue

func (ShadowProductionVariantsAttributes) InstanceType

func (ShadowProductionVariantsAttributes) InternalRef

func (ShadowProductionVariantsAttributes) InternalTokens

func (spv ShadowProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ShadowProductionVariantsAttributes) InternalWithRef

func (ShadowProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds

func (spv ShadowProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds() terra.NumberValue

func (ShadowProductionVariantsAttributes) ModelName

func (ShadowProductionVariantsAttributes) ServerlessConfig

func (ShadowProductionVariantsAttributes) VariantName

func (ShadowProductionVariantsAttributes) VolumeSizeInGb

type ShadowProductionVariantsCoreDumpConfig

type ShadowProductionVariantsCoreDumpConfig struct {
	// DestinationS3Uri: string, required
	DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"`
	// KmsKeyId: string, required
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr" validate:"required"`
}

type ShadowProductionVariantsCoreDumpConfigAttributes

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

func (ShadowProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri

func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalRef

func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalTokens

func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalWithRef

func (ShadowProductionVariantsCoreDumpConfigAttributes) KmsKeyId

type ShadowProductionVariantsCoreDumpConfigState

type ShadowProductionVariantsCoreDumpConfigState struct {
	DestinationS3Uri string `json:"destination_s3_uri"`
	KmsKeyId         string `json:"kms_key_id"`
}

type ShadowProductionVariantsServerlessConfig

type ShadowProductionVariantsServerlessConfig struct {
	// MaxConcurrency: number, required
	MaxConcurrency terra.NumberValue `hcl:"max_concurrency,attr" validate:"required"`
	// MemorySizeInMb: number, required
	MemorySizeInMb terra.NumberValue `hcl:"memory_size_in_mb,attr" validate:"required"`
	// ProvisionedConcurrency: number, optional
	ProvisionedConcurrency terra.NumberValue `hcl:"provisioned_concurrency,attr"`
}

type ShadowProductionVariantsServerlessConfigAttributes

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

func (ShadowProductionVariantsServerlessConfigAttributes) InternalRef

func (ShadowProductionVariantsServerlessConfigAttributes) InternalTokens

func (ShadowProductionVariantsServerlessConfigAttributes) InternalWithRef

func (ShadowProductionVariantsServerlessConfigAttributes) MaxConcurrency

func (ShadowProductionVariantsServerlessConfigAttributes) MemorySizeInMb

func (ShadowProductionVariantsServerlessConfigAttributes) ProvisionedConcurrency

type ShadowProductionVariantsServerlessConfigState

type ShadowProductionVariantsServerlessConfigState struct {
	MaxConcurrency         float64 `json:"max_concurrency"`
	MemorySizeInMb         float64 `json:"memory_size_in_mb"`
	ProvisionedConcurrency float64 `json:"provisioned_concurrency"`
}

type ShadowProductionVariantsState

type ShadowProductionVariantsState struct {
	AcceleratorType                             string                                          `json:"accelerator_type"`
	ContainerStartupHealthCheckTimeoutInSeconds float64                                         `json:"container_startup_health_check_timeout_in_seconds"`
	EnableSsmAccess                             bool                                            `json:"enable_ssm_access"`
	InitialInstanceCount                        float64                                         `json:"initial_instance_count"`
	InitialVariantWeight                        float64                                         `json:"initial_variant_weight"`
	InstanceType                                string                                          `json:"instance_type"`
	ModelDataDownloadTimeoutInSeconds           float64                                         `json:"model_data_download_timeout_in_seconds"`
	ModelName                                   string                                          `json:"model_name"`
	VariantName                                 string                                          `json:"variant_name"`
	VolumeSizeInGb                              float64                                         `json:"volume_size_in_gb"`
	CoreDumpConfig                              []ShadowProductionVariantsCoreDumpConfigState   `json:"core_dump_config"`
	ServerlessConfig                            []ShadowProductionVariantsServerlessConfigState `json:"serverless_config"`
}

Jump to

Keyboard shortcuts

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