Documentation ¶
Index ¶
- type CustomizedMetricSpecification
- type CustomizedMetricSpecificationAttributes
- func (cms CustomizedMetricSpecificationAttributes) Dimensions() terra.SetValue[CustomizedMetricSpecificationDimensionsAttributes]
- func (cms CustomizedMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (cms CustomizedMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cms CustomizedMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedMetricSpecificationAttributes
- func (cms CustomizedMetricSpecificationAttributes) MetricName() terra.StringValue
- func (cms CustomizedMetricSpecificationAttributes) Metrics() terra.SetValue[MetricsAttributes]
- func (cms CustomizedMetricSpecificationAttributes) Namespace() terra.StringValue
- func (cms CustomizedMetricSpecificationAttributes) Statistic() terra.StringValue
- func (cms CustomizedMetricSpecificationAttributes) Unit() terra.StringValue
- type CustomizedMetricSpecificationDimensions
- type CustomizedMetricSpecificationDimensionsAttributes
- func (d CustomizedMetricSpecificationDimensionsAttributes) InternalRef() (terra.Reference, error)
- func (d CustomizedMetricSpecificationDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d CustomizedMetricSpecificationDimensionsAttributes) InternalWithRef(ref terra.Reference) CustomizedMetricSpecificationDimensionsAttributes
- func (d CustomizedMetricSpecificationDimensionsAttributes) Name() terra.StringValue
- func (d CustomizedMetricSpecificationDimensionsAttributes) Value() terra.StringValue
- type CustomizedMetricSpecificationDimensionsState
- type CustomizedMetricSpecificationState
- type Metric
- type MetricAttributes
- func (m MetricAttributes) Dimensions() terra.SetValue[MetricDimensionsAttributes]
- func (m MetricAttributes) InternalRef() (terra.Reference, error)
- func (m MetricAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetricAttributes) InternalWithRef(ref terra.Reference) MetricAttributes
- func (m MetricAttributes) MetricName() terra.StringValue
- func (m MetricAttributes) Namespace() terra.StringValue
- type MetricDimensions
- type MetricDimensionsAttributes
- func (d MetricDimensionsAttributes) InternalRef() (terra.Reference, error)
- func (d MetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d MetricDimensionsAttributes) InternalWithRef(ref terra.Reference) MetricDimensionsAttributes
- func (d MetricDimensionsAttributes) Name() terra.StringValue
- func (d MetricDimensionsAttributes) Value() terra.StringValue
- type MetricDimensionsState
- type MetricStat
- type MetricStatAttributes
- func (ms MetricStatAttributes) InternalRef() (terra.Reference, error)
- func (ms MetricStatAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MetricStatAttributes) InternalWithRef(ref terra.Reference) MetricStatAttributes
- func (ms MetricStatAttributes) Metric() terra.ListValue[MetricAttributes]
- func (ms MetricStatAttributes) Stat() terra.StringValue
- func (ms MetricStatAttributes) Unit() terra.StringValue
- type MetricStatState
- type MetricState
- type Metrics
- type MetricsAttributes
- func (m MetricsAttributes) Expression() terra.StringValue
- func (m MetricsAttributes) Id() terra.StringValue
- func (m MetricsAttributes) InternalRef() (terra.Reference, error)
- func (m MetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m MetricsAttributes) InternalWithRef(ref terra.Reference) MetricsAttributes
- func (m MetricsAttributes) Label() terra.StringValue
- func (m MetricsAttributes) MetricStat() terra.ListValue[MetricStatAttributes]
- func (m MetricsAttributes) ReturnData() terra.BoolValue
- type MetricsState
- type PredefinedMetricSpecification
- type PredefinedMetricSpecificationAttributes
- func (pms PredefinedMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (pms PredefinedMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pms PredefinedMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedMetricSpecificationAttributes
- func (pms PredefinedMetricSpecificationAttributes) PredefinedMetricType() terra.StringValue
- func (pms PredefinedMetricSpecificationAttributes) ResourceLabel() terra.StringValue
- type PredefinedMetricSpecificationState
- type StepAdjustment
- type StepAdjustmentAttributes
- func (sa StepAdjustmentAttributes) InternalRef() (terra.Reference, error)
- func (sa StepAdjustmentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sa StepAdjustmentAttributes) InternalWithRef(ref terra.Reference) StepAdjustmentAttributes
- func (sa StepAdjustmentAttributes) MetricIntervalLowerBound() terra.StringValue
- func (sa StepAdjustmentAttributes) MetricIntervalUpperBound() terra.StringValue
- func (sa StepAdjustmentAttributes) ScalingAdjustment() terra.NumberValue
- type StepAdjustmentState
- type StepScalingPolicyConfiguration
- type StepScalingPolicyConfigurationAttributes
- func (sspc StepScalingPolicyConfigurationAttributes) AdjustmentType() terra.StringValue
- func (sspc StepScalingPolicyConfigurationAttributes) Cooldown() terra.NumberValue
- func (sspc StepScalingPolicyConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (sspc StepScalingPolicyConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sspc StepScalingPolicyConfigurationAttributes) InternalWithRef(ref terra.Reference) StepScalingPolicyConfigurationAttributes
- func (sspc StepScalingPolicyConfigurationAttributes) MetricAggregationType() terra.StringValue
- func (sspc StepScalingPolicyConfigurationAttributes) MinAdjustmentMagnitude() terra.NumberValue
- func (sspc StepScalingPolicyConfigurationAttributes) StepAdjustment() terra.SetValue[StepAdjustmentAttributes]
- type StepScalingPolicyConfigurationState
- type TargetTrackingScalingPolicyConfiguration
- type TargetTrackingScalingPolicyConfigurationAttributes
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) CustomizedMetricSpecification() terra.ListValue[CustomizedMetricSpecificationAttributes]
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) DisableScaleIn() terra.BoolValue
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalWithRef(ref terra.Reference) TargetTrackingScalingPolicyConfigurationAttributes
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) PredefinedMetricSpecification() terra.ListValue[PredefinedMetricSpecificationAttributes]
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) ScaleInCooldown() terra.NumberValue
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) ScaleOutCooldown() terra.NumberValue
- func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) TargetValue() terra.NumberValue
- type TargetTrackingScalingPolicyConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomizedMetricSpecification ¶
type CustomizedMetricSpecification struct { // MetricName: string, optional MetricName terra.StringValue `hcl:"metric_name,attr"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // Statistic: string, optional Statistic terra.StringValue `hcl:"statistic,attr"` // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` // CustomizedMetricSpecificationDimensions: min=0 Dimensions []CustomizedMetricSpecificationDimensions `hcl:"dimensions,block" validate:"min=0"` // Metrics: min=0 Metrics []Metrics `hcl:"metrics,block" validate:"min=0"` }
type CustomizedMetricSpecificationAttributes ¶
type CustomizedMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (CustomizedMetricSpecificationAttributes) Dimensions ¶
func (cms CustomizedMetricSpecificationAttributes) Dimensions() terra.SetValue[CustomizedMetricSpecificationDimensionsAttributes]
func (CustomizedMetricSpecificationAttributes) InternalRef ¶
func (cms CustomizedMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (CustomizedMetricSpecificationAttributes) InternalTokens ¶
func (cms CustomizedMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomizedMetricSpecificationAttributes) InternalWithRef ¶
func (cms CustomizedMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) CustomizedMetricSpecificationAttributes
func (CustomizedMetricSpecificationAttributes) MetricName ¶
func (cms CustomizedMetricSpecificationAttributes) MetricName() terra.StringValue
func (CustomizedMetricSpecificationAttributes) Metrics ¶
func (cms CustomizedMetricSpecificationAttributes) Metrics() terra.SetValue[MetricsAttributes]
func (CustomizedMetricSpecificationAttributes) Namespace ¶
func (cms CustomizedMetricSpecificationAttributes) Namespace() terra.StringValue
func (CustomizedMetricSpecificationAttributes) Statistic ¶
func (cms CustomizedMetricSpecificationAttributes) Statistic() terra.StringValue
func (CustomizedMetricSpecificationAttributes) Unit ¶
func (cms CustomizedMetricSpecificationAttributes) Unit() terra.StringValue
type CustomizedMetricSpecificationDimensions ¶
type CustomizedMetricSpecificationDimensions struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type CustomizedMetricSpecificationDimensionsAttributes ¶
type CustomizedMetricSpecificationDimensionsAttributes struct {
// contains filtered or unexported fields
}
func (CustomizedMetricSpecificationDimensionsAttributes) InternalRef ¶
func (d CustomizedMetricSpecificationDimensionsAttributes) InternalRef() (terra.Reference, error)
func (CustomizedMetricSpecificationDimensionsAttributes) InternalTokens ¶
func (d CustomizedMetricSpecificationDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomizedMetricSpecificationDimensionsAttributes) InternalWithRef ¶
func (d CustomizedMetricSpecificationDimensionsAttributes) InternalWithRef(ref terra.Reference) CustomizedMetricSpecificationDimensionsAttributes
func (CustomizedMetricSpecificationDimensionsAttributes) Name ¶
func (d CustomizedMetricSpecificationDimensionsAttributes) Name() terra.StringValue
func (CustomizedMetricSpecificationDimensionsAttributes) Value ¶
func (d CustomizedMetricSpecificationDimensionsAttributes) Value() terra.StringValue
type CustomizedMetricSpecificationState ¶
type CustomizedMetricSpecificationState struct { MetricName string `json:"metric_name"` Namespace string `json:"namespace"` Statistic string `json:"statistic"` Unit string `json:"unit"` Dimensions []CustomizedMetricSpecificationDimensionsState `json:"dimensions"` Metrics []MetricsState `json:"metrics"` }
type Metric ¶
type Metric struct { // MetricName: string, required MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"` // Namespace: string, required Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"` // MetricDimensions: min=0 Dimensions []MetricDimensions `hcl:"dimensions,block" validate:"min=0"` }
type MetricAttributes ¶
type MetricAttributes struct {
// contains filtered or unexported fields
}
func (MetricAttributes) Dimensions ¶
func (m MetricAttributes) Dimensions() terra.SetValue[MetricDimensionsAttributes]
func (MetricAttributes) InternalRef ¶
func (m MetricAttributes) InternalRef() (terra.Reference, error)
func (MetricAttributes) InternalTokens ¶
func (m MetricAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricAttributes) InternalWithRef ¶
func (m MetricAttributes) InternalWithRef(ref terra.Reference) MetricAttributes
func (MetricAttributes) MetricName ¶
func (m MetricAttributes) MetricName() terra.StringValue
func (MetricAttributes) Namespace ¶
func (m MetricAttributes) Namespace() terra.StringValue
type MetricDimensions ¶
type MetricDimensions struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type MetricDimensionsAttributes ¶
type MetricDimensionsAttributes struct {
// contains filtered or unexported fields
}
func (MetricDimensionsAttributes) InternalRef ¶
func (d MetricDimensionsAttributes) InternalRef() (terra.Reference, error)
func (MetricDimensionsAttributes) InternalTokens ¶
func (d MetricDimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricDimensionsAttributes) InternalWithRef ¶
func (d MetricDimensionsAttributes) InternalWithRef(ref terra.Reference) MetricDimensionsAttributes
func (MetricDimensionsAttributes) Name ¶
func (d MetricDimensionsAttributes) Name() terra.StringValue
func (MetricDimensionsAttributes) Value ¶
func (d MetricDimensionsAttributes) Value() terra.StringValue
type MetricDimensionsState ¶
type MetricStat ¶
type MetricStat struct { // Stat: string, required Stat terra.StringValue `hcl:"stat,attr" validate:"required"` // Unit: string, optional Unit terra.StringValue `hcl:"unit,attr"` // Metric: required Metric *Metric `hcl:"metric,block" validate:"required"` }
type MetricStatAttributes ¶
type MetricStatAttributes struct {
// contains filtered or unexported fields
}
func (MetricStatAttributes) InternalRef ¶
func (ms MetricStatAttributes) InternalRef() (terra.Reference, error)
func (MetricStatAttributes) InternalTokens ¶
func (ms MetricStatAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricStatAttributes) InternalWithRef ¶
func (ms MetricStatAttributes) InternalWithRef(ref terra.Reference) MetricStatAttributes
func (MetricStatAttributes) Metric ¶
func (ms MetricStatAttributes) Metric() terra.ListValue[MetricAttributes]
func (MetricStatAttributes) Stat ¶
func (ms MetricStatAttributes) Stat() terra.StringValue
func (MetricStatAttributes) Unit ¶
func (ms MetricStatAttributes) Unit() terra.StringValue
type MetricStatState ¶
type MetricStatState struct { Stat string `json:"stat"` Unit string `json:"unit"` Metric []MetricState `json:"metric"` }
type MetricState ¶
type MetricState struct { MetricName string `json:"metric_name"` Namespace string `json:"namespace"` Dimensions []MetricDimensionsState `json:"dimensions"` }
type Metrics ¶
type Metrics struct { // Expression: string, optional Expression terra.StringValue `hcl:"expression,attr"` // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Label: string, optional Label terra.StringValue `hcl:"label,attr"` // ReturnData: bool, optional ReturnData terra.BoolValue `hcl:"return_data,attr"` // MetricStat: optional MetricStat *MetricStat `hcl:"metric_stat,block"` }
type MetricsAttributes ¶
type MetricsAttributes struct {
// contains filtered or unexported fields
}
func (MetricsAttributes) Expression ¶
func (m MetricsAttributes) Expression() terra.StringValue
func (MetricsAttributes) Id ¶
func (m MetricsAttributes) Id() terra.StringValue
func (MetricsAttributes) InternalRef ¶
func (m MetricsAttributes) InternalRef() (terra.Reference, error)
func (MetricsAttributes) InternalTokens ¶
func (m MetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MetricsAttributes) InternalWithRef ¶
func (m MetricsAttributes) InternalWithRef(ref terra.Reference) MetricsAttributes
func (MetricsAttributes) Label ¶
func (m MetricsAttributes) Label() terra.StringValue
func (MetricsAttributes) MetricStat ¶
func (m MetricsAttributes) MetricStat() terra.ListValue[MetricStatAttributes]
func (MetricsAttributes) ReturnData ¶
func (m MetricsAttributes) ReturnData() terra.BoolValue
type MetricsState ¶
type MetricsState struct { Expression string `json:"expression"` Id string `json:"id"` Label string `json:"label"` ReturnData bool `json:"return_data"` MetricStat []MetricStatState `json:"metric_stat"` }
type PredefinedMetricSpecification ¶
type PredefinedMetricSpecification struct { // PredefinedMetricType: string, required PredefinedMetricType terra.StringValue `hcl:"predefined_metric_type,attr" validate:"required"` // ResourceLabel: string, optional ResourceLabel terra.StringValue `hcl:"resource_label,attr"` }
type PredefinedMetricSpecificationAttributes ¶
type PredefinedMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (PredefinedMetricSpecificationAttributes) InternalRef ¶
func (pms PredefinedMetricSpecificationAttributes) InternalRef() (terra.Reference, error)
func (PredefinedMetricSpecificationAttributes) InternalTokens ¶
func (pms PredefinedMetricSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PredefinedMetricSpecificationAttributes) InternalWithRef ¶
func (pms PredefinedMetricSpecificationAttributes) InternalWithRef(ref terra.Reference) PredefinedMetricSpecificationAttributes
func (PredefinedMetricSpecificationAttributes) PredefinedMetricType ¶
func (pms PredefinedMetricSpecificationAttributes) PredefinedMetricType() terra.StringValue
func (PredefinedMetricSpecificationAttributes) ResourceLabel ¶
func (pms PredefinedMetricSpecificationAttributes) ResourceLabel() terra.StringValue
type StepAdjustment ¶
type StepAdjustment struct { // MetricIntervalLowerBound: string, optional MetricIntervalLowerBound terra.StringValue `hcl:"metric_interval_lower_bound,attr"` // MetricIntervalUpperBound: string, optional MetricIntervalUpperBound terra.StringValue `hcl:"metric_interval_upper_bound,attr"` // ScalingAdjustment: number, required ScalingAdjustment terra.NumberValue `hcl:"scaling_adjustment,attr" validate:"required"` }
type StepAdjustmentAttributes ¶
type StepAdjustmentAttributes struct {
// contains filtered or unexported fields
}
func (StepAdjustmentAttributes) InternalRef ¶
func (sa StepAdjustmentAttributes) InternalRef() (terra.Reference, error)
func (StepAdjustmentAttributes) InternalTokens ¶
func (sa StepAdjustmentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StepAdjustmentAttributes) InternalWithRef ¶
func (sa StepAdjustmentAttributes) InternalWithRef(ref terra.Reference) StepAdjustmentAttributes
func (StepAdjustmentAttributes) MetricIntervalLowerBound ¶
func (sa StepAdjustmentAttributes) MetricIntervalLowerBound() terra.StringValue
func (StepAdjustmentAttributes) MetricIntervalUpperBound ¶
func (sa StepAdjustmentAttributes) MetricIntervalUpperBound() terra.StringValue
func (StepAdjustmentAttributes) ScalingAdjustment ¶
func (sa StepAdjustmentAttributes) ScalingAdjustment() terra.NumberValue
type StepAdjustmentState ¶
type StepScalingPolicyConfiguration ¶
type StepScalingPolicyConfiguration struct { // AdjustmentType: string, optional AdjustmentType terra.StringValue `hcl:"adjustment_type,attr"` // Cooldown: number, optional Cooldown terra.NumberValue `hcl:"cooldown,attr"` // MetricAggregationType: string, optional MetricAggregationType terra.StringValue `hcl:"metric_aggregation_type,attr"` // MinAdjustmentMagnitude: number, optional MinAdjustmentMagnitude terra.NumberValue `hcl:"min_adjustment_magnitude,attr"` // StepAdjustment: min=0 StepAdjustment []StepAdjustment `hcl:"step_adjustment,block" validate:"min=0"` }
type StepScalingPolicyConfigurationAttributes ¶
type StepScalingPolicyConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (StepScalingPolicyConfigurationAttributes) AdjustmentType ¶
func (sspc StepScalingPolicyConfigurationAttributes) AdjustmentType() terra.StringValue
func (StepScalingPolicyConfigurationAttributes) Cooldown ¶
func (sspc StepScalingPolicyConfigurationAttributes) Cooldown() terra.NumberValue
func (StepScalingPolicyConfigurationAttributes) InternalRef ¶
func (sspc StepScalingPolicyConfigurationAttributes) InternalRef() (terra.Reference, error)
func (StepScalingPolicyConfigurationAttributes) InternalTokens ¶
func (sspc StepScalingPolicyConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StepScalingPolicyConfigurationAttributes) InternalWithRef ¶
func (sspc StepScalingPolicyConfigurationAttributes) InternalWithRef(ref terra.Reference) StepScalingPolicyConfigurationAttributes
func (StepScalingPolicyConfigurationAttributes) MetricAggregationType ¶
func (sspc StepScalingPolicyConfigurationAttributes) MetricAggregationType() terra.StringValue
func (StepScalingPolicyConfigurationAttributes) MinAdjustmentMagnitude ¶
func (sspc StepScalingPolicyConfigurationAttributes) MinAdjustmentMagnitude() terra.NumberValue
func (StepScalingPolicyConfigurationAttributes) StepAdjustment ¶
func (sspc StepScalingPolicyConfigurationAttributes) StepAdjustment() terra.SetValue[StepAdjustmentAttributes]
type StepScalingPolicyConfigurationState ¶
type StepScalingPolicyConfigurationState struct { AdjustmentType string `json:"adjustment_type"` Cooldown float64 `json:"cooldown"` MetricAggregationType string `json:"metric_aggregation_type"` MinAdjustmentMagnitude float64 `json:"min_adjustment_magnitude"` StepAdjustment []StepAdjustmentState `json:"step_adjustment"` }
type TargetTrackingScalingPolicyConfiguration ¶
type TargetTrackingScalingPolicyConfiguration struct { // DisableScaleIn: bool, optional DisableScaleIn terra.BoolValue `hcl:"disable_scale_in,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"` // CustomizedMetricSpecification: optional CustomizedMetricSpecification *CustomizedMetricSpecification `hcl:"customized_metric_specification,block"` // PredefinedMetricSpecification: optional PredefinedMetricSpecification *PredefinedMetricSpecification `hcl:"predefined_metric_specification,block"` }
type TargetTrackingScalingPolicyConfigurationAttributes ¶
type TargetTrackingScalingPolicyConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (TargetTrackingScalingPolicyConfigurationAttributes) CustomizedMetricSpecification ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) CustomizedMetricSpecification() terra.ListValue[CustomizedMetricSpecificationAttributes]
func (TargetTrackingScalingPolicyConfigurationAttributes) DisableScaleIn ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) DisableScaleIn() terra.BoolValue
func (TargetTrackingScalingPolicyConfigurationAttributes) InternalRef ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalRef() (terra.Reference, error)
func (TargetTrackingScalingPolicyConfigurationAttributes) InternalTokens ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetTrackingScalingPolicyConfigurationAttributes) InternalWithRef ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) InternalWithRef(ref terra.Reference) TargetTrackingScalingPolicyConfigurationAttributes
func (TargetTrackingScalingPolicyConfigurationAttributes) PredefinedMetricSpecification ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) PredefinedMetricSpecification() terra.ListValue[PredefinedMetricSpecificationAttributes]
func (TargetTrackingScalingPolicyConfigurationAttributes) ScaleInCooldown ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) ScaleInCooldown() terra.NumberValue
func (TargetTrackingScalingPolicyConfigurationAttributes) ScaleOutCooldown ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) ScaleOutCooldown() terra.NumberValue
func (TargetTrackingScalingPolicyConfigurationAttributes) TargetValue ¶
func (ttspc TargetTrackingScalingPolicyConfigurationAttributes) TargetValue() terra.NumberValue
type TargetTrackingScalingPolicyConfigurationState ¶
type TargetTrackingScalingPolicyConfigurationState struct { DisableScaleIn bool `json:"disable_scale_in"` ScaleInCooldown float64 `json:"scale_in_cooldown"` ScaleOutCooldown float64 `json:"scale_out_cooldown"` TargetValue float64 `json:"target_value"` CustomizedMetricSpecification []CustomizedMetricSpecificationState `json:"customized_metric_specification"` PredefinedMetricSpecification []PredefinedMetricSpecificationState `json:"predefined_metric_specification"` }
Click to show internal directories.
Click to hide internal directories.