Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataBlockDeviceMappingsAttributes
- func (bdm DataBlockDeviceMappingsAttributes) DeviceName() terra.StringValue
- func (bdm DataBlockDeviceMappingsAttributes) Ebs() terra.MapValue[terra.StringValue]
- func (bdm DataBlockDeviceMappingsAttributes) InternalRef() (terra.Reference, error)
- func (bdm DataBlockDeviceMappingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bdm DataBlockDeviceMappingsAttributes) InternalWithRef(ref terra.Reference) DataBlockDeviceMappingsAttributes
- func (bdm DataBlockDeviceMappingsAttributes) NoDevice() terra.StringValue
- func (bdm DataBlockDeviceMappingsAttributes) VirtualName() terra.StringValue
- type DataBlockDeviceMappingsState
- 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 DataProductCodesAttributes
- func (pc DataProductCodesAttributes) InternalRef() (terra.Reference, error)
- func (pc DataProductCodesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc DataProductCodesAttributes) InternalWithRef(ref terra.Reference) DataProductCodesAttributes
- func (pc DataProductCodesAttributes) ProductCodeId() terra.StringValue
- func (pc DataProductCodesAttributes) ProductCodeType() terra.StringValue
- type DataProductCodesState
- 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) OutpostArn() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
- func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue
- type EbsBlockDeviceState
- 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) VirtualName() terra.StringValue
- type EphemeralBlockDeviceState
- type Resource
- func (aa *Resource) Attributes() awsAmiAttributes
- func (aa *Resource) Configuration() interface{}
- func (aa *Resource) DependOn() terra.Reference
- func (aa *Resource) Dependencies() terra.Dependencies
- func (aa *Resource) ImportState(state io.Reader) error
- func (aa *Resource) LifecycleManagement() *terra.Lifecycle
- func (aa *Resource) LocalName() string
- func (aa *Resource) State() (*awsAmiState, bool)
- func (aa *Resource) StateMust() *awsAmiState
- func (aa *Resource) Type() string
- 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 Args ¶
type Args struct { // Architecture: string, optional Architecture terra.StringValue `hcl:"architecture,attr"` // BootMode: string, optional BootMode terra.StringValue `hcl:"boot_mode,attr"` // DeprecationTime: string, optional DeprecationTime terra.StringValue `hcl:"deprecation_time,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // EnaSupport: bool, optional EnaSupport terra.BoolValue `hcl:"ena_support,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImageLocation: string, optional ImageLocation terra.StringValue `hcl:"image_location,attr"` // ImdsSupport: string, optional ImdsSupport terra.StringValue `hcl:"imds_support,attr"` // KernelId: string, optional KernelId terra.StringValue `hcl:"kernel_id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // RamdiskId: string, optional RamdiskId terra.StringValue `hcl:"ramdisk_id,attr"` // RootDeviceName: string, optional RootDeviceName terra.StringValue `hcl:"root_device_name,attr"` // SriovNetSupport: string, optional SriovNetSupport terra.StringValue `hcl:"sriov_net_support,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"` // TpmSupport: string, optional TpmSupport terra.StringValue `hcl:"tpm_support,attr"` // VirtualizationType: string, optional VirtualizationType terra.StringValue `hcl:"virtualization_type,attr"` // EbsBlockDevice: min=0 EbsBlockDevice []EbsBlockDevice `hcl:"ebs_block_device,block" validate:"min=0"` // EphemeralBlockDevice: min=0 EphemeralBlockDevice []EphemeralBlockDevice `hcl:"ephemeral_block_device,block" validate:"min=0"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_ami.
type DataArgs ¶
type DataArgs struct { // ExecutableUsers: list of string, optional ExecutableUsers terra.ListValue[terra.StringValue] `hcl:"executable_users,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IncludeDeprecated: bool, optional IncludeDeprecated terra.BoolValue `hcl:"include_deprecated,attr"` // MostRecent: bool, optional MostRecent terra.BoolValue `hcl:"most_recent,attr"` // NameRegex: string, optional NameRegex terra.StringValue `hcl:"name_regex,attr"` // Owners: list of string, optional Owners terra.ListValue[terra.StringValue] `hcl:"owners,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_ami.
type DataBlockDeviceMappingsAttributes ¶
type DataBlockDeviceMappingsAttributes struct {
// contains filtered or unexported fields
}
func (DataBlockDeviceMappingsAttributes) DeviceName ¶
func (bdm DataBlockDeviceMappingsAttributes) DeviceName() terra.StringValue
func (DataBlockDeviceMappingsAttributes) Ebs ¶
func (bdm DataBlockDeviceMappingsAttributes) Ebs() terra.MapValue[terra.StringValue]
func (DataBlockDeviceMappingsAttributes) InternalRef ¶
func (bdm DataBlockDeviceMappingsAttributes) InternalRef() (terra.Reference, error)
func (DataBlockDeviceMappingsAttributes) InternalTokens ¶
func (bdm DataBlockDeviceMappingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataBlockDeviceMappingsAttributes) InternalWithRef ¶
func (bdm DataBlockDeviceMappingsAttributes) InternalWithRef(ref terra.Reference) DataBlockDeviceMappingsAttributes
func (DataBlockDeviceMappingsAttributes) NoDevice ¶
func (bdm DataBlockDeviceMappingsAttributes) NoDevice() terra.StringValue
func (DataBlockDeviceMappingsAttributes) VirtualName ¶
func (bdm DataBlockDeviceMappingsAttributes) 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 DataProductCodesAttributes ¶
type DataProductCodesAttributes struct {
// contains filtered or unexported fields
}
func (DataProductCodesAttributes) InternalRef ¶
func (pc DataProductCodesAttributes) InternalRef() (terra.Reference, error)
func (DataProductCodesAttributes) InternalTokens ¶
func (pc DataProductCodesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataProductCodesAttributes) InternalWithRef ¶
func (pc DataProductCodesAttributes) InternalWithRef(ref terra.Reference) DataProductCodesAttributes
func (DataProductCodesAttributes) ProductCodeId ¶
func (pc DataProductCodesAttributes) ProductCodeId() terra.StringValue
func (DataProductCodesAttributes) ProductCodeType ¶
func (pc DataProductCodesAttributes) ProductCodeType() terra.StringValue
type DataProductCodesState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_ami.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aa *DataSource) Attributes() dataAwsAmiAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aa *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aa *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aa *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"` // OutpostArn: string, optional OutpostArn terra.StringValue `hcl:"outpost_arn,attr"` // SnapshotId: string, optional SnapshotId terra.StringValue `hcl:"snapshot_id,attr"` // Throughput: number, optional Throughput terra.NumberValue `hcl:"throughput,attr"` // VolumeSize: number, optional VolumeSize terra.NumberValue `hcl:"volume_size,attr"` // VolumeType: string, optional VolumeType terra.StringValue `hcl:"volume_type,attr"` }
type EbsBlockDeviceAttributes ¶
type EbsBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (EbsBlockDeviceAttributes) DeleteOnTermination ¶
func (ebd EbsBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
func (EbsBlockDeviceAttributes) DeviceName ¶
func (ebd EbsBlockDeviceAttributes) DeviceName() terra.StringValue
func (EbsBlockDeviceAttributes) Encrypted ¶
func (ebd EbsBlockDeviceAttributes) Encrypted() terra.BoolValue
func (EbsBlockDeviceAttributes) InternalRef ¶
func (ebd EbsBlockDeviceAttributes) InternalRef() (terra.Reference, error)
func (EbsBlockDeviceAttributes) InternalTokens ¶
func (ebd EbsBlockDeviceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EbsBlockDeviceAttributes) InternalWithRef ¶
func (ebd EbsBlockDeviceAttributes) InternalWithRef(ref terra.Reference) EbsBlockDeviceAttributes
func (EbsBlockDeviceAttributes) Iops ¶
func (ebd EbsBlockDeviceAttributes) Iops() terra.NumberValue
func (EbsBlockDeviceAttributes) OutpostArn ¶
func (ebd EbsBlockDeviceAttributes) OutpostArn() terra.StringValue
func (EbsBlockDeviceAttributes) SnapshotId ¶
func (ebd EbsBlockDeviceAttributes) SnapshotId() terra.StringValue
func (EbsBlockDeviceAttributes) Throughput ¶
func (ebd EbsBlockDeviceAttributes) Throughput() terra.NumberValue
func (EbsBlockDeviceAttributes) VolumeSize ¶
func (ebd EbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (EbsBlockDeviceAttributes) VolumeType ¶
func (ebd EbsBlockDeviceAttributes) VolumeType() terra.StringValue
type EbsBlockDeviceState ¶
type EbsBlockDeviceState struct { DeleteOnTermination bool `json:"delete_on_termination"` DeviceName string `json:"device_name"` Encrypted bool `json:"encrypted"` Iops float64 `json:"iops"` OutpostArn string `json:"outpost_arn"` SnapshotId string `json:"snapshot_id"` Throughput float64 `json:"throughput"` VolumeSize float64 `json:"volume_size"` VolumeType string `json:"volume_type"` }
type EphemeralBlockDevice ¶
type EphemeralBlockDevice struct { // DeviceName: string, required DeviceName terra.StringValue `hcl:"device_name,attr" validate:"required"` // VirtualName: string, required VirtualName terra.StringValue `hcl:"virtual_name,attr" validate:"required"` }
type EphemeralBlockDeviceAttributes ¶
type EphemeralBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (EphemeralBlockDeviceAttributes) DeviceName ¶
func (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) VirtualName ¶
func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
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_ami.
func (*Resource) Attributes ¶
func (aa *Resource) Attributes() awsAmiAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aa *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 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