ecstaskset

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, required
	Weight terra.NumberValue `hcl:"weight,attr" validate:"required"`
}

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 LoadBalancer

type LoadBalancer struct {
	// ContainerName: string, required
	ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"`
	// ContainerPort: number, optional
	ContainerPort terra.NumberValue `hcl:"container_port,attr"`
	// LoadBalancerName: string, optional
	LoadBalancerName terra.StringValue `hcl:"load_balancer_name,attr"`
	// TargetGroupArn: string, optional
	TargetGroupArn terra.StringValue `hcl:"target_group_arn,attr"`
}

type LoadBalancerAttributes

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

func (LoadBalancerAttributes) ContainerName

func (lb LoadBalancerAttributes) ContainerName() terra.StringValue

func (LoadBalancerAttributes) ContainerPort

func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue

func (LoadBalancerAttributes) InternalRef

func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)

func (LoadBalancerAttributes) InternalTokens

func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerAttributes) InternalWithRef

func (LoadBalancerAttributes) LoadBalancerName

func (lb LoadBalancerAttributes) LoadBalancerName() terra.StringValue

func (LoadBalancerAttributes) TargetGroupArn

func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue

type LoadBalancerState

type LoadBalancerState struct {
	ContainerName    string  `json:"container_name"`
	ContainerPort    float64 `json:"container_port"`
	LoadBalancerName string  `json:"load_balancer_name"`
	TargetGroupArn   string  `json:"target_group_arn"`
}

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 Scale

type Scale struct {
	// Unit: string, optional
	Unit terra.StringValue `hcl:"unit,attr"`
	// Value: number, optional
	Value terra.NumberValue `hcl:"value,attr"`
}

type ScaleAttributes

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

func (ScaleAttributes) InternalRef

func (s ScaleAttributes) InternalRef() (terra.Reference, error)

func (ScaleAttributes) InternalTokens

func (s ScaleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScaleAttributes) InternalWithRef

func (s ScaleAttributes) InternalWithRef(ref terra.Reference) ScaleAttributes

func (ScaleAttributes) Unit

func (ScaleAttributes) Value

func (s ScaleAttributes) Value() terra.NumberValue

type ScaleState

type ScaleState struct {
	Unit  string  `json:"unit"`
	Value float64 `json:"value"`
}

type ServiceRegistries

type ServiceRegistries struct {
	// ContainerName: string, optional
	ContainerName terra.StringValue `hcl:"container_name,attr"`
	// ContainerPort: number, optional
	ContainerPort terra.NumberValue `hcl:"container_port,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// RegistryArn: string, required
	RegistryArn terra.StringValue `hcl:"registry_arn,attr" validate:"required"`
}

type ServiceRegistriesAttributes

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

func (ServiceRegistriesAttributes) ContainerName

func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue

func (ServiceRegistriesAttributes) ContainerPort

func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue

func (ServiceRegistriesAttributes) InternalRef

func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)

func (ServiceRegistriesAttributes) InternalTokens

func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServiceRegistriesAttributes) InternalWithRef

func (ServiceRegistriesAttributes) Port

func (ServiceRegistriesAttributes) RegistryArn

type ServiceRegistriesState

type ServiceRegistriesState struct {
	ContainerName string  `json:"container_name"`
	ContainerPort float64 `json:"container_port"`
	Port          float64 `json:"port"`
	RegistryArn   string  `json:"registry_arn"`
}

Jump to

Keyboard shortcuts

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