Documentation ¶
Index ¶
- type AutoScalingGroupProvider
- type AutoScalingGroupProviderAttributes
- func (asgp AutoScalingGroupProviderAttributes) AutoScalingGroupArn() terra.StringValue
- func (asgp AutoScalingGroupProviderAttributes) InternalRef() (terra.Reference, error)
- func (asgp AutoScalingGroupProviderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asgp AutoScalingGroupProviderAttributes) InternalWithRef(ref terra.Reference) AutoScalingGroupProviderAttributes
- func (asgp AutoScalingGroupProviderAttributes) ManagedScaling() terra.ListValue[ManagedScalingAttributes]
- func (asgp AutoScalingGroupProviderAttributes) ManagedTerminationProtection() terra.StringValue
- type AutoScalingGroupProviderState
- type ManagedScaling
- type ManagedScalingAttributes
- func (ms ManagedScalingAttributes) InstanceWarmupPeriod() terra.NumberValue
- func (ms ManagedScalingAttributes) InternalRef() (terra.Reference, error)
- func (ms ManagedScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms ManagedScalingAttributes) InternalWithRef(ref terra.Reference) ManagedScalingAttributes
- func (ms ManagedScalingAttributes) MaximumScalingStepSize() terra.NumberValue
- func (ms ManagedScalingAttributes) MinimumScalingStepSize() terra.NumberValue
- func (ms ManagedScalingAttributes) Status() terra.StringValue
- func (ms ManagedScalingAttributes) TargetCapacity() terra.NumberValue
- type ManagedScalingState
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 (asgp AutoScalingGroupProviderAttributes) InternalRef() (terra.Reference, error)
func (AutoScalingGroupProviderAttributes) InternalTokens ¶
func (asgp AutoScalingGroupProviderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoScalingGroupProviderAttributes) InternalWithRef ¶
func (asgp AutoScalingGroupProviderAttributes) InternalWithRef(ref terra.Reference) AutoScalingGroupProviderAttributes
func (AutoScalingGroupProviderAttributes) ManagedScaling ¶
func (asgp AutoScalingGroupProviderAttributes) ManagedScaling() terra.ListValue[ManagedScalingAttributes]
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 (ms ManagedScalingAttributes) InternalWithRef(ref terra.Reference) ManagedScalingAttributes
func (ManagedScalingAttributes) MaximumScalingStepSize ¶
func (ms ManagedScalingAttributes) MaximumScalingStepSize() terra.NumberValue
func (ManagedScalingAttributes) MinimumScalingStepSize ¶
func (ms ManagedScalingAttributes) MinimumScalingStepSize() terra.NumberValue
func (ManagedScalingAttributes) Status ¶
func (ms ManagedScalingAttributes) Status() terra.StringValue
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"` }
Click to show internal directories.
Click to hide internal directories.