aws_sagemaker_endpoint_configuration

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// NamePrefix: string, optional
	NamePrefix terra.StringValue `hcl:"name_prefix,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// AsyncInferenceConfig: optional
	AsyncInferenceConfig *AsyncInferenceConfig `hcl:"async_inference_config,block"`
	// DataCaptureConfig: optional
	DataCaptureConfig *DataCaptureConfig `hcl:"data_capture_config,block"`
	// ProductionVariants: min=1,max=10
	ProductionVariants []ProductionVariants `hcl:"production_variants,block" validate:"min=1,max=10"`
	// ShadowProductionVariants: min=0,max=10
	ShadowProductionVariants []ShadowProductionVariants `hcl:"shadow_production_variants,block" validate:"min=0,max=10"`
}

Args contains the configurations for aws_sagemaker_endpoint_configuration.

type AsyncInferenceConfig

type AsyncInferenceConfig struct {
	// AsyncInferenceConfigClientConfig: optional
	ClientConfig *AsyncInferenceConfigClientConfig `hcl:"client_config,block"`
	// AsyncInferenceConfigOutputConfig: required
	OutputConfig *AsyncInferenceConfigOutputConfig `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 AsyncInferenceConfigClientConfig

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

type AsyncInferenceConfigClientConfigAttributes

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

func (AsyncInferenceConfigClientConfigAttributes) InternalRef

func (AsyncInferenceConfigClientConfigAttributes) InternalTokens

func (AsyncInferenceConfigClientConfigAttributes) InternalWithRef

func (AsyncInferenceConfigClientConfigAttributes) MaxConcurrentInvocationsPerInstance

func (cc AsyncInferenceConfigClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue

type AsyncInferenceConfigClientConfigState

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

type AsyncInferenceConfigOutputConfig

type AsyncInferenceConfigOutputConfig 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"`
	// AsyncInferenceConfigOutputConfigNotificationConfig: optional
	NotificationConfig *AsyncInferenceConfigOutputConfigNotificationConfig `hcl:"notification_config,block"`
}

type AsyncInferenceConfigOutputConfigAttributes

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

func (AsyncInferenceConfigOutputConfigAttributes) InternalRef

func (AsyncInferenceConfigOutputConfigAttributes) InternalTokens

func (AsyncInferenceConfigOutputConfigAttributes) InternalWithRef

func (AsyncInferenceConfigOutputConfigAttributes) KmsKeyId

func (AsyncInferenceConfigOutputConfigAttributes) S3FailurePath

func (AsyncInferenceConfigOutputConfigAttributes) S3OutputPath

type AsyncInferenceConfigOutputConfigNotificationConfig

type AsyncInferenceConfigOutputConfigNotificationConfig 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 AsyncInferenceConfigOutputConfigNotificationConfigAttributes

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

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) ErrorTopic

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) IncludeInferenceResponseIn

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalRef

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalTokens

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalWithRef

func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) SuccessTopic

type AsyncInferenceConfigOutputConfigNotificationConfigState

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

type AsyncInferenceConfigOutputConfigState

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

type AsyncInferenceConfigState

