Documentation ¶
Index ¶
- type Args
- type CapacityReservationSpecification
- type CapacityReservationSpecificationAttributes
- func (crs CapacityReservationSpecificationAttributes) CapacityReservationPreference() terra.StringValue
- func (crs CapacityReservationSpecificationAttributes) CapacityReservationTarget() ...
- func (crs CapacityReservationSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (crs CapacityReservationSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crs CapacityReservationSpecificationAttributes) InternalWithRef(ref terra.Reference) CapacityReservationSpecificationAttributes
- type CapacityReservationSpecificationCapacityReservationTarget
- type CapacityReservationSpecificationCapacityReservationTargetAttributes
- func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationId() terra.StringValue
- func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationResourceGroupArn() terra.StringValue
- func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalRef() (terra.Reference, error)
- func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalWithRef(ref terra.Reference) CapacityReservationSpecificationCapacityReservationTargetAttributes
- type CapacityReservationSpecificationCapacityReservationTargetState
- type CapacityReservationSpecificationState
- 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 DataArgs
- type DataCreditSpecificationAttributes
- func (cs DataCreditSpecificationAttributes) CpuCredits() terra.StringValue
- func (cs DataCreditSpecificationAttributes) InternalRef() (terra.Reference, error)
- func (cs DataCreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cs DataCreditSpecificationAttributes) InternalWithRef(ref terra.Reference) DataCreditSpecificationAttributes
- type DataCreditSpecificationState
- type DataEbsBlockDeviceAttributes
- func (ebd DataEbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (ebd DataEbsBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd DataEbsBlockDeviceAttributes) Encrypted() terra.BoolValue
- func (ebd DataEbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd DataEbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd DataEbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataEbsBlockDeviceAttributes
- func (ebd DataEbsBlockDeviceAttributes) Iops() terra.NumberValue
- func (ebd DataEbsBlockDeviceAttributes) KmsKeyId() terra.StringValue
- func (ebd DataEbsBlockDeviceAttributes) SnapshotId() terra.StringValue
- func (ebd DataEbsBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
- func (ebd DataEbsBlockDeviceAttributes) Throughput() terra.NumberValue
- func (ebd DataEbsBlockDeviceAttributes) VolumeId() terra.StringValue
- func (ebd DataEbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (ebd DataEbsBlockDeviceAttributes) VolumeType() terra.StringValue
- type DataEbsBlockDeviceState
- type DataEnclaveOptionsAttributes
- func (eo DataEnclaveOptionsAttributes) Enabled() terra.BoolValue
- func (eo DataEnclaveOptionsAttributes) InternalRef() (terra.Reference, error)
- func (eo DataEnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eo DataEnclaveOptionsAttributes) InternalWithRef(ref terra.Reference) DataEnclaveOptionsAttributes
- type DataEnclaveOptionsState
- type DataEphemeralBlockDeviceAttributes
- func (ebd DataEphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
- func (ebd DataEphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (ebd DataEphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ebd DataEphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataEphemeralBlockDeviceAttributes
- func (ebd DataEphemeralBlockDeviceAttributes) NoDevice() terra.BoolValue
- func (ebd DataEphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
- type DataEphemeralBlockDeviceState
- type DataFilter
- type DataFilterAttributes
- func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
- func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
- func (f DataFilterAttributes) Name() terra.StringValue
- func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
- type DataFilterState
- type DataMaintenanceOptionsAttributes
- func (mo DataMaintenanceOptionsAttributes) AutoRecovery() terra.StringValue
- func (mo DataMaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo DataMaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo DataMaintenanceOptionsAttributes) InternalWithRef(ref terra.Reference) DataMaintenanceOptionsAttributes
- type DataMaintenanceOptionsState
- type DataMetadataOptionsAttributes
- func (mo DataMetadataOptionsAttributes) HttpEndpoint() terra.StringValue
- func (mo DataMetadataOptionsAttributes) HttpProtocolIpv6() terra.StringValue
- func (mo DataMetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
- func (mo DataMetadataOptionsAttributes) HttpTokens() terra.StringValue
- func (mo DataMetadataOptionsAttributes) InstanceMetadataTags() terra.StringValue
- func (mo DataMetadataOptionsAttributes) InternalRef() (terra.Reference, error)
- func (mo DataMetadataOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mo DataMetadataOptionsAttributes) InternalWithRef(ref terra.Reference) DataMetadataOptionsAttributes
- type DataMetadataOptionsState
- type DataPrivateDnsNameOptionsAttributes
- func (pdno DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord() terra.BoolValue
- func (pdno DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord() terra.BoolValue
- func (pdno DataPrivateDnsNameOptionsAttributes) HostnameType() terra.StringValue
- func (pdno DataPrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)
- func (pdno DataPrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pdno DataPrivateDnsNameOptionsAttributes) InternalWithRef(ref terra.Reference) DataPrivateDnsNameOptionsAttributes
- type DataPrivateDnsNameOptionsState
- type DataRootBlockDeviceAttributes
- func (rbd DataRootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- func (rbd DataRootBlockDeviceAttributes) DeviceName() terra.StringValue
- func (rbd DataRootBlockDeviceAttributes) Encrypted() terra.BoolValue
- func (rbd DataRootBlockDeviceAttributes) InternalRef() (terra.Reference, error)
- func (rbd DataRootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rbd DataRootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataRootBlockDeviceAttributes
- func (rbd DataRootBlockDeviceAttributes) Iops() terra.NumberValue
- func (rbd DataRootBlockDeviceAttributes) KmsKeyId() terra.StringValue
- func (rbd DataRootBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
- func (rbd DataRootBlockDeviceAttributes) Throughput() terra.NumberValue
- func (rbd DataRootBlockDeviceAttributes) VolumeId() terra.StringValue
- func (rbd DataRootBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (rbd DataRootBlockDeviceAttributes) VolumeType() terra.StringValue
- type DataRootBlockDeviceState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- 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) TagsAll() 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[InstanceMarketOptionsSpotOptionsAttributes]
- type InstanceMarketOptionsSpotOptions
- type InstanceMarketOptionsSpotOptionsAttributes
- func (so InstanceMarketOptionsSpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue
- func (so InstanceMarketOptionsSpotOptionsAttributes) InternalRef() (terra.Reference, error)
- func (so InstanceMarketOptionsSpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so InstanceMarketOptionsSpotOptionsAttributes) InternalWithRef(ref terra.Reference) InstanceMarketOptionsSpotOptionsAttributes
- func (so InstanceMarketOptionsSpotOptionsAttributes) MaxPrice() terra.StringValue
- func (so InstanceMarketOptionsSpotOptionsAttributes) SpotInstanceType() terra.StringValue
- func (so InstanceMarketOptionsSpotOptionsAttributes) ValidUntil() terra.StringValue
- type InstanceMarketOptionsSpotOptionsState
- 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 Resource
- func (ai *Resource) Attributes() awsInstanceAttributes
- func (ai *Resource) Configuration() interface{}
- func (ai *Resource) DependOn() terra.Reference
- func (ai *Resource) Dependencies() terra.Dependencies
- func (ai *Resource) ImportState(state io.Reader) error
- func (ai *Resource) LifecycleManagement() *terra.Lifecycle
- func (ai *Resource) LocalName() string
- func (ai *Resource) State() (*awsInstanceState, bool)
- func (ai *Resource) StateMust() *awsInstanceState
- func (ai *Resource) Type() string
- 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) TagsAll() 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 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) Read() terra.StringValue
- 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 Args ¶
type Args struct { // Ami: string, optional Ami terra.StringValue `hcl:"ami,attr"` // AssociatePublicIpAddress: bool, optional AssociatePublicIpAddress terra.BoolValue `hcl:"associate_public_ip_address,attr"` // AvailabilityZone: string, optional AvailabilityZone terra.StringValue `hcl:"availability_zone,attr"` // CpuCoreCount: number, optional CpuCoreCount terra.NumberValue `hcl:"cpu_core_count,attr"` // CpuThreadsPerCore: number, optional CpuThreadsPerCore terra.NumberValue `hcl:"cpu_threads_per_core,attr"` // DisableApiStop: bool, optional DisableApiStop terra.BoolValue `hcl:"disable_api_stop,attr"` // DisableApiTermination: bool, optional DisableApiTermination terra.BoolValue `hcl:"disable_api_termination,attr"` // EbsOptimized: bool, optional EbsOptimized terra.BoolValue `hcl:"ebs_optimized,attr"` // GetPasswordData: bool, optional GetPasswordData terra.BoolValue `hcl:"get_password_data,attr"` // Hibernation: bool, optional Hibernation terra.BoolValue `hcl:"hibernation,attr"` // HostId: string, optional HostId terra.StringValue `hcl:"host_id,attr"` // HostResourceGroupArn: string, optional HostResourceGroupArn terra.StringValue `hcl:"host_resource_group_arn,attr"` // IamInstanceProfile: string, optional IamInstanceProfile terra.StringValue `hcl:"iam_instance_profile,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceInitiatedShutdownBehavior: string, optional InstanceInitiatedShutdownBehavior terra.StringValue `hcl:"instance_initiated_shutdown_behavior,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // Ipv6AddressCount: number, optional Ipv6AddressCount terra.NumberValue `hcl:"ipv6_address_count,attr"` // Ipv6Addresses: list of string, optional Ipv6Addresses terra.ListValue[terra.StringValue] `hcl:"ipv6_addresses,attr"` // 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"` // PlacementPartitionNumber: number, optional PlacementPartitionNumber terra.NumberValue `hcl:"placement_partition_number,attr"` // PrivateIp: string, optional PrivateIp terra.StringValue `hcl:"private_ip,attr"` // SecondaryPrivateIps: set of string, optional SecondaryPrivateIps terra.SetValue[terra.StringValue] `hcl:"secondary_private_ips,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // SourceDestCheck: bool, optional SourceDestCheck terra.BoolValue `hcl:"source_dest_check,attr"` // SubnetId: string, optional SubnetId terra.StringValue `hcl:"subnet_id,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // Tenancy: string, optional Tenancy terra.StringValue `hcl:"tenancy,attr"` // UserData: string, optional UserData terra.StringValue `hcl:"user_data,attr"` // UserDataBase64: string, optional UserDataBase64 terra.StringValue `hcl:"user_data_base64,attr"` // UserDataReplaceOnChange: bool, optional UserDataReplaceOnChange terra.BoolValue `hcl:"user_data_replace_on_change,attr"` // VolumeTags: map of string, optional VolumeTags terra.MapValue[terra.StringValue] `hcl:"volume_tags,attr"` // VpcSecurityGroupIds: set of string, optional VpcSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"vpc_security_group_ids,attr"` // CapacityReservationSpecification: optional CapacityReservationSpecification *CapacityReservationSpecification `hcl:"capacity_reservation_specification,block"` // CpuOptions: optional CpuOptions *CpuOptions `hcl:"cpu_options,block"` // CreditSpecification: optional CreditSpecification *CreditSpecification `hcl:"credit_specification,block"` // EbsBlockDevice: min=0 EbsBlockDevice []EbsBlockDevice `hcl:"ebs_block_device,block" validate:"min=0"` // EnclaveOptions: optional EnclaveOptions *EnclaveOptions `hcl:"enclave_options,block"` // EphemeralBlockDevice: min=0 EphemeralBlockDevice []EphemeralBlockDevice `hcl:"ephemeral_block_device,block" validate:"min=0"` // InstanceMarketOptions: optional InstanceMarketOptions *InstanceMarketOptions `hcl:"instance_market_options,block"` // LaunchTemplate: optional LaunchTemplate *LaunchTemplate `hcl:"launch_template,block"` // MaintenanceOptions: optional MaintenanceOptions *MaintenanceOptions `hcl:"maintenance_options,block"` // MetadataOptions: optional MetadataOptions *MetadataOptions `hcl:"metadata_options,block"` // NetworkInterface: min=0 NetworkInterface []NetworkInterface `hcl:"network_interface,block" validate:"min=0"` // PrivateDnsNameOptions: optional PrivateDnsNameOptions *PrivateDnsNameOptions `hcl:"private_dns_name_options,block"` // RootBlockDevice: optional RootBlockDevice *RootBlockDevice `hcl:"root_block_device,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_instance.
type CapacityReservationSpecification ¶
type CapacityReservationSpecification struct { // CapacityReservationPreference: string, optional CapacityReservationPreference terra.StringValue `hcl:"capacity_reservation_preference,attr"` // CapacityReservationSpecificationCapacityReservationTarget: optional CapacityReservationTarget *CapacityReservationSpecificationCapacityReservationTarget `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[CapacityReservationSpecificationCapacityReservationTargetAttributes]
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 CapacityReservationSpecificationCapacityReservationTarget ¶
type CapacityReservationSpecificationCapacityReservationTarget 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 CapacityReservationSpecificationCapacityReservationTargetAttributes ¶
type CapacityReservationSpecificationCapacityReservationTargetAttributes struct {
// contains filtered or unexported fields
}
func (CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationId ¶
func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationId() terra.StringValue
func (CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationResourceGroupArn ¶
func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) CapacityReservationResourceGroupArn() terra.StringValue
func (CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalRef ¶
func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalRef() (terra.Reference, error)
func (CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalTokens ¶
func (crt CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityReservationSpecificationCapacityReservationTargetAttributes) InternalWithRef ¶
type CapacityReservationSpecificationState ¶
type CapacityReservationSpecificationState struct { CapacityReservationPreference string `json:"capacity_reservation_preference"` CapacityReservationTarget []CapacityReservationSpecificationCapacityReservationTargetState `json:"capacity_reservation_target"` }
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 DataArgs ¶
type DataArgs struct { // GetPasswordData: bool, optional GetPasswordData terra.BoolValue `hcl:"get_password_data,attr"` // GetUserData: bool, optional GetUserData terra.BoolValue `hcl:"get_user_data,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // InstanceId: string, optional InstanceId terra.StringValue `hcl:"instance_id,attr"` // InstanceTags: map of string, optional InstanceTags terra.MapValue[terra.StringValue] `hcl:"instance_tags,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Filter: min=0 Filter []DataFilter `hcl:"filter,block" validate:"min=0"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_instance.
type DataCreditSpecificationAttributes ¶
type DataCreditSpecificationAttributes struct {
// contains filtered or unexported fields
}
func (DataCreditSpecificationAttributes) CpuCredits ¶
func (cs DataCreditSpecificationAttributes) CpuCredits() terra.StringValue
func (DataCreditSpecificationAttributes) InternalRef ¶
func (cs DataCreditSpecificationAttributes) InternalRef() (terra.Reference, error)
func (DataCreditSpecificationAttributes) InternalTokens ¶
func (cs DataCreditSpecificationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCreditSpecificationAttributes) InternalWithRef ¶
func (cs DataCreditSpecificationAttributes) InternalWithRef(ref terra.Reference) DataCreditSpecificationAttributes
type DataCreditSpecificationState ¶
type DataCreditSpecificationState struct {
CpuCredits string `json:"cpu_credits"`
}
type DataEbsBlockDeviceAttributes ¶
type DataEbsBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (DataEbsBlockDeviceAttributes) DeleteOnTermination ¶
func (ebd DataEbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
func (DataEbsBlockDeviceAttributes) DeviceName ¶
func (ebd DataEbsBlockDeviceAttributes) DeviceName() terra.StringValue
func (DataEbsBlockDeviceAttributes) Encrypted ¶
func (ebd DataEbsBlockDeviceAttributes) Encrypted() terra.BoolValue
func (DataEbsBlockDeviceAttributes) InternalRef ¶
func (ebd DataEbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (DataEbsBlockDeviceAttributes) InternalTokens ¶
func (ebd DataEbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEbsBlockDeviceAttributes) InternalWithRef ¶
func (ebd DataEbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataEbsBlockDeviceAttributes
func (DataEbsBlockDeviceAttributes) Iops ¶
func (ebd DataEbsBlockDeviceAttributes) Iops() terra.NumberValue
func (DataEbsBlockDeviceAttributes) KmsKeyId ¶
func (ebd DataEbsBlockDeviceAttributes) KmsKeyId() terra.StringValue
func (DataEbsBlockDeviceAttributes) SnapshotId ¶
func (ebd DataEbsBlockDeviceAttributes) SnapshotId() terra.StringValue
func (DataEbsBlockDeviceAttributes) Tags ¶
func (ebd DataEbsBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
func (DataEbsBlockDeviceAttributes) Throughput ¶
func (ebd DataEbsBlockDeviceAttributes) Throughput() terra.NumberValue
func (DataEbsBlockDeviceAttributes) VolumeId ¶
func (ebd DataEbsBlockDeviceAttributes) VolumeId() terra.StringValue
func (DataEbsBlockDeviceAttributes) VolumeSize ¶
func (ebd DataEbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (DataEbsBlockDeviceAttributes) VolumeType ¶
func (ebd DataEbsBlockDeviceAttributes) VolumeType() terra.StringValue
type DataEbsBlockDeviceState ¶
type DataEbsBlockDeviceState 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 DataEnclaveOptionsAttributes ¶
type DataEnclaveOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataEnclaveOptionsAttributes) Enabled ¶
func (eo DataEnclaveOptionsAttributes) Enabled() terra.BoolValue
func (DataEnclaveOptionsAttributes) InternalRef ¶
func (eo DataEnclaveOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataEnclaveOptionsAttributes) InternalTokens ¶
func (eo DataEnclaveOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEnclaveOptionsAttributes) InternalWithRef ¶
func (eo DataEnclaveOptionsAttributes) InternalWithRef(ref terra.Reference) DataEnclaveOptionsAttributes
type DataEnclaveOptionsState ¶
type DataEnclaveOptionsState struct {
Enabled bool `json:"enabled"`
}
type DataEphemeralBlockDeviceAttributes ¶
type DataEphemeralBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (DataEphemeralBlockDeviceAttributes) DeviceName ¶
func (ebd DataEphemeralBlockDeviceAttributes) DeviceName() terra.StringValue
func (DataEphemeralBlockDeviceAttributes) InternalRef ¶
func (ebd DataEphemeralBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (DataEphemeralBlockDeviceAttributes) InternalTokens ¶
func (ebd DataEphemeralBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEphemeralBlockDeviceAttributes) InternalWithRef ¶
func (ebd DataEphemeralBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataEphemeralBlockDeviceAttributes
func (DataEphemeralBlockDeviceAttributes) NoDevice ¶
func (ebd DataEphemeralBlockDeviceAttributes) NoDevice() terra.BoolValue
func (DataEphemeralBlockDeviceAttributes) VirtualName ¶
func (ebd DataEphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
type DataFilter ¶
type DataFilter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataFilterAttributes ¶
type DataFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataFilterAttributes) InternalRef ¶
func (f DataFilterAttributes) InternalRef() (terra.Reference, error)
func (DataFilterAttributes) InternalTokens ¶
func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataFilterAttributes) InternalWithRef ¶
func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes
func (DataFilterAttributes) Name ¶
func (f DataFilterAttributes) Name() terra.StringValue
func (DataFilterAttributes) Values ¶
func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue]
type DataFilterState ¶
type DataMaintenanceOptionsAttributes ¶
type DataMaintenanceOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataMaintenanceOptionsAttributes) AutoRecovery ¶
func (mo DataMaintenanceOptionsAttributes) AutoRecovery() terra.StringValue
func (DataMaintenanceOptionsAttributes) InternalRef ¶
func (mo DataMaintenanceOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataMaintenanceOptionsAttributes) InternalTokens ¶
func (mo DataMaintenanceOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMaintenanceOptionsAttributes) InternalWithRef ¶
func (mo DataMaintenanceOptionsAttributes) InternalWithRef(ref terra.Reference) DataMaintenanceOptionsAttributes
type DataMaintenanceOptionsState ¶
type DataMaintenanceOptionsState struct {
AutoRecovery string `json:"auto_recovery"`
}
type DataMetadataOptionsAttributes ¶
type DataMetadataOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataOptionsAttributes) HttpEndpoint ¶
func (mo DataMetadataOptionsAttributes) HttpEndpoint() terra.StringValue
func (DataMetadataOptionsAttributes) HttpProtocolIpv6 ¶
func (mo DataMetadataOptionsAttributes) HttpProtocolIpv6() terra.StringValue
func (DataMetadataOptionsAttributes) HttpPutResponseHopLimit ¶
func (mo DataMetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
func (DataMetadataOptionsAttributes) HttpTokens ¶
func (mo DataMetadataOptionsAttributes) HttpTokens() terra.StringValue
func (DataMetadataOptionsAttributes) InstanceMetadataTags ¶
func (mo DataMetadataOptionsAttributes) InstanceMetadataTags() terra.StringValue
func (DataMetadataOptionsAttributes) InternalRef ¶
func (mo DataMetadataOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataMetadataOptionsAttributes) InternalTokens ¶
func (mo DataMetadataOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataMetadataOptionsAttributes) InternalWithRef ¶
func (mo DataMetadataOptionsAttributes) InternalWithRef(ref terra.Reference) DataMetadataOptionsAttributes
type DataMetadataOptionsState ¶
type DataMetadataOptionsState 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 DataPrivateDnsNameOptionsAttributes ¶
type DataPrivateDnsNameOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord ¶
func (pdno DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsARecord() terra.BoolValue
func (DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord ¶
func (pdno DataPrivateDnsNameOptionsAttributes) EnableResourceNameDnsAaaaRecord() terra.BoolValue
func (DataPrivateDnsNameOptionsAttributes) HostnameType ¶
func (pdno DataPrivateDnsNameOptionsAttributes) HostnameType() terra.StringValue
func (DataPrivateDnsNameOptionsAttributes) InternalRef ¶
func (pdno DataPrivateDnsNameOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataPrivateDnsNameOptionsAttributes) InternalTokens ¶
func (pdno DataPrivateDnsNameOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataPrivateDnsNameOptionsAttributes) InternalWithRef ¶
func (pdno DataPrivateDnsNameOptionsAttributes) InternalWithRef(ref terra.Reference) DataPrivateDnsNameOptionsAttributes
type DataRootBlockDeviceAttributes ¶
type DataRootBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (DataRootBlockDeviceAttributes) DeleteOnTermination ¶
func (rbd DataRootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
func (DataRootBlockDeviceAttributes) DeviceName ¶
func (rbd DataRootBlockDeviceAttributes) DeviceName() terra.StringValue
func (DataRootBlockDeviceAttributes) Encrypted ¶
func (rbd DataRootBlockDeviceAttributes) Encrypted() terra.BoolValue
func (DataRootBlockDeviceAttributes) InternalRef ¶
func (rbd DataRootBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (DataRootBlockDeviceAttributes) InternalTokens ¶
func (rbd DataRootBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataRootBlockDeviceAttributes) InternalWithRef ¶
func (rbd DataRootBlockDeviceAttributes) InternalWithRef(ref terra.Reference) DataRootBlockDeviceAttributes
func (DataRootBlockDeviceAttributes) Iops ¶
func (rbd DataRootBlockDeviceAttributes) Iops() terra.NumberValue
func (DataRootBlockDeviceAttributes) KmsKeyId ¶
func (rbd DataRootBlockDeviceAttributes) KmsKeyId() terra.StringValue
func (DataRootBlockDeviceAttributes) Tags ¶
func (rbd DataRootBlockDeviceAttributes) Tags() terra.MapValue[terra.StringValue]
func (DataRootBlockDeviceAttributes) Throughput ¶
func (rbd DataRootBlockDeviceAttributes) Throughput() terra.NumberValue
func (DataRootBlockDeviceAttributes) VolumeId ¶
func (rbd DataRootBlockDeviceAttributes) VolumeId() terra.StringValue
func (DataRootBlockDeviceAttributes) VolumeSize ¶
func (rbd DataRootBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (DataRootBlockDeviceAttributes) VolumeType ¶
func (rbd DataRootBlockDeviceAttributes) VolumeType() terra.StringValue
type DataRootBlockDeviceState ¶
type DataRootBlockDeviceState 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 DataSource ¶
DataSource represents the Terraform data resource aws_instance.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (ai *DataSource) Attributes() dataAwsInstanceAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (ai *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (ai *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (ai *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 (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
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"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,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) TagsAll ¶
func (ebd EbsBlockDeviceAttributes) TagsAll() 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"` TagsAll map[string]string `json:"tags_all"` 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"` // InstanceMarketOptionsSpotOptions: optional SpotOptions *InstanceMarketOptionsSpotOptions `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[InstanceMarketOptionsSpotOptionsAttributes]
type InstanceMarketOptionsSpotOptions ¶
type InstanceMarketOptionsSpotOptions 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 InstanceMarketOptionsSpotOptionsAttributes ¶
type InstanceMarketOptionsSpotOptionsAttributes struct {
// contains filtered or unexported fields
}
func (InstanceMarketOptionsSpotOptionsAttributes) InstanceInterruptionBehavior ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) InstanceInterruptionBehavior() terra.StringValue
func (InstanceMarketOptionsSpotOptionsAttributes) InternalRef ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) InternalRef() (terra.Reference, error)
func (InstanceMarketOptionsSpotOptionsAttributes) InternalTokens ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InstanceMarketOptionsSpotOptionsAttributes) InternalWithRef ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) InternalWithRef(ref terra.Reference) InstanceMarketOptionsSpotOptionsAttributes
func (InstanceMarketOptionsSpotOptionsAttributes) MaxPrice ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) MaxPrice() terra.StringValue
func (InstanceMarketOptionsSpotOptionsAttributes) SpotInstanceType ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) SpotInstanceType() terra.StringValue
func (InstanceMarketOptionsSpotOptionsAttributes) ValidUntil ¶
func (so InstanceMarketOptionsSpotOptionsAttributes) ValidUntil() terra.StringValue
type InstanceMarketOptionsState ¶
type InstanceMarketOptionsState struct { MarketType string `json:"market_type"` SpotOptions []InstanceMarketOptionsSpotOptionsState `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 Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_instance.
func (*Resource) Attributes ¶
func (ai *Resource) Attributes() awsInstanceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ai *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ai *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
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"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,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) TagsAll ¶
func (rbd RootBlockDeviceAttributes) TagsAll() 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"` TagsAll map[string]string `json:"tags_all"` Throughput float64 `json:"throughput"` VolumeId string `json:"volume_id"` VolumeSize float64 `json:"volume_size"` VolumeType string `json:"volume_type"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,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) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue