launchtemplate

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 BlockDeviceMappings

type BlockDeviceMappings struct {
	// DeviceName: string, optional
	DeviceName terra.StringValue `hcl:"device_name,attr"`
	// NoDevice: string, optional
	NoDevice terra.StringValue `hcl:"no_device,attr"`
	// VirtualName: string, optional
	VirtualName terra.StringValue `hcl:"virtual_name,attr"`
	// Ebs: optional
	Ebs *Ebs `hcl:"ebs,block"`
}

type BlockDeviceMappingsAttributes

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

func (BlockDeviceMappingsAttributes) DeviceName

func (BlockDeviceMappingsAttributes) Ebs

func (BlockDeviceMappingsAttributes) InternalRef

func (bdm BlockDeviceMappingsAttributes) InternalRef() (terra.Reference, error)

func (BlockDeviceMappingsAttributes) InternalTokens

func (bdm BlockDeviceMappingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BlockDeviceMappingsAttributes) InternalWithRef

func (BlockDeviceMappingsAttributes) NoDevice

func (BlockDeviceMappingsAttributes) VirtualName

type BlockDeviceMappingsState

type BlockDeviceMappingsState struct {
	DeviceName  string     `json:"device_name"`
	NoDevice    string     `json:"no_device"`
	VirtualName string     `json:"virtual_name"`
	Ebs         []EbsState `json:"ebs"`
}

type CapacityReservationSpecification

type CapacityReservationSpecification struct {
	// CapacityReservationPreference: string, optional
	CapacityReservationPreference terra.StringValue `hcl:"capacity_reservation_preference,attr"`
	// CapacityReservationTarget: optional
	CapacityReservationTarget *CapacityReservationTarget `hcl:"capacity_reservation_target,block"`
}

type CapacityReservationSpecificationAttributes

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

func (CapacityReservationSpecificationAttributes) CapacityReservationPreference

func (crs CapacityReservationSpecificationAttributes) CapacityReservationPreference() terra.StringValue

func (CapacityReservationSpecificationAttributes) CapacityReservationTarget

func (CapacityReservationSpecificationAttributes) InternalRef

func (CapacityReservationSpecificationAttributes) InternalTokens

func (CapacityReservationSpecificationAttributes) InternalWithRef

type CapacityReservationSpecificationState

type CapacityReservationSpecificationState struct {
	CapacityReservationPreference string                           `json:"capacity_reservation_preference"`
	CapacityReservationTarget     []CapacityReservationTargetState `json:"capacity_reservation_target"`
}

type CapacityReservationTarget

type CapacityReservationTarget struct {
	// CapacityReservationId: string, optional
	CapacityReservationId terra.StringValue `hcl:"capacity_reservation_id,attr"`
	// CapacityReservationResourceGroupArn: string, optional
	CapacityReservationResourceGroupArn terra.StringValue `hcl:"capacity_reservation_resource_group_arn,attr"`
}

type CapacityReservationTargetAttributes

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

func (CapacityReservationTargetAttributes) CapacityReservationId

func (crt CapacityReservationTargetAttributes) CapacityReservationId() terra.StringValue

func (CapacityReservationTargetAttributes) CapacityReservationResourceGroupArn

func (crt CapacityReservationTargetAttributes) CapacityReservationResourceGroupArn() terra.StringValue

func (CapacityReservationTargetAttributes) InternalRef

func (CapacityReservationTargetAttributes) InternalTokens

func (crt CapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityReservationTargetAttributes) InternalWithRef

type CapacityReservationTargetState

type CapacityReservationTargetState struct {
	CapacityReservationId               string `json:"capacity_reservation_id"`
	CapacityReservationResourceGroupArn string `json:"capacity_reservation_resource_group_arn"`
}

type CpuOptions

type CpuOptions struct {
	// AmdSevSnp: string, optional
	AmdSevSnp terra.StringValue `hcl:"amd_sev_snp,attr"`
	// CoreCount: number, optional
	CoreCount terra.NumberValue `hcl:"core_count,attr"`
	// ThreadsPerCore: number, optional
	ThreadsPerCore terra.NumberValue `hcl:"threads_per_core,attr"`
}

type CpuOptionsAttributes

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

func (CpuOptionsAttributes) AmdSevSnp

func (co CpuOptionsAttributes) AmdSevSnp() terra.StringValue

func (CpuOptionsAttributes) CoreCount

func (co CpuOptionsAttributes) CoreCount() terra.NumberValue

func (CpuOptionsAttributes) InternalRef

func (co CpuOptionsAttributes) InternalRef() (terra.Reference, error)

func (CpuOptionsAttributes) InternalTokens

func (co CpuOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CpuOptionsAttributes) InternalWithRef

func (co CpuOptionsAttributes) InternalWithRef(ref terra.Reference) CpuOptionsAttributes

func (CpuOptionsAttributes) ThreadsPerCore

func (co CpuOptionsAttributes) ThreadsPerCore() terra.NumberValue

type CpuOptionsState

type CpuOptionsState struct {
	AmdSevSnp      string  `json:"amd_sev_snp"`
	CoreCount      float64 `json:"core_count"`
	ThreadsPerCore float64 `json:"threads_per_core"`
}

type CreditSpecification

type CreditSpecification struct {
	// CpuCredits: string, optional
	CpuCredits terra.StringValue `hcl:"cpu_credits,attr"`
}

type CreditSpecificationAttributes

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

func (CreditSpecificationAttributes) CpuCredits

func (CreditSpecificationAttributes) InternalRef

func (cs CreditSpecificationAttributes) InternalRef() (terra.Reference, error)

func (CreditSpecificationAttributes) InternalTokens

func (cs CreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CreditSpecificationAttributes) InternalWithRef

type CreditSpecificationState

type CreditSpecificationState struct {
	CpuCredits string `json:"cpu_credits"`
}

type Ebs

