spotfleetrequest

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceleratorCount

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

type AcceleratorCountAttributes

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

func (AcceleratorCountAttributes) InternalRef

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

func (AcceleratorCountAttributes) InternalTokens

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

func (AcceleratorCountAttributes) InternalWithRef

func (AcceleratorCountAttributes) Max

func (AcceleratorCountAttributes) Min

type AcceleratorCountState

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

type AcceleratorTotalMemoryMib

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

type AcceleratorTotalMemoryMibAttributes

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

func (AcceleratorTotalMemoryMibAttributes) InternalRef

func (AcceleratorTotalMemoryMibAttributes) InternalTokens

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

func (AcceleratorTotalMemoryMibAttributes) InternalWithRef

func (AcceleratorTotalMemoryMibAttributes) Max

func (AcceleratorTotalMemoryMibAttributes) Min

type AcceleratorTotalMemoryMibState

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

type BaselineEbsBandwidthMbps

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

type BaselineEbsBandwidthMbpsAttributes

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

func (BaselineEbsBandwidthMbpsAttributes) InternalRef

func (BaselineEbsBandwidthMbpsAttributes) InternalTokens

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

func (BaselineEbsBandwidthMbpsAttributes) InternalWithRef

func (BaselineEbsBandwidthMbpsAttributes) Max

func (BaselineEbsBandwidthMbpsAttributes) Min

type BaselineEbsBandwidthMbpsState

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

type CapacityRebalance

type CapacityRebalance struct {
	// ReplacementStrategy: string, optional
	ReplacementStrategy terra.StringValue `hcl:"replacement_strategy,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 (CapacityRebalanceAttributes) ReplacementStrategy

func (cr CapacityRebalanceAttributes) ReplacementStrategy() terra.StringValue

type CapacityRebalanceState

type CapacityRebalanceState struct {
	ReplacementStrategy string `json:"replacement_strategy"`
}

type EbsBlockDevice

type EbsBlockDevice struct {
	// DeleteOnTermination: bool, optional
	DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"`
	// DeviceName: string, required
	DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// SnapshotId: string, optional
	SnapshotId terra.StringValue `hcl:"snapshot_id,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type EbsBlockDeviceAttributes

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

func (EbsBlockDeviceAttributes) DeleteOnTermination

func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue

func (EbsBlockDeviceAttributes) DeviceName

func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue

func (EbsBlockDeviceAttributes) Encrypted

func (ebd EbsBlockDeviceAttributes) Encrypted() terra.BoolValue

func (EbsBlockDeviceAttributes) InternalRef

func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (EbsBlockDeviceAttributes) InternalTokens

func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsBlockDeviceAttributes) InternalWithRef

func (EbsBlockDeviceAttributes) Iops

func (EbsBlockDeviceAttributes) KmsKeyId

func (EbsBlockDeviceAttributes) SnapshotId

func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue

func (EbsBlockDeviceAttributes) Throughput

func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue

func (EbsBlockDeviceAttributes) VolumeSize

func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue

func (EbsBlockDeviceAttributes) VolumeType

func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue

type EbsBlockDeviceState

type EbsBlockDeviceState struct {
	DeleteOnTermination bool    `json:"delete_on_termination"`
	DeviceName          string  `json:"device_name"`
	Encrypted           bool    `json:"encrypted"`
	Iops                float64 `json:"iops"`
	KmsKeyId            string  `json:"kms_key_id"`
	SnapshotId          string  `json:"snapshot_id"`
	Throughput          float64 `json:"throughput"`
	VolumeSize          float64 `json:"volume_size"`
	VolumeType          string  `json:"volume_type"`
}

type EphemeralBlockDevice

type EphemeralBlockDevice struct {
	// DeviceName: string, required
	DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"`
	// VirtualName: string, required
	VirtualName terra.StringValue `hcl:"virtual_name,attr" validate:"required"`
}

type EphemeralBlockDeviceAttributes

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

func (EphemeralBlockDeviceAttributes) DeviceName

func (EphemeralBlockDeviceAttributes) InternalRef

func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (EphemeralBlockDeviceAttributes) InternalTokens

func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EphemeralBlockDeviceAttributes) InternalWithRef

