autoscalinggroup

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 AcceleratorCount

type AcceleratorCount struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type AcceleratorCountAttributes

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

func (AcceleratorCountAttributes) InternalRef

func (ac AcceleratorCountAttributes) InternalRef() (terra.Reference, error)

func (AcceleratorCountAttributes) InternalTokens

func (ac AcceleratorCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AcceleratorCountAttributes) InternalWithRef

func (AcceleratorCountAttributes) Max

func (AcceleratorCountAttributes) Min

type AcceleratorCountState

type AcceleratorCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type AcceleratorTotalMemoryMib

type AcceleratorTotalMemoryMib struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type AcceleratorTotalMemoryMibAttributes

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

func (AcceleratorTotalMemoryMibAttributes) InternalRef

func (AcceleratorTotalMemoryMibAttributes) InternalTokens

func (atmm AcceleratorTotalMemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AcceleratorTotalMemoryMibAttributes) InternalWithRef

func (AcceleratorTotalMemoryMibAttributes) Max

func (AcceleratorTotalMemoryMibAttributes) Min

type AcceleratorTotalMemoryMibState

type AcceleratorTotalMemoryMibState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type BaselineEbsBandwidthMbps

type BaselineEbsBandwidthMbps struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type BaselineEbsBandwidthMbpsAttributes

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

func (BaselineEbsBandwidthMbpsAttributes) InternalRef

func (BaselineEbsBandwidthMbpsAttributes) InternalTokens

func (bebm BaselineEbsBandwidthMbpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BaselineEbsBandwidthMbpsAttributes) InternalWithRef

func (BaselineEbsBandwidthMbpsAttributes) Max

func (BaselineEbsBandwidthMbpsAttributes) Min

type BaselineEbsBandwidthMbpsState

type BaselineEbsBandwidthMbpsState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type InitialLifecycleHook

type InitialLifecycleHook struct {
	// DefaultResult: string, optional
	DefaultResult terra.StringValue `hcl:"default_result,attr"`
	// HeartbeatTimeout: number, optional
	HeartbeatTimeout terra.NumberValue `hcl:"heartbeat_timeout,attr"`
	// LifecycleTransition: string, required
	LifecycleTransition terra.StringValue `hcl:"lifecycle_transition,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// NotificationMetadata: string, optional
	NotificationMetadata terra.StringValue `hcl:"notification_metadata,attr"`
	// NotificationTargetArn: string, optional
	NotificationTargetArn terra.StringValue `hcl:"notification_target_arn,attr"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
}

type InitialLifecycleHookAttributes

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

func (InitialLifecycleHookAttributes) DefaultResult

func (ilh InitialLifecycleHookAttributes) DefaultResult() terra.StringValue

func (InitialLifecycleHookAttributes) HeartbeatTimeout

func (ilh InitialLifecycleHookAttributes) HeartbeatTimeout() terra.NumberValue

func (InitialLifecycleHookAttributes) InternalRef

func (ilh InitialLifecycleHookAttributes) InternalRef() (terra.Reference, error)

func (InitialLifecycleHookAttributes) InternalTokens

func (ilh InitialLifecycleHookAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InitialLifecycleHookAttributes) InternalWithRef

func (InitialLifecycleHookAttributes) LifecycleTransition

func (ilh InitialLifecycleHookAttributes) LifecycleTransition() terra.StringValue

func (InitialLifecycleHookAttributes) Name

func (InitialLifecycleHookAttributes) NotificationMetadata

func (ilh InitialLifecycleHookAttributes) NotificationMetadata() terra.StringValue

func (InitialLifecycleHookAttributes) NotificationTargetArn

func (ilh InitialLifecycleHookAttributes) NotificationTargetArn() terra.StringValue

func (InitialLifecycleHookAttributes) RoleArn

type InitialLifecycleHookState

type InitialLifecycleHookState struct {
	DefaultResult         string  `json:"default_result"`
	HeartbeatTimeout      float64 `json:"heartbeat_timeout"`
	LifecycleTransition   string  `json:"lifecycle_transition"`
	Name                  string  `json:"name"`
	NotificationMetadata  string  `json:"notification_metadata"`
	NotificationTargetArn string  `json:"notification_target_arn"`
	RoleArn               string  `json:"role_arn"`
}

type InstanceRefresh

type InstanceRefresh struct {
	// Strategy: string, required
	Strategy terra.StringValue `hcl:"strategy,attr" validate:"required"`
	// Triggers: set of string, optional
	Triggers terra.SetValue[terra.StringValue] `hcl:"triggers,attr"`
	// Preferences: optional
	Preferences *Preferences `hcl:"preferences,block"`
}

type InstanceRefreshAttributes

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

func (InstanceRefreshAttributes) InternalRef

func (ir InstanceRefreshAttributes) InternalRef() (terra.Reference, error)

func (InstanceRefreshAttributes) InternalTokens

func (ir InstanceRefreshAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceRefreshAttributes) InternalWithRef

func (InstanceRefreshAttributes) Preferences

func (InstanceRefreshAttributes) Strategy

func (InstanceRefreshAttributes) Triggers

type InstanceRefreshState

type InstanceRefreshState struct {
	Strategy    string             `json:"strategy"`
	Triggers    []string           `json:"triggers"`
	Preferences []PreferencesState `json:"preferences"`
}

type InstanceRequirements

type InstanceRequirements struct {
	// AcceleratorManufacturers: set of string, optional
	AcceleratorManufacturers terra.SetValue[terra.StringValue] `hcl:"accelerator_manufacturers,attr"`
	// AcceleratorNames: set of string, optional
	AcceleratorNames terra.SetValue[terra.StringValue] `hcl:"accelerator_names,attr"`
	// AcceleratorTypes: set of string, optional
	AcceleratorTypes terra.SetValue[terra.StringValue] `hcl:"accelerator_types,attr"`
	// AllowedInstanceTypes: set of string, optional
	AllowedInstanceTypes terra.SetValue[terra.StringValue] `hcl:"allowed_instance_types,attr"`
	// BareMetal: string, optional
	BareMetal terra.StringValue `hcl:"bare_metal,attr"`
	// BurstablePerformance: string, optional
	BurstablePerformance terra.StringValue `hcl:"burstable_performance,attr"`
	// CpuManufacturers: set of string, optional
	CpuManufacturers terra.SetValue[terra.StringValue] `hcl:"cpu_manufacturers,attr"`
	// ExcludedInstanceTypes: set of string, optional
	ExcludedInstanceTypes terra.SetValue[terra.StringValue] `hcl:"excluded_instance_types,attr"`
	// InstanceGenerations: set of string, optional
	InstanceGenerations terra.SetValue[terra.StringValue] `hcl:"instance_generations,attr"`
	// LocalStorage: string, optional
	LocalStorage terra.StringValue `hcl:"local_storage,attr"`
	// LocalStorageTypes: set of string, optional
	LocalStorageTypes terra.SetValue[terra.StringValue] `hcl:"local_storage_types,attr"`
	// OnDemandMaxPricePercentageOverLowestPrice: number, optional
	OnDemandMaxPricePercentageOverLowestPrice terra.NumberValue `hcl:"on_demand_max_price_percentage_over_lowest_price,attr"`
	// RequireHibernateSupport: bool, optional
	RequireHibernateSupport terra.BoolValue `hcl:"require_hibernate_support,attr"`
	// SpotMaxPricePercentageOverLowestPrice: number, optional
	SpotMaxPricePercentageOverLowestPrice terra.NumberValue `hcl:"spot_max_price_percentage_over_lowest_price,attr"`
	// AcceleratorCount: optional
	AcceleratorCount *AcceleratorCount `hcl:"accelerator_count,block"`
	// AcceleratorTotalMemoryMib: optional
	AcceleratorTotalMemoryMib *AcceleratorTotalMemoryMib `hcl:"accelerator_total_memory_mib,block"`
	// BaselineEbsBandwidthMbps: optional
	BaselineEbsBandwidthMbps *BaselineEbsBandwidthMbps `hcl:"baseline_ebs_bandwidth_mbps,block"`
	// MemoryGibPerVcpu: optional
	MemoryGibPerVcpu *MemoryGibPerVcpu `hcl:"memory_gib_per_vcpu,block"`
	// MemoryMib: optional
	MemoryMib *MemoryMib `hcl:"memory_mib,block"`
	// NetworkBandwidthGbps: optional
	NetworkBandwidthGbps *NetworkBandwidthGbps `hcl:"network_bandwidth_gbps,block"`
	// NetworkInterfaceCount: optional
	NetworkInterfaceCount *NetworkInterfaceCount `hcl:"network_interface_count,block"`
	// TotalLocalStorageGb: optional
	TotalLocalStorageGb *TotalLocalStorageGb `hcl:"total_local_storage_gb,block"`
	// VcpuCount: optional
	VcpuCount *VcpuCount `hcl:"vcpu_count,block"`
}

type InstanceRequirementsAttributes

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

func (InstanceRequirementsAttributes) AcceleratorCount

func (InstanceRequirementsAttributes) AcceleratorManufacturers

func (ir InstanceRequirementsAttributes) AcceleratorManufacturers() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) AcceleratorNames

func (InstanceRequirementsAttributes) AcceleratorTotalMemoryMib

func (InstanceRequirementsAttributes) AcceleratorTypes

func (InstanceRequirementsAttributes) AllowedInstanceTypes

func (ir InstanceRequirementsAttributes) AllowedInstanceTypes() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) BareMetal

func (InstanceRequirementsAttributes) BaselineEbsBandwidthMbps

func (InstanceRequirementsAttributes) BurstablePerformance

func (ir InstanceRequirementsAttributes) BurstablePerformance() terra.StringValue

func (InstanceRequirementsAttributes) CpuManufacturers

func (InstanceRequirementsAttributes) ExcludedInstanceTypes

func (ir InstanceRequirementsAttributes) ExcludedInstanceTypes() terra.SetValue[terra.StringValue]

func (InstanceRequirementsAttributes) InstanceGenerations

func (InstanceRequirementsAttributes) InternalRef

func (InstanceRequirementsAttributes) InternalTokens

func (ir InstanceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceRequirementsAttributes) InternalWithRef

func (InstanceRequirementsAttributes) LocalStorage

func (InstanceRequirementsAttributes) LocalStorageTypes

func (InstanceRequirementsAttributes) MemoryGibPerVcpu

func (InstanceRequirementsAttributes) MemoryMib

func (InstanceRequirementsAttributes) NetworkBandwidthGbps

func (InstanceRequirementsAttributes) NetworkInterfaceCount

func (InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) RequireHibernateSupport

func (ir InstanceRequirementsAttributes) RequireHibernateSupport() terra.BoolValue

func (InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) TotalLocalStorageGb

func (InstanceRequirementsAttributes) VcpuCount

type InstanceRequirementsState

type InstanceRequirementsState struct {
	AcceleratorManufacturers                  []string                         `json:"accelerator_manufacturers"`
	AcceleratorNames                          []string                         `json:"accelerator_names"`
	AcceleratorTypes                          []string                         `json:"accelerator_types"`
	AllowedInstanceTypes                      []string                         `json:"allowed_instance_types"`
	BareMetal                                 string                           `json:"bare_metal"`
	BurstablePerformance                      string                           `json:"burstable_performance"`
	CpuManufacturers                          []string                         `json:"cpu_manufacturers"`
	ExcludedInstanceTypes                     []string                         `json:"excluded_instance_types"`
	InstanceGenerations                       []string                         `json:"instance_generations"`
	LocalStorage                              string                           `json:"local_storage"`
	LocalStorageTypes                         []string                         `json:"local_storage_types"`
	OnDemandMaxPricePercentageOverLowestPrice float64                          `json:"on_demand_max_price_percentage_over_lowest_price"`
	RequireHibernateSupport                   bool                             `json:"require_hibernate_support"`
	SpotMaxPricePercentageOverLowestPrice     float64                          `json:"spot_max_price_percentage_over_lowest_price"`
	AcceleratorCount                          []AcceleratorCountState          `json:"accelerator_count"`
	AcceleratorTotalMemoryMib                 []AcceleratorTotalMemoryMibState `json:"accelerator_total_memory_mib"`
	BaselineEbsBandwidthMbps                  []BaselineEbsBandwidthMbpsState  `json:"baseline_ebs_bandwidth_mbps"`
	MemoryGibPerVcpu                          []MemoryGibPerVcpuState          `json:"memory_gib_per_vcpu"`
	MemoryMib                                 []MemoryMibState                 `json:"memory_mib"`
	NetworkBandwidthGbps                      []NetworkBandwidthGbpsState      `json:"network_bandwidth_gbps"`
	NetworkInterfaceCount                     []NetworkInterfaceCountState     `json:"network_interface_count"`
	TotalLocalStorageGb                       []TotalLocalStorageGbState       `json:"total_local_storage_gb"`
	VcpuCount                                 []VcpuCountState                 `json:"vcpu_count"`
}

