Documentation ¶
Index ¶
- type AutoScalingPolicy
- type AutoScalingPolicyAttributes
- func (asp AutoScalingPolicyAttributes) EstimatedInstanceWarmup() terra.NumberValue
- func (asp AutoScalingPolicyAttributes) InternalRef() (terra.Reference, error)
- func (asp AutoScalingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (asp AutoScalingPolicyAttributes) InternalWithRef(ref terra.Reference) AutoScalingPolicyAttributes
- func (asp AutoScalingPolicyAttributes) TargetTrackingConfiguration() terra.ListValue[TargetTrackingConfigurationAttributes]
- type AutoScalingPolicyState
- type InstanceDefinition
- type InstanceDefinitionAttributes
- func (id InstanceDefinitionAttributes) InstanceType() terra.StringValue
- func (id InstanceDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (id InstanceDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (id InstanceDefinitionAttributes) InternalWithRef(ref terra.Reference) InstanceDefinitionAttributes
- func (id InstanceDefinitionAttributes) WeightedCapacity() terra.StringValue
- type InstanceDefinitionState
- type LaunchTemplate
- type LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Id() terra.StringValue
- func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Name() terra.StringValue
- func (lt LaunchTemplateAttributes) Version() terra.StringValue
- type LaunchTemplateState
- type TargetTrackingConfiguration
- type TargetTrackingConfigurationAttributes
- 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) TargetValue() terra.NumberValue
- type TargetTrackingConfigurationState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalingPolicy ¶
type AutoScalingPolicy struct { // EstimatedInstanceWarmup: number, optional EstimatedInstanceWarmup terra.NumberValue `hcl:"estimated_instance_warmup,attr"` // TargetTrackingConfiguration: required TargetTrackingConfiguration *TargetTrackingConfiguration `hcl:"target_tracking_configuration,block" validate:"required"` }
type AutoScalingPolicyAttributes ¶
type AutoScalingPolicyAttributes struct {
// contains filtered or unexported fields
}
func (AutoScalingPolicyAttributes) EstimatedInstanceWarmup ¶
func (asp AutoScalingPolicyAttributes) EstimatedInstanceWarmup() terra.NumberValue
func (AutoScalingPolicyAttributes) InternalRef ¶
func (asp AutoScalingPolicyAttributes) InternalRef() (terra.Reference, error)
func (AutoScalingPolicyAttributes) InternalTokens ¶
func (asp AutoScalingPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoScalingPolicyAttributes) InternalWithRef ¶
func (asp AutoScalingPolicyAttributes) InternalWithRef(ref terra.Reference) AutoScalingPolicyAttributes
func (AutoScalingPolicyAttributes) TargetTrackingConfiguration ¶
func (asp AutoScalingPolicyAttributes) TargetTrackingConfiguration() terra.ListValue[TargetTrackingConfigurationAttributes]
type AutoScalingPolicyState ¶
type AutoScalingPolicyState struct { EstimatedInstanceWarmup float64 `json:"estimated_instance_warmup"` TargetTrackingConfiguration []TargetTrackingConfigurationState `json:"target_tracking_configuration"` }
type InstanceDefinition ¶
type InstanceDefinition struct { // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // WeightedCapacity: string, optional WeightedCapacity terra.StringValue `hcl:"weighted_capacity,attr"` }
type InstanceDefinitionAttributes ¶
type InstanceDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (InstanceDefinitionAttributes) InstanceType ¶
func (id InstanceDefinitionAttributes) InstanceType() terra.StringValue
func (InstanceDefinitionAttributes) InternalRef ¶
func (id InstanceDefinitionAttributes) InternalRef() (terra.Reference, error)
func (InstanceDefinitionAttributes) InternalTokens ¶
func (id InstanceDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceDefinitionAttributes) InternalWithRef ¶
func (id InstanceDefinitionAttributes) InternalWithRef(ref terra.Reference) InstanceDefinitionAttributes
func (InstanceDefinitionAttributes) WeightedCapacity ¶
func (id InstanceDefinitionAttributes) WeightedCapacity() terra.StringValue
type InstanceDefinitionState ¶
type LaunchTemplate ¶
type LaunchTemplate struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
type LaunchTemplateAttributes ¶
type LaunchTemplateAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateAttributes) Id ¶
func (lt LaunchTemplateAttributes) Id() terra.StringValue
func (LaunchTemplateAttributes) InternalRef ¶
func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateAttributes) InternalTokens ¶
func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateAttributes) InternalWithRef ¶
func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
func (LaunchTemplateAttributes) Name ¶
func (lt LaunchTemplateAttributes) Name() terra.StringValue
func (LaunchTemplateAttributes) Version ¶
func (lt LaunchTemplateAttributes) Version() terra.StringValue
type LaunchTemplateState ¶
type TargetTrackingConfiguration ¶
type TargetTrackingConfiguration struct { // TargetValue: number, required TargetValue terra.NumberValue `hcl:"target_value,attr" validate:"required"` }
type TargetTrackingConfigurationAttributes ¶
type TargetTrackingConfigurationAttributes struct {
// contains filtered or unexported fields
}
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) TargetValue ¶
func (ttc TargetTrackingConfigurationAttributes) TargetValue() terra.NumberValue
type TargetTrackingConfigurationState ¶
type TargetTrackingConfigurationState struct {
TargetValue float64 `json:"target_value"`
}
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.