func (EphemeralBlockDeviceAttributes) VirtualName

type EphemeralBlockDeviceState

type EphemeralBlockDeviceState struct {
	DeviceName  string `json:"device_name"`
	VirtualName string `json:"virtual_name"`
}

type InstanceRequirements

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

type InstanceRequirementsAttributes

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

func (InstanceRequirementsAttributes) AcceleratorCount

func (InstanceRequirementsAttributes) AcceleratorManufacturers

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

func (InstanceRequirementsAttributes) AcceleratorNames

func (InstanceRequirementsAttributes) AcceleratorTotalMemoryMib

func (InstanceRequirementsAttributes) AcceleratorTypes

func (InstanceRequirementsAttributes) AllowedInstanceTypes

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

func (InstanceRequirementsAttributes) BareMetal

func (InstanceRequirementsAttributes) BaselineEbsBandwidthMbps

func (InstanceRequirementsAttributes) BurstablePerformance

func (ir InstanceRequirementsAttributes) BurstablePerformance() terra.StringValue

func (InstanceRequirementsAttributes) CpuManufacturers

func (InstanceRequirementsAttributes) ExcludedInstanceTypes

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

func (InstanceRequirementsAttributes) InstanceGenerations

func (InstanceRequirementsAttributes) InternalRef

func (InstanceRequirementsAttributes) InternalTokens

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

func (InstanceRequirementsAttributes) InternalWithRef

func (InstanceRequirementsAttributes) LocalStorage

func (InstanceRequirementsAttributes) LocalStorageTypes

func (InstanceRequirementsAttributes) MemoryGibPerVcpu

func (InstanceRequirementsAttributes) MemoryMib

func (InstanceRequirementsAttributes) NetworkBandwidthGbps

func (InstanceRequirementsAttributes) NetworkInterfaceCount

func (InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) OnDemandMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) RequireHibernateSupport

func (ir InstanceRequirementsAttributes) RequireHibernateSupport() terra.BoolValue

