Documentation ¶
Index ¶
- type AcceleratorCount
- type AcceleratorCountAttributes
- func (ac AcceleratorCountAttributes) InternalRef() (terra.Reference, error)
- func (ac AcceleratorCountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ac AcceleratorCountAttributes) InternalWithRef(ref terra.Reference) AcceleratorCountAttributes
- func (ac AcceleratorCountAttributes) Max() terra.NumberValue
- func (ac AcceleratorCountAttributes) Min() terra.NumberValue
- type AcceleratorCountState
- type AcceleratorTotalMemoryMib
- type AcceleratorTotalMemoryMibAttributes
- func (atmm AcceleratorTotalMemoryMibAttributes) InternalRef() (terra.Reference, error)
- func (atmm AcceleratorTotalMemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (atmm AcceleratorTotalMemoryMibAttributes) InternalWithRef(ref terra.Reference) AcceleratorTotalMemoryMibAttributes
- func (atmm AcceleratorTotalMemoryMibAttributes) Max() terra.NumberValue
- func (atmm AcceleratorTotalMemoryMibAttributes) Min() terra.NumberValue
- type AcceleratorTotalMemoryMibState
- type BaselineEbsBandwidthMbps
- type BaselineEbsBandwidthMbpsAttributes
- func (bebm BaselineEbsBandwidthMbpsAttributes) InternalRef() (terra.Reference, error)
- func (bebm BaselineEbsBandwidthMbpsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bebm BaselineEbsBandwidthMbpsAttributes) InternalWithRef(ref terra.Reference) BaselineEbsBandwidthMbpsAttributes
- func (bebm BaselineEbsBandwidthMbpsAttributes) Max() terra.NumberValue
- func (bebm BaselineEbsBandwidthMbpsAttributes) Min() terra.NumberValue
- type BaselineEbsBandwidthMbpsState
- type CapacityRebalance
- type CapacityRebalanceAttributes
- func (cr CapacityRebalanceAttributes) InternalRef() (terra.Reference, error)
- func (cr CapacityRebalanceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CapacityRebalanceAttributes) InternalWithRef(ref terra.Reference) CapacityRebalanceAttributes
- func (cr CapacityRebalanceAttributes) ReplacementStrategy() terra.StringValue
- func (cr CapacityRebalanceAttributes) TerminationDelay() terra.NumberValue
- type CapacityRebalanceState
- type FleetInstanceSet
- type FleetInstanceSetAttributes
- func (fis FleetInstanceSetAttributes) InstanceIds() terra.ListValue[terra.StringValue]
- func (fis FleetInstanceSetAttributes) InstanceType() terra.StringValue
- func (fis FleetInstanceSetAttributes) InternalRef() (terra.Reference, error)
- func (fis FleetInstanceSetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fis FleetInstanceSetAttributes) InternalWithRef(ref terra.Reference) FleetInstanceSetAttributes
- func (fis FleetInstanceSetAttributes) Lifecycle() terra.StringValue
- func (fis FleetInstanceSetAttributes) Platform() terra.StringValue
- type FleetInstanceSetState
- type InstanceRequirements
- type InstanceRequirementsAttributes
- func (ir InstanceRequirementsAttributes) AcceleratorCount() terra.ListValue[AcceleratorCountAttributes]
- func (ir InstanceRequirementsAttributes) AcceleratorManufacturers() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) AcceleratorNames() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) AcceleratorTotalMemoryMib() terra.ListValue[AcceleratorTotalMemoryMibAttributes]
- func (ir InstanceRequirementsAttributes) AcceleratorTypes() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) AllowedInstanceTypes() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) BareMetal() terra.StringValue
- func (ir InstanceRequirementsAttributes) BaselineEbsBandwidthMbps() terra.ListValue[BaselineEbsBandwidthMbpsAttributes]
- func (ir InstanceRequirementsAttributes) BurstablePerformance() terra.StringValue
- func (ir InstanceRequirementsAttributes) CpuManufacturers() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) ExcludedInstanceTypes() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) InstanceGenerations() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) InternalRef() (terra.Reference, error)
- func (ir InstanceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ir InstanceRequirementsAttributes) InternalWithRef(ref terra.Reference) InstanceRequirementsAttributes
- func (ir InstanceRequirementsAttributes) LocalStorage() terra.StringValue
- func (ir InstanceRequirementsAttributes) LocalStorageTypes() terra.SetValue[terra.StringValue]
- func (ir InstanceRequirementsAttributes) MemoryGibPerVcpu() terra.ListValue[MemoryGibPerVcpuAttributes]
- func (ir InstanceRequirementsAttributes) MemoryMib() terra.ListValue[MemoryMibAttributes]
- func (ir InstanceRequirementsAttributes) NetworkBandwidthGbps() terra.ListValue[NetworkBandwidthGbpsAttributes]
- func (ir InstanceRequirementsAttributes) NetworkInterfaceCount() terra.ListValue[NetworkInterfaceCountAttributes]
- func (ir InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice() terra.NumberValue
- func (ir InstanceRequirementsAttributes) RequireHibernateSupport() terra.BoolValue
- func (ir InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice() terra.NumberValue
- func (ir InstanceRequirementsAttributes) TotalLocalStorageGb() terra.ListValue[TotalLocalStorageGbAttributes]
- func (ir InstanceRequirementsAttributes) VcpuCount() terra.ListValue[VcpuCountAttributes]
- type InstanceRequirementsState
- type LaunchTemplateConfig
- type LaunchTemplateConfigAttributes
- func (ltc LaunchTemplateConfigAttributes) InternalRef() (terra.Reference, error)
- func (ltc LaunchTemplateConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ltc LaunchTemplateConfigAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateConfigAttributes
- func (ltc LaunchTemplateConfigAttributes) LaunchTemplateSpecification() terra.ListValue[LaunchTemplateSpecificationAttributes]
- func (ltc LaunchTemplateConfigAttributes) Override() terra.ListValue[OverrideAttributes]
- type LaunchTemplateConfigState
- type LaunchTemplateSpecification
- type LaunchTemplateSpecificationAttributes
- func (lts LaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (lts LaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lts LaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateSpecificationAttributes
- func (lts LaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
- func (lts LaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
- func (lts LaunchTemplateSpecificationAttributes) Version() terra.StringValue
- type LaunchTemplateSpecificationState
- type MaintenanceStrategies
- type MaintenanceStrategiesAttributes
- func (ms MaintenanceStrategiesAttributes) CapacityRebalance() terra.ListValue[CapacityRebalanceAttributes]
- func (ms MaintenanceStrategiesAttributes) InternalRef() (terra.Reference, error)
- func (ms MaintenanceStrategiesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms MaintenanceStrategiesAttributes) InternalWithRef(ref terra.Reference) MaintenanceStrategiesAttributes
- type MaintenanceStrategiesState
- type MemoryGibPerVcpu
- type MemoryGibPerVcpuAttributes
- func (mgpv MemoryGibPerVcpuAttributes) InternalRef() (terra.Reference, error)
- func (mgpv MemoryGibPerVcpuAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mgpv MemoryGibPerVcpuAttributes) InternalWithRef(ref terra.Reference) MemoryGibPerVcpuAttributes
- func (mgpv MemoryGibPerVcpuAttributes) Max() terra.NumberValue
- func (mgpv MemoryGibPerVcpuAttributes) Min() terra.NumberValue
- type MemoryGibPerVcpuState
- type MemoryMib
- type MemoryMibAttributes
- func (mm MemoryMibAttributes) InternalRef() (terra.Reference, error)
- func (mm MemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mm MemoryMibAttributes) InternalWithRef(ref terra.Reference) MemoryMibAttributes
- func (mm MemoryMibAttributes) Max() terra.NumberValue
- func (mm MemoryMibAttributes) Min() terra.NumberValue
- type MemoryMibState
- type NetworkBandwidthGbps
- type NetworkBandwidthGbpsAttributes
- func (nbg NetworkBandwidthGbpsAttributes) InternalRef() (terra.Reference, error)
- func (nbg NetworkBandwidthGbpsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nbg NetworkBandwidthGbpsAttributes) InternalWithRef(ref terra.Reference) NetworkBandwidthGbpsAttributes
- func (nbg NetworkBandwidthGbpsAttributes) Max() terra.NumberValue
- func (nbg NetworkBandwidthGbpsAttributes) Min() terra.NumberValue
- type NetworkBandwidthGbpsState
- type NetworkInterfaceCount
- type NetworkInterfaceCountAttributes
- func (nic NetworkInterfaceCountAttributes) InternalRef() (terra.Reference, error)
- func (nic NetworkInterfaceCountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nic NetworkInterfaceCountAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceCountAttributes
- func (nic NetworkInterfaceCountAttributes) Max() terra.NumberValue
- func (nic NetworkInterfaceCountAttributes) Min() terra.NumberValue
- type NetworkInterfaceCountState
- type OnDemandOptions
- type OnDemandOptionsAttributes
- func (odo OnDemandOptionsAttributes) AllocationStrategy() terra.StringValue
- func (odo OnDemandOptionsAttributes) InternalRef() (terra.Reference, error)
- func (odo OnDemandOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (odo OnDemandOptionsAttributes) InternalWithRef(ref terra.Reference) OnDemandOptionsAttributes
- func (odo OnDemandOptionsAttributes) MaxTotalPrice() terra.StringValue
- func (odo OnDemandOptionsAttributes) MinTargetCapacity() terra.NumberValue
- func (odo OnDemandOptionsAttributes) SingleAvailabilityZone() terra.BoolValue
- func (odo OnDemandOptionsAttributes) SingleInstanceType() terra.BoolValue
- type OnDemandOptionsState
- type Override
- type OverrideAttributes
- func (o OverrideAttributes) AvailabilityZone() terra.StringValue
- func (o OverrideAttributes) InstanceRequirements() terra.ListValue[InstanceRequirementsAttributes]
- func (o OverrideAttributes) InstanceType() terra.StringValue
- func (o OverrideAttributes) InternalRef() (terra.Reference, error)
- func (o OverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o OverrideAttributes) InternalWithRef(ref terra.Reference) OverrideAttributes
- func (o OverrideAttributes) MaxPrice() terra.StringValue
- func (o OverrideAttributes) Priority() terra.NumberValue
- func (o OverrideAttributes) SubnetId() terra.StringValue
- func (o OverrideAttributes) WeightedCapacity() terra.NumberValue
- type OverrideState
- type SpotOptions
- type SpotOptionsAttributes
- func (so SpotOptionsAttributes) AllocationStrategy() terra.StringValue
- func (so SpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue
- func (so SpotOptionsAttributes) InstancePoolsToUseCount() terra.NumberValue
- func (so SpotOptionsAttributes) InternalRef() (terra.Reference, error)
- func (so SpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so SpotOptionsAttributes) InternalWithRef(ref terra.Reference) SpotOptionsAttributes
- func (so SpotOptionsAttributes) MaintenanceStrategies() terra.ListValue[MaintenanceStrategiesAttributes]
- type SpotOptionsState
- type TargetCapacitySpecification
- type TargetCapacitySpecificationAttributes
- func (tcs TargetCapacitySpecificationAttributes) DefaultTargetCapacityType() terra.StringValue
- func (tcs TargetCapacitySpecificationAttributes) InternalRef() (terra.Reference, error)
- func (tcs TargetCapacitySpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tcs TargetCapacitySpecificationAttributes) InternalWithRef(ref terra.Reference) TargetCapacitySpecificationAttributes
- func (tcs TargetCapacitySpecificationAttributes) OnDemandTargetCapacity() terra.NumberValue
- func (tcs TargetCapacitySpecificationAttributes) SpotTargetCapacity() terra.NumberValue
- func (tcs TargetCapacitySpecificationAttributes) TargetCapacityUnitType() terra.StringValue
- func (tcs TargetCapacitySpecificationAttributes) TotalTargetCapacity() terra.NumberValue
- type TargetCapacitySpecificationState
- 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
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type TotalLocalStorageGb
- type TotalLocalStorageGbAttributes
- func (tlsg TotalLocalStorageGbAttributes) InternalRef() (terra.Reference, error)
- func (tlsg TotalLocalStorageGbAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tlsg TotalLocalStorageGbAttributes) InternalWithRef(ref terra.Reference) TotalLocalStorageGbAttributes
- func (tlsg TotalLocalStorageGbAttributes) Max() terra.NumberValue
- func (tlsg TotalLocalStorageGbAttributes) Min() terra.NumberValue
- type TotalLocalStorageGbState
- type VcpuCount
- type VcpuCountAttributes
- func (vc VcpuCountAttributes) InternalRef() (terra.Reference, error)
- func (vc VcpuCountAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (vc VcpuCountAttributes) InternalWithRef(ref terra.Reference) VcpuCountAttributes
- func (vc VcpuCountAttributes) Max() terra.NumberValue
- func (vc VcpuCountAttributes) Min() terra.NumberValue
- type VcpuCountState
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 (ac AcceleratorCountAttributes) InternalWithRef(ref terra.Reference) AcceleratorCountAttributes
func (AcceleratorCountAttributes) Max ¶
func (ac AcceleratorCountAttributes) Max() terra.NumberValue
func (AcceleratorCountAttributes) Min ¶
func (ac AcceleratorCountAttributes) Min() terra.NumberValue
type AcceleratorCountState ¶
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 (atmm AcceleratorTotalMemoryMibAttributes) InternalRef() (terra.Reference, error)
func (AcceleratorTotalMemoryMibAttributes) InternalTokens ¶
func (atmm AcceleratorTotalMemoryMibAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AcceleratorTotalMemoryMibAttributes) InternalWithRef ¶
func (atmm AcceleratorTotalMemoryMibAttributes) InternalWithRef(ref terra.Reference) AcceleratorTotalMemoryMibAttributes
func (AcceleratorTotalMemoryMibAttributes) Max ¶
func (atmm AcceleratorTotalMemoryMibAttributes) Max() terra.NumberValue
func (AcceleratorTotalMemoryMibAttributes) Min ¶
func (atmm AcceleratorTotalMemoryMibAttributes) Min() terra.NumberValue
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 (bebm BaselineEbsBandwidthMbpsAttributes) InternalRef() (terra.Reference, error)
func (BaselineEbsBandwidthMbpsAttributes) InternalTokens ¶
func (bebm BaselineEbsBandwidthMbpsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BaselineEbsBandwidthMbpsAttributes) InternalWithRef ¶
func (bebm BaselineEbsBandwidthMbpsAttributes) InternalWithRef(ref terra.Reference) BaselineEbsBandwidthMbpsAttributes
func (BaselineEbsBandwidthMbpsAttributes) Max ¶
func (bebm BaselineEbsBandwidthMbpsAttributes) Max() terra.NumberValue
func (BaselineEbsBandwidthMbpsAttributes) Min ¶
func (bebm BaselineEbsBandwidthMbpsAttributes) Min() terra.NumberValue
type CapacityRebalance ¶
type CapacityRebalance struct { // ReplacementStrategy: string, optional ReplacementStrategy terra.StringValue `hcl:"replacement_strategy,attr"` // TerminationDelay: number, optional TerminationDelay terra.NumberValue `hcl:"termination_delay,attr"` }
type CapacityRebalanceAttributes ¶
type CapacityRebalanceAttributes struct {
// contains filtered or unexported fields
}
func (CapacityRebalanceAttributes) InternalRef ¶
func (cr CapacityRebalanceAttributes) InternalRef() (terra.Reference, error)
func (CapacityRebalanceAttributes) InternalTokens ¶
func (cr CapacityRebalanceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityRebalanceAttributes) InternalWithRef ¶
func (cr CapacityRebalanceAttributes) InternalWithRef(ref terra.Reference) CapacityRebalanceAttributes
func (CapacityRebalanceAttributes) ReplacementStrategy ¶
func (cr CapacityRebalanceAttributes) ReplacementStrategy() terra.StringValue
func (CapacityRebalanceAttributes) TerminationDelay ¶
func (cr CapacityRebalanceAttributes) TerminationDelay() terra.NumberValue
type CapacityRebalanceState ¶
type FleetInstanceSet ¶
type FleetInstanceSet struct { // InstanceIds: list of string, optional InstanceIds terra.ListValue[terra.StringValue] `hcl:"instance_ids,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // Lifecycle: string, optional Lifecycle terra.StringValue `hcl:"lifecycle,attr"` // Platform: string, optional Platform terra.StringValue `hcl:"platform,attr"` }
type FleetInstanceSetAttributes ¶
type FleetInstanceSetAttributes struct {
// contains filtered or unexported fields
}
func (FleetInstanceSetAttributes) InstanceIds ¶
func (fis FleetInstanceSetAttributes) InstanceIds() terra.ListValue[terra.StringValue]
func (FleetInstanceSetAttributes) InstanceType ¶
func (fis FleetInstanceSetAttributes) InstanceType() terra.StringValue
func (FleetInstanceSetAttributes) InternalRef ¶
func (fis FleetInstanceSetAttributes) InternalRef() (terra.Reference, error)
func (FleetInstanceSetAttributes) InternalTokens ¶
func (fis FleetInstanceSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FleetInstanceSetAttributes) InternalWithRef ¶
func (fis FleetInstanceSetAttributes) InternalWithRef(ref terra.Reference) FleetInstanceSetAttributes
func (FleetInstanceSetAttributes) Lifecycle ¶
func (fis FleetInstanceSetAttributes) Lifecycle() terra.StringValue
func (FleetInstanceSetAttributes) Platform ¶
func (fis FleetInstanceSetAttributes) Platform() terra.StringValue
type FleetInstanceSetState ¶
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: required MemoryMib *MemoryMib `hcl:"memory_mib,block" validate:"required"` // 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: required VcpuCount *VcpuCount `hcl:"vcpu_count,block" validate:"required"` }
type InstanceRequirementsAttributes ¶
type InstanceRequirementsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceRequirementsAttributes) AcceleratorCount ¶
func (ir InstanceRequirementsAttributes) AcceleratorCount() terra.ListValue[AcceleratorCountAttributes]
func (InstanceRequirementsAttributes) AcceleratorManufacturers ¶
func (ir InstanceRequirementsAttributes) AcceleratorManufacturers() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) AcceleratorNames ¶
func (ir InstanceRequirementsAttributes) AcceleratorNames() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) AcceleratorTotalMemoryMib ¶
func (ir InstanceRequirementsAttributes) AcceleratorTotalMemoryMib() terra.ListValue[AcceleratorTotalMemoryMibAttributes]
func (InstanceRequirementsAttributes) AcceleratorTypes ¶
func (ir InstanceRequirementsAttributes) AcceleratorTypes() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) AllowedInstanceTypes ¶
func (ir InstanceRequirementsAttributes) AllowedInstanceTypes() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) BareMetal ¶
func (ir InstanceRequirementsAttributes) BareMetal() terra.StringValue
func (InstanceRequirementsAttributes) BaselineEbsBandwidthMbps ¶
func (ir InstanceRequirementsAttributes) BaselineEbsBandwidthMbps() terra.ListValue[BaselineEbsBandwidthMbpsAttributes]
func (InstanceRequirementsAttributes) BurstablePerformance ¶
func (ir InstanceRequirementsAttributes) BurstablePerformance() terra.StringValue
func (InstanceRequirementsAttributes) CpuManufacturers ¶
func (ir InstanceRequirementsAttributes) CpuManufacturers() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) ExcludedInstanceTypes ¶
func (ir InstanceRequirementsAttributes) ExcludedInstanceTypes() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) InstanceGenerations ¶
func (ir InstanceRequirementsAttributes) InstanceGenerations() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) InternalRef ¶
func (ir InstanceRequirementsAttributes) InternalRef() (terra.Reference, error)
func (InstanceRequirementsAttributes) InternalTokens ¶
func (ir InstanceRequirementsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceRequirementsAttributes) InternalWithRef ¶
func (ir InstanceRequirementsAttributes) InternalWithRef(ref terra.Reference) InstanceRequirementsAttributes
func (InstanceRequirementsAttributes) LocalStorage ¶
func (ir InstanceRequirementsAttributes) LocalStorage() terra.StringValue
func (InstanceRequirementsAttributes) LocalStorageTypes ¶
func (ir InstanceRequirementsAttributes) LocalStorageTypes() terra.SetValue[terra.StringValue]
func (InstanceRequirementsAttributes) MemoryGibPerVcpu ¶
func (ir InstanceRequirementsAttributes) MemoryGibPerVcpu() terra.ListValue[MemoryGibPerVcpuAttributes]
func (InstanceRequirementsAttributes) MemoryMib ¶
func (ir InstanceRequirementsAttributes) MemoryMib() terra.ListValue[MemoryMibAttributes]
func (InstanceRequirementsAttributes) NetworkBandwidthGbps ¶
func (ir InstanceRequirementsAttributes) NetworkBandwidthGbps() terra.ListValue[NetworkBandwidthGbpsAttributes]
func (InstanceRequirementsAttributes) NetworkInterfaceCount ¶
func (ir InstanceRequirementsAttributes) NetworkInterfaceCount() terra.ListValue[NetworkInterfaceCountAttributes]
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 (ir InstanceRequirementsAttributes) TotalLocalStorageGb() terra.ListValue[TotalLocalStorageGbAttributes]
func (InstanceRequirementsAttributes) VcpuCount ¶
func (ir InstanceRequirementsAttributes) VcpuCount() terra.ListValue[VcpuCountAttributes]
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 LaunchTemplateConfig ¶
type LaunchTemplateConfig struct { // LaunchTemplateSpecification: optional LaunchTemplateSpecification *LaunchTemplateSpecification `hcl:"launch_template_specification,block"` // Override: min=0,max=300 Override []Override `hcl:"override,block" validate:"min=0,max=300"` }
type LaunchTemplateConfigAttributes ¶
type LaunchTemplateConfigAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateConfigAttributes) InternalRef ¶
func (ltc LaunchTemplateConfigAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateConfigAttributes) InternalTokens ¶
func (ltc LaunchTemplateConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateConfigAttributes) InternalWithRef ¶
func (ltc LaunchTemplateConfigAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateConfigAttributes
func (LaunchTemplateConfigAttributes) LaunchTemplateSpecification ¶
func (ltc LaunchTemplateConfigAttributes) LaunchTemplateSpecification() terra.ListValue[LaunchTemplateSpecificationAttributes]
func (LaunchTemplateConfigAttributes) Override ¶
func (ltc LaunchTemplateConfigAttributes) Override() terra.ListValue[OverrideAttributes]
type LaunchTemplateConfigState ¶
type LaunchTemplateConfigState struct { LaunchTemplateSpecification []LaunchTemplateSpecificationState `json:"launch_template_specification"` Override []OverrideState `json:"override"` }
type LaunchTemplateSpecification ¶
type LaunchTemplateSpecification 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, required Version terra.StringValue `hcl:"version,attr" validate:"required"` }
type LaunchTemplateSpecificationAttributes ¶
type LaunchTemplateSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateSpecificationAttributes) InternalRef ¶
func (lts LaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateSpecificationAttributes) InternalTokens ¶
func (lts LaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateSpecificationAttributes) InternalWithRef ¶
func (lts LaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateSpecificationAttributes
func (LaunchTemplateSpecificationAttributes) LaunchTemplateId ¶
func (lts LaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
func (LaunchTemplateSpecificationAttributes) LaunchTemplateName ¶
func (lts LaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
func (LaunchTemplateSpecificationAttributes) Version ¶
func (lts LaunchTemplateSpecificationAttributes) Version() terra.StringValue
type MaintenanceStrategies ¶
type MaintenanceStrategies struct { // CapacityRebalance: optional CapacityRebalance *CapacityRebalance `hcl:"capacity_rebalance,block"` }
type MaintenanceStrategiesAttributes ¶
type MaintenanceStrategiesAttributes struct {
// contains filtered or unexported fields
}
func (MaintenanceStrategiesAttributes) CapacityRebalance ¶
func (ms MaintenanceStrategiesAttributes) CapacityRebalance() terra.ListValue[CapacityRebalanceAttributes]
func (MaintenanceStrategiesAttributes) InternalRef ¶
func (ms MaintenanceStrategiesAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceStrategiesAttributes) InternalTokens ¶
func (ms MaintenanceStrategiesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceStrategiesAttributes) InternalWithRef ¶
func (ms MaintenanceStrategiesAttributes) InternalWithRef(ref terra.Reference) MaintenanceStrategiesAttributes
type MaintenanceStrategiesState ¶
type MaintenanceStrategiesState struct {
CapacityRebalance []CapacityRebalanceState `json:"capacity_rebalance"`
}
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 (mgpv MemoryGibPerVcpuAttributes) InternalWithRef(ref terra.Reference) MemoryGibPerVcpuAttributes
func (MemoryGibPerVcpuAttributes) Max ¶
func (mgpv MemoryGibPerVcpuAttributes) Max() terra.NumberValue
func (MemoryGibPerVcpuAttributes) Min ¶
func (mgpv MemoryGibPerVcpuAttributes) Min() terra.NumberValue
type MemoryGibPerVcpuState ¶
type MemoryMib ¶
type MemoryMib struct { // Max: number, optional Max terra.NumberValue `hcl:"max,attr"` // Min: number, required Min terra.NumberValue `hcl:"min,attr" validate:"required"` }
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 (mm MemoryMibAttributes) Max() terra.NumberValue
func (MemoryMibAttributes) Min ¶
func (mm MemoryMibAttributes) Min() terra.NumberValue
type MemoryMibState ¶
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 (nbg NetworkBandwidthGbpsAttributes) InternalWithRef(ref terra.Reference) NetworkBandwidthGbpsAttributes
func (NetworkBandwidthGbpsAttributes) Max ¶
func (nbg NetworkBandwidthGbpsAttributes) Max() terra.NumberValue
func (NetworkBandwidthGbpsAttributes) Min ¶
func (nbg NetworkBandwidthGbpsAttributes) Min() terra.NumberValue
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 (nic NetworkInterfaceCountAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceCountAttributes) InternalTokens ¶
func (nic NetworkInterfaceCountAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceCountAttributes) InternalWithRef ¶
func (nic NetworkInterfaceCountAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceCountAttributes
func (NetworkInterfaceCountAttributes) Max ¶
func (nic NetworkInterfaceCountAttributes) Max() terra.NumberValue
func (NetworkInterfaceCountAttributes) Min ¶
func (nic NetworkInterfaceCountAttributes) Min() terra.NumberValue
type OnDemandOptions ¶
type OnDemandOptions struct { // AllocationStrategy: string, optional AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr"` // MaxTotalPrice: string, optional MaxTotalPrice terra.StringValue `hcl:"max_total_price,attr"` // MinTargetCapacity: number, optional MinTargetCapacity terra.NumberValue `hcl:"min_target_capacity,attr"` // SingleAvailabilityZone: bool, optional SingleAvailabilityZone terra.BoolValue `hcl:"single_availability_zone,attr"` // SingleInstanceType: bool, optional SingleInstanceType terra.BoolValue `hcl:"single_instance_type,attr"` }
type OnDemandOptionsAttributes ¶
type OnDemandOptionsAttributes struct {
// contains filtered or unexported fields
}
func (OnDemandOptionsAttributes) AllocationStrategy ¶
func (odo OnDemandOptionsAttributes) AllocationStrategy() terra.StringValue
func (OnDemandOptionsAttributes) InternalRef ¶
func (odo OnDemandOptionsAttributes) InternalRef() (terra.Reference, error)
func (OnDemandOptionsAttributes) InternalTokens ¶
func (odo OnDemandOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OnDemandOptionsAttributes) InternalWithRef ¶
func (odo OnDemandOptionsAttributes) InternalWithRef(ref terra.Reference) OnDemandOptionsAttributes
func (OnDemandOptionsAttributes) MaxTotalPrice ¶
func (odo OnDemandOptionsAttributes) MaxTotalPrice() terra.StringValue
func (OnDemandOptionsAttributes) MinTargetCapacity ¶
func (odo OnDemandOptionsAttributes) MinTargetCapacity() terra.NumberValue
func (OnDemandOptionsAttributes) SingleAvailabilityZone ¶
func (odo OnDemandOptionsAttributes) SingleAvailabilityZone() terra.BoolValue
func (OnDemandOptionsAttributes) SingleInstanceType ¶
func (odo OnDemandOptionsAttributes) SingleInstanceType() terra.BoolValue
type OnDemandOptionsState ¶
type OnDemandOptionsState struct { AllocationStrategy string `json:"allocation_strategy"` MaxTotalPrice string `json:"max_total_price"` MinTargetCapacity float64 `json:"min_target_capacity"` SingleAvailabilityZone bool `json:"single_availability_zone"` SingleInstanceType bool `json:"single_instance_type"` }
type Override ¶
type Override struct { // AvailabilityZone: string, optional AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // MaxPrice: string, optional MaxPrice terra.StringValue `hcl:"max_price,attr"` // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // SubnetId: string, optional SubnetId terra.StringValue `hcl:"subnet_id,attr"` // WeightedCapacity: number, optional WeightedCapacity terra.NumberValue `hcl:"weighted_capacity,attr"` // InstanceRequirements: optional InstanceRequirements *InstanceRequirements `hcl:"instance_requirements,block"` }
type OverrideAttributes ¶
type OverrideAttributes struct {
// contains filtered or unexported fields
}
func (OverrideAttributes) AvailabilityZone ¶
func (o OverrideAttributes) AvailabilityZone() terra.StringValue
func (OverrideAttributes) InstanceRequirements ¶
func (o OverrideAttributes) InstanceRequirements() terra.ListValue[InstanceRequirementsAttributes]
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) MaxPrice ¶
func (o OverrideAttributes) MaxPrice() terra.StringValue
func (OverrideAttributes) Priority ¶
func (o OverrideAttributes) Priority() terra.NumberValue
func (OverrideAttributes) SubnetId ¶
func (o OverrideAttributes) SubnetId() terra.StringValue
func (OverrideAttributes) WeightedCapacity ¶
func (o OverrideAttributes) WeightedCapacity() terra.NumberValue
type OverrideState ¶
type OverrideState struct { AvailabilityZone string `json:"availability_zone"` InstanceType string `json:"instance_type"` MaxPrice string `json:"max_price"` Priority float64 `json:"priority"` SubnetId string `json:"subnet_id"` WeightedCapacity float64 `json:"weighted_capacity"` InstanceRequirements []InstanceRequirementsState `json:"instance_requirements"` }
type SpotOptions ¶
type SpotOptions struct { // AllocationStrategy: string, optional AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr"` // InstanceInterruptionBehavior: string, optional InstanceInterruptionBehavior terra.StringValue `hcl:"instance_interruption_behavior,attr"` // InstancePoolsToUseCount: number, optional InstancePoolsToUseCount terra.NumberValue `hcl:"instance_pools_to_use_count,attr"` // MaintenanceStrategies: optional MaintenanceStrategies *MaintenanceStrategies `hcl:"maintenance_strategies,block"` }
type SpotOptionsAttributes ¶
type SpotOptionsAttributes struct {
// contains filtered or unexported fields
}
func (SpotOptionsAttributes) AllocationStrategy ¶
func (so SpotOptionsAttributes) AllocationStrategy() terra.StringValue
func (SpotOptionsAttributes) InstanceInterruptionBehavior ¶
func (so SpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue
func (SpotOptionsAttributes) InstancePoolsToUseCount ¶
func (so SpotOptionsAttributes) InstancePoolsToUseCount() terra.NumberValue
func (SpotOptionsAttributes) InternalRef ¶
func (so SpotOptionsAttributes) InternalRef() (terra.Reference, error)
func (SpotOptionsAttributes) InternalTokens ¶
func (so SpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpotOptionsAttributes) InternalWithRef ¶
func (so SpotOptionsAttributes) InternalWithRef(ref terra.Reference) SpotOptionsAttributes
func (SpotOptionsAttributes) MaintenanceStrategies ¶
func (so SpotOptionsAttributes) MaintenanceStrategies() terra.ListValue[MaintenanceStrategiesAttributes]
type SpotOptionsState ¶
type SpotOptionsState struct { AllocationStrategy string `json:"allocation_strategy"` InstanceInterruptionBehavior string `json:"instance_interruption_behavior"` InstancePoolsToUseCount float64 `json:"instance_pools_to_use_count"` MaintenanceStrategies []MaintenanceStrategiesState `json:"maintenance_strategies"` }
type TargetCapacitySpecification ¶
type TargetCapacitySpecification struct { // DefaultTargetCapacityType: string, required DefaultTargetCapacityType terra.StringValue `hcl:"default_target_capacity_type,attr" validate:"required"` // OnDemandTargetCapacity: number, optional OnDemandTargetCapacity terra.NumberValue `hcl:"on_demand_target_capacity,attr"` // SpotTargetCapacity: number, optional SpotTargetCapacity terra.NumberValue `hcl:"spot_target_capacity,attr"` // TargetCapacityUnitType: string, optional TargetCapacityUnitType terra.StringValue `hcl:"target_capacity_unit_type,attr"` // TotalTargetCapacity: number, required TotalTargetCapacity terra.NumberValue `hcl:"total_target_capacity,attr" validate:"required"` }
type TargetCapacitySpecificationAttributes ¶
type TargetCapacitySpecificationAttributes struct {
// contains filtered or unexported fields
}
func (TargetCapacitySpecificationAttributes) DefaultTargetCapacityType ¶
func (tcs TargetCapacitySpecificationAttributes) DefaultTargetCapacityType() terra.StringValue
func (TargetCapacitySpecificationAttributes) InternalRef ¶
func (tcs TargetCapacitySpecificationAttributes) InternalRef() (terra.Reference, error)
func (TargetCapacitySpecificationAttributes) InternalTokens ¶
func (tcs TargetCapacitySpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetCapacitySpecificationAttributes) InternalWithRef ¶
func (tcs TargetCapacitySpecificationAttributes) InternalWithRef(ref terra.Reference) TargetCapacitySpecificationAttributes
func (TargetCapacitySpecificationAttributes) OnDemandTargetCapacity ¶
func (tcs TargetCapacitySpecificationAttributes) OnDemandTargetCapacity() terra.NumberValue
func (TargetCapacitySpecificationAttributes) SpotTargetCapacity ¶
func (tcs TargetCapacitySpecificationAttributes) SpotTargetCapacity() terra.NumberValue
func (TargetCapacitySpecificationAttributes) TargetCapacityUnitType ¶
func (tcs TargetCapacitySpecificationAttributes) TargetCapacityUnitType() terra.StringValue
func (TargetCapacitySpecificationAttributes) TotalTargetCapacity ¶
func (tcs TargetCapacitySpecificationAttributes) TotalTargetCapacity() terra.NumberValue
type TargetCapacitySpecificationState ¶
type TargetCapacitySpecificationState struct { DefaultTargetCapacityType string `json:"default_target_capacity_type"` OnDemandTargetCapacity float64 `json:"on_demand_target_capacity"` SpotTargetCapacity float64 `json:"spot_target_capacity"` TargetCapacityUnitType string `json:"target_capacity_unit_type"` TotalTargetCapacity float64 `json:"total_target_capacity"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // 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) 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
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
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 (tlsg TotalLocalStorageGbAttributes) InternalWithRef(ref terra.Reference) TotalLocalStorageGbAttributes
func (TotalLocalStorageGbAttributes) Max ¶
func (tlsg TotalLocalStorageGbAttributes) Max() terra.NumberValue
func (TotalLocalStorageGbAttributes) Min ¶
func (tlsg TotalLocalStorageGbAttributes) Min() terra.NumberValue
type VcpuCount ¶
type VcpuCount struct { // Max: number, optional Max terra.NumberValue `hcl:"max,attr"` // Min: number, required Min terra.NumberValue `hcl:"min,attr" validate:"required"` }
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 (vc VcpuCountAttributes) Max() terra.NumberValue
func (VcpuCountAttributes) Min ¶
func (vc VcpuCountAttributes) Min() terra.NumberValue
type VcpuCountState ¶
Click to show internal directories.
Click to hide internal directories.