autoscalingpolicy

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 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 CustomizedCapacityMetricSpecification

type CustomizedCapacityMetricSpecification struct {
	// CustomizedCapacityMetricSpecificationMetricDataQueries: min=1,max=10
	MetricDataQueries []CustomizedCapacityMetricSpecificationMetricDataQueries `hcl:"metric_data_queries,block" validate:"min=1,max=10"`
}

type CustomizedCapacityMetricSpecificationAttributes

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

func (CustomizedCapacityMetricSpecificationAttributes) InternalRef

func (CustomizedCapacityMetricSpecificationAttributes) InternalTokens

func (CustomizedCapacityMetricSpecificationAttributes) InternalWithRef

type CustomizedCapacityMetricSpecificationMetricDataQueries

type CustomizedCapacityMetricSpecificationMetricDataQueries 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"`
	// CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStat: optional
	MetricStat *CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStat `hcl:"metric_stat,block"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes

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

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) Expression

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) Id

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) InternalRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) InternalTokens

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) InternalWithRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) Label

func (CustomizedCapacityMetricSpecificationMetricDataQueriesAttributes) ReturnData

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStat

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStat struct {
	// Stat: string, required
	Stat terra.StringValue `hcl:"stat,attr" validate:"required"`
	// Unit: string, optional
	Unit terra.StringValue `hcl:"unit,attr"`
	// CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetric: required
	Metric *CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetric `hcl:"metric,block" validate:"required"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes

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

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalTokens

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalWithRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes) Stat

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatAttributes) Unit

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetric

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// Namespace: string, required
	Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"`
	// CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensions: min=0
	Dimensions []CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensions `hcl:"dimensions,block" validate:"min=0"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricAttributes

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

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalTokens

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) MetricName

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) Namespace

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensions

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes

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

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalRef

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalTokens

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Name

func (CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Value

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricState

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricState struct {
	MetricName string                                                                                  `json:"metric_name"`
	Namespace  string                                                                                  `json:"namespace"`
	Dimensions []CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState `json:"dimensions"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatState

type CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatState struct {
	Stat   string                                                                        `json:"stat"`
	Unit   string                                                                        `json:"unit"`
	Metric []CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatMetricState `json:"metric"`
}

type CustomizedCapacityMetricSpecificationMetricDataQueriesState

type CustomizedCapacityMetricSpecificationMetricDataQueriesState struct {
	Expression string                                                                  `json:"expression"`
	Id         string                                                                  `json:"id"`
	Label      string                                                                  `json:"label"`
	ReturnData bool                                                                    `json:"return_data"`
	MetricStat []CustomizedCapacityMetricSpecificationMetricDataQueriesMetricStatState `json:"metric_stat"`
}

type CustomizedCapacityMetricSpecificationState

type CustomizedCapacityMetricSpecificationState struct {
	MetricDataQueries []CustomizedCapacityMetricSpecificationMetricDataQueriesState `json:"metric_data_queries"`
}

type CustomizedLoadMetricSpecification

type CustomizedLoadMetricSpecification struct {
	// CustomizedLoadMetricSpecificationMetricDataQueries: min=1,max=10
	MetricDataQueries []CustomizedLoadMetricSpecificationMetricDataQueries `hcl:"metric_data_queries,block" validate:"min=1,max=10"`
}

type CustomizedLoadMetricSpecificationAttributes

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

func (CustomizedLoadMetricSpecificationAttributes) InternalRef

func (CustomizedLoadMetricSpecificationAttributes) InternalTokens

func (CustomizedLoadMetricSpecificationAttributes) InternalWithRef

func (CustomizedLoadMetricSpecificationAttributes) MetricDataQueries

type CustomizedLoadMetricSpecificationMetricDataQueries