type InstanceReusePolicy

type InstanceReusePolicy struct {
	// ReuseOnScaleIn: bool, optional
	ReuseOnScaleIn terra.BoolValue `hcl:"reuse_on_scale_in,attr"`
}

type InstanceReusePolicyAttributes

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

func (InstanceReusePolicyAttributes) InternalRef

func (irp InstanceReusePolicyAttributes) InternalRef() (terra.Reference, error)

func (InstanceReusePolicyAttributes) InternalTokens

func (irp InstanceReusePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceReusePolicyAttributes) InternalWithRef

func (InstanceReusePolicyAttributes) ReuseOnScaleIn

func (irp InstanceReusePolicyAttributes) ReuseOnScaleIn() terra.BoolValue

type InstanceReusePolicyState

type InstanceReusePolicyState struct {
	ReuseOnScaleIn bool `json:"reuse_on_scale_in"`
}

type InstancesDistribution

type InstancesDistribution struct {
	// OnDemandAllocationStrategy: string, optional
	OnDemandAllocationStrategy terra.StringValue `hcl:"on_demand_allocation_strategy,attr"`
	// OnDemandBaseCapacity: number, optional
	OnDemandBaseCapacity terra.NumberValue `hcl:"on_demand_base_capacity,attr"`
	// OnDemandPercentageAboveBaseCapacity: number, optional
	OnDemandPercentageAboveBaseCapacity terra.NumberValue `hcl:"on_demand_percentage_above_base_capacity,attr"`
	// SpotAllocationStrategy: string, optional
	SpotAllocationStrategy terra.StringValue `hcl:"spot_allocation_strategy,attr"`
	// SpotInstancePools: number, optional
	SpotInstancePools terra.NumberValue `hcl:"spot_instance_pools,attr"`
	// SpotMaxPrice: string, optional
	SpotMaxPrice terra.StringValue `hcl:"spot_max_price,attr"`
}

type InstancesDistributionAttributes

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

func (InstancesDistributionAttributes) InternalRef

func (InstancesDistributionAttributes) InternalTokens

func (id InstancesDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstancesDistributionAttributes) InternalWithRef

func (InstancesDistributionAttributes) OnDemandAllocationStrategy

func (id InstancesDistributionAttributes) OnDemandAllocationStrategy() terra.StringValue

func (InstancesDistributionAttributes) OnDemandBaseCapacity

func (id InstancesDistributionAttributes) OnDemandBaseCapacity() terra.NumberValue

func (InstancesDistributionAttributes) OnDemandPercentageAboveBaseCapacity

func (id InstancesDistributionAttributes) OnDemandPercentageAboveBaseCapacity() terra.NumberValue

func (InstancesDistributionAttributes) SpotAllocationStrategy

func (id InstancesDistributionAttributes) SpotAllocationStrategy() terra.StringValue

func (InstancesDistributionAttributes) SpotInstancePools

func (id InstancesDistributionAttributes) SpotInstancePools() terra.NumberValue

func (InstancesDistributionAttributes) SpotMaxPrice

type InstancesDistributionState

