ecscapacityprovider

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 AutoScalingGroupProvider

type AutoScalingGroupProvider struct {
	// AutoScalingGroupArn: string, required
	AutoScalingGroupArn terra.StringValue `hcl:"auto_scaling_group_arn,attr" validate:"required"`
	// ManagedTerminationProtection: string, optional
	ManagedTerminationProtection terra.StringValue `hcl:"managed_termination_protection,attr"`
	// ManagedScaling: optional
	ManagedScaling *ManagedScaling `hcl:"managed_scaling,block"`
}

type AutoScalingGroupProviderAttributes

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

func (AutoScalingGroupProviderAttributes) AutoScalingGroupArn

func (asgp AutoScalingGroupProviderAttributes) AutoScalingGroupArn() terra.StringValue

func (AutoScalingGroupProviderAttributes) InternalRef

func (AutoScalingGroupProviderAttributes) InternalTokens

func (asgp AutoScalingGroupProviderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoScalingGroupProviderAttributes) InternalWithRef

func (AutoScalingGroupProviderAttributes) ManagedScaling

func (AutoScalingGroupProviderAttributes) ManagedTerminationProtection

func (asgp AutoScalingGroupProviderAttributes) ManagedTerminationProtection() terra.StringValue

type AutoScalingGroupProviderState

type AutoScalingGroupProviderState struct {
	AutoScalingGroupArn          string                `json:"auto_scaling_group_arn"`
	ManagedTerminationProtection string                `json:"managed_termination_protection"`
	ManagedScaling               []ManagedScalingState `json:"managed_scaling"`
}

type ManagedScaling

type ManagedScaling struct {
	// InstanceWarmupPeriod: number, optional
	InstanceWarmupPeriod terra.NumberValue `hcl:"instance_warmup_period,attr"`
	// MaximumScalingStepSize: number, optional
	MaximumScalingStepSize terra.NumberValue `hcl:"maximum_scaling_step_size,attr"`
	// MinimumScalingStepSize: number, optional
	MinimumScalingStepSize terra.NumberValue `hcl:"minimum_scaling_step_size,attr"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
	// TargetCapacity: number, optional
	TargetCapacity terra.NumberValue `hcl:"target_capacity,attr"`
}

type ManagedScalingAttributes

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

func (ManagedScalingAttributes) InstanceWarmupPeriod

func (ms ManagedScalingAttributes) InstanceWarmupPeriod() terra.NumberValue

func (ManagedScalingAttributes) InternalRef

func (ms ManagedScalingAttributes) InternalRef() (terra.Reference, error)

func (ManagedScalingAttributes) InternalTokens

func (ms ManagedScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ManagedScalingAttributes) InternalWithRef

func (ManagedScalingAttributes) MaximumScalingStepSize

func (ms ManagedScalingAttributes) MaximumScalingStepSize() terra.NumberValue

func (ManagedScalingAttributes) MinimumScalingStepSize

func (ms ManagedScalingAttributes) MinimumScalingStepSize() terra.NumberValue

func (ManagedScalingAttributes) Status

func (ManagedScalingAttributes) TargetCapacity

func (ms ManagedScalingAttributes) TargetCapacity() terra.NumberValue

type ManagedScalingState

type ManagedScalingState struct {
	InstanceWarmupPeriod   float64 `json:"instance_warmup_period"`
	MaximumScalingStepSize float64 `json:"maximum_scaling_step_size"`
	MinimumScalingStepSize float64 `json:"minimum_scaling_step_size"`
	Status                 string  `json:"status"`
	TargetCapacity         float64 `json:"target_capacity"`
}

Jump to

Keyboard shortcuts

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