type CustomizedLoadMetricSpecificationMetricDataQueries 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"`
	// CustomizedLoadMetricSpecificationMetricDataQueriesMetricStat: optional
	MetricStat *CustomizedLoadMetricSpecificationMetricDataQueriesMetricStat `hcl:"metric_stat,block"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesAttributes

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

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) Expression

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) Id

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) InternalRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) InternalTokens

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) InternalWithRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) Label

func (CustomizedLoadMetricSpecificationMetricDataQueriesAttributes) ReturnData

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStat

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStat struct {
	// Stat: string, required
	Stat terra.StringValue `hcl:"stat,attr" validate:"required"`
	// Unit: string, optional
	Unit terra.StringValue `hcl:"unit,attr"`
	// CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetric: required
	Metric *CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetric `hcl:"metric,block" validate:"required"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes

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

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalTokens

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalWithRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes) Stat

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatAttributes) Unit

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetric

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// Namespace: string, required
	Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"`
	// CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensions: min=0
	Dimensions []CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensions `hcl:"dimensions,block" validate:"min=0"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricAttributes

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

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalTokens

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) MetricName

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) Namespace

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensions

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes

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

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalRef

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalTokens

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Name

func (CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Value

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricState

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricState struct {
	MetricName string                                                                              `json:"metric_name"`
	Namespace  string                                                                              `json:"namespace"`
	Dimensions []CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState `json:"dimensions"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatState

type CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatState struct {
	Stat   string                                                                    `json:"stat"`
	Unit   string                                                                    `json:"unit"`
	Metric []CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatMetricState `json:"metric"`
}

type CustomizedLoadMetricSpecificationMetricDataQueriesState

type CustomizedLoadMetricSpecificationMetricDataQueriesState struct {
	Expression string                                                              `json:"expression"`
	Id         string                                                              `json:"id"`
	Label      string                                                              `json:"label"`
	ReturnData bool                                                                `json:"return_data"`
	MetricStat []CustomizedLoadMetricSpecificationMetricDataQueriesMetricStatState `json:"metric_stat"`
}

type CustomizedLoadMetricSpecificationState

type CustomizedLoadMetricSpecificationState struct {
	MetricDataQueries []CustomizedLoadMetricSpecificationMetricDataQueriesState `json:"metric_data_queries"`
}

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"`
	// MetricDimension: min=0
	MetricDimension []MetricDimension `hcl:"metric_dimension,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) InternalRef

func (CustomizedMetricSpecificationAttributes) InternalTokens

func (CustomizedMetricSpecificationAttributes) InternalWithRef

func (CustomizedMetricSpecificationAttributes) MetricDimension

func (CustomizedMetricSpecificationAttributes) MetricName

func (CustomizedMetricSpecificationAttributes) Metrics

func (CustomizedMetricSpecificationAttributes) Namespace

func (CustomizedMetricSpecificationAttributes) Statistic

func (CustomizedMetricSpecificationAttributes) Unit

type CustomizedMetricSpecificationState

type CustomizedMetricSpecificationState struct {
	MetricName      string                 `json:"metric_name"`
	Namespace       string                 `json:"namespace"`
	Statistic       string                 `json:"statistic"`
	Unit            string                 `json:"unit"`
	MetricDimension []MetricDimensionState `json:"metric_dimension"`
	Metrics         []MetricsState         `json:"metrics"`
}

type CustomizedScalingMetricSpecification

type CustomizedScalingMetricSpecification struct {
	// CustomizedScalingMetricSpecificationMetricDataQueries: min=1,max=10
	MetricDataQueries []CustomizedScalingMetricSpecificationMetricDataQueries `hcl:"metric_data_queries,block" validate:"min=1,max=10"`
}

type CustomizedScalingMetricSpecificationAttributes

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

func (CustomizedScalingMetricSpecificationAttributes) InternalRef

func (CustomizedScalingMetricSpecificationAttributes) InternalTokens

func (CustomizedScalingMetricSpecificationAttributes) InternalWithRef

type CustomizedScalingMetricSpecificationMetricDataQueries

type CustomizedScalingMetricSpecificationMetricDataQueries 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"`
	// CustomizedScalingMetricSpecificationMetricDataQueriesMetricStat: optional
	MetricStat *CustomizedScalingMetricSpecificationMetricDataQueriesMetricStat `hcl:"metric_stat,block"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesAttributes

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

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) Expression

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) Id

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) InternalRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) InternalTokens

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) InternalWithRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) Label

func (CustomizedScalingMetricSpecificationMetricDataQueriesAttributes) ReturnData

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStat

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStat struct {
	// Stat: string, required
	Stat terra.StringValue `hcl:"stat,attr" validate:"required"`
	// Unit: string, optional
	Unit terra.StringValue `hcl:"unit,attr"`
	// CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetric: required
	Metric *CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetric `hcl:"metric,block" validate:"required"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes

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

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalTokens

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes) InternalWithRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes) Stat

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatAttributes) Unit

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetric

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// Namespace: string, required
	Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"`
	// CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensions: min=0
	Dimensions []CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensions `hcl:"dimensions,block" validate:"min=0"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricAttributes

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

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) InternalTokens

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) MetricName

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricAttributes) Namespace

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensions

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes

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

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalRef

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) InternalTokens

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Name

func (CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsAttributes) Value

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricState

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricState struct {
	MetricName string                                                                                 `json:"metric_name"`
	Namespace  string                                                                                 `json:"namespace"`
	Dimensions []CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricDimensionsState `json:"dimensions"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatState

type CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatState struct {
	Stat   string                                                                       `json:"stat"`
	Unit   string                                                                       `json:"unit"`
	Metric []CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatMetricState `json:"metric"`
}

type CustomizedScalingMetricSpecificationMetricDataQueriesState

type CustomizedScalingMetricSpecificationMetricDataQueriesState struct {
	Expression string                                                                 `json:"expression"`
	Id         string                                                                 `json:"id"`
	Label      string                                                                 `json:"label"`
	ReturnData bool                                                                   `json:"return_data"`
	MetricStat []CustomizedScalingMetricSpecificationMetricDataQueriesMetricStatState `json:"metric_stat"`
}

type CustomizedScalingMetricSpecificationState

type CustomizedScalingMetricSpecificationState struct {
	MetricDataQueries []CustomizedScalingMetricSpecificationMetricDataQueriesState `json:"metric_data_queries"`
}

type MetricDimension

type MetricDimension struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type MetricDimensionAttributes

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

func (MetricDimensionAttributes) InternalRef

func (md MetricDimensionAttributes) InternalRef() (terra.Reference, error)

func (MetricDimensionAttributes) InternalTokens

func (md MetricDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetricDimensionAttributes) InternalWithRef

func (MetricDimensionAttributes) Name

func (MetricDimensionAttributes) Value

type MetricDimensionState

type MetricDimensionState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type MetricSpecification

type MetricSpecification struct {
	// TargetValue: number, required
	TargetValue terra.NumberValue `hcl:"target_value,attr" validate:"required"`
	// CustomizedCapacityMetricSpecification: optional
	CustomizedCapacityMetricSpecification *CustomizedCapacityMetricSpecification `hcl:"customized_capacity_metric_specification,block"`
	// CustomizedLoadMetricSpecification: optional
	CustomizedLoadMetricSpecification *CustomizedLoadMetricSpecification `hcl:"customized_load_metric_specification,block"`
	// CustomizedScalingMetricSpecification: optional
	CustomizedScalingMetricSpecification *CustomizedScalingMetricSpecification `hcl:"customized_scaling_metric_specification,block"`
	// PredefinedLoadMetricSpecification: optional
	PredefinedLoadMetricSpecification *PredefinedLoadMetricSpecification `hcl:"predefined_load_metric_specification,block"`
	// PredefinedMetricPairSpecification: optional
	PredefinedMetricPairSpecification *PredefinedMetricPairSpecification `hcl:"predefined_metric_pair_specification,block"`
	// PredefinedScalingMetricSpecification: optional
	PredefinedScalingMetricSpecification *PredefinedScalingMetricSpecification `hcl:"predefined_scaling_metric_specification,block"`
}

type MetricSpecificationAttributes

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

func (MetricSpecificationAttributes) CustomizedCapacityMetricSpecification

func (MetricSpecificationAttributes) CustomizedLoadMetricSpecification

func (MetricSpecificationAttributes) CustomizedScalingMetricSpecification

func (MetricSpecificationAttributes) InternalRef

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

func (MetricSpecificationAttributes) InternalTokens

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

func (MetricSpecificationAttributes) InternalWithRef

func (MetricSpecificationAttributes) PredefinedLoadMetricSpecification

func (MetricSpecificationAttributes) PredefinedMetricPairSpecification

func (MetricSpecificationAttributes) PredefinedScalingMetricSpecification

func (MetricSpecificationAttributes) TargetValue

type MetricSpecificationState

type MetricSpecificationState struct {
	TargetValue                           float64                                      `json:"target_value"`
	CustomizedCapacityMetricSpecification []CustomizedCapacityMetricSpecificationState `json:"customized_capacity_metric_specification"`
	CustomizedLoadMetricSpecification     []CustomizedLoadMetricSpecificationState     `json:"customized_load_metric_specification"`
	CustomizedScalingMetricSpecification  []CustomizedScalingMetricSpecificationState  `json:"customized_scaling_metric_specification"`
	PredefinedLoadMetricSpecification     []PredefinedLoadMetricSpecificationState     `json:"predefined_load_metric_specification"`
	PredefinedMetricPairSpecification     []PredefinedMetricPairSpecificationState     `json:"predefined_metric_pair_specification"`
	PredefinedScalingMetricSpecification  []PredefinedScalingMetricSpecificationState  `json:"predefined_scaling_metric_specification"`
}

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"`
	// MetricsMetricStat: optional
	MetricStat *MetricsMetricStat `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 (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 (MetricsAttributes) MetricStat

func (MetricsAttributes) ReturnData

func (m MetricsAttributes) ReturnData() terra.BoolValue

type MetricsMetricStat

type MetricsMetricStat struct {
	// Stat: string, required
	Stat terra.StringValue `hcl:"stat,attr" validate:"required"`
	// Unit: string, optional
	Unit terra.StringValue `hcl:"unit,attr"`
	// MetricsMetricStatMetric: required
	Metric *MetricsMetricStatMetric `hcl:"metric,block" validate:"required"`
}

type MetricsMetricStatAttributes

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

func (MetricsMetricStatAttributes) InternalRef

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

func (MetricsMetricStatAttributes) InternalTokens

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

func (MetricsMetricStatAttributes) InternalWithRef

func (MetricsMetricStatAttributes) Metric

func (MetricsMetricStatAttributes) Stat

func (MetricsMetricStatAttributes) Unit

type MetricsMetricStatMetric

type MetricsMetricStatMetric struct {
	// MetricName: string, required
	MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"`
	// Namespace: string, required
	Namespace terra.StringValue `hcl:"namespace,attr" validate:"required"`
	// MetricsMetricStatMetricDimensions: min=0
	Dimensions []MetricsMetricStatMetricDimensions `hcl:"dimensions,block" validate:"min=0"`
}

type MetricsMetricStatMetricAttributes

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

func (MetricsMetricStatMetricAttributes) Dimensions

func (MetricsMetricStatMetricAttributes) InternalRef

func (MetricsMetricStatMetricAttributes) InternalTokens

func (MetricsMetricStatMetricAttributes) InternalWithRef

func (MetricsMetricStatMetricAttributes) MetricName

func (MetricsMetricStatMetricAttributes) Namespace

type MetricsMetricStatMetricDimensions

type MetricsMetricStatMetricDimensions struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type MetricsMetricStatMetricDimensionsAttributes

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

func (MetricsMetricStatMetricDimensionsAttributes) InternalRef

func (MetricsMetricStatMetricDimensionsAttributes) InternalTokens

func (MetricsMetricStatMetricDimensionsAttributes) InternalWithRef

func (MetricsMetricStatMetricDimensionsAttributes) Name

func (MetricsMetricStatMetricDimensionsAttributes) Value

type MetricsMetricStatMetricDimensionsState

type MetricsMetricStatMetricDimensionsState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type MetricsMetricStatMetricState

type MetricsMetricStatMetricState struct {
	MetricName string                                   `json:"metric_name"`
	Namespace  string                                   `json:"namespace"`
	Dimensions []MetricsMetricStatMetricDimensionsState `json:"dimensions"`
}

type MetricsMetricStatState

type MetricsMetricStatState struct {
	Stat   string                         `json:"stat"`
	Unit   string                         `json:"unit"`
	Metric []MetricsMetricStatMetricState `json:"metric"`
}

type MetricsState

type MetricsState struct {
	Expression string                   `json:"expression"`
	Id         string                   `json:"id"`
	Label      string                   `json:"label"`
	ReturnData bool                     `json:"return_data"`
	MetricStat []MetricsMetricStatState `json:"metric_stat"`
}

type PredefinedLoadMetricSpecification

type PredefinedLoadMetricSpecification 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 PredefinedLoadMetricSpecificationAttributes

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

func (PredefinedLoadMetricSpecificationAttributes) InternalRef

func (PredefinedLoadMetricSpecificationAttributes) InternalTokens

func (PredefinedLoadMetricSpecificationAttributes) InternalWithRef

func (PredefinedLoadMetricSpecificationAttributes) PredefinedMetricType

func (PredefinedLoadMetricSpecificationAttributes) ResourceLabel

type PredefinedLoadMetricSpecificationState

type PredefinedLoadMetricSpecificationState struct {
	PredefinedMetricType string `json:"predefined_metric_type"`
	ResourceLabel        string `json:"resource_label"`
}

type PredefinedMetricPairSpecification

type PredefinedMetricPairSpecification 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 PredefinedMetricPairSpecificationAttributes

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

func (PredefinedMetricPairSpecificationAttributes) InternalRef

func (PredefinedMetricPairSpecificationAttributes) InternalTokens

func (PredefinedMetricPairSpecificationAttributes) InternalWithRef

func (PredefinedMetricPairSpecificationAttributes) PredefinedMetricType

func (PredefinedMetricPairSpecificationAttributes) ResourceLabel

type PredefinedMetricPairSpecificationState

type PredefinedMetricPairSpecificationState struct {
	PredefinedMetricType string `json:"predefined_metric_type"`
	ResourceLabel        string `json:"resource_label"`
}

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 (PredefinedMetricSpecificationAttributes) InternalTokens

func (PredefinedMetricSpecificationAttributes) InternalWithRef

func (PredefinedMetricSpecificationAttributes) PredefinedMetricType

func (pms PredefinedMetricSpecificationAttributes) PredefinedMetricType() terra.StringValue

func (PredefinedMetricSpecificationAttributes) ResourceLabel

type PredefinedMetricSpecificationState

type PredefinedMetricSpecificationState struct {
	PredefinedMetricType string `json:"predefined_metric_type"`
	ResourceLabel        string `json:"resource_label"`
}

type PredefinedScalingMetricSpecification

type PredefinedScalingMetricSpecification 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 PredefinedScalingMetricSpecificationAttributes

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

func (PredefinedScalingMetricSpecificationAttributes) InternalRef

func (PredefinedScalingMetricSpecificationAttributes) InternalTokens

func (PredefinedScalingMetricSpecificationAttributes) InternalWithRef

