Documentation ¶
Index ¶
- type Args
- type DataArgs
- 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) NoDevice() terra.BoolValue
- func (ebd DataEbsBlockDeviceAttributes) SnapshotId() terra.StringValue
- func (ebd DataEbsBlockDeviceAttributes) Throughput() terra.NumberValue
- func (ebd DataEbsBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (ebd DataEbsBlockDeviceAttributes) VolumeType() terra.StringValue
- type DataEbsBlockDeviceState
- 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) VirtualName() terra.StringValue
- type DataEphemeralBlockDeviceState
- type DataMetadataOptionsAttributes
- func (mo DataMetadataOptionsAttributes) HttpEndpoint() terra.StringValue
- func (mo DataMetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
- func (mo DataMetadataOptionsAttributes) HttpTokens() 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 DataRootBlockDeviceAttributes
- func (rbd DataRootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- 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) Throughput() terra.NumberValue
- func (rbd DataRootBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (rbd DataRootBlockDeviceAttributes) VolumeType() terra.StringValue
- type DataRootBlockDeviceState
- type DataSource
- 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) NoDevice() terra.BoolValue
- 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) NoDevice() terra.BoolValue
- func (ebd EphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
- type EphemeralBlockDeviceState
- type MetadataOptions
- type MetadataOptionsAttributes
- func (mo MetadataOptionsAttributes) HttpEndpoint() terra.StringValue
- func (mo MetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
- func (mo MetadataOptionsAttributes) HttpTokens() 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 Resource
- func (alc *Resource) Attributes() awsLaunchConfigurationAttributes
- func (alc *Resource) Configuration() interface{}
- func (alc *Resource) DependOn() terra.Reference
- func (alc *Resource) Dependencies() terra.Dependencies
- func (alc *Resource) ImportState(state io.Reader) error
- func (alc *Resource) LifecycleManagement() *terra.Lifecycle
- func (alc *Resource) LocalName() string
- func (alc *Resource) State() (*awsLaunchConfigurationState, bool)
- func (alc *Resource) StateMust() *awsLaunchConfigurationState
- func (alc *Resource) Type() string
- type RootBlockDevice
- type RootBlockDeviceAttributes
- func (rbd RootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
- 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) Throughput() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue
- func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue
- type RootBlockDeviceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // AssociatePublicIpAddress: bool, optional AssociatePublicIpAddress terra.BoolValue `hcl:"associate_public_ip_address,attr"` // EbsOptimized: bool, optional EbsOptimized terra.BoolValue `hcl:"ebs_optimized,attr"` // EnableMonitoring: bool, optional EnableMonitoring terra.BoolValue `hcl:"enable_monitoring,attr"` // IamInstanceProfile: string, optional IamInstanceProfile terra.StringValue `hcl:"iam_instance_profile,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImageId: string, required ImageId terra.StringValue `hcl:"image_id,attr" validate:"required"` // InstanceType: string, required InstanceType terra.StringValue `hcl:"instance_type,attr" validate:"required"` // KeyName: string, optional KeyName terra.StringValue `hcl:"key_name,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // PlacementTenancy: string, optional PlacementTenancy terra.StringValue `hcl:"placement_tenancy,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // SpotPrice: string, optional SpotPrice terra.StringValue `hcl:"spot_price,attr"` // UserData: string, optional UserData terra.StringValue `hcl:"user_data,attr"` // UserDataBase64: string, optional UserDataBase64 terra.StringValue `hcl:"user_data_base64,attr"` // VpcClassicLinkId: string, optional VpcClassicLinkId terra.StringValue `hcl:"vpc_classic_link_id,attr"` // VpcClassicLinkSecurityGroups: set of string, optional VpcClassicLinkSecurityGroups terra.SetValue[terra.StringValue] `hcl:"vpc_classic_link_security_groups,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"` // MetadataOptions: optional MetadataOptions *MetadataOptions `hcl:"metadata_options,block"` // RootBlockDevice: optional RootBlockDevice *RootBlockDevice `hcl:"root_block_device,block"` }
Args contains the configurations for aws_launch_configuration.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` }
DataArgs contains the configurations for aws_launch_configuration.
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) NoDevice ¶
func (ebd DataEbsBlockDeviceAttributes) NoDevice() terra.BoolValue
func (DataEbsBlockDeviceAttributes) SnapshotId ¶
func (ebd DataEbsBlockDeviceAttributes) SnapshotId() terra.StringValue
func (DataEbsBlockDeviceAttributes) Throughput ¶
func (ebd DataEbsBlockDeviceAttributes) Throughput() terra.NumberValue
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"` NoDevice bool `json:"no_device"` SnapshotId string `json:"snapshot_id"` Throughput float64 `json:"throughput"` VolumeSize float64 `json:"volume_size"` VolumeType string `json:"volume_type"` }
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) VirtualName ¶
func (ebd DataEphemeralBlockDeviceAttributes) VirtualName() terra.StringValue
type DataMetadataOptionsAttributes ¶
type DataMetadataOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataMetadataOptionsAttributes) HttpEndpoint ¶
func (mo DataMetadataOptionsAttributes) HttpEndpoint() terra.StringValue
func (DataMetadataOptionsAttributes) HttpPutResponseHopLimit ¶
func (mo DataMetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
func (DataMetadataOptionsAttributes) HttpTokens ¶
func (mo DataMetadataOptionsAttributes) HttpTokens() 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 DataRootBlockDeviceAttributes ¶
type DataRootBlockDeviceAttributes struct {
// contains filtered or unexported fields
}
func (DataRootBlockDeviceAttributes) DeleteOnTermination ¶
func (rbd DataRootBlockDeviceAttributes) DeleteOnTermination() terra.BoolValue
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) Throughput ¶
func (rbd DataRootBlockDeviceAttributes) Throughput() terra.NumberValue
func (DataRootBlockDeviceAttributes) VolumeSize ¶
func (rbd DataRootBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (DataRootBlockDeviceAttributes) VolumeType ¶
func (rbd DataRootBlockDeviceAttributes) VolumeType() terra.StringValue
type DataSource ¶
DataSource represents the Terraform data resource aws_launch_configuration.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (alc *DataSource) Attributes() dataAwsLaunchConfigurationAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (alc *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (alc *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (alc *DataSource) LocalName() string
LocalName returns the local name for DataSource.
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"` // NoDevice: bool, optional NoDevice terra.BoolValue `hcl:"no_device,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) NoDevice ¶
func (ebd EbsBlockDeviceAttributes) NoDevice() terra.BoolValue
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"` NoDevice bool `json:"no_device"` 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"` // 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 MetadataOptions ¶
type MetadataOptions struct { // HttpEndpoint: string, optional HttpEndpoint terra.StringValue `hcl:"http_endpoint,attr"` // HttpPutResponseHopLimit: number, optional HttpPutResponseHopLimit terra.NumberValue `hcl:"http_put_response_hop_limit,attr"` // HttpTokens: string, optional HttpTokens terra.StringValue `hcl:"http_tokens,attr"` }
type MetadataOptionsAttributes ¶
type MetadataOptionsAttributes struct {
// contains filtered or unexported fields
}
func (MetadataOptionsAttributes) HttpEndpoint ¶
func (mo MetadataOptionsAttributes) HttpEndpoint() terra.StringValue
func (MetadataOptionsAttributes) HttpPutResponseHopLimit ¶
func (mo MetadataOptionsAttributes) HttpPutResponseHopLimit() terra.NumberValue
func (MetadataOptionsAttributes) HttpTokens ¶
func (mo MetadataOptionsAttributes) HttpTokens() 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 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_launch_configuration.
func (*Resource) Attributes ¶
func (alc *Resource) Attributes() awsLaunchConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alc *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"` // 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) 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) Throughput ¶
func (rbd RootBlockDeviceAttributes) Throughput() terra.NumberValue
func (RootBlockDeviceAttributes) VolumeSize ¶
func (rbd RootBlockDeviceAttributes) VolumeSize() terra.NumberValue
func (RootBlockDeviceAttributes) VolumeType ¶
func (rbd RootBlockDeviceAttributes) VolumeType() terra.StringValue