dataecstaskexecution

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 CapacityProviderStrategy

type CapacityProviderStrategy struct {
	// Base: number, optional
	Base terra.NumberValue `hcl:"base,attr"`
	// CapacityProvider: string, required
	CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
}

type CapacityProviderStrategyAttributes

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

func (CapacityProviderStrategyAttributes) Base

func (CapacityProviderStrategyAttributes) CapacityProvider

func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue

func (CapacityProviderStrategyAttributes) InternalRef

func (CapacityProviderStrategyAttributes) InternalTokens

func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityProviderStrategyAttributes) InternalWithRef

func (CapacityProviderStrategyAttributes) Weight

type CapacityProviderStrategyState

type CapacityProviderStrategyState struct {
	Base             float64 `json:"base"`
	CapacityProvider string  `json:"capacity_provider"`
	Weight           float64 `json:"weight"`
}

type ContainerOverrides

type ContainerOverrides struct {
	// Command: list of string, optional
	Command terra.ListValue[terra.StringValue] `hcl:"command,attr"`
	// Cpu: number, optional
	Cpu terra.NumberValue `hcl:"cpu,attr"`
	// Memory: number, optional
	Memory terra.NumberValue `hcl:"memory,attr"`
	// MemoryReservation: number, optional
	MemoryReservation terra.NumberValue `hcl:"memory_reservation,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Environment: min=0
	Environment []Environment `hcl:"environment,block" validate:"min=0"`
	// ResourceRequirements: min=0
	ResourceRequirements []ResourceRequirements `hcl:"resource_requirements,block" validate:"min=0"`
}

type ContainerOverridesAttributes

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

func (ContainerOverridesAttributes) Command

func (ContainerOverridesAttributes) Cpu

func (ContainerOverridesAttributes) Environment

func (ContainerOverridesAttributes) InternalRef

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

func (ContainerOverridesAttributes) InternalTokens

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

func (ContainerOverridesAttributes) InternalWithRef

func (ContainerOverridesAttributes) Memory

func (ContainerOverridesAttributes) MemoryReservation

func (co ContainerOverridesAttributes) MemoryReservation() terra.NumberValue

func (ContainerOverridesAttributes) Name

func (ContainerOverridesAttributes) ResourceRequirements

type ContainerOverridesState

type ContainerOverridesState struct {
	Command              []string                    `json:"command"`
	Cpu                  float64                     `json:"cpu"`
	Memory               float64                     `json:"memory"`
	MemoryReservation    float64                     `json:"memory_reservation"`
	Name                 string                      `json:"name"`
	Environment          []EnvironmentState          `json:"environment"`
	ResourceRequirements []ResourceRequirementsState `json:"resource_requirements"`
}

type Environment

type Environment struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type EnvironmentAttributes

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

func (EnvironmentAttributes) InternalRef

func (e EnvironmentAttributes) InternalRef() (terra.Reference, error)

func (EnvironmentAttributes) InternalTokens

func (e EnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EnvironmentAttributes) InternalWithRef

func (EnvironmentAttributes) Key

func (EnvironmentAttributes) Value

type EnvironmentState

type EnvironmentState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type InferenceAcceleratorOverrides

type InferenceAcceleratorOverrides struct {
	// DeviceName: string, optional
	DeviceName terra.StringValue `hcl:"device_name,attr"`
	// DeviceType: string, optional
	DeviceType terra.StringValue `hcl:"device_type,attr"`
}

type InferenceAcceleratorOverridesAttributes

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

func (InferenceAcceleratorOverridesAttributes) DeviceName

func (InferenceAcceleratorOverridesAttributes) DeviceType

func (InferenceAcceleratorOverridesAttributes) InternalRef

func (InferenceAcceleratorOverridesAttributes) InternalTokens

func (InferenceAcceleratorOverridesAttributes) InternalWithRef

type InferenceAcceleratorOverridesState

type InferenceAcceleratorOverridesState struct {
	DeviceName string `json:"device_name"`
	DeviceType string `json:"device_type"`
}

type NetworkConfiguration

type NetworkConfiguration struct {
	// AssignPublicIp: bool, optional
	AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type NetworkConfigurationAttributes

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

func (NetworkConfigurationAttributes) AssignPublicIp

func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue

func (NetworkConfigurationAttributes) InternalRef

func (NetworkConfigurationAttributes) InternalTokens

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

func (NetworkConfigurationAttributes) InternalWithRef

func (NetworkConfigurationAttributes) SecurityGroups

func (NetworkConfigurationAttributes) Subnets

type NetworkConfigurationState

type NetworkConfigurationState struct {
	AssignPublicIp bool     `json:"assign_public_ip"`
	SecurityGroups []string `json:"security_groups"`
	Subnets        []string `json:"subnets"`
}

type Overrides

type Overrides struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// ExecutionRoleArn: string, optional
	ExecutionRoleArn terra.StringValue `hcl:"execution_role_arn,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
	// TaskRoleArn: string, optional
	TaskRoleArn terra.StringValue `hcl:"task_role_arn,attr"`
	// ContainerOverrides: min=0
	ContainerOverrides []ContainerOverrides `hcl:"container_overrides,block" validate:"min=0"`
	// InferenceAcceleratorOverrides: min=0
	InferenceAcceleratorOverrides []InferenceAcceleratorOverrides `hcl:"inference_accelerator_overrides,block" validate:"min=0"`
}