type Ebs struct {
	// DeleteOnTermination: string, optional
	DeleteOnTermination terra.StringValue `hcl:"delete_on_termination,attr"`
	// Encrypted: string, optional
	Encrypted terra.StringValue `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 EbsAttributes

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

func (EbsAttributes) DeleteOnTermination

func (e EbsAttributes) DeleteOnTermination() terra.StringValue

func (EbsAttributes) Encrypted

func (e EbsAttributes) Encrypted() terra.StringValue

func (EbsAttributes) InternalRef

func (e EbsAttributes) InternalRef() (terra.Reference, error)

func (EbsAttributes) InternalTokens

func (e EbsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EbsAttributes) InternalWithRef

func (e EbsAttributes) InternalWithRef(ref terra.Reference) EbsAttributes

func (EbsAttributes) Iops

func (e EbsAttributes) Iops() terra.NumberValue

func (EbsAttributes) KmsKeyId

func (e EbsAttributes) KmsKeyId() terra.StringValue

func (EbsAttributes) SnapshotId

func (e EbsAttributes) SnapshotId() terra.StringValue

func (EbsAttributes) Throughput

func (e EbsAttributes) Throughput() terra.NumberValue

func (EbsAttributes) VolumeSize

func (e EbsAttributes) VolumeSize() terra.NumberValue

func (EbsAttributes) VolumeType

func (e EbsAttributes) VolumeType() terra.StringValue

type EbsState

type EbsState struct {
	DeleteOnTermination string  `json:"delete_on_termination"`
	Encrypted           string  `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 ElasticGpuSpecifications

type ElasticGpuSpecifications struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ElasticGpuSpecificationsAttributes

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

func (ElasticGpuSpecificationsAttributes) InternalRef

func (ElasticGpuSpecificationsAttributes) InternalTokens

func (egs ElasticGpuSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ElasticGpuSpecificationsAttributes) InternalWithRef

func (ElasticGpuSpecificationsAttributes) Type

type ElasticGpuSpecificationsState

type ElasticGpuSpecificationsState struct {
	Type string `json:"type"`
}

type ElasticInferenceAccelerator

type ElasticInferenceAccelerator struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type ElasticInferenceAcceleratorAttributes

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

func (ElasticInferenceAcceleratorAttributes) InternalRef

func (ElasticInferenceAcceleratorAttributes) InternalTokens

func (ElasticInferenceAcceleratorAttributes) InternalWithRef

func (ElasticInferenceAcceleratorAttributes) Type

type ElasticInferenceAcceleratorState

type ElasticInferenceAcceleratorState struct {
	Type string `json:"type"`
}

type EnclaveOptions

type EnclaveOptions struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type EnclaveOptionsAttributes

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

func (EnclaveOptionsAttributes) Enabled

func (EnclaveOptionsAttributes) InternalRef

func (eo EnclaveOptionsAttributes) InternalRef() (terra.Reference, error)

func (EnclaveOptionsAttributes) InternalTokens

func (eo EnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EnclaveOptionsAttributes) InternalWithRef

type EnclaveOptionsState

type EnclaveOptionsState struct {
	Enabled bool `json:"enabled"`
}

type HibernationOptions

type HibernationOptions struct {
	// Configured: bool, required
	Configured terra.BoolValue `hcl:"configured,attr" validate:"required"`
}

type HibernationOptionsAttributes

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

func (HibernationOptionsAttributes) Configured

func (HibernationOptionsAttributes) InternalRef

func (ho HibernationOptionsAttributes) InternalRef() (terra.Reference, error)

func (HibernationOptionsAttributes) InternalTokens

func (ho HibernationOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HibernationOptionsAttributes) InternalWithRef

type HibernationOptionsState

type HibernationOptionsState struct {
	Configured bool `json:"configured"`
}

type IamInstanceProfile

type IamInstanceProfile struct {
	// Arn: string, optional
	Arn terra.StringValue `hcl:"arn,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type IamInstanceProfileAttributes

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

func (IamInstanceProfileAttributes) Arn

func (IamInstanceProfileAttributes) InternalRef

func (iip IamInstanceProfileAttributes) InternalRef() (terra.Reference, error)

func (IamInstanceProfileAttributes) InternalTokens

func (iip IamInstanceProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IamInstanceProfileAttributes) InternalWithRef

func (IamInstanceProfileAttributes) Name

type IamInstanceProfileState

type IamInstanceProfileState struct {
	Arn  string `json:"arn"`
	Name string `json:"name"`
}

type InstanceMarketOptions

type InstanceMarketOptions struct {
	// MarketType: string, optional
	MarketType terra.StringValue `hcl:"market_type,attr"`
	// SpotOptions: optional
	SpotOptions *SpotOptions `hcl:"spot_options,block"`
}

type InstanceMarketOptionsAttributes

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

func (InstanceMarketOptionsAttributes) InternalRef

func (InstanceMarketOptionsAttributes) InternalTokens

func (imo InstanceMarketOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceMarketOptionsAttributes) InternalWithRef

func (InstanceMarketOptionsAttributes) MarketType

func (InstanceMarketOptionsAttributes) SpotOptions

type InstanceMarketOptionsState

type InstanceMarketOptionsState struct {
	MarketType  string             `json:"market_type"`
	SpotOptions []SpotOptionsState `json:"spot_options"`
}

type InstanceRequirements

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

type InstanceRequirementsAttributes

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

func (InstanceRequirementsAttributes) AcceleratorCount

func (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 LicenseSpecification

type LicenseSpecification struct {
	// LicenseConfigurationArn: string, required
	LicenseConfigurationArn terra.StringValue `hcl:"license_configuration_arn,attr" validate:"required"`
}

type LicenseSpecificationAttributes

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

func (LicenseSpecificationAttributes) InternalRef

func (LicenseSpecificationAttributes) InternalTokens

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

func (LicenseSpecificationAttributes) InternalWithRef

func (LicenseSpecificationAttributes) LicenseConfigurationArn

func (ls LicenseSpecificationAttributes) LicenseConfigurationArn() terra.StringValue

type LicenseSpecificationState

type LicenseSpecificationState struct {
	LicenseConfigurationArn string `json:"license_configuration_arn"`
}

type MaintenanceOptions

type MaintenanceOptions struct {
	// AutoRecovery: string, optional
	AutoRecovery terra.StringValue `hcl:"auto_recovery,attr"`
}

type MaintenanceOptionsAttributes

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

func (MaintenanceOptionsAttributes) AutoRecovery

func (MaintenanceOptionsAttributes) InternalRef

func (mo MaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)

func (MaintenanceOptionsAttributes) InternalTokens

func (mo MaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaintenanceOptionsAttributes) InternalWithRef

type MaintenanceOptionsState

type MaintenanceOptionsState struct {
	AutoRecovery string `json:"auto_recovery"`
}

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, required
	Min terra.NumberValue `hcl:"min,attr" validate:"required"`
}

type MemoryMibAttributes

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

func (MemoryMibAttributes) InternalRef

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

func (MemoryMibAttributes) InternalTokens

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

func (MemoryMibAttributes) InternalWithRef

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

func (MemoryMibAttributes) Max

func (MemoryMibAttributes) Min

type MemoryMibState

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

type MetadataOptions

type MetadataOptions struct {
	// HttpEndpoint: string, optional
	HttpEndpoint terra.StringValue `hcl:"http_endpoint,attr"`
	// HttpProtocolIpv6: string, optional
	HttpProtocolIpv6 terra.StringValue `hcl:"http_protocol_ipv6,attr"`
	// HttpPutResponseHopLimit: number, optional
	HttpPutResponseHopLimit terra.NumberValue `hcl:"http_put_response_hop_limit,attr"`
	// HttpTokens: string, optional
	HttpTokens terra.StringValue `hcl:"http_tokens,attr"`
	// InstanceMetadataTags: string, optional
	InstanceMetadataTags terra.StringValue `hcl:"instance_metadata_tags,attr"`
}

type MetadataOptionsAttributes

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

func (MetadataOptionsAttributes) HttpEndpoint

func (mo MetadataOptionsAttributes) HttpEndpoint() terra.StringValue

func (MetadataOptionsAttributes) HttpProtocolIpv6

func (mo MetadataOptionsAttributes) HttpProtocolIpv6() terra.StringValue

func (MetadataOptionsAttributes) HttpPutResponseHopLimit

func (mo MetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue

func (MetadataOptionsAttributes) HttpTokens

func (MetadataOptionsAttributes) InstanceMetadataTags

func (mo MetadataOptionsAttributes) InstanceMetadataTags() terra.StringValue

func (MetadataOptionsAttributes) InternalRef

func (mo MetadataOptionsAttributes) InternalRef() (terra.Reference, error)

func (MetadataOptionsAttributes) InternalTokens

func (mo MetadataOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetadataOptionsAttributes) InternalWithRef

type MetadataOptionsState

type MetadataOptionsState struct {
	HttpEndpoint            string  `json:"http_endpoint"`
	HttpProtocolIpv6        string  `json:"http_protocol_ipv6"`
	HttpPutResponseHopLimit float64 `json:"http_put_response_hop_limit"`
	HttpTokens              string  `json:"http_tokens"`
	InstanceMetadataTags    string  `json:"instance_metadata_tags"`
}

type Monitoring

type Monitoring struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type MonitoringAttributes

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

func (MonitoringAttributes) Enabled

func (m MonitoringAttributes) Enabled() terra.BoolValue

func (MonitoringAttributes) InternalRef

func (m MonitoringAttributes) InternalRef() (terra.Reference, error)

func (MonitoringAttributes) InternalTokens

func (m MonitoringAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MonitoringAttributes) InternalWithRef

type MonitoringState

type MonitoringState struct {
	Enabled bool `json:"enabled"`
}

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 NetworkInterfaces

type NetworkInterfaces struct {
	// AssociateCarrierIpAddress: string, optional
	AssociateCarrierIpAddress terra.StringValue `hcl:"associate_carrier_ip_address,attr"`
	// AssociatePublicIpAddress: string, optional
	AssociatePublicIpAddress terra.StringValue `hcl:"associate_public_ip_address,attr"`
	// DeleteOnTermination: string, optional
	DeleteOnTermination terra.StringValue `hcl:"delete_on_termination,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// DeviceIndex: number, optional
	DeviceIndex terra.NumberValue `hcl:"device_index,attr"`
	// InterfaceType: string, optional
	InterfaceType terra.StringValue `hcl:"interface_type,attr"`
	// Ipv4AddressCount: number, optional
	Ipv4AddressCount terra.NumberValue `hcl:"ipv4_address_count,attr"`
	// Ipv4Addresses: set of string, optional
	Ipv4Addresses terra.SetValue[terra.StringValue] `hcl:"ipv4_addresses,attr"`
	// Ipv4PrefixCount: number, optional
	Ipv4PrefixCount terra.NumberValue `hcl:"ipv4_prefix_count,attr"`
	// Ipv4Prefixes: set of string, optional
	Ipv4Prefixes terra.SetValue[terra.StringValue] `hcl:"ipv4_prefixes,attr"`
	// Ipv6AddressCount: number, optional
	Ipv6AddressCount terra.NumberValue `hcl:"ipv6_address_count,attr"`
	// Ipv6Addresses: set of string, optional
	Ipv6Addresses terra.SetValue[terra.StringValue] `hcl:"ipv6_addresses,attr"`
	// Ipv6PrefixCount: number, optional
	Ipv6PrefixCount terra.NumberValue `hcl:"ipv6_prefix_count,attr"`
	// Ipv6Prefixes: set of string, optional
	Ipv6Prefixes terra.SetValue[terra.StringValue] `hcl:"ipv6_prefixes,attr"`
	// NetworkCardIndex: number, optional
	NetworkCardIndex terra.NumberValue `hcl:"network_card_index,attr"`
	// NetworkInterfaceId: string, optional
	NetworkInterfaceId terra.StringValue `hcl:"network_interface_id,attr"`
	// PrivateIpAddress: string, optional
	PrivateIpAddress terra.StringValue `hcl:"private_ip_address,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
}

type NetworkInterfacesAttributes

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

func (NetworkInterfacesAttributes) AssociateCarrierIpAddress

func (ni NetworkInterfacesAttributes) AssociateCarrierIpAddress() terra.StringValue

func (NetworkInterfacesAttributes) AssociatePublicIpAddress

func (ni NetworkInterfacesAttributes) AssociatePublicIpAddress() terra.StringValue

func (NetworkInterfacesAttributes) DeleteOnTermination

func (ni NetworkInterfacesAttributes) DeleteOnTermination() terra.StringValue

func (NetworkInterfacesAttributes) Description

func (NetworkInterfacesAttributes) DeviceIndex

func (NetworkInterfacesAttributes) InterfaceType

func (ni NetworkInterfacesAttributes) InterfaceType() terra.StringValue

func (NetworkInterfacesAttributes) InternalRef

func (ni NetworkInterfacesAttributes) InternalRef() (terra.Reference, error)

func (NetworkInterfacesAttributes) InternalTokens

func (ni NetworkInterfacesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkInterfacesAttributes) InternalWithRef

func (NetworkInterfacesAttributes) Ipv4AddressCount

func (ni NetworkInterfacesAttributes) Ipv4AddressCount() terra.NumberValue

func (NetworkInterfacesAttributes) Ipv4Addresses

func (NetworkInterfacesAttributes) Ipv4PrefixCount

func (ni NetworkInterfacesAttributes) Ipv4PrefixCount() terra.NumberValue

func (NetworkInterfacesAttributes) Ipv4Prefixes

func (NetworkInterfacesAttributes) Ipv6AddressCount

func (ni NetworkInterfacesAttributes) Ipv6AddressCount() terra.NumberValue

func (NetworkInterfacesAttributes) Ipv6Addresses

func (NetworkInterfacesAttributes) Ipv6PrefixCount

func (ni NetworkInterfacesAttributes) Ipv6PrefixCount() terra.NumberValue

func (NetworkInterfacesAttributes) Ipv6Prefixes

func (NetworkInterfacesAttributes) NetworkCardIndex

func (ni NetworkInterfacesAttributes) NetworkCardIndex() terra.NumberValue

func (NetworkInterfacesAttributes) NetworkInterfaceId

func (ni NetworkInterfacesAttributes) NetworkInterfaceId() terra.StringValue

func (NetworkInterfacesAttributes) PrivateIpAddress

func (ni NetworkInterfacesAttributes) PrivateIpAddress() terra.StringValue

func (NetworkInterfacesAttributes) SecurityGroups

func (NetworkInterfacesAttributes) SubnetId

type NetworkInterfacesState

type NetworkInterfacesState struct {
	AssociateCarrierIpAddress string   `json:"associate_carrier_ip_address"`
	AssociatePublicIpAddress  string   `json:"associate_public_ip_address"`
	DeleteOnTermination       string   `json:"delete_on_termination"`
	Description               string   `json:"description"`
	DeviceIndex               float64  `json:"device_index"`
	InterfaceType             string   `json:"interface_type"`
	Ipv4AddressCount          float64  `json:"ipv4_address_count"`
	Ipv4Addresses             []string `json:"ipv4_addresses"`
	Ipv4PrefixCount           float64  `json:"ipv4_prefix_count"`
	Ipv4Prefixes              []string `json:"ipv4_prefixes"`
	Ipv6AddressCount          float64  `json:"ipv6_address_count"`
	Ipv6Addresses             []string `json:"ipv6_addresses"`
	Ipv6PrefixCount           float64  `json:"ipv6_prefix_count"`
	Ipv6Prefixes              []string `json:"ipv6_prefixes"`
	NetworkCardIndex          float64  `json:"network_card_index"`
	NetworkInterfaceId        string   `json:"network_interface_id"`
	PrivateIpAddress          string   `json:"private_ip_address"`
	SecurityGroups            []string `json:"security_groups"`
	SubnetId                  string   `json:"subnet_id"`
}

type Placement

type Placement struct {
	// Affinity: string, optional
	Affinity terra.StringValue `hcl:"affinity,attr"`
	// AvailabilityZone: string, optional
	AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"`
	// GroupName: string, optional
	GroupName terra.StringValue `hcl:"group_name,attr"`
	// HostId: string, optional
	HostId terra.StringValue `hcl:"host_id,attr"`
	// HostResourceGroupArn: string, optional
	HostResourceGroupArn terra.StringValue `hcl:"host_resource_group_arn,attr"`
	// PartitionNumber: number, optional
	PartitionNumber terra.NumberValue `hcl:"partition_number,attr"`
	// SpreadDomain: string, optional
	SpreadDomain terra.StringValue `hcl:"spread_domain,attr"`
	// Tenancy: string, optional
	Tenancy terra.StringValue `hcl:"tenancy,attr"`
}

type PlacementAttributes

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

func (PlacementAttributes) Affinity

func (p PlacementAttributes) Affinity() terra.StringValue

func (PlacementAttributes) AvailabilityZone

func (p PlacementAttributes) AvailabilityZone() terra.StringValue

func (PlacementAttributes) GroupName

func (p PlacementAttributes) GroupName() terra.StringValue

func (PlacementAttributes) HostId

func (PlacementAttributes) HostResourceGroupArn

func (p PlacementAttributes) HostResourceGroupArn() terra.StringValue

func (PlacementAttributes) InternalRef

func (p PlacementAttributes) InternalRef() (terra.Reference, error)

func (PlacementAttributes) InternalTokens

func (p PlacementAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementAttributes) InternalWithRef

func (p PlacementAttributes) InternalWithRef(ref terra.Reference) PlacementAttributes

func (PlacementAttributes) PartitionNumber

func (p PlacementAttributes) PartitionNumber() terra.NumberValue

func (PlacementAttributes) SpreadDomain

func (p PlacementAttributes) SpreadDomain() terra.StringValue

func (PlacementAttributes) Tenancy

type PlacementState

type PlacementState struct {
	Affinity             string  `json:"affinity"`
	AvailabilityZone     string  `json:"availability_zone"`
	GroupName            string  `json:"group_name"`
	HostId               string  `json:"host_id"`
	HostResourceGroupArn string  `json:"host_resource_group_arn"`
	PartitionNumber      float64 `json:"partition_number"`
	SpreadDomain         string  `json:"spread_domain"`
	Tenancy              string  `json:"tenancy"`
}

type PrivateDnsNameOptions

type PrivateDnsNameOptions struct {
	// EnableResourceNameDnsARecord: bool, optional
	EnableResourceNameDnsARecord terra.BoolValue `hcl:"enable_resource_name_dns_a_record,attr"`
	// EnableResourceNameDnsAaaaRecord: bool, optional
	EnableResourceNameDnsAaaaRecord terra.BoolValue `hcl:"enable_resource_name_dns_aaaa_record,attr"`
	// HostnameType: string, optional
	HostnameType terra.StringValue `hcl:"hostname_type,attr"`
}

type PrivateDnsNameOptionsAttributes

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

func (PrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord

func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord() terra.BoolValue

func (PrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord

func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord() terra.BoolValue

func (PrivateDnsNameOptionsAttributes) HostnameType

func (PrivateDnsNameOptionsAttributes) InternalRef

func (pdno PrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)

func (PrivateDnsNameOptionsAttributes) InternalTokens

func (pdno PrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PrivateDnsNameOptionsAttributes) InternalWithRef

type PrivateDnsNameOptionsState

type PrivateDnsNameOptionsState struct {
	EnableResourceNameDnsARecord    bool   `json:"enable_resource_name_dns_a_record"`
	EnableResourceNameDnsAaaaRecord bool   `json:"enable_resource_name_dns_aaaa_record"`
	HostnameType                    string `json:"hostname_type"`
}

type SpotOptions

type SpotOptions struct {
	// BlockDurationMinutes: number, optional
	BlockDurationMinutes terra.NumberValue `hcl:"block_duration_minutes,attr"`
	// InstanceInterruptionBehavior: string, optional
	InstanceInterruptionBehavior terra.StringValue `hcl:"instance_interruption_behavior,attr"`
	// MaxPrice: string, optional
	MaxPrice terra.StringValue `hcl:"max_price,attr"`
	// SpotInstanceType: string, optional
	SpotInstanceType terra.StringValue `hcl:"spot_instance_type,attr"`
	// ValidUntil: string, optional
	ValidUntil terra.StringValue `hcl:"valid_until,attr"`
}

type SpotOptionsAttributes

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

func (SpotOptionsAttributes) BlockDurationMinutes

func (so SpotOptionsAttributes) BlockDurationMinutes() terra.NumberValue

func (SpotOptionsAttributes) InstanceInterruptionBehavior

func (so SpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue

func (SpotOptionsAttributes) InternalRef

func (so SpotOptionsAttributes) InternalRef() (terra.Reference, error)

func (SpotOptionsAttributes) InternalTokens

func (so SpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpotOptionsAttributes) InternalWithRef

func (SpotOptionsAttributes) MaxPrice

func (so SpotOptionsAttributes) MaxPrice() terra.StringValue

func (SpotOptionsAttributes) SpotInstanceType

func (so SpotOptionsAttributes) SpotInstanceType() terra.StringValue

func (SpotOptionsAttributes) ValidUntil

func (so SpotOptionsAttributes) ValidUntil() terra.StringValue

type SpotOptionsState

type SpotOptionsState struct {
	BlockDurationMinutes         float64 `json:"block_duration_minutes"`
	InstanceInterruptionBehavior string  `json:"instance_interruption_behavior"`
	MaxPrice                     string  `json:"max_price"`
	SpotInstanceType             string  `json:"spot_instance_type"`
	ValidUntil                   string  `json:"valid_until"`
}

type TagSpecifications

type TagSpecifications struct {
	// ResourceType: string, optional
	ResourceType terra.StringValue `hcl:"resource_type,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

type TagSpecificationsAttributes

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

func (TagSpecificationsAttributes) InternalRef

func (ts TagSpecificationsAttributes) InternalRef() (terra.Reference, error)

func (TagSpecificationsAttributes) InternalTokens

func (ts TagSpecificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TagSpecificationsAttributes) InternalWithRef

func (TagSpecificationsAttributes) ResourceType

func (ts TagSpecificationsAttributes) ResourceType() terra.StringValue

func (TagSpecificationsAttributes) Tags

type TagSpecificationsState

type TagSpecificationsState struct {
	ResourceType string            `json:"resource_type"`
	Tags         map[string]string `json:"tags"`
}

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, required
	Min terra.NumberValue `hcl:"min,attr" validate:"required"`
}

type VcpuCountAttributes

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

func (VcpuCountAttributes) InternalRef

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

func (VcpuCountAttributes) InternalTokens

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

func (VcpuCountAttributes) InternalWithRef

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

func (VcpuCountAttributes) Max

func (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