sagemakerendpoint

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Alarms

type Alarms struct {
	// AlarmName: string, required
	AlarmName terra.StringValue `hcl:"alarm_name,attr" validate:"required"`
}

type AlarmsAttributes

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

func (AlarmsAttributes) AlarmName

func (a AlarmsAttributes) AlarmName() terra.StringValue

func (AlarmsAttributes) InternalRef

func (a AlarmsAttributes) InternalRef() (terra.Reference, error)

func (AlarmsAttributes) InternalTokens

func (a AlarmsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AlarmsAttributes) InternalWithRef

func (a AlarmsAttributes) InternalWithRef(ref terra.Reference) AlarmsAttributes

type AlarmsState

type AlarmsState struct {
	AlarmName string `json:"alarm_name"`
}

type AutoRollbackConfiguration

type AutoRollbackConfiguration struct {
	// Alarms: min=0,max=10
	Alarms []Alarms `hcl:"alarms,block" validate:"min=0,max=10"`
}

type AutoRollbackConfigurationAttributes

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

func (AutoRollbackConfigurationAttributes) Alarms

func (AutoRollbackConfigurationAttributes) InternalRef

func (AutoRollbackConfigurationAttributes) InternalTokens

func (arc AutoRollbackConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoRollbackConfigurationAttributes) InternalWithRef

type AutoRollbackConfigurationState

type AutoRollbackConfigurationState struct {
	Alarms []AlarmsState `json:"alarms"`
}

type BlueGreenUpdatePolicy

type BlueGreenUpdatePolicy struct {
	// MaximumExecutionTimeoutInSeconds: number, optional
	MaximumExecutionTimeoutInSeconds terra.NumberValue `hcl:"maximum_execution_timeout_in_seconds,attr"`
	// TerminationWaitInSeconds: number, optional
	TerminationWaitInSeconds terra.NumberValue `hcl:"termination_wait_in_seconds,attr"`
	// TrafficRoutingConfiguration: required
	TrafficRoutingConfiguration *TrafficRoutingConfiguration `hcl:"traffic_routing_configuration,block" validate:"required"`
}

type BlueGreenUpdatePolicyAttributes

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

func (BlueGreenUpdatePolicyAttributes) InternalRef

func (bgup BlueGreenUpdatePolicyAttributes) InternalRef() (terra.Reference, error)

func (BlueGreenUpdatePolicyAttributes) InternalTokens

func (bgup BlueGreenUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BlueGreenUpdatePolicyAttributes) InternalWithRef

func (BlueGreenUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds

func (bgup BlueGreenUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds() terra.NumberValue

func (BlueGreenUpdatePolicyAttributes) TerminationWaitInSeconds

func (bgup BlueGreenUpdatePolicyAttributes) TerminationWaitInSeconds() terra.NumberValue

func (BlueGreenUpdatePolicyAttributes) TrafficRoutingConfiguration

type BlueGreenUpdatePolicyState

type BlueGreenUpdatePolicyState struct {
	MaximumExecutionTimeoutInSeconds float64                            `json:"maximum_execution_timeout_in_seconds"`
	TerminationWaitInSeconds         float64                            `json:"termination_wait_in_seconds"`
	TrafficRoutingConfiguration      []TrafficRoutingConfigurationState `json:"traffic_routing_configuration"`
}

type CanarySize

type CanarySize struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type CanarySizeAttributes

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

func (CanarySizeAttributes) InternalRef

func (cs CanarySizeAttributes) InternalRef() (terra.Reference, error)

func (CanarySizeAttributes) InternalTokens

func (cs CanarySizeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CanarySizeAttributes) InternalWithRef

func (cs CanarySizeAttributes) InternalWithRef(ref terra.Reference) CanarySizeAttributes

func (CanarySizeAttributes) Type

func (CanarySizeAttributes) Value

type CanarySizeState

type CanarySizeState struct {
	Type  string  `json:"type"`
	Value float64 `json:"value"`
}

type DeploymentConfig

type DeploymentConfig struct {
	// AutoRollbackConfiguration: optional
	AutoRollbackConfiguration *AutoRollbackConfiguration `hcl:"auto_rollback_configuration,block"`
	// BlueGreenUpdatePolicy: required
	BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `hcl:"blue_green_update_policy,block" validate:"required"`
}

type DeploymentConfigAttributes

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

func (DeploymentConfigAttributes) AutoRollbackConfiguration

func (DeploymentConfigAttributes) BlueGreenUpdatePolicy

func (DeploymentConfigAttributes) InternalRef

func (dc DeploymentConfigAttributes) InternalRef() (terra.Reference, error)

func (DeploymentConfigAttributes) InternalTokens

func (dc DeploymentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentConfigAttributes) InternalWithRef

type DeploymentConfigState

type DeploymentConfigState struct {
	AutoRollbackConfiguration []AutoRollbackConfigurationState `json:"auto_rollback_configuration"`
	BlueGreenUpdatePolicy     []BlueGreenUpdatePolicyState     `json:"blue_green_update_policy"`
}

type LinearStepSize

type LinearStepSize struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: number, required
	Value terra.NumberValue `hcl:"value,attr" validate:"required"`
}

type LinearStepSizeAttributes

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

func (LinearStepSizeAttributes) InternalRef

func (lss LinearStepSizeAttributes) InternalRef() (terra.Reference, error)

func (LinearStepSizeAttributes) InternalTokens

func (lss LinearStepSizeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LinearStepSizeAttributes) InternalWithRef

func (LinearStepSizeAttributes) Type

func (LinearStepSizeAttributes) Value

type LinearStepSizeState

type LinearStepSizeState struct {
	Type  string  `json:"type"`
	Value float64 `json:"value"`
}

type TrafficRoutingConfiguration

type TrafficRoutingConfiguration struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// WaitIntervalInSeconds: number, required
	WaitIntervalInSeconds terra.NumberValue `hcl:"wait_interval_in_seconds,attr" validate:"required"`
	// CanarySize: optional
	CanarySize *CanarySize `hcl:"canary_size,block"`
	// LinearStepSize: optional
	LinearStepSize *LinearStepSize `hcl:"linear_step_size,block"`
}

type TrafficRoutingConfigurationAttributes

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

func (TrafficRoutingConfigurationAttributes) CanarySize

func (TrafficRoutingConfigurationAttributes) InternalRef

func (TrafficRoutingConfigurationAttributes) InternalTokens

func (TrafficRoutingConfigurationAttributes) InternalWithRef

func (TrafficRoutingConfigurationAttributes) LinearStepSize

func (TrafficRoutingConfigurationAttributes) Type

func (TrafficRoutingConfigurationAttributes) WaitIntervalInSeconds

func (trc TrafficRoutingConfigurationAttributes) WaitIntervalInSeconds() terra.NumberValue

type TrafficRoutingConfigurationState

type TrafficRoutingConfigurationState struct {
	Type                  string                `json:"type"`
	WaitIntervalInSeconds float64               `json:"wait_interval_in_seconds"`
	CanarySize            []CanarySizeState     `json:"canary_size"`
	LinearStepSize        []LinearStepSizeState `json:"linear_step_size"`
}

Jump to

Keyboard shortcuts

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