type AsyncInferenceConfigState struct {
	ClientConfig []AsyncInferenceConfigClientConfigState `json:"client_config"`
	OutputConfig []AsyncInferenceConfigOutputConfigState `json:"output_config"`
}

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"`
	// DataCaptureConfigCaptureContentTypeHeader: optional
	CaptureContentTypeHeader *DataCaptureConfigCaptureContentTypeHeader `hcl:"capture_content_type_header,block"`
	// DataCaptureConfigCaptureOptions: min=1,max=2
	CaptureOptions []DataCaptureConfigCaptureOptions `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 DataCaptureConfigCaptureContentTypeHeader

type DataCaptureConfigCaptureContentTypeHeader 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 DataCaptureConfigCaptureContentTypeHeaderAttributes

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

func (DataCaptureConfigCaptureContentTypeHeaderAttributes) CsvContentTypes

func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalRef

func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalTokens

func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalWithRef

func (DataCaptureConfigCaptureContentTypeHeaderAttributes) JsonContentTypes

type DataCaptureConfigCaptureContentTypeHeaderState

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

type DataCaptureConfigCaptureOptions

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

type DataCaptureConfigCaptureOptionsAttributes

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

func (DataCaptureConfigCaptureOptionsAttributes) CaptureMode

func (DataCaptureConfigCaptureOptionsAttributes) InternalRef

func (DataCaptureConfigCaptureOptionsAttributes) InternalTokens

func (DataCaptureConfigCaptureOptionsAttributes) InternalWithRef

type DataCaptureConfigCaptureOptionsState

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

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  []DataCaptureConfigCaptureContentTypeHeaderState `json:"capture_content_type_header"`
	CaptureOptions            []DataCaptureConfigCaptureOptionsState           `json:"capture_options"`
}

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"`
	// ProductionVariantsRoutingConfig: min=0
	RoutingConfig []ProductionVariantsRoutingConfig `hcl:"routing_config,block" validate:"min=0"`
	// 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) RoutingConfig

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 ProductionVariantsRoutingConfig

type ProductionVariantsRoutingConfig struct {
	// RoutingStrategy: string, required
	RoutingStrategy terra.StringValue `hcl:"routing_strategy,attr" validate:"required"`
}

type ProductionVariantsRoutingConfigAttributes

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

func (ProductionVariantsRoutingConfigAttributes) InternalRef

func (ProductionVariantsRoutingConfigAttributes) InternalTokens

func (ProductionVariantsRoutingConfigAttributes) InternalWithRef

func (ProductionVariantsRoutingConfigAttributes) RoutingStrategy

type ProductionVariantsRoutingConfigState

type ProductionVariantsRoutingConfigState struct {
	RoutingStrategy string `json:"routing_strategy"`
}

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"`
	RoutingConfig                               []ProductionVariantsRoutingConfigState    `json:"routing_config"`
	ServerlessConfig                            []ProductionVariantsServerlessConfigState `json:"serverless_config"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_sagemaker_endpoint_configuration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asec *Resource) Attributes() awsSagemakerEndpointConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (asec *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (asec *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asec *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asec *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asec *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asec *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asec *Resource) State() (*awsSagemakerEndpointConfigurationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asec *Resource) StateMust() *awsSagemakerEndpointConfigurationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asec *Resource) Type() string

Type returns the Terraform object type for Resource.

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"`
	// ShadowProductionVariantsRoutingConfig: min=0
	RoutingConfig []ShadowProductionVariantsRoutingConfig `hcl:"routing_config,block" validate:"min=0"`
	// 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) RoutingConfig

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 ShadowProductionVariantsRoutingConfig

type ShadowProductionVariantsRoutingConfig struct {
	// RoutingStrategy: string, required
	RoutingStrategy terra.StringValue `hcl:"routing_strategy,attr" validate:"required"`
}

type ShadowProductionVariantsRoutingConfigAttributes

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

func (ShadowProductionVariantsRoutingConfigAttributes) InternalRef

func (ShadowProductionVariantsRoutingConfigAttributes) InternalTokens

func (ShadowProductionVariantsRoutingConfigAttributes) InternalWithRef

func (ShadowProductionVariantsRoutingConfigAttributes) RoutingStrategy

type ShadowProductionVariantsRoutingConfigState

type ShadowProductionVariantsRoutingConfigState struct {
	RoutingStrategy string `json:"routing_strategy"`
}

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"`
	RoutingConfig                               []ShadowProductionVariantsRoutingConfigState    `json:"routing_config"`
	ServerlessConfig                            []ShadowProductionVariantsServerlessConfigState `json:"serverless_config"`
}

Jump to

Keyboard shortcuts

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