func (PredefinedScalingMetricSpecificationAttributes) PredefinedMetricType

func (PredefinedScalingMetricSpecificationAttributes) ResourceLabel

type PredefinedScalingMetricSpecificationState

type PredefinedScalingMetricSpecificationState struct {
	PredefinedMetricType string `json:"predefined_metric_type"`
	ResourceLabel        string `json:"resource_label"`
}

type PredictiveScalingConfiguration

type PredictiveScalingConfiguration struct {
	// MaxCapacityBreachBehavior: string, optional
	MaxCapacityBreachBehavior terra.StringValue `hcl:"max_capacity_breach_behavior,attr"`
	// MaxCapacityBuffer: string, optional
	MaxCapacityBuffer terra.StringValue `hcl:"max_capacity_buffer,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// SchedulingBufferTime: string, optional
	SchedulingBufferTime terra.StringValue `hcl:"scheduling_buffer_time,attr"`
	// MetricSpecification: required
	MetricSpecification *MetricSpecification `hcl:"metric_specification,block" validate:"required"`
}

type PredictiveScalingConfigurationAttributes

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

func (PredictiveScalingConfigurationAttributes) InternalRef

func (PredictiveScalingConfigurationAttributes) InternalTokens

func (PredictiveScalingConfigurationAttributes) InternalWithRef

func (PredictiveScalingConfigurationAttributes) MaxCapacityBreachBehavior

func (psc PredictiveScalingConfigurationAttributes) MaxCapacityBreachBehavior() terra.StringValue

func (PredictiveScalingConfigurationAttributes) MaxCapacityBuffer

func (PredictiveScalingConfigurationAttributes) MetricSpecification

func (PredictiveScalingConfigurationAttributes) Mode

func (PredictiveScalingConfigurationAttributes) SchedulingBufferTime

func (psc PredictiveScalingConfigurationAttributes) SchedulingBufferTime() terra.StringValue

type PredictiveScalingConfigurationState

type PredictiveScalingConfigurationState struct {
	MaxCapacityBreachBehavior string                     `json:"max_capacity_breach_behavior"`
	MaxCapacityBuffer         string                     `json:"max_capacity_buffer"`
	Mode                      string                     `json:"mode"`
	SchedulingBufferTime      string                     `json:"scheduling_buffer_time"`
	MetricSpecification       []MetricSpecificationState `json:"metric_specification"`
}

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 (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 StepAdjustmentState struct {
	MetricIntervalLowerBound string  `json:"metric_interval_lower_bound"`
	MetricIntervalUpperBound string  `json:"metric_interval_upper_bound"`
	ScalingAdjustment        float64 `json:"scaling_adjustment"`
}

type TargetTrackingConfiguration

type TargetTrackingConfiguration struct {
	// DisableScaleIn: bool, optional
	DisableScaleIn terra.BoolValue `hcl:"disable_scale_in,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 TargetTrackingConfigurationAttributes

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

func (TargetTrackingConfigurationAttributes) CustomizedMetricSpecification

func (TargetTrackingConfigurationAttributes) DisableScaleIn

func (TargetTrackingConfigurationAttributes) InternalRef

func (TargetTrackingConfigurationAttributes) InternalTokens

func (TargetTrackingConfigurationAttributes) InternalWithRef

func (TargetTrackingConfigurationAttributes) PredefinedMetricSpecification

func (TargetTrackingConfigurationAttributes) TargetValue

type TargetTrackingConfigurationState

type TargetTrackingConfigurationState struct {
	DisableScaleIn                bool                                 `json:"disable_scale_in"`
	TargetValue                   float64                              `json:"target_value"`
	CustomizedMetricSpecification []CustomizedMetricSpecificationState `json:"customized_metric_specification"`
	PredefinedMetricSpecification []PredefinedMetricSpecificationState `json:"predefined_metric_specification"`
}

Jump to

Keyboard shortcuts

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