Documentation ¶
Index ¶
- type CloudwatchConfiguration
- type CloudwatchConfigurationAttributes
- func (cc CloudwatchConfigurationAttributes) Enabled() terra.BoolValue
- func (cc CloudwatchConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (cc CloudwatchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc CloudwatchConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationAttributes
- func (cc CloudwatchConfigurationAttributes) LogStreams() terra.ListValue[LogStreamsAttributes]
- type CloudwatchConfigurationState
- type Downscaling
- type DownscalingAttributes
- func (d DownscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
- func (d DownscalingAttributes) CpuThreshold() terra.NumberValue
- func (d DownscalingAttributes) IgnoreMetricsTime() terra.NumberValue
- func (d DownscalingAttributes) InstanceCount() terra.NumberValue
- func (d DownscalingAttributes) InternalRef() (terra.Reference, error)
- func (d DownscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DownscalingAttributes) InternalWithRef(ref terra.Reference) DownscalingAttributes
- func (d DownscalingAttributes) LoadThreshold() terra.NumberValue
- func (d DownscalingAttributes) MemoryThreshold() terra.NumberValue
- func (d DownscalingAttributes) ThresholdsWaitTime() terra.NumberValue
- type DownscalingState
- type EbsVolume
- type EbsVolumeAttributes
- func (ev EbsVolumeAttributes) Encrypted() terra.BoolValue
- func (ev EbsVolumeAttributes) InternalRef() (terra.Reference, error)
- func (ev EbsVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ev EbsVolumeAttributes) InternalWithRef(ref terra.Reference) EbsVolumeAttributes
- func (ev EbsVolumeAttributes) Iops() terra.NumberValue
- func (ev EbsVolumeAttributes) MountPoint() terra.StringValue
- func (ev EbsVolumeAttributes) NumberOfDisks() terra.NumberValue
- func (ev EbsVolumeAttributes) RaidLevel() terra.StringValue
- func (ev EbsVolumeAttributes) Size() terra.NumberValue
- func (ev EbsVolumeAttributes) Type() terra.StringValue
- type EbsVolumeState
- type LoadBasedAutoScaling
- type LoadBasedAutoScalingAttributes
- func (lbas LoadBasedAutoScalingAttributes) Downscaling() terra.ListValue[DownscalingAttributes]
- func (lbas LoadBasedAutoScalingAttributes) Enable() terra.BoolValue
- func (lbas LoadBasedAutoScalingAttributes) InternalRef() (terra.Reference, error)
- func (lbas LoadBasedAutoScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lbas LoadBasedAutoScalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingAttributes
- func (lbas LoadBasedAutoScalingAttributes) Upscaling() terra.ListValue[UpscalingAttributes]
- type LoadBasedAutoScalingState
- type LogStreams
- type LogStreamsAttributes
- func (ls LogStreamsAttributes) BatchCount() terra.NumberValue
- func (ls LogStreamsAttributes) BatchSize() terra.NumberValue
- func (ls LogStreamsAttributes) BufferDuration() terra.NumberValue
- func (ls LogStreamsAttributes) DatetimeFormat() terra.StringValue
- func (ls LogStreamsAttributes) Encoding() terra.StringValue
- func (ls LogStreamsAttributes) File() terra.StringValue
- func (ls LogStreamsAttributes) FileFingerprintLines() terra.StringValue
- func (ls LogStreamsAttributes) InitialPosition() terra.StringValue
- func (ls LogStreamsAttributes) InternalRef() (terra.Reference, error)
- func (ls LogStreamsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls LogStreamsAttributes) InternalWithRef(ref terra.Reference) LogStreamsAttributes
- func (ls LogStreamsAttributes) LogGroupName() terra.StringValue
- func (ls LogStreamsAttributes) MultilineStartPattern() terra.StringValue
- func (ls LogStreamsAttributes) TimeZone() terra.StringValue
- type LogStreamsState
- type Upscaling
- type UpscalingAttributes
- func (u UpscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
- func (u UpscalingAttributes) CpuThreshold() terra.NumberValue
- func (u UpscalingAttributes) IgnoreMetricsTime() terra.NumberValue
- func (u UpscalingAttributes) InstanceCount() terra.NumberValue
- func (u UpscalingAttributes) InternalRef() (terra.Reference, error)
- func (u UpscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (u UpscalingAttributes) InternalWithRef(ref terra.Reference) UpscalingAttributes
- func (u UpscalingAttributes) LoadThreshold() terra.NumberValue
- func (u UpscalingAttributes) MemoryThreshold() terra.NumberValue
- func (u UpscalingAttributes) ThresholdsWaitTime() terra.NumberValue
- type UpscalingState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudwatchConfiguration ¶
type CloudwatchConfiguration struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // LogStreams: min=0 LogStreams []LogStreams `hcl:"log_streams,block" validate:"min=0"` }
type CloudwatchConfigurationAttributes ¶
type CloudwatchConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (CloudwatchConfigurationAttributes) Enabled ¶
func (cc CloudwatchConfigurationAttributes) Enabled() terra.BoolValue
func (CloudwatchConfigurationAttributes) InternalRef ¶
func (cc CloudwatchConfigurationAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchConfigurationAttributes) InternalTokens ¶
func (cc CloudwatchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchConfigurationAttributes) InternalWithRef ¶
func (cc CloudwatchConfigurationAttributes) InternalWithRef(ref terra.Reference) CloudwatchConfigurationAttributes
func (CloudwatchConfigurationAttributes) LogStreams ¶
func (cc CloudwatchConfigurationAttributes) LogStreams() terra.ListValue[LogStreamsAttributes]
type CloudwatchConfigurationState ¶
type CloudwatchConfigurationState struct { Enabled bool `json:"enabled"` LogStreams []LogStreamsState `json:"log_streams"` }
type Downscaling ¶
type Downscaling struct { // Alarms: list of string, optional Alarms terra.ListValue[terra.StringValue] `hcl:"alarms,attr"` // CpuThreshold: number, optional CpuThreshold terra.NumberValue `hcl:"cpu_threshold,attr"` // IgnoreMetricsTime: number, optional IgnoreMetricsTime terra.NumberValue `hcl:"ignore_metrics_time,attr"` // InstanceCount: number, optional InstanceCount terra.NumberValue `hcl:"instance_count,attr"` // LoadThreshold: number, optional LoadThreshold terra.NumberValue `hcl:"load_threshold,attr"` // MemoryThreshold: number, optional MemoryThreshold terra.NumberValue `hcl:"memory_threshold,attr"` // ThresholdsWaitTime: number, optional ThresholdsWaitTime terra.NumberValue `hcl:"thresholds_wait_time,attr"` }
type DownscalingAttributes ¶
type DownscalingAttributes struct {
// contains filtered or unexported fields
}
func (DownscalingAttributes) Alarms ¶
func (d DownscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
func (DownscalingAttributes) CpuThreshold ¶
func (d DownscalingAttributes) CpuThreshold() terra.NumberValue
func (DownscalingAttributes) IgnoreMetricsTime ¶
func (d DownscalingAttributes) IgnoreMetricsTime() terra.NumberValue
func (DownscalingAttributes) InstanceCount ¶
func (d DownscalingAttributes) InstanceCount() terra.NumberValue
func (DownscalingAttributes) InternalRef ¶
func (d DownscalingAttributes) InternalRef() (terra.Reference, error)
func (DownscalingAttributes) InternalTokens ¶
func (d DownscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DownscalingAttributes) InternalWithRef ¶
func (d DownscalingAttributes) InternalWithRef(ref terra.Reference) DownscalingAttributes
func (DownscalingAttributes) LoadThreshold ¶
func (d DownscalingAttributes) LoadThreshold() terra.NumberValue
func (DownscalingAttributes) MemoryThreshold ¶
func (d DownscalingAttributes) MemoryThreshold() terra.NumberValue
func (DownscalingAttributes) ThresholdsWaitTime ¶
func (d DownscalingAttributes) ThresholdsWaitTime() terra.NumberValue
type DownscalingState ¶
type DownscalingState struct { Alarms []string `json:"alarms"` CpuThreshold float64 `json:"cpu_threshold"` IgnoreMetricsTime float64 `json:"ignore_metrics_time"` InstanceCount float64 `json:"instance_count"` LoadThreshold float64 `json:"load_threshold"` MemoryThreshold float64 `json:"memory_threshold"` ThresholdsWaitTime float64 `json:"thresholds_wait_time"` }
type EbsVolume ¶
type EbsVolume struct { // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` // Iops: number, optional Iops terra.NumberValue `hcl:"iops,attr"` // MountPoint: string, required MountPoint terra.StringValue `hcl:"mount_point,attr" validate:"required"` // NumberOfDisks: number, required NumberOfDisks terra.NumberValue `hcl:"number_of_disks,attr" validate:"required"` // RaidLevel: string, optional RaidLevel terra.StringValue `hcl:"raid_level,attr"` // Size: number, required Size terra.NumberValue `hcl:"size,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type EbsVolumeAttributes ¶
type EbsVolumeAttributes struct {
// contains filtered or unexported fields
}
func (EbsVolumeAttributes) Encrypted ¶
func (ev EbsVolumeAttributes) Encrypted() terra.BoolValue
func (EbsVolumeAttributes) InternalRef ¶
func (ev EbsVolumeAttributes) InternalRef() (terra.Reference, error)
func (EbsVolumeAttributes) InternalTokens ¶
func (ev EbsVolumeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EbsVolumeAttributes) InternalWithRef ¶
func (ev EbsVolumeAttributes) InternalWithRef(ref terra.Reference) EbsVolumeAttributes
func (EbsVolumeAttributes) Iops ¶
func (ev EbsVolumeAttributes) Iops() terra.NumberValue
func (EbsVolumeAttributes) MountPoint ¶
func (ev EbsVolumeAttributes) MountPoint() terra.StringValue
func (EbsVolumeAttributes) NumberOfDisks ¶
func (ev EbsVolumeAttributes) NumberOfDisks() terra.NumberValue
func (EbsVolumeAttributes) RaidLevel ¶
func (ev EbsVolumeAttributes) RaidLevel() terra.StringValue
func (EbsVolumeAttributes) Size ¶
func (ev EbsVolumeAttributes) Size() terra.NumberValue
func (EbsVolumeAttributes) Type ¶
func (ev EbsVolumeAttributes) Type() terra.StringValue
type EbsVolumeState ¶
type LoadBasedAutoScaling ¶
type LoadBasedAutoScaling struct { // Enable: bool, optional Enable terra.BoolValue `hcl:"enable,attr"` // Downscaling: optional Downscaling *Downscaling `hcl:"downscaling,block"` // Upscaling: optional Upscaling *Upscaling `hcl:"upscaling,block"` }
type LoadBasedAutoScalingAttributes ¶
type LoadBasedAutoScalingAttributes struct {
// contains filtered or unexported fields
}
func (LoadBasedAutoScalingAttributes) Downscaling ¶
func (lbas LoadBasedAutoScalingAttributes) Downscaling() terra.ListValue[DownscalingAttributes]
func (LoadBasedAutoScalingAttributes) Enable ¶
func (lbas LoadBasedAutoScalingAttributes) Enable() terra.BoolValue
func (LoadBasedAutoScalingAttributes) InternalRef ¶
func (lbas LoadBasedAutoScalingAttributes) InternalRef() (terra.Reference, error)
func (LoadBasedAutoScalingAttributes) InternalTokens ¶
func (lbas LoadBasedAutoScalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBasedAutoScalingAttributes) InternalWithRef ¶
func (lbas LoadBasedAutoScalingAttributes) InternalWithRef(ref terra.Reference) LoadBasedAutoScalingAttributes
func (LoadBasedAutoScalingAttributes) Upscaling ¶
func (lbas LoadBasedAutoScalingAttributes) Upscaling() terra.ListValue[UpscalingAttributes]
type LoadBasedAutoScalingState ¶
type LoadBasedAutoScalingState struct { Enable bool `json:"enable"` Downscaling []DownscalingState `json:"downscaling"` Upscaling []UpscalingState `json:"upscaling"` }
type LogStreams ¶
type LogStreams struct { // BatchCount: number, optional BatchCount terra.NumberValue `hcl:"batch_count,attr"` // BatchSize: number, optional BatchSize terra.NumberValue `hcl:"batch_size,attr"` // BufferDuration: number, optional BufferDuration terra.NumberValue `hcl:"buffer_duration,attr"` // DatetimeFormat: string, optional DatetimeFormat terra.StringValue `hcl:"datetime_format,attr"` // Encoding: string, optional Encoding terra.StringValue `hcl:"encoding,attr"` // File: string, required File terra.StringValue `hcl:"file,attr" validate:"required"` // FileFingerprintLines: string, optional FileFingerprintLines terra.StringValue `hcl:"file_fingerprint_lines,attr"` // InitialPosition: string, optional InitialPosition terra.StringValue `hcl:"initial_position,attr"` // LogGroupName: string, required LogGroupName terra.StringValue `hcl:"log_group_name,attr" validate:"required"` // MultilineStartPattern: string, optional MultilineStartPattern terra.StringValue `hcl:"multiline_start_pattern,attr"` // TimeZone: string, optional TimeZone terra.StringValue `hcl:"time_zone,attr"` }
type LogStreamsAttributes ¶
type LogStreamsAttributes struct {
// contains filtered or unexported fields
}
func (LogStreamsAttributes) BatchCount ¶
func (ls LogStreamsAttributes) BatchCount() terra.NumberValue
func (LogStreamsAttributes) BatchSize ¶
func (ls LogStreamsAttributes) BatchSize() terra.NumberValue
func (LogStreamsAttributes) BufferDuration ¶
func (ls LogStreamsAttributes) BufferDuration() terra.NumberValue
func (LogStreamsAttributes) DatetimeFormat ¶
func (ls LogStreamsAttributes) DatetimeFormat() terra.StringValue
func (LogStreamsAttributes) Encoding ¶
func (ls LogStreamsAttributes) Encoding() terra.StringValue
func (LogStreamsAttributes) File ¶
func (ls LogStreamsAttributes) File() terra.StringValue
func (LogStreamsAttributes) FileFingerprintLines ¶
func (ls LogStreamsAttributes) FileFingerprintLines() terra.StringValue
func (LogStreamsAttributes) InitialPosition ¶
func (ls LogStreamsAttributes) InitialPosition() terra.StringValue
func (LogStreamsAttributes) InternalRef ¶
func (ls LogStreamsAttributes) InternalRef() (terra.Reference, error)
func (LogStreamsAttributes) InternalTokens ¶
func (ls LogStreamsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogStreamsAttributes) InternalWithRef ¶
func (ls LogStreamsAttributes) InternalWithRef(ref terra.Reference) LogStreamsAttributes
func (LogStreamsAttributes) LogGroupName ¶
func (ls LogStreamsAttributes) LogGroupName() terra.StringValue
func (LogStreamsAttributes) MultilineStartPattern ¶
func (ls LogStreamsAttributes) MultilineStartPattern() terra.StringValue
func (LogStreamsAttributes) TimeZone ¶
func (ls LogStreamsAttributes) TimeZone() terra.StringValue
type LogStreamsState ¶
type LogStreamsState struct { BatchCount float64 `json:"batch_count"` BatchSize float64 `json:"batch_size"` BufferDuration float64 `json:"buffer_duration"` DatetimeFormat string `json:"datetime_format"` Encoding string `json:"encoding"` File string `json:"file"` FileFingerprintLines string `json:"file_fingerprint_lines"` InitialPosition string `json:"initial_position"` LogGroupName string `json:"log_group_name"` MultilineStartPattern string `json:"multiline_start_pattern"` TimeZone string `json:"time_zone"` }
type Upscaling ¶
type Upscaling struct { // Alarms: list of string, optional Alarms terra.ListValue[terra.StringValue] `hcl:"alarms,attr"` // CpuThreshold: number, optional CpuThreshold terra.NumberValue `hcl:"cpu_threshold,attr"` // IgnoreMetricsTime: number, optional IgnoreMetricsTime terra.NumberValue `hcl:"ignore_metrics_time,attr"` // InstanceCount: number, optional InstanceCount terra.NumberValue `hcl:"instance_count,attr"` // LoadThreshold: number, optional LoadThreshold terra.NumberValue `hcl:"load_threshold,attr"` // MemoryThreshold: number, optional MemoryThreshold terra.NumberValue `hcl:"memory_threshold,attr"` // ThresholdsWaitTime: number, optional ThresholdsWaitTime terra.NumberValue `hcl:"thresholds_wait_time,attr"` }
type UpscalingAttributes ¶
type UpscalingAttributes struct {
// contains filtered or unexported fields
}
func (UpscalingAttributes) Alarms ¶
func (u UpscalingAttributes) Alarms() terra.ListValue[terra.StringValue]
func (UpscalingAttributes) CpuThreshold ¶
func (u UpscalingAttributes) CpuThreshold() terra.NumberValue
func (UpscalingAttributes) IgnoreMetricsTime ¶
func (u UpscalingAttributes) IgnoreMetricsTime() terra.NumberValue
func (UpscalingAttributes) InstanceCount ¶
func (u UpscalingAttributes) InstanceCount() terra.NumberValue
func (UpscalingAttributes) InternalRef ¶
func (u UpscalingAttributes) InternalRef() (terra.Reference, error)
func (UpscalingAttributes) InternalTokens ¶
func (u UpscalingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (UpscalingAttributes) InternalWithRef ¶
func (u UpscalingAttributes) InternalWithRef(ref terra.Reference) UpscalingAttributes
func (UpscalingAttributes) LoadThreshold ¶
func (u UpscalingAttributes) LoadThreshold() terra.NumberValue
func (UpscalingAttributes) MemoryThreshold ¶
func (u UpscalingAttributes) MemoryThreshold() terra.NumberValue
func (UpscalingAttributes) ThresholdsWaitTime ¶
func (u UpscalingAttributes) ThresholdsWaitTime() terra.NumberValue
type UpscalingState ¶
type UpscalingState struct { Alarms []string `json:"alarms"` CpuThreshold float64 `json:"cpu_threshold"` IgnoreMetricsTime float64 `json:"ignore_metrics_time"` InstanceCount float64 `json:"instance_count"` LoadThreshold float64 `json:"load_threshold"` MemoryThreshold float64 `json:"memory_threshold"` ThresholdsWaitTime float64 `json:"thresholds_wait_time"` }
Click to show internal directories.
Click to hide internal directories.