type InstancesDistributionState struct {
	OnDemandAllocationStrategy          string  `json:"on_demand_allocation_strategy"`
	OnDemandBaseCapacity                float64 `json:"on_demand_base_capacity"`
	OnDemandPercentageAboveBaseCapacity float64 `json:"on_demand_percentage_above_base_capacity"`
	SpotAllocationStrategy              string  `json:"spot_allocation_strategy"`
	SpotInstancePools                   float64 `json:"spot_instance_pools"`
	SpotMaxPrice                        string  `json:"spot_max_price"`
}

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 (LaunchTemplateAttributes) InternalRef

func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)

func (LaunchTemplateAttributes) InternalTokens

func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LaunchTemplateAttributes) InternalWithRef

func (LaunchTemplateAttributes) Name

func (LaunchTemplateAttributes) Version

type LaunchTemplateLaunchTemplateSpecification

type LaunchTemplateLaunchTemplateSpecification struct {
	// LaunchTemplateId: string, optional
	LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr"`
	// LaunchTemplateName: string, optional
	LaunchTemplateName terra.StringValue `hcl:"launch_template_name,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type LaunchTemplateLaunchTemplateSpecificationAttributes

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

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalRef

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalTokens

func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalWithRef

func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateId

func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateName

func (LaunchTemplateLaunchTemplateSpecificationAttributes) Version

type LaunchTemplateLaunchTemplateSpecificationState

type LaunchTemplateLaunchTemplateSpecificationState struct {
	LaunchTemplateId   string `json:"launch_template_id"`
	LaunchTemplateName string `json:"launch_template_name"`
	Version            string `json:"version"`
}

type LaunchTemplateState

type LaunchTemplateState struct {
	Id      string `json:"id"`
	Name    string `json:"name"`
	Version string `json:"version"`
}

type MemoryGibPerVcpu

type MemoryGibPerVcpu struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type MemoryGibPerVcpuAttributes

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

func (MemoryGibPerVcpuAttributes) InternalRef

func (mgpv MemoryGibPerVcpuAttributes) InternalRef() (terra.Reference, error)

func (MemoryGibPerVcpuAttributes) InternalTokens

func (mgpv MemoryGibPerVcpuAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MemoryGibPerVcpuAttributes) InternalWithRef

func (MemoryGibPerVcpuAttributes) Max

func (MemoryGibPerVcpuAttributes) Min

type MemoryGibPerVcpuState

type MemoryGibPerVcpuState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type MemoryMib

type MemoryMib struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type MemoryMibAttributes

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

func (MemoryMibAttributes) InternalRef

func (mm MemoryMibAttributes) InternalRef() (terra.Reference, error)

func (MemoryMibAttributes) InternalTokens

func (mm MemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MemoryMibAttributes) InternalWithRef

func (mm MemoryMibAttributes) InternalWithRef(ref terra.Reference) MemoryMibAttributes

func (MemoryMibAttributes) Max

func (MemoryMibAttributes) Min

type MemoryMibState

type MemoryMibState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type MixedInstancesPolicy

type MixedInstancesPolicy struct {
	// InstancesDistribution: optional
	InstancesDistribution *InstancesDistribution `hcl:"instances_distribution,block"`
	// MixedInstancesPolicyLaunchTemplate: required
	LaunchTemplate *MixedInstancesPolicyLaunchTemplate `hcl:"launch_template,block" validate:"required"`
}

type MixedInstancesPolicyAttributes

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

func (MixedInstancesPolicyAttributes) InstancesDistribution

func (MixedInstancesPolicyAttributes) InternalRef

func (mip MixedInstancesPolicyAttributes) InternalRef() (terra.Reference, error)

func (MixedInstancesPolicyAttributes) InternalTokens

func (mip MixedInstancesPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MixedInstancesPolicyAttributes) InternalWithRef

func (MixedInstancesPolicyAttributes) LaunchTemplate

type MixedInstancesPolicyLaunchTemplate

type MixedInstancesPolicyLaunchTemplate struct {
	// LaunchTemplateLaunchTemplateSpecification: required
	LaunchTemplateSpecification *LaunchTemplateLaunchTemplateSpecification `hcl:"launch_template_specification,block" validate:"required"`
	// Override: min=0
	Override []Override `hcl:"override,block" validate:"min=0"`
}

type MixedInstancesPolicyLaunchTemplateAttributes

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

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalRef

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalTokens

func (MixedInstancesPolicyLaunchTemplateAttributes) InternalWithRef

func (MixedInstancesPolicyLaunchTemplateAttributes) LaunchTemplateSpecification

func (MixedInstancesPolicyLaunchTemplateAttributes) Override

type MixedInstancesPolicyLaunchTemplateState

type MixedInstancesPolicyLaunchTemplateState struct {
	LaunchTemplateSpecification []LaunchTemplateLaunchTemplateSpecificationState `json:"launch_template_specification"`
	Override                    []OverrideState                                  `json:"override"`
}

type MixedInstancesPolicyState

type MixedInstancesPolicyState struct {
	InstancesDistribution []InstancesDistributionState              `json:"instances_distribution"`
	LaunchTemplate        []MixedInstancesPolicyLaunchTemplateState `json:"launch_template"`
}

type NetworkBandwidthGbps

type NetworkBandwidthGbps struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type NetworkBandwidthGbpsAttributes

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

func (NetworkBandwidthGbpsAttributes) InternalRef

func (nbg NetworkBandwidthGbpsAttributes) InternalRef() (terra.Reference, error)

func (NetworkBandwidthGbpsAttributes) InternalTokens

func (nbg NetworkBandwidthGbpsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkBandwidthGbpsAttributes) InternalWithRef

func (NetworkBandwidthGbpsAttributes) Max

func (NetworkBandwidthGbpsAttributes) Min

type NetworkBandwidthGbpsState

type NetworkBandwidthGbpsState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type NetworkInterfaceCount

type NetworkInterfaceCount struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type NetworkInterfaceCountAttributes

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

func (NetworkInterfaceCountAttributes) InternalRef

func (NetworkInterfaceCountAttributes) InternalTokens

func (nic NetworkInterfaceCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkInterfaceCountAttributes) InternalWithRef

func (NetworkInterfaceCountAttributes) Max

func (NetworkInterfaceCountAttributes) Min

type NetworkInterfaceCountState

type NetworkInterfaceCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type Override

type Override struct {
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// WeightedCapacity: string, optional
	WeightedCapacity terra.StringValue `hcl:"weighted_capacity,attr"`
	// InstanceRequirements: optional
	InstanceRequirements *InstanceRequirements `hcl:"instance_requirements,block"`
	// OverrideLaunchTemplateSpecification: optional
	LaunchTemplateSpecification *OverrideLaunchTemplateSpecification `hcl:"launch_template_specification,block"`
}

type OverrideAttributes

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

func (OverrideAttributes) InstanceRequirements

func (OverrideAttributes) InstanceType

func (o OverrideAttributes) InstanceType() terra.StringValue

func (OverrideAttributes) InternalRef

func (o OverrideAttributes) InternalRef() (terra.Reference, error)

func (OverrideAttributes) InternalTokens

func (o OverrideAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OverrideAttributes) InternalWithRef

func (o OverrideAttributes) InternalWithRef(ref terra.Reference) OverrideAttributes

func (OverrideAttributes) LaunchTemplateSpecification

func (OverrideAttributes) WeightedCapacity

func (o OverrideAttributes) WeightedCapacity() terra.StringValue

type OverrideLaunchTemplateSpecification

type OverrideLaunchTemplateSpecification struct {
	// LaunchTemplateId: string, optional
	LaunchTemplateId terra.StringValue `hcl:"launch_template_id,attr"`
	// LaunchTemplateName: string, optional
	LaunchTemplateName terra.StringValue `hcl:"launch_template_name,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type OverrideLaunchTemplateSpecificationAttributes

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

func (OverrideLaunchTemplateSpecificationAttributes) InternalRef

func (OverrideLaunchTemplateSpecificationAttributes) InternalTokens

func (OverrideLaunchTemplateSpecificationAttributes) InternalWithRef

func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateId

func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateName

func (OverrideLaunchTemplateSpecificationAttributes) Version

type OverrideLaunchTemplateSpecificationState

type OverrideLaunchTemplateSpecificationState struct {
	LaunchTemplateId   string `json:"launch_template_id"`
	LaunchTemplateName string `json:"launch_template_name"`
	Version            string `json:"version"`
}

type OverrideState

type OverrideState struct {
	InstanceType                string                                     `json:"instance_type"`
	WeightedCapacity            string                                     `json:"weighted_capacity"`
	InstanceRequirements        []InstanceRequirementsState                `json:"instance_requirements"`
	LaunchTemplateSpecification []OverrideLaunchTemplateSpecificationState `json:"launch_template_specification"`
}

type Preferences

type Preferences struct {
	// AutoRollback: bool, optional
	AutoRollback terra.BoolValue `hcl:"auto_rollback,attr"`
	// CheckpointDelay: string, optional
	CheckpointDelay terra.StringValue `hcl:"checkpoint_delay,attr"`
	// CheckpointPercentages: list of number, optional
	CheckpointPercentages terra.ListValue[terra.NumberValue] `hcl:"checkpoint_percentages,attr"`
	// InstanceWarmup: string, optional
	InstanceWarmup terra.StringValue `hcl:"instance_warmup,attr"`
	// MinHealthyPercentage: number, optional
	MinHealthyPercentage terra.NumberValue `hcl:"min_healthy_percentage,attr"`
	// SkipMatching: bool, optional
	SkipMatching terra.BoolValue `hcl:"skip_matching,attr"`
}

type PreferencesAttributes

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

func (PreferencesAttributes) AutoRollback

func (p PreferencesAttributes) AutoRollback() terra.BoolValue

func (PreferencesAttributes) CheckpointDelay

func (p PreferencesAttributes) CheckpointDelay() terra.StringValue

func (PreferencesAttributes) CheckpointPercentages

func (p PreferencesAttributes) CheckpointPercentages() terra.ListValue[terra.NumberValue]

func (PreferencesAttributes) InstanceWarmup

func (p PreferencesAttributes) InstanceWarmup() terra.StringValue

func (PreferencesAttributes) InternalRef

func (p PreferencesAttributes) InternalRef() (terra.Reference, error)

func (PreferencesAttributes) InternalTokens

func (p PreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PreferencesAttributes) InternalWithRef

func (PreferencesAttributes) MinHealthyPercentage

func (p PreferencesAttributes) MinHealthyPercentage() terra.NumberValue

func (PreferencesAttributes) SkipMatching

func (p PreferencesAttributes) SkipMatching() terra.BoolValue

type PreferencesState

type PreferencesState struct {
	AutoRollback          bool      `json:"auto_rollback"`
	CheckpointDelay       string    `json:"checkpoint_delay"`
	CheckpointPercentages []float64 `json:"checkpoint_percentages"`
	InstanceWarmup        string    `json:"instance_warmup"`
	MinHealthyPercentage  float64   `json:"min_healthy_percentage"`
	SkipMatching          bool      `json:"skip_matching"`
}

type Tag

type Tag struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// PropagateAtLaunch: bool, required
	PropagateAtLaunch terra.BoolValue `hcl:"propagate_at_launch,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type TagAttributes

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

func (TagAttributes) InternalRef

func (t TagAttributes) InternalRef() (terra.Reference, error)

func (TagAttributes) InternalTokens

func (t TagAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TagAttributes) InternalWithRef

func (t TagAttributes) InternalWithRef(ref terra.Reference) TagAttributes

func (TagAttributes) Key

func (TagAttributes) PropagateAtLaunch

func (t TagAttributes) PropagateAtLaunch() terra.BoolValue

func (TagAttributes) Value

func (t TagAttributes) Value() terra.StringValue

type TagState

type TagState struct {
	Key               string `json:"key"`
	PropagateAtLaunch bool   `json:"propagate_at_launch"`
	Value             string `json:"value"`
}

type Timeouts

type Timeouts struct {
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Delete

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

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type TotalLocalStorageGb

type TotalLocalStorageGb struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type TotalLocalStorageGbAttributes

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

func (TotalLocalStorageGbAttributes) InternalRef

func (tlsg TotalLocalStorageGbAttributes) InternalRef() (terra.Reference, error)

func (TotalLocalStorageGbAttributes) InternalTokens

func (tlsg TotalLocalStorageGbAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TotalLocalStorageGbAttributes) InternalWithRef

func (TotalLocalStorageGbAttributes) Max

func (TotalLocalStorageGbAttributes) Min

type TotalLocalStorageGbState

type TotalLocalStorageGbState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type TrafficSource

type TrafficSource struct {
	// Identifier: string, required
	Identifier terra.StringValue `hcl:"identifier,attr" validate:"required"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
}

