Documentation ¶
Index ¶
- type CapacityReservationSpecification
- type CapacityReservationSpecificationAttributes
- func (crs CapacityReservationSpecificationAttributes) CapacityReservationPreference() terra.StringValue
- func (crs CapacityReservationSpecificationAttributes) CapacityReservationTarget() terra.ListValue[CapacityReservationTargetAttributes]
- func (crs CapacityReservationSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (crs CapacityReservationSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crs CapacityReservationSpecificationAttributes) InternalWithRef(ref terra.Reference) CapacityReservationSpecificationAttributes
- type CapacityReservationSpecificationState
- type CapacityReservationTarget
- type CapacityReservationTargetAttributes
- func (crt CapacityReservationTargetAttributes) CapacityReservationId() terra.StringValue
- func (crt CapacityReservationTargetAttributes) CapacityReservationResourceGroupArn() terra.StringValue
- func (crt CapacityReservationTargetAttributes) InternalRef() (terra.Reference, error)
- func (crt CapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crt CapacityReservationTargetAttributes) InternalWithRef(ref terra.Reference) CapacityReservationTargetAttributes
- type CapacityReservationTargetState
- type CpuOptions
- type CpuOptionsAttributes
- func (co CpuOptionsAttributes) AmdSevSnp() terra.StringValue
- func (co CpuOptionsAttributes) CoreCount() terra.NumberValue
- func (co CpuOptionsAttributes) InternalRef() (terra.Reference, error)
- func (co CpuOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co CpuOptionsAttributes) InternalWithRef(ref terra.Reference) CpuOptionsAttributes
- func (co CpuOptionsAttributes) ThreadsPerCore() terra.NumberValue
- type CpuOptionsState
- type CreditSpecification
- type CreditSpecificationAttributes
- func (cs CreditSpecificationAttributes) CpuCredits() terra.StringValue
- func (cs CreditSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (cs CreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cs CreditSpecificationAttributes) InternalWithRef(ref terra.Reference) CreditSpecificationAttributes
- type CreditSpecificationState
- type EbsBlockDevice
- type EbsBlockDeviceAttributes
- func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) Encrypted() terra.BoolValue
- func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd EbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EbsBlockDeviceAttributes
- func (ebd EbsBlockDeviceAttributes) Iops() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) KmsKeyId() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
- func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) VolumeId() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue
- type EbsBlockDeviceState
- type EnclaveOptions
- type EnclaveOptionsAttributes
- func (eo EnclaveOptionsAttributes) Enabled() terra.BoolValue
- func (eo EnclaveOptionsAttributes) InternalRef() (terra.Reference, error)
- func (eo EnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eo EnclaveOptionsAttributes) InternalWithRef(ref terra.Reference) EnclaveOptionsAttributes
- type EnclaveOptionsState
- type EphemeralBlockDevice
- type EphemeralBlockDeviceAttributes
- func (ebd EphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd EphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EphemeralBlockDeviceAttributes
- func (ebd EphemeralBlockDeviceAttributes) NoDevice() terra.BoolValue
- func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
- type EphemeralBlockDeviceState
- type InstanceMarketOptions
- type InstanceMarketOptionsAttributes
- func (imo InstanceMarketOptionsAttributes) InternalRef() (terra.Reference, error)
- func (imo InstanceMarketOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (imo InstanceMarketOptionsAttributes) InternalWithRef(ref terra.Reference) InstanceMarketOptionsAttributes
- func (imo InstanceMarketOptionsAttributes) MarketType() terra.StringValue
- func (imo InstanceMarketOptionsAttributes) SpotOptions() terra.ListValue[SpotOptionsAttributes]
- type InstanceMarketOptionsState
- type LaunchTemplate
- type LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Id() terra.StringValue
- func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
- func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
- func (lt LaunchTemplateAttributes) Name() terra.StringValue
- func (lt LaunchTemplateAttributes) Version() terra.StringValue
- type LaunchTemplateState
- type MaintenanceOptions
- type MaintenanceOptionsAttributes
- func (mo MaintenanceOptionsAttributes) AutoRecovery() terra.StringValue
- func (mo MaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo MaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo MaintenanceOptionsAttributes) InternalWithRef(ref terra.Reference) MaintenanceOptionsAttributes
- type MaintenanceOptionsState
- type MetadataOptions
- type MetadataOptionsAttributes
- func (mo MetadataOptionsAttributes) HttpEndpoint() terra.StringValue
- func (mo MetadataOptionsAttributes) HttpProtocolIpv6() terra.StringValue
- func (mo MetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
- func (mo MetadataOptionsAttributes) HttpTokens() terra.StringValue
- func (mo MetadataOptionsAttributes) InstanceMetadataTags() terra.StringValue
- func (mo MetadataOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo MetadataOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo MetadataOptionsAttributes) InternalWithRef(ref terra.Reference) MetadataOptionsAttributes
- type MetadataOptionsState
- type NetworkInterface
- type NetworkInterfaceAttributes
- func (ni NetworkInterfaceAttributes) DeleteOnTermination() terra.BoolValue
- func (ni NetworkInterfaceAttributes) DeviceIndex() terra.NumberValue
- func (ni NetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
- func (ni NetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ni NetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAttributes
- func (ni NetworkInterfaceAttributes) NetworkCardIndex() terra.NumberValue
- func (ni NetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
- type NetworkInterfaceState
- type PrivateDnsNameOptions
- type PrivateDnsNameOptionsAttributes
- func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord() terra.BoolValue
- func (pdno PrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord() terra.BoolValue
- func (pdno PrivateDnsNameOptionsAttributes) HostnameType() terra.StringValue
- func (pdno PrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)
- func (pdno PrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdno PrivateDnsNameOptionsAttributes) InternalWithRef(ref terra.Reference) PrivateDnsNameOptionsAttributes
- type PrivateDnsNameOptionsState
- type RootBlockDevice
- type RootBlockDeviceAttributes
- func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (rbd RootBlockDeviceAttributes) DeviceName() terra.StringValue
- func (rbd RootBlockDeviceAttributes) Encrypted() terra.BoolValue
- func (rbd RootBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (rbd RootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rbd RootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) RootBlockDeviceAttributes
- func (rbd RootBlockDeviceAttributes) Iops() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) KmsKeyId() terra.StringValue
- func (rbd RootBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
- func (rbd RootBlockDeviceAttributes) Throughput() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeId() terra.StringValue
- func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue
- type RootBlockDeviceState
- type SpotOptions
- type SpotOptionsAttributes
- func (so SpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue
- func (so SpotOptionsAttributes) InternalRef() (terra.Reference, error)
- func (so SpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so SpotOptionsAttributes) InternalWithRef(ref terra.Reference) SpotOptionsAttributes
- func (so SpotOptionsAttributes) MaxPrice() terra.StringValue
- func (so SpotOptionsAttributes) SpotInstanceType() terra.StringValue
- func (so SpotOptionsAttributes) ValidUntil() terra.StringValue
- type SpotOptionsState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 (crs CapacityReservationSpecificationAttributes) CapacityReservationTarget() terra.ListValue[CapacityReservationTargetAttributes]
func (CapacityReservationSpecificationAttributes) InternalRef ¶
func (crs CapacityReservationSpecificationAttributes) InternalRef() (terra.Reference, error)
func (CapacityReservationSpecificationAttributes) InternalTokens ¶
func (crs CapacityReservationSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityReservationSpecificationAttributes) InternalWithRef ¶
func (crs CapacityReservationSpecificationAttributes) InternalWithRef(ref terra.Reference) CapacityReservationSpecificationAttributes
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 (crt CapacityReservationTargetAttributes) InternalRef() (terra.Reference, error)
func (CapacityReservationTargetAttributes) InternalTokens ¶
func (crt CapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityReservationTargetAttributes) InternalWithRef ¶
func (crt CapacityReservationTargetAttributes) InternalWithRef(ref terra.Reference) CapacityReservationTargetAttributes
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 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 (cs CreditSpecificationAttributes) CpuCredits() terra.StringValue
func (CreditSpecificationAttributes) InternalRef ¶
func (cs CreditSpecificationAttributes) InternalRef() (terra.Reference, error)
func (CreditSpecificationAttributes) InternalTokens ¶
func (cs CreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreditSpecificationAttributes) InternalWithRef ¶
func (cs CreditSpecificationAttributes) InternalWithRef(ref terra.Reference) CreditSpecificationAttributes
type CreditSpecificationState ¶
type CreditSpecificationState struct {
CpuCredits string `json:"cpu_credits"`
}
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"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,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 (ebd EbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EbsBlockDeviceAttributes
func (EbsBlockDeviceAttributes) Iops ¶
func (ebd EbsBlockDeviceAttributes) Iops() terra.NumberValue
func (EbsBlockDeviceAttributes) KmsKeyId ¶
func (ebd EbsBlockDeviceAttributes) KmsKeyId() terra.StringValue
func (EbsBlockDeviceAttributes) SnapshotId ¶
func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
func (EbsBlockDeviceAttributes) Tags ¶
func (ebd EbsBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
func (EbsBlockDeviceAttributes) Throughput ¶
func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue
func (EbsBlockDeviceAttributes) VolumeId ¶
func (ebd EbsBlockDeviceAttributes) VolumeId() terra.StringValue
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"` Tags map[string]string `json:"tags"` Throughput float64 `json:"throughput"` VolumeId string `json:"volume_id"` VolumeSize float64 `json:"volume_size"` VolumeType string `json:"volume_type"` }
type EnclaveOptions ¶
type EnclaveOptionsAttributes ¶
type EnclaveOptionsAttributes struct {
// contains filtered or unexported fields
}
func (EnclaveOptionsAttributes) Enabled ¶
func (eo EnclaveOptionsAttributes) Enabled() terra.BoolValue
func (EnclaveOptionsAttributes) InternalRef ¶
func (eo EnclaveOptionsAttributes) InternalRef() (terra.Reference, error)
func (EnclaveOptionsAttributes) InternalTokens ¶
func (eo EnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EnclaveOptionsAttributes) InternalWithRef ¶
func (eo EnclaveOptionsAttributes) InternalWithRef(ref terra.Reference) EnclaveOptionsAttributes
type EnclaveOptionsState ¶
type EnclaveOptionsState struct {
Enabled bool `json:"enabled"`
}
type EphemeralBlockDevice ¶
type EphemeralBlockDevice struct { // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` // NoDevice: bool, optional NoDevice terra.BoolValue `hcl:"no_device,attr"` // VirtualName: string, optional VirtualName terra.StringValue `hcl:"virtual_name,attr"` }
type EphemeralBlockDeviceAttributes ¶
type EphemeralBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (EphemeralBlockDeviceAttributes) DeviceName ¶
func (ebd EphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
func (EphemeralBlockDeviceAttributes) InternalRef ¶
func (ebd EphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (EphemeralBlockDeviceAttributes) InternalTokens ¶
func (ebd EphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EphemeralBlockDeviceAttributes) InternalWithRef ¶
func (ebd EphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EphemeralBlockDeviceAttributes
func (EphemeralBlockDeviceAttributes) NoDevice ¶
func (ebd EphemeralBlockDeviceAttributes) NoDevice() terra.BoolValue
func (EphemeralBlockDeviceAttributes) VirtualName ¶
func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
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 (imo InstanceMarketOptionsAttributes) InternalRef() (terra.Reference, error)
func (InstanceMarketOptionsAttributes) InternalTokens ¶
func (imo InstanceMarketOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceMarketOptionsAttributes) InternalWithRef ¶
func (imo InstanceMarketOptionsAttributes) InternalWithRef(ref terra.Reference) InstanceMarketOptionsAttributes
func (InstanceMarketOptionsAttributes) MarketType ¶
func (imo InstanceMarketOptionsAttributes) MarketType() terra.StringValue
func (InstanceMarketOptionsAttributes) SpotOptions ¶
func (imo InstanceMarketOptionsAttributes) SpotOptions() terra.ListValue[SpotOptionsAttributes]
type InstanceMarketOptionsState ¶
type InstanceMarketOptionsState struct { MarketType string `json:"market_type"` SpotOptions []SpotOptionsState `json:"spot_options"` }
type LaunchTemplate ¶
type LaunchTemplate 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 LaunchTemplateAttributes ¶
type LaunchTemplateAttributes struct {
// contains filtered or unexported fields
}
func (LaunchTemplateAttributes) Id ¶
func (lt LaunchTemplateAttributes) Id() terra.StringValue
func (LaunchTemplateAttributes) InternalRef ¶
func (lt LaunchTemplateAttributes) InternalRef() (terra.Reference, error)
func (LaunchTemplateAttributes) InternalTokens ¶
func (lt LaunchTemplateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LaunchTemplateAttributes) InternalWithRef ¶
func (lt LaunchTemplateAttributes) InternalWithRef(ref terra.Reference) LaunchTemplateAttributes
func (LaunchTemplateAttributes) Name ¶
func (lt LaunchTemplateAttributes) Name() terra.StringValue
func (LaunchTemplateAttributes) Version ¶
func (lt LaunchTemplateAttributes) Version() terra.StringValue
type LaunchTemplateState ¶
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 (mo MaintenanceOptionsAttributes) AutoRecovery() terra.StringValue
func (MaintenanceOptionsAttributes) InternalRef ¶
func (mo MaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)
func (MaintenanceOptionsAttributes) InternalTokens ¶
func (mo MaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaintenanceOptionsAttributes) InternalWithRef ¶
func (mo MaintenanceOptionsAttributes) InternalWithRef(ref terra.Reference) MaintenanceOptionsAttributes
type MaintenanceOptionsState ¶
type MaintenanceOptionsState struct {
AutoRecovery string `json:"auto_recovery"`
}
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 (mo MetadataOptionsAttributes) HttpTokens() terra.StringValue
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 ¶
func (mo MetadataOptionsAttributes) InternalWithRef(ref terra.Reference) MetadataOptionsAttributes
type MetadataOptionsState ¶
type NetworkInterface ¶
type NetworkInterface struct { // DeleteOnTermination: bool, optional DeleteOnTermination terra.BoolValue `hcl:"delete_on_termination,attr"` // DeviceIndex: number, required DeviceIndex terra.NumberValue `hcl:"device_index,attr" validate:"required"` // NetworkCardIndex: number, optional NetworkCardIndex terra.NumberValue `hcl:"network_card_index,attr"` // NetworkInterfaceId: string, required NetworkInterfaceId terra.StringValue `hcl:"network_interface_id,attr" validate:"required"` }
type NetworkInterfaceAttributes ¶
type NetworkInterfaceAttributes struct {
// contains filtered or unexported fields
}
func (NetworkInterfaceAttributes) DeleteOnTermination ¶
func (ni NetworkInterfaceAttributes) DeleteOnTermination() terra.BoolValue
func (NetworkInterfaceAttributes) DeviceIndex ¶
func (ni NetworkInterfaceAttributes) DeviceIndex() terra.NumberValue
func (NetworkInterfaceAttributes) InternalRef ¶
func (ni NetworkInterfaceAttributes) InternalRef() (terra.Reference, error)
func (NetworkInterfaceAttributes) InternalTokens ¶
func (ni NetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkInterfaceAttributes) InternalWithRef ¶
func (ni NetworkInterfaceAttributes) InternalWithRef(ref terra.Reference) NetworkInterfaceAttributes
func (NetworkInterfaceAttributes) NetworkCardIndex ¶
func (ni NetworkInterfaceAttributes) NetworkCardIndex() terra.NumberValue
func (NetworkInterfaceAttributes) NetworkInterfaceId ¶
func (ni NetworkInterfaceAttributes) NetworkInterfaceId() terra.StringValue
type NetworkInterfaceState ¶
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 (pdno PrivateDnsNameOptionsAttributes) HostnameType() terra.StringValue
func (PrivateDnsNameOptionsAttributes) InternalRef ¶
func (pdno PrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)
func (PrivateDnsNameOptionsAttributes) InternalTokens ¶
func (pdno PrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrivateDnsNameOptionsAttributes) InternalWithRef ¶
func (pdno PrivateDnsNameOptionsAttributes) InternalWithRef(ref terra.Reference) PrivateDnsNameOptionsAttributes
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"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,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) DeviceName ¶
func (rbd RootBlockDeviceAttributes) DeviceName() terra.StringValue
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 (rbd RootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) RootBlockDeviceAttributes
func (RootBlockDeviceAttributes) Iops ¶
func (rbd RootBlockDeviceAttributes) Iops() terra.NumberValue
func (RootBlockDeviceAttributes) KmsKeyId ¶
func (rbd RootBlockDeviceAttributes) KmsKeyId() terra.StringValue
func (RootBlockDeviceAttributes) Tags ¶
func (rbd RootBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
func (RootBlockDeviceAttributes) Throughput ¶
func (rbd RootBlockDeviceAttributes) Throughput() terra.NumberValue
func (RootBlockDeviceAttributes) VolumeId ¶
func (rbd RootBlockDeviceAttributes) VolumeId() terra.StringValue
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"` DeviceName string `json:"device_name"` Encrypted bool `json:"encrypted"` Iops float64 `json:"iops"` KmsKeyId string `json:"kms_key_id"` Tags map[string]string `json:"tags"` Throughput float64 `json:"throughput"` VolumeId string `json:"volume_id"` VolumeSize float64 `json:"volume_size"` VolumeType string `json:"volume_type"` }
type SpotOptions ¶
type SpotOptions struct { // 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) 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 (so SpotOptionsAttributes) InternalWithRef(ref terra.Reference) SpotOptionsAttributes
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 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.