type OverridesAttributes

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

func (OverridesAttributes) ContainerOverrides

func (OverridesAttributes) Cpu

func (OverridesAttributes) ExecutionRoleArn

func (o OverridesAttributes) ExecutionRoleArn() terra.StringValue

func (OverridesAttributes) InferenceAcceleratorOverrides

func (OverridesAttributes) InternalRef

func (o OverridesAttributes) InternalRef() (terra.Reference, error)

func (OverridesAttributes) InternalTokens

func (o OverridesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OverridesAttributes) InternalWithRef

func (o OverridesAttributes) InternalWithRef(ref terra.Reference) OverridesAttributes

func (OverridesAttributes) Memory

func (OverridesAttributes) TaskRoleArn

func (o OverridesAttributes) TaskRoleArn() terra.StringValue

type OverridesState

type OverridesState struct {
	Cpu                           string                               `json:"cpu"`
	ExecutionRoleArn              string                               `json:"execution_role_arn"`
	Memory                        string                               `json:"memory"`
	TaskRoleArn                   string                               `json:"task_role_arn"`
	ContainerOverrides            []ContainerOverridesState            `json:"container_overrides"`
	InferenceAcceleratorOverrides []InferenceAcceleratorOverridesState `json:"inference_accelerator_overrides"`
}

type PlacementConstraints

type PlacementConstraints struct {
	// Expression: string, optional
	Expression terra.StringValue `hcl:"expression,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PlacementConstraintsAttributes

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

func (PlacementConstraintsAttributes) Expression

func (PlacementConstraintsAttributes) InternalRef

func (PlacementConstraintsAttributes) InternalTokens

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

func (PlacementConstraintsAttributes) InternalWithRef

func (PlacementConstraintsAttributes) Type

type PlacementConstraintsState

type PlacementConstraintsState struct {
	Expression string `json:"expression"`
	Type       string `json:"type"`
}

type PlacementStrategy

type PlacementStrategy struct {
	// Field: string, optional
	Field terra.StringValue `hcl:"field,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PlacementStrategyAttributes

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

func (PlacementStrategyAttributes) Field

func (PlacementStrategyAttributes) InternalRef

func (ps PlacementStrategyAttributes) InternalRef() (terra.Reference, error)

func (PlacementStrategyAttributes) InternalTokens

func (ps PlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementStrategyAttributes) InternalWithRef

func (PlacementStrategyAttributes) Type

type PlacementStrategyState

type PlacementStrategyState struct {
	Field string `json:"field"`
	Type  string `json:"type"`
}

type ResourceRequirements

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

type ResourceRequirementsAttributes

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

func (ResourceRequirementsAttributes) InternalRef

func (ResourceRequirementsAttributes) InternalTokens

func (rr ResourceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResourceRequirementsAttributes) InternalWithRef

func (ResourceRequirementsAttributes) Type

func (ResourceRequirementsAttributes) Value

type ResourceRequirementsState

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

Jump to

Keyboard shortcuts

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