type TrafficSourceAttributes

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

func (TrafficSourceAttributes) Identifier

func (ts TrafficSourceAttributes) Identifier() terra.StringValue

func (TrafficSourceAttributes) InternalRef

func (ts TrafficSourceAttributes) InternalRef() (terra.Reference, error)

func (TrafficSourceAttributes) InternalTokens

func (ts TrafficSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TrafficSourceAttributes) InternalWithRef

func (TrafficSourceAttributes) Type

type TrafficSourceState

type TrafficSourceState struct {
	Identifier string `json:"identifier"`
	Type       string `json:"type"`
}

type VcpuCount

type VcpuCount struct {
	// Max: number, optional
	Max terra.NumberValue `hcl:"max,attr"`
	// Min: number, optional
	Min terra.NumberValue `hcl:"min,attr"`
}

type VcpuCountAttributes

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

func (VcpuCountAttributes) InternalRef

func (vc VcpuCountAttributes) InternalRef() (terra.Reference, error)

func (VcpuCountAttributes) InternalTokens

func (vc VcpuCountAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VcpuCountAttributes) InternalWithRef

func (vc VcpuCountAttributes) InternalWithRef(ref terra.Reference) VcpuCountAttributes

func (VcpuCountAttributes) Max

func (VcpuCountAttributes) Min

