emrinstancefleet

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

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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 (ConfigurationsAttributes) Properties

type ConfigurationsState

type ConfigurationsState struct {
	Classification string            `json:"classification"`
	Properties     map[string]string `json:"properties"`
}

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 (EbsConfigAttributes) Size

func (EbsConfigAttributes) Type

func (EbsConfigAttributes) VolumesPerInstance

func (ec EbsConfigAttributes) VolumesPerInstance() terra.NumberValue

type EbsConfigState

type EbsConfigState struct {
	Iops               float64 `json:"iops"`
	Size               float64 `json:"size"`
	Type               string  `json:"type"`
	VolumesPerInstance float64 `json:"volumes_per_instance"`
}

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 (InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice

func (itc InstanceTypeConfigsAttributes) BidPriceAsPercentageOfOnDemandPrice() terra.NumberValue

func (InstanceTypeConfigsAttributes) Configurations

func (InstanceTypeConfigsAttributes) EbsConfig

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 (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 (LaunchSpecificationsAttributes) InternalTokens

func (ls LaunchSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LaunchSpecificationsAttributes) InternalWithRef

func (LaunchSpecificationsAttributes) OnDemandSpecification

func (LaunchSpecificationsAttributes) SpotSpecification

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 (OnDemandSpecificationAttributes) InternalTokens

func (ods OnDemandSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OnDemandSpecificationAttributes) InternalWithRef

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 (SpotSpecificationAttributes) TimeoutAction

func (ss SpotSpecificationAttributes) TimeoutAction() terra.StringValue

func (SpotSpecificationAttributes) TimeoutDurationMinutes

func (ss SpotSpecificationAttributes) TimeoutDurationMinutes() terra.NumberValue

type SpotSpecificationState

type SpotSpecificationState struct {
	AllocationStrategy     string  `json:"allocation_strategy"`
	BlockDurationMinutes   float64 `json:"block_duration_minutes"`
	TimeoutAction          string  `json:"timeout_action"`
	TimeoutDurationMinutes float64 `json:"timeout_duration_minutes"`
}

Jump to

Keyboard shortcuts

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