opsworksnodejsapplayer

package
v0.0.0-...-917d9f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (CloudwatchConfigurationAttributes) InternalRef

func (CloudwatchConfigurationAttributes) InternalTokens

func (cc CloudwatchConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchConfigurationAttributes) InternalWithRef

func (CloudwatchConfigurationAttributes) LogStreams

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 (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 (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 (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 (EbsVolumeAttributes) Type

type EbsVolumeState

type EbsVolumeState struct {
	Encrypted     bool    `json:"encrypted"`
	Iops          float64 `json:"iops"`
	MountPoint    string  `json:"mount_point"`
	NumberOfDisks float64 `json:"number_of_disks"`
	RaidLevel     string  `json:"raid_level"`
	Size          float64 `json:"size"`
	Type          string  `json:"type"`
}

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 (LoadBasedAutoScalingAttributes) Enable

func (LoadBasedAutoScalingAttributes) InternalRef

func (lbas LoadBasedAutoScalingAttributes) InternalRef() (terra.Reference, error)

func (LoadBasedAutoScalingAttributes) InternalTokens

func (lbas LoadBasedAutoScalingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBasedAutoScalingAttributes) InternalWithRef

func (LoadBasedAutoScalingAttributes) Upscaling

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 (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 (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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL