Documentation ¶
Index ¶
- type Configurations
- type ConfigurationsAttributes
- func (c ConfigurationsAttributes) Classification() terra.StringValue
- func (c ConfigurationsAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigurationsAttributes) InternalWithRef(ref terra.Reference) ConfigurationsAttributes
- func (c ConfigurationsAttributes) Properties() terra.MapValue[terra.StringValue]
- type ConfigurationsState
- type EbsConfig
- type EbsConfigAttributes
- func (ec EbsConfigAttributes) InternalRef() (terra.Reference, error)
- func (ec EbsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec EbsConfigAttributes) InternalWithRef(ref terra.Reference) EbsConfigAttributes
- func (ec EbsConfigAttributes) Iops() terra.NumberValue
- func (ec EbsConfigAttributes) Size() terra.NumberValue
- func (ec EbsConfigAttributes) Type() terra.StringValue
- func (ec EbsConfigAttributes) VolumesPerInstance() terra.NumberValue
- type EbsConfigState
- type InstanceTypeConfigs
- type InstanceTypeConfigsAttributes
- func (itc InstanceTypeConfigsAttributes) BidPrice() terra.StringValue
- func (itc InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue
- func (itc InstanceTypeConfigsAttributes) Configurations() terra.SetValue[ConfigurationsAttributes]
- func (itc InstanceTypeConfigsAttributes) EbsConfig() terra.SetValue[EbsConfigAttributes]
- func (itc InstanceTypeConfigsAttributes) InstanceType() terra.StringValue
- func (itc InstanceTypeConfigsAttributes) InternalRef() (terra.Reference, error)
- func (itc InstanceTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (itc InstanceTypeConfigsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsAttributes
- func (itc InstanceTypeConfigsAttributes) WeightedCapacity() terra.NumberValue
- type InstanceTypeConfigsState
- type LaunchSpecifications
- type LaunchSpecificationsAttributes
- func (ls LaunchSpecificationsAttributes) InternalRef() (terra.Reference, error)
- func (ls LaunchSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls LaunchSpecificationsAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsAttributes
- func (ls LaunchSpecificationsAttributes) OnDemandSpecification() terra.ListValue[OnDemandSpecificationAttributes]
- func (ls LaunchSpecificationsAttributes) SpotSpecification() terra.ListValue[SpotSpecificationAttributes]
- type LaunchSpecificationsState
- type OnDemandSpecification
- type OnDemandSpecificationAttributes
- func (ods OnDemandSpecificationAttributes) AllocationStrategy() terra.StringValue
- func (ods OnDemandSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (ods OnDemandSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ods OnDemandSpecificationAttributes) InternalWithRef(ref terra.Reference) OnDemandSpecificationAttributes
- type OnDemandSpecificationState
- type SpotSpecification
- type SpotSpecificationAttributes
- func (ss SpotSpecificationAttributes) AllocationStrategy() terra.StringValue
- func (ss SpotSpecificationAttributes) BlockDurationMinutes() terra.NumberValue
- func (ss SpotSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (ss SpotSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss SpotSpecificationAttributes) InternalWithRef(ref terra.Reference) SpotSpecificationAttributes
- func (ss SpotSpecificationAttributes) TimeoutAction() terra.StringValue
- func (ss SpotSpecificationAttributes) TimeoutDurationMinutes() terra.NumberValue
- type SpotSpecificationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurations ¶
type Configurations struct { // Classification: string, optional Classification terra.StringValue `hcl:"classification,attr"` // Properties: map of string, optional Properties terra.MapValue[terra.StringValue] `hcl:"properties,attr"` }
type ConfigurationsAttributes ¶
type ConfigurationsAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationsAttributes) Classification ¶
func (c ConfigurationsAttributes) Classification() terra.StringValue
func (ConfigurationsAttributes) InternalRef ¶
func (c ConfigurationsAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationsAttributes) InternalTokens ¶
func (c ConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationsAttributes) InternalWithRef ¶
func (c ConfigurationsAttributes) InternalWithRef(ref terra.Reference) ConfigurationsAttributes
func (ConfigurationsAttributes) Properties ¶
func (c ConfigurationsAttributes) Properties() terra.MapValue[terra.StringValue]
type ConfigurationsState ¶
type EbsConfig ¶
type EbsConfig struct { // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // VolumesPerInstance: number, optional VolumesPerInstance terra.NumberValue `hcl:"volumes_per_instance,attr"` }
type EbsConfigAttributes ¶
type EbsConfigAttributes struct {
// contains filtered or unexported fields
}
func (EbsConfigAttributes) InternalRef ¶
func (ec EbsConfigAttributes) InternalRef() (terra.Reference, error)
func (EbsConfigAttributes) InternalTokens ¶
func (ec EbsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EbsConfigAttributes) InternalWithRef ¶
func (ec EbsConfigAttributes) InternalWithRef(ref terra.Reference) EbsConfigAttributes
func (EbsConfigAttributes) Iops ¶
func (ec EbsConfigAttributes) Iops() terra.NumberValue
func (EbsConfigAttributes) Size ¶
func (ec EbsConfigAttributes) Size() terra.NumberValue
func (EbsConfigAttributes) Type ¶
func (ec EbsConfigAttributes) Type() terra.StringValue
func (EbsConfigAttributes) VolumesPerInstance ¶
func (ec EbsConfigAttributes) VolumesPerInstance() terra.NumberValue
type EbsConfigState ¶
type InstanceTypeConfigs ¶
type InstanceTypeConfigs struct { // BidPrice: string, optional BidPrice terra.StringValue `hcl:"bid_price,attr"` // BidPriceAsPercentageOfOnDemandPrice: number, optional BidPriceAsPercentageOfOnDemandPrice terra.NumberValue `hcl:"bid_price_as_percentage_of_on_demand_price,attr"` // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // WeightedCapacity: number, optional WeightedCapacity terra.NumberValue `hcl:"weighted_capacity,attr"` // Configurations: min=0 Configurations []Configurations `hcl:"configurations,block" validate:"min=0"` // EbsConfig: min=0 EbsConfig []EbsConfig `hcl:"ebs_config,block" validate:"min=0"` }
type InstanceTypeConfigsAttributes ¶
type InstanceTypeConfigsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceTypeConfigsAttributes) BidPrice ¶
func (itc InstanceTypeConfigsAttributes) BidPrice() terra.StringValue
func (InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice ¶
func (itc InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue
func (InstanceTypeConfigsAttributes) Configurations ¶
func (itc InstanceTypeConfigsAttributes) Configurations() terra.SetValue[ConfigurationsAttributes]
func (InstanceTypeConfigsAttributes) EbsConfig ¶
func (itc InstanceTypeConfigsAttributes) EbsConfig() terra.SetValue[EbsConfigAttributes]
func (InstanceTypeConfigsAttributes) InstanceType ¶
func (itc InstanceTypeConfigsAttributes) InstanceType() terra.StringValue
func (InstanceTypeConfigsAttributes) InternalRef ¶
func (itc InstanceTypeConfigsAttributes) InternalRef() (terra.Reference, error)
func (InstanceTypeConfigsAttributes) InternalTokens ¶
func (itc InstanceTypeConfigsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceTypeConfigsAttributes) InternalWithRef ¶
func (itc InstanceTypeConfigsAttributes) InternalWithRef(ref terra.Reference) InstanceTypeConfigsAttributes
func (InstanceTypeConfigsAttributes) WeightedCapacity ¶
func (itc InstanceTypeConfigsAttributes) WeightedCapacity() terra.NumberValue
type InstanceTypeConfigsState ¶
type InstanceTypeConfigsState struct { BidPrice string `json:"bid_price"` BidPriceAsPercentageOfOnDemandPrice float64 `json:"bid_price_as_percentage_of_on_demand_price"` InstanceType string `json:"instance_type"` WeightedCapacity float64 `json:"weighted_capacity"` Configurations []ConfigurationsState `json:"configurations"` EbsConfig []EbsConfigState `json:"ebs_config"` }
type LaunchSpecifications ¶
type LaunchSpecifications struct { // OnDemandSpecification: min=0 OnDemandSpecification []OnDemandSpecification `hcl:"on_demand_specification,block" validate:"min=0"` // SpotSpecification: min=0 SpotSpecification []SpotSpecification `hcl:"spot_specification,block" validate:"min=0"` }
type LaunchSpecificationsAttributes ¶
type LaunchSpecificationsAttributes struct {
// contains filtered or unexported fields
}
func (LaunchSpecificationsAttributes) InternalRef ¶
func (ls LaunchSpecificationsAttributes) InternalRef() (terra.Reference, error)
func (LaunchSpecificationsAttributes) InternalTokens ¶
func (ls LaunchSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchSpecificationsAttributes) InternalWithRef ¶
func (ls LaunchSpecificationsAttributes) InternalWithRef(ref terra.Reference) LaunchSpecificationsAttributes
func (LaunchSpecificationsAttributes) OnDemandSpecification ¶
func (ls LaunchSpecificationsAttributes) OnDemandSpecification() terra.ListValue[OnDemandSpecificationAttributes]
func (LaunchSpecificationsAttributes) SpotSpecification ¶
func (ls LaunchSpecificationsAttributes) SpotSpecification() terra.ListValue[SpotSpecificationAttributes]
type LaunchSpecificationsState ¶
type LaunchSpecificationsState struct { OnDemandSpecification []OnDemandSpecificationState `json:"on_demand_specification"` SpotSpecification []SpotSpecificationState `json:"spot_specification"` }
type OnDemandSpecification ¶
type OnDemandSpecification struct { // AllocationStrategy: string, required AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"` }
type OnDemandSpecificationAttributes ¶
type OnDemandSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (OnDemandSpecificationAttributes) AllocationStrategy ¶
func (ods OnDemandSpecificationAttributes) AllocationStrategy() terra.StringValue
func (OnDemandSpecificationAttributes) InternalRef ¶
func (ods OnDemandSpecificationAttributes) InternalRef() (terra.Reference, error)
func (OnDemandSpecificationAttributes) InternalTokens ¶
func (ods OnDemandSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OnDemandSpecificationAttributes) InternalWithRef ¶
func (ods OnDemandSpecificationAttributes) InternalWithRef(ref terra.Reference) OnDemandSpecificationAttributes
type OnDemandSpecificationState ¶
type OnDemandSpecificationState struct {
AllocationStrategy string `json:"allocation_strategy"`
}
type SpotSpecification ¶
type SpotSpecification struct { // AllocationStrategy: string, required AllocationStrategy terra.StringValue `hcl:"allocation_strategy,attr" validate:"required"` // BlockDurationMinutes: number, optional BlockDurationMinutes terra.NumberValue `hcl:"block_duration_minutes,attr"` // TimeoutAction: string, required TimeoutAction terra.StringValue `hcl:"timeout_action,attr" validate:"required"` // TimeoutDurationMinutes: number, required TimeoutDurationMinutes terra.NumberValue `hcl:"timeout_duration_minutes,attr" validate:"required"` }
type SpotSpecificationAttributes ¶
type SpotSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (SpotSpecificationAttributes) AllocationStrategy ¶
func (ss SpotSpecificationAttributes) AllocationStrategy() terra.StringValue
func (SpotSpecificationAttributes) BlockDurationMinutes ¶
func (ss SpotSpecificationAttributes) BlockDurationMinutes() terra.NumberValue
func (SpotSpecificationAttributes) InternalRef ¶
func (ss SpotSpecificationAttributes) InternalRef() (terra.Reference, error)
func (SpotSpecificationAttributes) InternalTokens ¶
func (ss SpotSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SpotSpecificationAttributes) InternalWithRef ¶
func (ss SpotSpecificationAttributes) InternalWithRef(ref terra.Reference) SpotSpecificationAttributes
func (SpotSpecificationAttributes) TimeoutAction ¶
func (ss SpotSpecificationAttributes) TimeoutAction() terra.StringValue
func (SpotSpecificationAttributes) TimeoutDurationMinutes ¶
func (ss SpotSpecificationAttributes) TimeoutDurationMinutes() terra.NumberValue
Click to show internal directories.
Click to hide internal directories.