type VcpuCountState

type VcpuCountState struct {
	Max float64 `json:"max"`
	Min float64 `json:"min"`
}

type WarmPool

type WarmPool struct {
	// MaxGroupPreparedCapacity: number, optional
	MaxGroupPreparedCapacity terra.NumberValue `hcl:"max_group_prepared_capacity,attr"`
	// MinSize: number, optional
	MinSize terra.NumberValue `hcl:"min_size,attr"`
	// PoolState: string, optional
	PoolState terra.StringValue `hcl:"pool_state,attr"`
	// InstanceReusePolicy: optional
	InstanceReusePolicy *InstanceReusePolicy `hcl:"instance_reuse_policy,block"`
}

type WarmPoolAttributes

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

func (WarmPoolAttributes) InstanceReusePolicy

func (WarmPoolAttributes) InternalRef

func (wp WarmPoolAttributes) InternalRef() (terra.Reference, error)

func (WarmPoolAttributes) InternalTokens

func (wp WarmPoolAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WarmPoolAttributes) InternalWithRef

func (wp WarmPoolAttributes) InternalWithRef(ref terra.Reference) WarmPoolAttributes

func (WarmPoolAttributes) MaxGroupPreparedCapacity

func (wp WarmPoolAttributes) MaxGroupPreparedCapacity() terra.NumberValue

func (WarmPoolAttributes) MinSize

func (wp WarmPoolAttributes) MinSize() terra.NumberValue

func (WarmPoolAttributes) PoolState

func (wp WarmPoolAttributes) PoolState() terra.StringValue

type WarmPoolState

type WarmPoolState struct {
	MaxGroupPreparedCapacity float64                    `json:"max_group_prepared_capacity"`
	MinSize                  float64                    `json:"min_size"`
	PoolState                string                     `json:"pool_state"`
	InstanceReusePolicy      []InstanceReusePolicyState `json:"instance_reuse_policy"`
}

Jump to

Keyboard shortcuts

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