Documentation ¶
Index ¶
- type CapacityProviderStrategy
- type CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
- func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
- func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
- func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
- type CapacityProviderStrategyState
- type ContainerOverrides
- type ContainerOverridesAttributes
- func (co ContainerOverridesAttributes) Command() terra.ListValue[terra.StringValue]
- func (co ContainerOverridesAttributes) Cpu() terra.NumberValue
- func (co ContainerOverridesAttributes) Environment() terra.SetValue[EnvironmentAttributes]
- func (co ContainerOverridesAttributes) InternalRef() (terra.Reference, error)
- func (co ContainerOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co ContainerOverridesAttributes) InternalWithRef(ref terra.Reference) ContainerOverridesAttributes
- func (co ContainerOverridesAttributes) Memory() terra.NumberValue
- func (co ContainerOverridesAttributes) MemoryReservation() terra.NumberValue
- func (co ContainerOverridesAttributes) Name() terra.StringValue
- func (co ContainerOverridesAttributes) ResourceRequirements() terra.SetValue[ResourceRequirementsAttributes]
- type ContainerOverridesState
- type Environment
- type EnvironmentAttributes
- func (e EnvironmentAttributes) InternalRef() (terra.Reference, error)
- func (e EnvironmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EnvironmentAttributes) InternalWithRef(ref terra.Reference) EnvironmentAttributes
- func (e EnvironmentAttributes) Key() terra.StringValue
- func (e EnvironmentAttributes) Value() terra.StringValue
- type EnvironmentState
- type InferenceAcceleratorOverrides
- type InferenceAcceleratorOverridesAttributes
- func (iao InferenceAcceleratorOverridesAttributes) DeviceName() terra.StringValue
- func (iao InferenceAcceleratorOverridesAttributes) DeviceType() terra.StringValue
- func (iao InferenceAcceleratorOverridesAttributes) InternalRef() (terra.Reference, error)
- func (iao InferenceAcceleratorOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (iao InferenceAcceleratorOverridesAttributes) InternalWithRef(ref terra.Reference) InferenceAcceleratorOverridesAttributes
- type InferenceAcceleratorOverridesState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type Overrides
- type OverridesAttributes
- func (o OverridesAttributes) ContainerOverrides() terra.ListValue[ContainerOverridesAttributes]
- func (o OverridesAttributes) Cpu() terra.StringValue
- func (o OverridesAttributes) ExecutionRoleArn() terra.StringValue
- func (o OverridesAttributes) InferenceAcceleratorOverrides() terra.SetValue[InferenceAcceleratorOverridesAttributes]
- func (o OverridesAttributes) InternalRef() (terra.Reference, error)
- func (o OverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o OverridesAttributes) InternalWithRef(ref terra.Reference) OverridesAttributes
- func (o OverridesAttributes) Memory() terra.StringValue
- func (o OverridesAttributes) TaskRoleArn() terra.StringValue
- type OverridesState
- type PlacementConstraints
- type PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Expression() terra.StringValue
- func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
- func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Type() terra.StringValue
- type PlacementConstraintsState
- type PlacementStrategy
- type PlacementStrategyAttributes
- func (ps PlacementStrategyAttributes) Field() terra.StringValue
- func (ps PlacementStrategyAttributes) InternalRef() (terra.Reference, error)
- func (ps PlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ps PlacementStrategyAttributes) InternalWithRef(ref terra.Reference) PlacementStrategyAttributes
- func (ps PlacementStrategyAttributes) Type() terra.StringValue
- type PlacementStrategyState
- type ResourceRequirements
- type ResourceRequirementsAttributes
- func (rr ResourceRequirementsAttributes) InternalRef() (terra.Reference, error)
- func (rr ResourceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr ResourceRequirementsAttributes) InternalWithRef(ref terra.Reference) ResourceRequirementsAttributes
- func (rr ResourceRequirementsAttributes) Type() terra.StringValue
- func (rr ResourceRequirementsAttributes) Value() terra.StringValue
- type ResourceRequirementsState
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 (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
func (CapacityProviderStrategyAttributes) CapacityProvider ¶
func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
func (CapacityProviderStrategyAttributes) InternalRef ¶
func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
func (CapacityProviderStrategyAttributes) InternalTokens ¶
func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityProviderStrategyAttributes) InternalWithRef ¶
func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
func (CapacityProviderStrategyAttributes) Weight ¶
func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
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 (co ContainerOverridesAttributes) Command() terra.ListValue[terra.StringValue]
func (ContainerOverridesAttributes) Cpu ¶
func (co ContainerOverridesAttributes) Cpu() terra.NumberValue
func (ContainerOverridesAttributes) Environment ¶
func (co ContainerOverridesAttributes) Environment() terra.SetValue[EnvironmentAttributes]
func (ContainerOverridesAttributes) InternalRef ¶
func (co ContainerOverridesAttributes) InternalRef() (terra.Reference, error)
func (ContainerOverridesAttributes) InternalTokens ¶
func (co ContainerOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ContainerOverridesAttributes) InternalWithRef ¶
func (co ContainerOverridesAttributes) InternalWithRef(ref terra.Reference) ContainerOverridesAttributes
func (ContainerOverridesAttributes) Memory ¶
func (co ContainerOverridesAttributes) Memory() terra.NumberValue
func (ContainerOverridesAttributes) MemoryReservation ¶
func (co ContainerOverridesAttributes) MemoryReservation() terra.NumberValue
func (ContainerOverridesAttributes) Name ¶
func (co ContainerOverridesAttributes) Name() terra.StringValue
func (ContainerOverridesAttributes) ResourceRequirements ¶
func (co ContainerOverridesAttributes) ResourceRequirements() terra.SetValue[ResourceRequirementsAttributes]
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 (e EnvironmentAttributes) InternalWithRef(ref terra.Reference) EnvironmentAttributes
func (EnvironmentAttributes) Key ¶
func (e EnvironmentAttributes) Key() terra.StringValue
func (EnvironmentAttributes) Value ¶
func (e EnvironmentAttributes) Value() terra.StringValue
type EnvironmentState ¶
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 (iao InferenceAcceleratorOverridesAttributes) DeviceName() terra.StringValue
func (InferenceAcceleratorOverridesAttributes) DeviceType ¶
func (iao InferenceAcceleratorOverridesAttributes) DeviceType() terra.StringValue
func (InferenceAcceleratorOverridesAttributes) InternalRef ¶
func (iao InferenceAcceleratorOverridesAttributes) InternalRef() (terra.Reference, error)
func (InferenceAcceleratorOverridesAttributes) InternalTokens ¶
func (iao InferenceAcceleratorOverridesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InferenceAcceleratorOverridesAttributes) InternalWithRef ¶
func (iao InferenceAcceleratorOverridesAttributes) InternalWithRef(ref terra.Reference) InferenceAcceleratorOverridesAttributes
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 (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroups ¶
func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) Subnets ¶
func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
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 (o OverridesAttributes) ContainerOverrides() terra.ListValue[ContainerOverridesAttributes]
func (OverridesAttributes) Cpu ¶
func (o OverridesAttributes) Cpu() terra.StringValue
func (OverridesAttributes) ExecutionRoleArn ¶
func (o OverridesAttributes) ExecutionRoleArn() terra.StringValue
func (OverridesAttributes) InferenceAcceleratorOverrides ¶
func (o OverridesAttributes) InferenceAcceleratorOverrides() terra.SetValue[InferenceAcceleratorOverridesAttributes]
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 (o OverridesAttributes) Memory() terra.StringValue
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 (pc PlacementConstraintsAttributes) Expression() terra.StringValue
func (PlacementConstraintsAttributes) InternalRef ¶
func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
func (PlacementConstraintsAttributes) InternalTokens ¶
func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlacementConstraintsAttributes) InternalWithRef ¶
func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
func (PlacementConstraintsAttributes) Type ¶
func (pc PlacementConstraintsAttributes) Type() terra.StringValue
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 (ps PlacementStrategyAttributes) Field() terra.StringValue
func (PlacementStrategyAttributes) InternalRef ¶
func (ps PlacementStrategyAttributes) InternalRef() (terra.Reference, error)
func (PlacementStrategyAttributes) InternalTokens ¶
func (ps PlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlacementStrategyAttributes) InternalWithRef ¶
func (ps PlacementStrategyAttributes) InternalWithRef(ref terra.Reference) PlacementStrategyAttributes
func (PlacementStrategyAttributes) Type ¶
func (ps PlacementStrategyAttributes) Type() terra.StringValue
type PlacementStrategyState ¶
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 (rr ResourceRequirementsAttributes) InternalRef() (terra.Reference, error)
func (ResourceRequirementsAttributes) InternalTokens ¶
func (rr ResourceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ResourceRequirementsAttributes) InternalWithRef ¶
func (rr ResourceRequirementsAttributes) InternalWithRef(ref terra.Reference) ResourceRequirementsAttributes
func (ResourceRequirementsAttributes) Type ¶
func (rr ResourceRequirementsAttributes) Type() terra.StringValue
func (ResourceRequirementsAttributes) Value ¶
func (rr ResourceRequirementsAttributes) Value() terra.StringValue
Click to show internal directories.
Click to hide internal directories.