func (InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice

func (ir InstanceRequirementsAttributes) SpotMaxPricePercentageOverLowestPrice() terra.NumberValue

func (InstanceRequirementsAttributes) TotalLocalStorageGb

func (InstanceRequirementsAttributes) VcpuCount

type InstanceRequirementsState

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

type LaunchSpecification

type LaunchSpecification struct {
	// Ami: string, required
	Ami terra.StringValue `hcl:"ami,attr" validate:"required"`
	// AssociatePublicIpAddress: bool, optional
	AssociatePublicIpAddress terra.BoolValue `hcl:"associate_public_ip_address,attr"`
	// AvailabilityZone: string, optional
	AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"`
	// EbsOptimized: bool, optional
	EbsOptimized terra.BoolValue `hcl:"ebs_optimized,attr"`
	// IamInstanceProfile: string, optional
	IamInstanceProfile terra.StringValue `hcl:"iam_instance_profile,attr"`
	// IamInstanceProfileArn: string, optional
	IamInstanceProfileArn terra.StringValue `hcl:"iam_instance_profile_arn,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// KeyName: string, optional
	KeyName terra.StringValue `hcl:"key_name,attr"`
	// Monitoring: bool, optional
	Monitoring terra.BoolValue `hcl:"monitoring,attr"`
	// PlacementGroup: string, optional
	PlacementGroup terra.StringValue `hcl:"placement_group,attr"`
	// PlacementTenancy: string, optional
	PlacementTenancy terra.StringValue `hcl:"placement_tenancy,attr"`
	// SpotPrice: string, optional
	SpotPrice terra.StringValue `hcl:"spot_price,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// UserData: string, optional
	UserData terra.StringValue `hcl:"user_data,attr"`
	// VpcSecurityGroupIds: set of string, optional
	VpcSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"vpc_security_group_ids,attr"`
	// WeightedCapacity: string, optional
	WeightedCapacity terra.StringValue `hcl:"weighted_capacity,attr"`
	// EbsBlockDevice: min=0
	EbsBlockDevice []EbsBlockDevice `hcl:"ebs_block_device,block" validate:"min=0"`
	// EphemeralBlockDevice: min=0
	EphemeralBlockDevice []EphemeralBlockDevice `hcl:"ephemeral_block_device,block" validate:"min=0"`
	// RootBlockDevice: min=0
	RootBlockDevice []RootBlockDevice `hcl:"root_block_device,block" validate:"min=0"`
}

type LaunchSpecificationAttributes

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

func (LaunchSpecificationAttributes) Ami

func (LaunchSpecificationAttributes) AssociatePublicIpAddress

func (ls LaunchSpecificationAttributes) AssociatePublicIpAddress() terra.BoolValue

func (LaunchSpecificationAttributes) AvailabilityZone

func (ls LaunchSpecificationAttributes) AvailabilityZone() terra.StringValue

func (LaunchSpecificationAttributes) EbsBlockDevice

func (LaunchSpecificationAttributes) EbsOptimized

func (ls LaunchSpecificationAttributes) EbsOptimized() terra.BoolValue

func (LaunchSpecificationAttributes) EphemeralBlockDevice

func (LaunchSpecificationAttributes) IamInstanceProfile

func (ls LaunchSpecificationAttributes) IamInstanceProfile() terra.StringValue

func (LaunchSpecificationAttributes) IamInstanceProfileArn

func (ls LaunchSpecificationAttributes) IamInstanceProfileArn() terra.StringValue

func (LaunchSpecificationAttributes) InstanceType

func (LaunchSpecificationAttributes) InternalRef

func (ls LaunchSpecificationAttributes) InternalRef() (terra.Reference, error)

func (LaunchSpecificationAttributes) InternalTokens

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

func (LaunchSpecificationAttributes) InternalWithRef

func (LaunchSpecificationAttributes) KeyName

func (LaunchSpecificationAttributes) Monitoring

func (LaunchSpecificationAttributes) PlacementGroup

func (ls LaunchSpecificationAttributes) PlacementGroup() terra.StringValue

func (LaunchSpecificationAttributes) PlacementTenancy

func (ls LaunchSpecificationAttributes) PlacementTenancy() terra.StringValue

func (LaunchSpecificationAttributes) RootBlockDevice

func (LaunchSpecificationAttributes) SpotPrice

func (LaunchSpecificationAttributes) SubnetId

func (LaunchSpecificationAttributes) Tags

func (LaunchSpecificationAttributes) UserData

func (LaunchSpecificationAttributes) VpcSecurityGroupIds

func (ls LaunchSpecificationAttributes) VpcSecurityGroupIds() terra.SetValue[terra.StringValue]

func (LaunchSpecificationAttributes) WeightedCapacity

func (ls LaunchSpecificationAttributes) WeightedCapacity() terra.StringValue

type LaunchSpecificationState

type LaunchSpecificationState struct {
	Ami                      string                      `json:"ami"`
	AssociatePublicIpAddress bool                        `json:"associate_public_ip_address"`
	AvailabilityZone         string                      `json:"availability_zone"`
	EbsOptimized             bool                        `json:"ebs_optimized"`
	IamInstanceProfile       string                      `json:"iam_instance_profile"`
	IamInstanceProfileArn    string                      `json:"iam_instance_profile_arn"`
	InstanceType             string                      `json:"instance_type"`
	KeyName                  string                      `json:"key_name"`
	Monitoring               bool                        `json:"monitoring"`
	PlacementGroup           string                      `json:"placement_group"`
	PlacementTenancy         string                      `json:"placement_tenancy"`
	SpotPrice                string                      `json:"spot_price"`
	SubnetId                 string                      `json:"subnet_id"`
	Tags                     map[string]string           `json:"tags"`
	UserData                 string                      `json:"user_data"`
	VpcSecurityGroupIds      []string                    `json:"vpc_security_group_ids"`
	WeightedCapacity         string                      `json:"weighted_capacity"`
	EbsBlockDevice           []EbsBlockDeviceState       `json:"ebs_block_device"`
	EphemeralBlockDevice     []EphemeralBlockDeviceState `json:"ephemeral_block_device"`
	RootBlockDevice          []RootBlockDeviceState      `json:"root_block_device"`
}

type LaunchTemplateConfig

type LaunchTemplateConfig struct {
	// LaunchTemplateSpecification: required
	LaunchTemplateSpecification *LaunchTemplateSpecification `hcl:"launch_template_specification,block" validate:"required"`
	// Overrides: min=0
	Overrides []Overrides `hcl:"overrides,block" validate:"min=0"`
}

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 (LaunchTemplateConfigAttributes) LaunchTemplateSpecification

func (LaunchTemplateConfigAttributes) Overrides

type LaunchTemplateConfigState

type LaunchTemplateConfigState struct {
	LaunchTemplateSpecification []LaunchTemplateSpecificationState `json:"launch_template_specification"`
	Overrides                   []OverridesState                   `json:"overrides"`
}

type LaunchTemplateSpecification

type LaunchTemplateSpecification 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 LaunchTemplateSpecificationAttributes

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

func (LaunchTemplateSpecificationAttributes) Id

func (LaunchTemplateSpecificationAttributes) InternalRef

func (LaunchTemplateSpecificationAttributes) InternalTokens

func (LaunchTemplateSpecificationAttributes) InternalWithRef

func (LaunchTemplateSpecificationAttributes) Name

func (LaunchTemplateSpecificationAttributes) Version

type LaunchTemplateSpecificationState

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

type MemoryGibPerVcpu

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

type MemoryGibPerVcpuAttributes

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

func (MemoryGibPerVcpuAttributes) InternalRef

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

func (MemoryGibPerVcpuAttributes) InternalTokens

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

func (MemoryGibPerVcpuAttributes) InternalWithRef

func (MemoryGibPerVcpuAttributes) Max

func (MemoryGibPerVcpuAttributes) Min

type MemoryGibPerVcpuState

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

type MemoryMib

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

type MemoryMibAttributes

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

func (MemoryMibAttributes) InternalRef

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

func (MemoryMibAttributes) InternalTokens

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

func (MemoryMibAttributes) InternalWithRef

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

func (MemoryMibAttributes) Max

func (MemoryMibAttributes) Min

type MemoryMibState

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

type NetworkBandwidthGbps

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

type NetworkBandwidthGbpsAttributes

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

func (NetworkBandwidthGbpsAttributes) InternalRef

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

func (NetworkBandwidthGbpsAttributes) InternalTokens

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

func (NetworkBandwidthGbpsAttributes) InternalWithRef

func (NetworkBandwidthGbpsAttributes) Max

func (NetworkBandwidthGbpsAttributes) Min

type NetworkBandwidthGbpsState

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

type NetworkInterfaceCount

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

type NetworkInterfaceCountAttributes

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

func (NetworkInterfaceCountAttributes) InternalRef

func (NetworkInterfaceCountAttributes) InternalTokens

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

func (NetworkInterfaceCountAttributes) InternalWithRef

func (NetworkInterfaceCountAttributes) Max

func (NetworkInterfaceCountAttributes) Min

type NetworkInterfaceCountState

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

type Overrides

type Overrides struct {
	// AvailabilityZone: string, optional
	AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"`
	// InstanceType: string, optional
	InstanceType terra.StringValue `hcl:"instance_type,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// SpotPrice: string, optional
	SpotPrice terra.StringValue `hcl:"spot_price,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 OverridesAttributes

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

func (OverridesAttributes) AvailabilityZone

func (o OverridesAttributes) AvailabilityZone() terra.StringValue

func (OverridesAttributes) InstanceRequirements

func (OverridesAttributes) InstanceType

func (o OverridesAttributes) InstanceType() terra.StringValue

func (OverridesAttributes) InternalRef

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

func (OverridesAttributes) InternalTokens

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

func (OverridesAttributes) InternalWithRef

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

func (OverridesAttributes) Priority

func (o OverridesAttributes) Priority() terra.NumberValue

func (OverridesAttributes) SpotPrice

func (o OverridesAttributes) SpotPrice() terra.StringValue

func (OverridesAttributes) SubnetId

func (o OverridesAttributes) SubnetId() terra.StringValue

func (OverridesAttributes) WeightedCapacity

func (o OverridesAttributes) WeightedCapacity() terra.NumberValue

type OverridesState

type OverridesState struct {
	AvailabilityZone     string                      `json:"availability_zone"`
	InstanceType         string                      `json:"instance_type"`
	Priority             float64                     `json:"priority"`
	SpotPrice            string                      `json:"spot_price"`
	SubnetId             string                      `json:"subnet_id"`
	WeightedCapacity     float64                     `json:"weighted_capacity"`
	InstanceRequirements []InstanceRequirementsState `json:"instance_requirements"`
}

type RootBlockDevice

type RootBlockDevice struct {
	// DeleteOnTermination: bool, optional
	DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"`
	// Encrypted: bool, optional
	Encrypted terra.BoolValue `hcl:"encrypted,attr"`
	// Iops: number, optional
	Iops terra.NumberValue `hcl:"iops,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// Throughput: number, optional
	Throughput terra.NumberValue `hcl:"throughput,attr"`
	// VolumeSize: number, optional
	VolumeSize terra.NumberValue `hcl:"volume_size,attr"`
	// VolumeType: string, optional
	VolumeType terra.StringValue `hcl:"volume_type,attr"`
}

type RootBlockDeviceAttributes

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

func (RootBlockDeviceAttributes) DeleteOnTermination

func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue

func (RootBlockDeviceAttributes) Encrypted

func (rbd RootBlockDeviceAttributes) Encrypted() terra.BoolValue

func (RootBlockDeviceAttributes) InternalRef

func (rbd RootBlockDeviceAttributes) InternalRef() (terra.Reference, error)

func (RootBlockDeviceAttributes) InternalTokens

func (rbd RootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RootBlockDeviceAttributes) InternalWithRef

func (RootBlockDeviceAttributes) Iops

func (RootBlockDeviceAttributes) KmsKeyId

func (RootBlockDeviceAttributes) Throughput

func (rbd RootBlockDeviceAttributes) Throughput() terra.NumberValue

func (RootBlockDeviceAttributes) VolumeSize

func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue

func (RootBlockDeviceAttributes) VolumeType

func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue

type RootBlockDeviceState

type RootBlockDeviceState struct {
	DeleteOnTermination bool    `json:"delete_on_termination"`
	Encrypted           bool    `json:"encrypted"`
	Iops                float64 `json:"iops"`
	KmsKeyId            string  `json:"kms_key_id"`
	Throughput          float64 `json:"throughput"`
	VolumeSize          float64 `json:"volume_size"`
	VolumeType          string  `json:"volume_type"`
}

type SpotMaintenanceStrategies

type SpotMaintenanceStrategies struct {
	// CapacityRebalance: optional
	CapacityRebalance *CapacityRebalance `hcl:"capacity_rebalance,block"`
}

type SpotMaintenanceStrategiesAttributes

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

func (SpotMaintenanceStrategiesAttributes) CapacityRebalance

func (SpotMaintenanceStrategiesAttributes) InternalRef

func (SpotMaintenanceStrategiesAttributes) InternalTokens

func (sms SpotMaintenanceStrategiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpotMaintenanceStrategiesAttributes) InternalWithRef

type SpotMaintenanceStrategiesState

type SpotMaintenanceStrategiesState struct {
	CapacityRebalance []CapacityRebalanceState `json:"capacity_rebalance"`
}

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 (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

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

func (TimeoutsAttributes) InternalTokens

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

func (TimeoutsAttributes) InternalWithRef

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

func (TimeoutsAttributes) Update

type TimeoutsState

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

type TotalLocalStorageGb

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

type TotalLocalStorageGbAttributes

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

func (TotalLocalStorageGbAttributes) InternalRef

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

func (TotalLocalStorageGbAttributes) InternalTokens

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

func (TotalLocalStorageGbAttributes) InternalWithRef

func (TotalLocalStorageGbAttributes) Max

func (TotalLocalStorageGbAttributes) Min

type TotalLocalStorageGbState

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

type VcpuCount

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

type VcpuCountAttributes

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

func (VcpuCountAttributes) InternalRef

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

func (VcpuCountAttributes) InternalTokens

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

func (VcpuCountAttributes) InternalWithRef

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

func (VcpuCountAttributes) Max

func (VcpuCountAttributes) Min

type VcpuCountState

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

Jump to

Keyboard shortcuts

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