Documentation ¶
Index ¶
- type CustomizedMetricSpecification
- type CustomizedMetricSpecificationAttributes
- func (cms CustomizedMetricSpecificationAttributes) Dimensions() terra.SetValue[DimensionsAttributes]
- 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) Namespace() terra.StringValue
- func (cms CustomizedMetricSpecificationAttributes) Statistic() terra.StringValue
- func (cms CustomizedMetricSpecificationAttributes) Unit() terra.StringValue
- type CustomizedMetricSpecificationState
- type Dimensions
- type DimensionsAttributes
- func (d DimensionsAttributes) InternalRef() (terra.Reference, error)
- func (d DimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DimensionsAttributes) InternalWithRef(ref terra.Reference) DimensionsAttributes
- func (d DimensionsAttributes) Name() terra.StringValue
- func (d DimensionsAttributes) Value() terra.StringValue
- type DimensionsState
- 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, 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"` // Dimensions: min=0 Dimensions []Dimensions `hcl:"dimensions,block" validate:"min=0"` }
type CustomizedMetricSpecificationAttributes ¶
type CustomizedMetricSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (CustomizedMetricSpecificationAttributes) Dimensions ¶
func (cms CustomizedMetricSpecificationAttributes) Dimensions() terra.SetValue[DimensionsAttributes]
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) 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 CustomizedMetricSpecificationState ¶
type CustomizedMetricSpecificationState struct { MetricName string `json:"metric_name"` Namespace string `json:"namespace"` Statistic string `json:"statistic"` Unit string `json:"unit"` Dimensions []DimensionsState `json:"dimensions"` }
type Dimensions ¶
type Dimensions struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type DimensionsAttributes ¶
type DimensionsAttributes struct {
// contains filtered or unexported fields
}
func (DimensionsAttributes) InternalRef ¶
func (d DimensionsAttributes) InternalRef() (terra.Reference, error)
func (DimensionsAttributes) InternalTokens ¶
func (d DimensionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DimensionsAttributes) InternalWithRef ¶
func (d DimensionsAttributes) InternalWithRef(ref terra.Reference) DimensionsAttributes
func (DimensionsAttributes) Name ¶
func (d DimensionsAttributes) Name() terra.StringValue
func (DimensionsAttributes) Value ¶
func (d DimensionsAttributes) Value() terra.StringValue
type DimensionsState ¶
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.