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 InitialLifecycleHook
- type InitialLifecycleHookAttributes
- func (ilh InitialLifecycleHookAttributes) DefaultResult() terra.StringValue
- func (ilh InitialLifecycleHookAttributes) HeartbeatTimeout() terra.NumberValue
- func (ilh InitialLifecycleHookAttributes) InternalRef() (terra.Reference, error)
- func (ilh InitialLifecycleHookAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ilh InitialLifecycleHookAttributes) InternalWithRef(ref terra.Reference) InitialLifecycleHookAttributes
- func (ilh InitialLifecycleHookAttributes) LifecycleTransition() terra.StringValue
- func (ilh InitialLifecycleHookAttributes) Name() terra.StringValue
- func (ilh InitialLifecycleHookAttributes) NotificationMetadata() terra.StringValue
- func (ilh InitialLifecycleHookAttributes) NotificationTargetArn() terra.StringValue
- func (ilh InitialLifecycleHookAttributes) RoleArn() terra.StringValue
- type InitialLifecycleHookState
- type InstanceRefresh
- type InstanceRefreshAttributes
- func (ir InstanceRefreshAttributes) InternalRef() (terra.Reference, error)
- func (ir InstanceRefreshAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ir InstanceRefreshAttributes) InternalWithRef(ref terra.Reference) InstanceRefreshAttributes
- func (ir InstanceRefreshAttributes) Preferences() terra.ListValue[PreferencesAttributes]
- func (ir InstanceRefreshAttributes) Strategy() terra.StringValue
- func (ir InstanceRefreshAttributes) Triggers() terra.SetValue[terra.StringValue]
- type InstanceRefreshState
- 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 InstanceReusePolicy
- type InstanceReusePolicyAttributes
- func (irp InstanceReusePolicyAttributes) InternalRef() (terra.Reference, error)
- func (irp InstanceReusePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (irp InstanceReusePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceReusePolicyAttributes
- func (irp InstanceReusePolicyAttributes) ReuseOnScaleIn() terra.BoolValue
- type InstanceReusePolicyState
- type InstancesDistribution
- type InstancesDistributionAttributes
- func (id InstancesDistributionAttributes) InternalRef() (terra.Reference, error)
- func (id InstancesDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (id InstancesDistributionAttributes) InternalWithRef(ref terra.Reference) InstancesDistributionAttributes
- func (id InstancesDistributionAttributes) OnDemandAllocationStrategy() terra.StringValue
- func (id InstancesDistributionAttributes) OnDemandBaseCapacity() terra.NumberValue
- func (id InstancesDistributionAttributes) OnDemandPercentageAboveBaseCapacity() terra.NumberValue
- func (id InstancesDistributionAttributes) SpotAllocationStrategy() terra.StringValue
- func (id InstancesDistributionAttributes) SpotInstancePools() terra.NumberValue
- func (id InstancesDistributionAttributes) SpotMaxPrice() terra.StringValue
- type InstancesDistributionState
- 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 LaunchTemplateLaunchTemplateSpecification
- type LaunchTemplateLaunchTemplateSpecificationAttributes
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateLaunchTemplateSpecificationAttributes
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
- func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) Version() terra.StringValue
- type LaunchTemplateLaunchTemplateSpecificationState
- type LaunchTemplateState
- 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 MixedInstancesPolicy
- type MixedInstancesPolicyAttributes
- func (mip MixedInstancesPolicyAttributes) InstancesDistribution() terra.ListValue[InstancesDistributionAttributes]
- func (mip MixedInstancesPolicyAttributes) InternalRef() (terra.Reference, error)
- func (mip MixedInstancesPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mip MixedInstancesPolicyAttributes) InternalWithRef(ref terra.Reference) MixedInstancesPolicyAttributes
- func (mip MixedInstancesPolicyAttributes) LaunchTemplate() terra.ListValue[MixedInstancesPolicyLaunchTemplateAttributes]
- type MixedInstancesPolicyLaunchTemplate
- type MixedInstancesPolicyLaunchTemplateAttributes
- func (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalWithRef(ref terra.Reference) MixedInstancesPolicyLaunchTemplateAttributes
- func (lt MixedInstancesPolicyLaunchTemplateAttributes) LaunchTemplateSpecification() terra.ListValue[LaunchTemplateLaunchTemplateSpecificationAttributes]
- func (lt MixedInstancesPolicyLaunchTemplateAttributes) Override() terra.ListValue[OverrideAttributes]
- type MixedInstancesPolicyLaunchTemplateState
- type MixedInstancesPolicyState
- 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 Override
- type OverrideAttributes
- 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) LaunchTemplateSpecification() terra.ListValue[OverrideLaunchTemplateSpecificationAttributes]
- func (o OverrideAttributes) WeightedCapacity() terra.StringValue
- type OverrideLaunchTemplateSpecification
- type OverrideLaunchTemplateSpecificationAttributes
- func (lts OverrideLaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (lts OverrideLaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lts OverrideLaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) OverrideLaunchTemplateSpecificationAttributes
- func (lts OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
- func (lts OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
- func (lts OverrideLaunchTemplateSpecificationAttributes) Version() terra.StringValue
- type OverrideLaunchTemplateSpecificationState
- type OverrideState
- type Preferences
- type PreferencesAttributes
- func (p PreferencesAttributes) AutoRollback() terra.BoolValue
- func (p PreferencesAttributes) CheckpointDelay() terra.StringValue
- func (p PreferencesAttributes) CheckpointPercentages() terra.ListValue[terra.NumberValue]
- func (p PreferencesAttributes) InstanceWarmup() terra.StringValue
- func (p PreferencesAttributes) InternalRef() (terra.Reference, error)
- func (p PreferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PreferencesAttributes) InternalWithRef(ref terra.Reference) PreferencesAttributes
- func (p PreferencesAttributes) MinHealthyPercentage() terra.NumberValue
- func (p PreferencesAttributes) SkipMatching() terra.BoolValue
- type PreferencesState
- type Tag
- type TagAttributes
- func (t TagAttributes) InternalRef() (terra.Reference, error)
- func (t TagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TagAttributes) InternalWithRef(ref terra.Reference) TagAttributes
- func (t TagAttributes) Key() terra.StringValue
- func (t TagAttributes) PropagateAtLaunch() terra.BoolValue
- func (t TagAttributes) Value() terra.StringValue
- type TagState
- type Timeouts
- type TimeoutsAttributes
- 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 TrafficSource
- type TrafficSourceAttributes
- func (ts TrafficSourceAttributes) Identifier() terra.StringValue
- func (ts TrafficSourceAttributes) InternalRef() (terra.Reference, error)
- func (ts TrafficSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ts TrafficSourceAttributes) InternalWithRef(ref terra.Reference) TrafficSourceAttributes
- func (ts TrafficSourceAttributes) Type() terra.StringValue
- type TrafficSourceState
- 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
- type WarmPool
- type WarmPoolAttributes
- func (wp WarmPoolAttributes) InstanceReusePolicy() terra.ListValue[InstanceReusePolicyAttributes]
- func (wp WarmPoolAttributes) InternalRef() (terra.Reference, error)
- func (wp WarmPoolAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (wp WarmPoolAttributes) InternalWithRef(ref terra.Reference) WarmPoolAttributes
- func (wp WarmPoolAttributes) MaxGroupPreparedCapacity() terra.NumberValue
- func (wp WarmPoolAttributes) MinSize() terra.NumberValue
- func (wp WarmPoolAttributes) PoolState() terra.StringValue
- type WarmPoolState
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 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 (ilh InitialLifecycleHookAttributes) InternalWithRef(ref terra.Reference) InitialLifecycleHookAttributes
func (InitialLifecycleHookAttributes) LifecycleTransition ¶
func (ilh InitialLifecycleHookAttributes) LifecycleTransition() terra.StringValue
func (InitialLifecycleHookAttributes) Name ¶
func (ilh InitialLifecycleHookAttributes) Name() terra.StringValue
func (InitialLifecycleHookAttributes) NotificationMetadata ¶
func (ilh InitialLifecycleHookAttributes) NotificationMetadata() terra.StringValue
func (InitialLifecycleHookAttributes) NotificationTargetArn ¶
func (ilh InitialLifecycleHookAttributes) NotificationTargetArn() terra.StringValue
func (InitialLifecycleHookAttributes) RoleArn ¶
func (ilh InitialLifecycleHookAttributes) RoleArn() terra.StringValue
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 (ir InstanceRefreshAttributes) InternalWithRef(ref terra.Reference) InstanceRefreshAttributes
func (InstanceRefreshAttributes) Preferences ¶
func (ir InstanceRefreshAttributes) Preferences() terra.ListValue[PreferencesAttributes]
func (InstanceRefreshAttributes) Strategy ¶
func (ir InstanceRefreshAttributes) Strategy() terra.StringValue
func (InstanceRefreshAttributes) Triggers ¶
func (ir InstanceRefreshAttributes) Triggers() terra.SetValue[terra.StringValue]
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 (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 InstanceReusePolicy ¶
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 (irp InstanceReusePolicyAttributes) InternalWithRef(ref terra.Reference) InstanceReusePolicyAttributes
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 (id InstancesDistributionAttributes) InternalRef() (terra.Reference, error)
func (InstancesDistributionAttributes) InternalTokens ¶
func (id InstancesDistributionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstancesDistributionAttributes) InternalWithRef ¶
func (id InstancesDistributionAttributes) InternalWithRef(ref terra.Reference) InstancesDistributionAttributes
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 ¶
func (id InstancesDistributionAttributes) SpotMaxPrice() terra.StringValue
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 (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 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 (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalTokens ¶
func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateLaunchTemplateSpecificationAttributes) InternalWithRef ¶
func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateLaunchTemplateSpecificationAttributes
func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateId ¶
func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
func (LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateName ¶
func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
func (LaunchTemplateLaunchTemplateSpecificationAttributes) Version ¶
func (lts LaunchTemplateLaunchTemplateSpecificationAttributes) Version() terra.StringValue
type LaunchTemplateState ¶
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, 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 (mm MemoryMibAttributes) Max() terra.NumberValue
func (MemoryMibAttributes) Min ¶
func (mm MemoryMibAttributes) Min() terra.NumberValue
type MemoryMibState ¶
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 (mip MixedInstancesPolicyAttributes) InstancesDistribution() terra.ListValue[InstancesDistributionAttributes]
func (MixedInstancesPolicyAttributes) InternalRef ¶
func (mip MixedInstancesPolicyAttributes) InternalRef() (terra.Reference, error)
func (MixedInstancesPolicyAttributes) InternalTokens ¶
func (mip MixedInstancesPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MixedInstancesPolicyAttributes) InternalWithRef ¶
func (mip MixedInstancesPolicyAttributes) InternalWithRef(ref terra.Reference) MixedInstancesPolicyAttributes
func (MixedInstancesPolicyAttributes) LaunchTemplate ¶
func (mip MixedInstancesPolicyAttributes) LaunchTemplate() terra.ListValue[MixedInstancesPolicyLaunchTemplateAttributes]
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 (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (MixedInstancesPolicyLaunchTemplateAttributes) InternalTokens ¶
func (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MixedInstancesPolicyLaunchTemplateAttributes) InternalWithRef ¶
func (lt MixedInstancesPolicyLaunchTemplateAttributes) InternalWithRef(ref terra.Reference) MixedInstancesPolicyLaunchTemplateAttributes
func (MixedInstancesPolicyLaunchTemplateAttributes) LaunchTemplateSpecification ¶
func (lt MixedInstancesPolicyLaunchTemplateAttributes) LaunchTemplateSpecification() terra.ListValue[LaunchTemplateLaunchTemplateSpecificationAttributes]
func (MixedInstancesPolicyLaunchTemplateAttributes) Override ¶
func (lt MixedInstancesPolicyLaunchTemplateAttributes) Override() terra.ListValue[OverrideAttributes]
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 (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 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 (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) LaunchTemplateSpecification ¶
func (o OverrideAttributes) LaunchTemplateSpecification() terra.ListValue[OverrideLaunchTemplateSpecificationAttributes]
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 (lts OverrideLaunchTemplateSpecificationAttributes) InternalRef() (terra.Reference, error)
func (OverrideLaunchTemplateSpecificationAttributes) InternalTokens ¶
func (lts OverrideLaunchTemplateSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OverrideLaunchTemplateSpecificationAttributes) InternalWithRef ¶
func (lts OverrideLaunchTemplateSpecificationAttributes) InternalWithRef(ref terra.Reference) OverrideLaunchTemplateSpecificationAttributes
func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateId ¶
func (lts OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateId() terra.StringValue
func (OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateName ¶
func (lts OverrideLaunchTemplateSpecificationAttributes) LaunchTemplateName() terra.StringValue
func (OverrideLaunchTemplateSpecificationAttributes) Version ¶
func (lts OverrideLaunchTemplateSpecificationAttributes) Version() terra.StringValue
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 (p PreferencesAttributes) InternalWithRef(ref terra.Reference) PreferencesAttributes
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 (t TagAttributes) Key() terra.StringValue
func (TagAttributes) PropagateAtLaunch ¶
func (t TagAttributes) PropagateAtLaunch() terra.BoolValue
func (TagAttributes) Value ¶
func (t TagAttributes) Value() terra.StringValue
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 (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 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 (ts TrafficSourceAttributes) InternalWithRef(ref terra.Reference) TrafficSourceAttributes
func (TrafficSourceAttributes) Type ¶
func (ts TrafficSourceAttributes) Type() terra.StringValue
type TrafficSourceState ¶
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 (vc VcpuCountAttributes) Max() terra.NumberValue
func (VcpuCountAttributes) Min ¶
func (vc VcpuCountAttributes) Min() terra.NumberValue
type VcpuCountState ¶
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 (wp WarmPoolAttributes) InstanceReusePolicy() terra.ListValue[InstanceReusePolicyAttributes]
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"` }
Click to show internal directories.
Click to hide internal directories.