Documentation ¶
Index ¶
- type ApplicationSource
- type ApplicationSourceAttributes
- func (as ApplicationSourceAttributes) CloudformationStackArn() terra.StringValue
- func (as ApplicationSourceAttributes) InternalRef() (terra.Reference, error)
- func (as ApplicationSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ApplicationSourceAttributes) InternalWithRef(ref terra.Reference) ApplicationSourceAttributes
- func (as ApplicationSourceAttributes) TagFilter() terra.SetValue[TagFilterAttributes]
- type ApplicationSourceState
- type CustomizedLoadMetricSpecification
- type CustomizedLoadMetricSpecificationAttributes
- func (clms CustomizedLoadMetricSpecificationAttributes) Dimensions() terra.MapValue[terra.StringValue]
- func (clms CustomizedLoadMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (clms CustomizedLoadMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (clms CustomizedLoadMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedLoadMetricSpecificationAttributes
- func (clms CustomizedLoadMetricSpecificationAttributes) MetricName() terra.StringValue
- func (clms CustomizedLoadMetricSpecificationAttributes) Namespace() terra.StringValue
- func (clms CustomizedLoadMetricSpecificationAttributes) Statistic() terra.StringValue
- func (clms CustomizedLoadMetricSpecificationAttributes) Unit() terra.StringValue
- type CustomizedLoadMetricSpecificationState
- type CustomizedScalingMetricSpecification
- type CustomizedScalingMetricSpecificationAttributes
- func (csms CustomizedScalingMetricSpecificationAttributes) Dimensions() terra.MapValue[terra.StringValue]
- func (csms CustomizedScalingMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (csms CustomizedScalingMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (csms CustomizedScalingMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedScalingMetricSpecificationAttributes
- func (csms CustomizedScalingMetricSpecificationAttributes) MetricName() terra.StringValue
- func (csms CustomizedScalingMetricSpecificationAttributes) Namespace() terra.StringValue
- func (csms CustomizedScalingMetricSpecificationAttributes) Statistic() terra.StringValue
- func (csms CustomizedScalingMetricSpecificationAttributes) Unit() terra.StringValue
- type CustomizedScalingMetricSpecificationState
- type PredefinedLoadMetricSpecification
- type PredefinedLoadMetricSpecificationAttributes
- func (plms PredefinedLoadMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (plms PredefinedLoadMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (plms PredefinedLoadMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedLoadMetricSpecificationAttributes
- func (plms PredefinedLoadMetricSpecificationAttributes) PredefinedLoadMetricType() terra.StringValue
- func (plms PredefinedLoadMetricSpecificationAttributes) ResourceLabel() terra.StringValue
- type PredefinedLoadMetricSpecificationState
- type PredefinedScalingMetricSpecification
- type PredefinedScalingMetricSpecificationAttributes
- func (psms PredefinedScalingMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (psms PredefinedScalingMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (psms PredefinedScalingMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedScalingMetricSpecificationAttributes
- func (psms PredefinedScalingMetricSpecificationAttributes) PredefinedScalingMetricType() terra.StringValue
- func (psms PredefinedScalingMetricSpecificationAttributes) ResourceLabel() terra.StringValue
- type PredefinedScalingMetricSpecificationState
- type ScalingInstruction
- type ScalingInstructionAttributes
- func (si ScalingInstructionAttributes) CustomizedLoadMetricSpecification() terra.ListValue[CustomizedLoadMetricSpecificationAttributes]
- func (si ScalingInstructionAttributes) DisableDynamicScaling() terra.BoolValue
- func (si ScalingInstructionAttributes) InternalRef() (terra.Reference, error)
- func (si ScalingInstructionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (si ScalingInstructionAttributes) InternalWithRef(ref terra.Reference) ScalingInstructionAttributes
- func (si ScalingInstructionAttributes) MaxCapacity() terra.NumberValue
- func (si ScalingInstructionAttributes) MinCapacity() terra.NumberValue
- func (si ScalingInstructionAttributes) PredefinedLoadMetricSpecification() terra.ListValue[PredefinedLoadMetricSpecificationAttributes]
- func (si ScalingInstructionAttributes) PredictiveScalingMaxCapacityBehavior() terra.StringValue
- func (si ScalingInstructionAttributes) PredictiveScalingMaxCapacityBuffer() terra.NumberValue
- func (si ScalingInstructionAttributes) PredictiveScalingMode() terra.StringValue
- func (si ScalingInstructionAttributes) ResourceId() terra.StringValue
- func (si ScalingInstructionAttributes) ScalableDimension() terra.StringValue
- func (si ScalingInstructionAttributes) ScalingPolicyUpdateBehavior() terra.StringValue
- func (si ScalingInstructionAttributes) ScheduledActionBufferTime() terra.NumberValue
- func (si ScalingInstructionAttributes) ServiceNamespace() terra.StringValue
- func (si ScalingInstructionAttributes) TargetTrackingConfiguration() terra.SetValue[TargetTrackingConfigurationAttributes]
- type ScalingInstructionState
- type TagFilter
- type TagFilterAttributes
- func (tf TagFilterAttributes) InternalRef() (terra.Reference, error)
- func (tf TagFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tf TagFilterAttributes) InternalWithRef(ref terra.Reference) TagFilterAttributes
- func (tf TagFilterAttributes) Key() terra.StringValue
- func (tf TagFilterAttributes) Values() terra.SetValue[terra.StringValue]
- type TagFilterState
- type TargetTrackingConfiguration
- type TargetTrackingConfigurationAttributes
- func (ttc TargetTrackingConfigurationAttributes) CustomizedScalingMetricSpecification() terra.ListValue[CustomizedScalingMetricSpecificationAttributes]
- func (ttc TargetTrackingConfigurationAttributes) DisableScaleIn() terra.BoolValue
- func (ttc TargetTrackingConfigurationAttributes) EstimatedInstanceWarmup() terra.NumberValue
- func (ttc TargetTrackingConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ttc TargetTrackingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ttc TargetTrackingConfigurationAttributes) InternalWithRef(ref terra.Reference) TargetTrackingConfigurationAttributes
- func (ttc TargetTrackingConfigurationAttributes) PredefinedScalingMetricSpecification() terra.ListValue[PredefinedScalingMetricSpecificationAttributes]
- func (ttc TargetTrackingConfigurationAttributes) ScaleInCooldown() terra.NumberValue
- func (ttc TargetTrackingConfigurationAttributes) ScaleOutCooldown() terra.NumberValue
- func (ttc TargetTrackingConfigurationAttributes) TargetValue() terra.NumberValue
- type TargetTrackingConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationSource ¶
type ApplicationSource struct { // CloudformationStackArn: string, optional CloudformationStackArn terra.StringValue `hcl:"cloudformation_stack_arn,attr"` // TagFilter: min=0,max=50 TagFilter []TagFilter `hcl:"tag_filter,block" validate:"min=0,max=50"` }
type ApplicationSourceAttributes ¶
type ApplicationSourceAttributes struct {
// contains filtered or unexported fields
}
func (ApplicationSourceAttributes) CloudformationStackArn ¶
func (as ApplicationSourceAttributes) CloudformationStackArn() terra.StringValue
func (ApplicationSourceAttributes) InternalRef ¶
func (as ApplicationSourceAttributes) InternalRef() (terra.Reference, error)
func (ApplicationSourceAttributes) InternalTokens ¶
func (as ApplicationSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApplicationSourceAttributes) InternalWithRef ¶
func (as ApplicationSourceAttributes) InternalWithRef(ref terra.Reference) ApplicationSourceAttributes
func (ApplicationSourceAttributes) TagFilter ¶
func (as ApplicationSourceAttributes) TagFilter() terra.SetValue[TagFilterAttributes]
type ApplicationSourceState ¶
type ApplicationSourceState struct { CloudformationStackArn string `json:"cloudformation_stack_arn"` TagFilter []TagFilterState `json:"tag_filter"` }
type CustomizedLoadMetricSpecification ¶
type CustomizedLoadMetricSpecification struct { // Dimensions: map of string, optional Dimensions terra.MapValue[terra.StringValue] `hcl:"dimensions,attr"` // MetricName: string, required MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` // Statistic: string, required Statistic terra.StringValue `hcl:"statistic,attr" validate:"required"` // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` }
type CustomizedLoadMetricSpecificationAttributes ¶
type CustomizedLoadMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (CustomizedLoadMetricSpecificationAttributes) Dimensions ¶
func (clms CustomizedLoadMetricSpecificationAttributes) Dimensions() terra.MapValue[terra.StringValue]
func (CustomizedLoadMetricSpecificationAttributes) InternalRef ¶
func (clms CustomizedLoadMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (CustomizedLoadMetricSpecificationAttributes) InternalTokens ¶
func (clms CustomizedLoadMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomizedLoadMetricSpecificationAttributes) InternalWithRef ¶
func (clms CustomizedLoadMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedLoadMetricSpecificationAttributes
func (CustomizedLoadMetricSpecificationAttributes) MetricName ¶
func (clms CustomizedLoadMetricSpecificationAttributes) MetricName() terra.StringValue
func (CustomizedLoadMetricSpecificationAttributes) Namespace ¶
func (clms CustomizedLoadMetricSpecificationAttributes) Namespace() terra.StringValue
func (CustomizedLoadMetricSpecificationAttributes) Statistic ¶
func (clms CustomizedLoadMetricSpecificationAttributes) Statistic() terra.StringValue
func (CustomizedLoadMetricSpecificationAttributes) Unit ¶
func (clms CustomizedLoadMetricSpecificationAttributes) Unit() terra.StringValue
type CustomizedScalingMetricSpecification ¶
type CustomizedScalingMetricSpecification struct { // Dimensions: map of string, optional Dimensions terra.MapValue[terra.StringValue] `hcl:"dimensions,attr"` // MetricName: string, required MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` // Statistic: string, required Statistic terra.StringValue `hcl:"statistic,attr" validate:"required"` // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` }
type CustomizedScalingMetricSpecificationAttributes ¶
type CustomizedScalingMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (CustomizedScalingMetricSpecificationAttributes) Dimensions ¶
func (csms CustomizedScalingMetricSpecificationAttributes) Dimensions() terra.MapValue[terra.StringValue]
func (CustomizedScalingMetricSpecificationAttributes) InternalRef ¶
func (csms CustomizedScalingMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (CustomizedScalingMetricSpecificationAttributes) InternalTokens ¶
func (csms CustomizedScalingMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomizedScalingMetricSpecificationAttributes) InternalWithRef ¶
func (csms CustomizedScalingMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedScalingMetricSpecificationAttributes
func (CustomizedScalingMetricSpecificationAttributes) MetricName ¶
func (csms CustomizedScalingMetricSpecificationAttributes) MetricName() terra.StringValue
func (CustomizedScalingMetricSpecificationAttributes) Namespace ¶
func (csms CustomizedScalingMetricSpecificationAttributes) Namespace() terra.StringValue
func (CustomizedScalingMetricSpecificationAttributes) Statistic ¶
func (csms CustomizedScalingMetricSpecificationAttributes) Statistic() terra.StringValue
func (CustomizedScalingMetricSpecificationAttributes) Unit ¶
func (csms CustomizedScalingMetricSpecificationAttributes) Unit() terra.StringValue
type PredefinedLoadMetricSpecification ¶
type PredefinedLoadMetricSpecification struct { // PredefinedLoadMetricType: string, required PredefinedLoadMetricType terra.StringValue `hcl:"predefined_load_metric_type,attr" validate:"required"` // ResourceLabel: string, optional ResourceLabel terra.StringValue `hcl:"resource_label,attr"` }
type PredefinedLoadMetricSpecificationAttributes ¶
type PredefinedLoadMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (PredefinedLoadMetricSpecificationAttributes) InternalRef ¶
func (plms PredefinedLoadMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (PredefinedLoadMetricSpecificationAttributes) InternalTokens ¶
func (plms PredefinedLoadMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PredefinedLoadMetricSpecificationAttributes) InternalWithRef ¶
func (plms PredefinedLoadMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedLoadMetricSpecificationAttributes
func (PredefinedLoadMetricSpecificationAttributes) PredefinedLoadMetricType ¶
func (plms PredefinedLoadMetricSpecificationAttributes) PredefinedLoadMetricType() terra.StringValue
func (PredefinedLoadMetricSpecificationAttributes) ResourceLabel ¶
func (plms PredefinedLoadMetricSpecificationAttributes) ResourceLabel() terra.StringValue
type PredefinedScalingMetricSpecification ¶
type PredefinedScalingMetricSpecification struct { // PredefinedScalingMetricType: string, required PredefinedScalingMetricType terra.StringValue `hcl:"predefined_scaling_metric_type,attr" validate:"required"` // ResourceLabel: string, optional ResourceLabel terra.StringValue `hcl:"resource_label,attr"` }
type PredefinedScalingMetricSpecificationAttributes ¶
type PredefinedScalingMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (PredefinedScalingMetricSpecificationAttributes) InternalRef ¶
func (psms PredefinedScalingMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (PredefinedScalingMetricSpecificationAttributes) InternalTokens ¶
func (psms PredefinedScalingMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PredefinedScalingMetricSpecificationAttributes) InternalWithRef ¶
func (psms PredefinedScalingMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedScalingMetricSpecificationAttributes
func (PredefinedScalingMetricSpecificationAttributes) PredefinedScalingMetricType ¶
func (psms PredefinedScalingMetricSpecificationAttributes) PredefinedScalingMetricType() terra.StringValue
func (PredefinedScalingMetricSpecificationAttributes) ResourceLabel ¶
func (psms PredefinedScalingMetricSpecificationAttributes) ResourceLabel() terra.StringValue
type ScalingInstruction ¶
type ScalingInstruction struct { // DisableDynamicScaling: bool, optional DisableDynamicScaling terra.BoolValue `hcl:"disable_dynamic_scaling,attr"` // MaxCapacity: number, required MaxCapacity terra.NumberValue `hcl:"max_capacity,attr" validate:"required"` // MinCapacity: number, required MinCapacity terra.NumberValue `hcl:"min_capacity,attr" validate:"required"` // PredictiveScalingMaxCapacityBehavior: string, optional PredictiveScalingMaxCapacityBehavior terra.StringValue `hcl:"predictive_scaling_max_capacity_behavior,attr"` // PredictiveScalingMaxCapacityBuffer: number, optional PredictiveScalingMaxCapacityBuffer terra.NumberValue `hcl:"predictive_scaling_max_capacity_buffer,attr"` // PredictiveScalingMode: string, optional PredictiveScalingMode terra.StringValue `hcl:"predictive_scaling_mode,attr"` // ResourceId: string, required ResourceId terra.StringValue `hcl:"resource_id,attr" validate:"required"` // ScalableDimension: string, required ScalableDimension terra.StringValue `hcl:"scalable_dimension,attr" validate:"required"` // ScalingPolicyUpdateBehavior: string, optional ScalingPolicyUpdateBehavior terra.StringValue `hcl:"scaling_policy_update_behavior,attr"` // ScheduledActionBufferTime: number, optional ScheduledActionBufferTime terra.NumberValue `hcl:"scheduled_action_buffer_time,attr"` // ServiceNamespace: string, required ServiceNamespace terra.StringValue `hcl:"service_namespace,attr" validate:"required"` // CustomizedLoadMetricSpecification: optional CustomizedLoadMetricSpecification *CustomizedLoadMetricSpecification `hcl:"customized_load_metric_specification,block"` // PredefinedLoadMetricSpecification: optional PredefinedLoadMetricSpecification *PredefinedLoadMetricSpecification `hcl:"predefined_load_metric_specification,block"` // TargetTrackingConfiguration: min=1,max=10 TargetTrackingConfiguration []TargetTrackingConfiguration `hcl:"target_tracking_configuration,block" validate:"min=1,max=10"` }
type ScalingInstructionAttributes ¶
type ScalingInstructionAttributes struct {
// contains filtered or unexported fields
}
func (ScalingInstructionAttributes) CustomizedLoadMetricSpecification ¶
func (si ScalingInstructionAttributes) CustomizedLoadMetricSpecification() terra.ListValue[CustomizedLoadMetricSpecificationAttributes]
func (ScalingInstructionAttributes) DisableDynamicScaling ¶
func (si ScalingInstructionAttributes) DisableDynamicScaling() terra.BoolValue
func (ScalingInstructionAttributes) InternalRef ¶
func (si ScalingInstructionAttributes) InternalRef() (terra.Reference, error)
func (ScalingInstructionAttributes) InternalTokens ¶
func (si ScalingInstructionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScalingInstructionAttributes) InternalWithRef ¶
func (si ScalingInstructionAttributes) InternalWithRef(ref terra.Reference) ScalingInstructionAttributes
func (ScalingInstructionAttributes) MaxCapacity ¶
func (si ScalingInstructionAttributes) MaxCapacity() terra.NumberValue
func (ScalingInstructionAttributes) MinCapacity ¶
func (si ScalingInstructionAttributes) MinCapacity() terra.NumberValue
func (ScalingInstructionAttributes) PredefinedLoadMetricSpecification ¶
func (si ScalingInstructionAttributes) PredefinedLoadMetricSpecification() terra.ListValue[PredefinedLoadMetricSpecificationAttributes]
func (ScalingInstructionAttributes) PredictiveScalingMaxCapacityBehavior ¶
func (si ScalingInstructionAttributes) PredictiveScalingMaxCapacityBehavior() terra.StringValue
func (ScalingInstructionAttributes) PredictiveScalingMaxCapacityBuffer ¶
func (si ScalingInstructionAttributes) PredictiveScalingMaxCapacityBuffer() terra.NumberValue
func (ScalingInstructionAttributes) PredictiveScalingMode ¶
func (si ScalingInstructionAttributes) PredictiveScalingMode() terra.StringValue
func (ScalingInstructionAttributes) ResourceId ¶
func (si ScalingInstructionAttributes) ResourceId() terra.StringValue
func (ScalingInstructionAttributes) ScalableDimension ¶
func (si ScalingInstructionAttributes) ScalableDimension() terra.StringValue
func (ScalingInstructionAttributes) ScalingPolicyUpdateBehavior ¶
func (si ScalingInstructionAttributes) ScalingPolicyUpdateBehavior() terra.StringValue
func (ScalingInstructionAttributes) ScheduledActionBufferTime ¶
func (si ScalingInstructionAttributes) ScheduledActionBufferTime() terra.NumberValue
func (ScalingInstructionAttributes) ServiceNamespace ¶
func (si ScalingInstructionAttributes) ServiceNamespace() terra.StringValue
func (ScalingInstructionAttributes) TargetTrackingConfiguration ¶
func (si ScalingInstructionAttributes) TargetTrackingConfiguration() terra.SetValue[TargetTrackingConfigurationAttributes]
type ScalingInstructionState ¶
type ScalingInstructionState struct { DisableDynamicScaling bool `json:"disable_dynamic_scaling"` MaxCapacity float64 `json:"max_capacity"` MinCapacity float64 `json:"min_capacity"` PredictiveScalingMaxCapacityBehavior string `json:"predictive_scaling_max_capacity_behavior"` PredictiveScalingMaxCapacityBuffer float64 `json:"predictive_scaling_max_capacity_buffer"` PredictiveScalingMode string `json:"predictive_scaling_mode"` ResourceId string `json:"resource_id"` ScalableDimension string `json:"scalable_dimension"` ScalingPolicyUpdateBehavior string `json:"scaling_policy_update_behavior"` ScheduledActionBufferTime float64 `json:"scheduled_action_buffer_time"` ServiceNamespace string `json:"service_namespace"` CustomizedLoadMetricSpecification []CustomizedLoadMetricSpecificationState `json:"customized_load_metric_specification"` PredefinedLoadMetricSpecification []PredefinedLoadMetricSpecificationState `json:"predefined_load_metric_specification"` TargetTrackingConfiguration []TargetTrackingConfigurationState `json:"target_tracking_configuration"` }
type TagFilter ¶
type TagFilter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: set of string, optional Values terra.SetValue[terra.StringValue] `hcl:"values,attr"` }
type TagFilterAttributes ¶
type TagFilterAttributes struct {
// contains filtered or unexported fields
}
func (TagFilterAttributes) InternalRef ¶
func (tf TagFilterAttributes) InternalRef() (terra.Reference, error)
func (TagFilterAttributes) InternalTokens ¶
func (tf TagFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TagFilterAttributes) InternalWithRef ¶
func (tf TagFilterAttributes) InternalWithRef(ref terra.Reference) TagFilterAttributes
func (TagFilterAttributes) Key ¶
func (tf TagFilterAttributes) Key() terra.StringValue
func (TagFilterAttributes) Values ¶
func (tf TagFilterAttributes) Values() terra.SetValue[terra.StringValue]
type TagFilterState ¶
type TargetTrackingConfiguration ¶
type TargetTrackingConfiguration struct { // DisableScaleIn: bool, optional DisableScaleIn terra.BoolValue `hcl:"disable_scale_in,attr"` // EstimatedInstanceWarmup: number, optional EstimatedInstanceWarmup terra.NumberValue `hcl:"estimated_instance_warmup,attr"` // ScaleInCooldown: number, optional ScaleInCooldown terra.NumberValue `hcl:"scale_in_cooldown,attr"` // ScaleOutCooldown: number, optional ScaleOutCooldown terra.NumberValue `hcl:"scale_out_cooldown,attr"` // TargetValue: number, required TargetValue terra.NumberValue `hcl:"target_value,attr" validate:"required"` // CustomizedScalingMetricSpecification: optional CustomizedScalingMetricSpecification *CustomizedScalingMetricSpecification `hcl:"customized_scaling_metric_specification,block"` // PredefinedScalingMetricSpecification: optional PredefinedScalingMetricSpecification *PredefinedScalingMetricSpecification `hcl:"predefined_scaling_metric_specification,block"` }
type TargetTrackingConfigurationAttributes ¶
type TargetTrackingConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (TargetTrackingConfigurationAttributes) CustomizedScalingMetricSpecification ¶
func (ttc TargetTrackingConfigurationAttributes) CustomizedScalingMetricSpecification() terra.ListValue[CustomizedScalingMetricSpecificationAttributes]
func (TargetTrackingConfigurationAttributes) DisableScaleIn ¶
func (ttc TargetTrackingConfigurationAttributes) DisableScaleIn() terra.BoolValue
func (TargetTrackingConfigurationAttributes) EstimatedInstanceWarmup ¶
func (ttc TargetTrackingConfigurationAttributes) EstimatedInstanceWarmup() terra.NumberValue
func (TargetTrackingConfigurationAttributes) InternalRef ¶
func (ttc TargetTrackingConfigurationAttributes) InternalRef() (terra.Reference, error)
func (TargetTrackingConfigurationAttributes) InternalTokens ¶
func (ttc TargetTrackingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetTrackingConfigurationAttributes) InternalWithRef ¶
func (ttc TargetTrackingConfigurationAttributes) InternalWithRef(ref terra.Reference) TargetTrackingConfigurationAttributes
func (TargetTrackingConfigurationAttributes) PredefinedScalingMetricSpecification ¶
func (ttc TargetTrackingConfigurationAttributes) PredefinedScalingMetricSpecification() terra.ListValue[PredefinedScalingMetricSpecificationAttributes]
func (TargetTrackingConfigurationAttributes) ScaleInCooldown ¶
func (ttc TargetTrackingConfigurationAttributes) ScaleInCooldown() terra.NumberValue
func (TargetTrackingConfigurationAttributes) ScaleOutCooldown ¶
func (ttc TargetTrackingConfigurationAttributes) ScaleOutCooldown() terra.NumberValue
func (TargetTrackingConfigurationAttributes) TargetValue ¶
func (ttc TargetTrackingConfigurationAttributes) TargetValue() terra.NumberValue
type TargetTrackingConfigurationState ¶
type TargetTrackingConfigurationState struct { DisableScaleIn bool `json:"disable_scale_in"` EstimatedInstanceWarmup float64 `json:"estimated_instance_warmup"` ScaleInCooldown float64 `json:"scale_in_cooldown"` ScaleOutCooldown float64 `json:"scale_out_cooldown"` TargetValue float64 `json:"target_value"` CustomizedScalingMetricSpecification []CustomizedScalingMetricSpecificationState `json:"customized_scaling_metric_specification"` PredefinedScalingMetricSpecification []PredefinedScalingMetricSpecificationState `json:"predefined_scaling_metric_specification"` }
Click to show internal directories.
Click to hide internal directories.