aws_ec2_instance_type

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 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 DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// InstanceType: string, required
	InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"`
	// Timeouts: optional
	Timeouts *DataTimeouts `hcl:"timeouts,block"`
}

DataArgs contains the configurations for aws_ec2_instance_type.

type DataFpgasAttributes

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

func (DataFpgasAttributes) Count

func (DataFpgasAttributes) InternalRef

func (f DataFpgasAttributes) InternalRef() (terra.Reference, error)

func (DataFpgasAttributes) InternalTokens

func (f DataFpgasAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataFpgasAttributes) InternalWithRef

func (f DataFpgasAttributes) InternalWithRef(ref terra.Reference) DataFpgasAttributes

func (DataFpgasAttributes) Manufacturer

func (f DataFpgasAttributes) Manufacturer() terra.StringValue

func (DataFpgasAttributes) MemorySize

func (f DataFpgasAttributes) MemorySize() terra.NumberValue

func (DataFpgasAttributes) Name

type DataFpgasState

type DataFpgasState struct {
	Count        float64 `json:"count"`
	Manufacturer string  `json:"manufacturer"`
	MemorySize   float64 `json:"memory_size"`
	Name         string  `json:"name"`
}

type DataGpusAttributes

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

func (DataGpusAttributes) Count

func (DataGpusAttributes) InternalRef

func (g DataGpusAttributes) InternalRef() (terra.Reference, error)

func (DataGpusAttributes) InternalTokens

func (g DataGpusAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataGpusAttributes) InternalWithRef

func (g DataGpusAttributes) InternalWithRef(ref terra.Reference) DataGpusAttributes

func (DataGpusAttributes) Manufacturer

func (g DataGpusAttributes) Manufacturer() terra.StringValue

func (DataGpusAttributes) MemorySize

func (g DataGpusAttributes) MemorySize() terra.NumberValue

func (DataGpusAttributes) Name

type DataGpusState

type DataGpusState struct {
	Count        float64 `json:"count"`
	Manufacturer string  `json:"manufacturer"`
	MemorySize   float64 `json:"memory_size"`
	Name         string  `json:"name"`
}

type DataInferenceAcceleratorsAttributes

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

func (DataInferenceAcceleratorsAttributes) Count

func (DataInferenceAcceleratorsAttributes) InternalRef

func (DataInferenceAcceleratorsAttributes) InternalTokens

func (DataInferenceAcceleratorsAttributes) InternalWithRef

func (DataInferenceAcceleratorsAttributes) Manufacturer

func (DataInferenceAcceleratorsAttributes) Name

type DataInferenceAcceleratorsState

type DataInferenceAcceleratorsState struct {
	Count        float64 `json:"count"`
	Manufacturer string  `json:"manufacturer"`
	Name         string  `json:"name"`
}

type DataInstanceDisksAttributes

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

func (DataInstanceDisksAttributes) Count

func (DataInstanceDisksAttributes) InternalRef

func (id DataInstanceDisksAttributes) InternalRef() (terra.Reference, error)

func (DataInstanceDisksAttributes) InternalTokens

func (id DataInstanceDisksAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataInstanceDisksAttributes) InternalWithRef

func (DataInstanceDisksAttributes) Size

func (DataInstanceDisksAttributes) Type

type DataInstanceDisksState

type DataInstanceDisksState struct {
	Count float64 `json:"count"`
	Size  float64 `json:"size"`
	Type  string  `json:"type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_ec2_instance_type.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aeit *DataSource) Attributes() dataAwsEc2InstanceTypeAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aeit *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aeit *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aeit *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataTimeouts

type DataTimeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type DataTimeoutsAttributes

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

func (DataTimeoutsAttributes) InternalRef

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

func (DataTimeoutsAttributes) InternalTokens

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

func (DataTimeoutsAttributes) InternalWithRef

func (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

Jump to

Keyboard shortcuts

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