bedrockcustommodel

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 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 OutputDataConfig

type OutputDataConfig struct {
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
}

type OutputDataConfigAttributes

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

func (OutputDataConfigAttributes) InternalRef

func (odc OutputDataConfigAttributes) InternalRef() (terra.Reference, error)

func (OutputDataConfigAttributes) InternalTokens

func (odc OutputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OutputDataConfigAttributes) InternalWithRef

func (OutputDataConfigAttributes) S3Uri

type OutputDataConfigState

type OutputDataConfigState struct {
	S3Uri string `json:"s3_uri"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

type TrainingDataConfig

type TrainingDataConfig struct {
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
}

type TrainingDataConfigAttributes

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

func (TrainingDataConfigAttributes) InternalRef

func (tdc TrainingDataConfigAttributes) InternalRef() (terra.Reference, error)

func (TrainingDataConfigAttributes) InternalTokens

func (tdc TrainingDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrainingDataConfigAttributes) InternalWithRef

func (TrainingDataConfigAttributes) S3Uri

type TrainingDataConfigState

type TrainingDataConfigState struct {
	S3Uri string `json:"s3_uri"`
}

type TrainingMetrics

type TrainingMetrics struct{}

type TrainingMetricsAttributes

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

func (TrainingMetricsAttributes) InternalRef

func (tm TrainingMetricsAttributes) InternalRef() (terra.Reference, error)

func (TrainingMetricsAttributes) InternalTokens

func (tm TrainingMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrainingMetricsAttributes) InternalWithRef

func (TrainingMetricsAttributes) TrainingLoss

func (tm TrainingMetricsAttributes) TrainingLoss() terra.NumberValue

type TrainingMetricsState

type TrainingMetricsState struct {
	TrainingLoss float64 `json:"training_loss"`
}

type ValidationDataConfig

type ValidationDataConfig struct {
	// Validator: min=0
	Validator []Validator `hcl:"validator,block" validate:"min=0"`
}

type ValidationDataConfigAttributes

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

func (ValidationDataConfigAttributes) InternalRef

func (vdc ValidationDataConfigAttributes) InternalRef() (terra.Reference, error)

func (ValidationDataConfigAttributes) InternalTokens

func (vdc ValidationDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidationDataConfigAttributes) InternalWithRef

func (ValidationDataConfigAttributes) Validator

type ValidationDataConfigState

type ValidationDataConfigState struct {
	Validator []ValidatorState `json:"validator"`
}

type ValidationMetrics

type ValidationMetrics struct{}

type ValidationMetricsAttributes

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

func (ValidationMetricsAttributes) InternalRef

func (vm ValidationMetricsAttributes) InternalRef() (terra.Reference, error)

func (ValidationMetricsAttributes) InternalTokens

func (vm ValidationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidationMetricsAttributes) InternalWithRef

func (ValidationMetricsAttributes) ValidationLoss

func (vm ValidationMetricsAttributes) ValidationLoss() terra.NumberValue

type ValidationMetricsState

type ValidationMetricsState struct {
	ValidationLoss float64 `json:"validation_loss"`
}

type Validator

type Validator struct {
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
}

type ValidatorAttributes

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

func (ValidatorAttributes) InternalRef

func (v ValidatorAttributes) InternalRef() (terra.Reference, error)

func (ValidatorAttributes) InternalTokens

func (v ValidatorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ValidatorAttributes) InternalWithRef

func (v ValidatorAttributes) InternalWithRef(ref terra.Reference) ValidatorAttributes

func (ValidatorAttributes) S3Uri

type ValidatorState

type ValidatorState struct {
	S3Uri string `json:"s3_uri"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,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) SubnetIds

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

Jump to

Keyboard shortcuts

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