mwaaenvironment

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 DagProcessingLogs

type DagProcessingLogs struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
}

type DagProcessingLogsAttributes

type DagProcessingLogsAttributes struct {
	// contains filtered or unexported fields
}

func (DagProcessingLogsAttributes) CloudWatchLogGroupArn

func (dpl DagProcessingLogsAttributes) CloudWatchLogGroupArn() terra.StringValue

func (DagProcessingLogsAttributes) Enabled

func (DagProcessingLogsAttributes) InternalRef

func (dpl DagProcessingLogsAttributes) InternalRef() (terra.Reference, error)

func (DagProcessingLogsAttributes) InternalTokens

func (dpl DagProcessingLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DagProcessingLogsAttributes) InternalWithRef

func (DagProcessingLogsAttributes) LogLevel

type DagProcessingLogsState

type DagProcessingLogsState struct {
	CloudWatchLogGroupArn string `json:"cloud_watch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogLevel              string `json:"log_level"`
}

type Error

type Error struct{}

type ErrorAttributes

type ErrorAttributes struct {
	// contains filtered or unexported fields
}

func (ErrorAttributes) ErrorCode

func (e ErrorAttributes) ErrorCode() terra.StringValue

func (ErrorAttributes) ErrorMessage

func (e ErrorAttributes) ErrorMessage() terra.StringValue

func (ErrorAttributes) InternalRef

func (e ErrorAttributes) InternalRef() (terra.Reference, error)

func (ErrorAttributes) InternalTokens

func (e ErrorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ErrorAttributes) InternalWithRef

func (e ErrorAttributes) InternalWithRef(ref terra.Reference) ErrorAttributes

type ErrorState

type ErrorState struct {
	ErrorCode    string `json:"error_code"`
	ErrorMessage string `json:"error_message"`
}

type LastUpdated

type LastUpdated struct {
	// Error: min=0
	Error []Error `hcl:"error,block" validate:"min=0"`
}

type LastUpdatedAttributes

type LastUpdatedAttributes struct {
	// contains filtered or unexported fields
}

func (LastUpdatedAttributes) CreatedAt

func (lu LastUpdatedAttributes) CreatedAt() terra.StringValue

func (LastUpdatedAttributes) Error

func (LastUpdatedAttributes) InternalRef

func (lu LastUpdatedAttributes) InternalRef() (terra.Reference, error)

func (LastUpdatedAttributes) InternalTokens

func (lu LastUpdatedAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LastUpdatedAttributes) InternalWithRef

func (LastUpdatedAttributes) Status

type LastUpdatedState

type LastUpdatedState struct {
	CreatedAt string       `json:"created_at"`
	Status    string       `json:"status"`
	Error     []ErrorState `json:"error"`
}

type LoggingConfiguration

type LoggingConfiguration struct {
	// DagProcessingLogs: optional
	DagProcessingLogs *DagProcessingLogs `hcl:"dag_processing_logs,block"`
	// SchedulerLogs: optional
	SchedulerLogs *SchedulerLogs `hcl:"scheduler_logs,block"`
	// TaskLogs: optional
	TaskLogs *TaskLogs `hcl:"task_logs,block"`
	// WebserverLogs: optional
	WebserverLogs *WebserverLogs `hcl:"webserver_logs,block"`
	// WorkerLogs: optional
	WorkerLogs *WorkerLogs `hcl:"worker_logs,block"`
}

type LoggingConfigurationAttributes

type LoggingConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (LoggingConfigurationAttributes) DagProcessingLogs

func (LoggingConfigurationAttributes) InternalRef

func (LoggingConfigurationAttributes) InternalTokens

func (lc LoggingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingConfigurationAttributes) InternalWithRef

func (LoggingConfigurationAttributes) SchedulerLogs

func (LoggingConfigurationAttributes) TaskLogs

func (LoggingConfigurationAttributes) WebserverLogs

func (LoggingConfigurationAttributes) WorkerLogs

type LoggingConfigurationState

type LoggingConfigurationState struct {
	DagProcessingLogs []DagProcessingLogsState `json:"dag_processing_logs"`
	SchedulerLogs     []SchedulerLogsState     `json:"scheduler_logs"`
	TaskLogs          []TaskLogsState          `json:"task_logs"`
	WebserverLogs     []WebserverLogsState     `json:"webserver_logs"`
	WorkerLogs        []WorkerLogsState        `json:"worker_logs"`
}

type NetworkConfiguration

type NetworkConfiguration struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
}

type NetworkConfigurationAttributes

type NetworkConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkConfigurationAttributes) InternalRef

func (NetworkConfigurationAttributes) InternalTokens

func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigurationAttributes) InternalWithRef

func (NetworkConfigurationAttributes) SecurityGroupIds

func (NetworkConfigurationAttributes) SubnetIds

type NetworkConfigurationState

type NetworkConfigurationState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

type SchedulerLogs

type SchedulerLogs struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
}

type SchedulerLogsAttributes

type SchedulerLogsAttributes struct {
	// contains filtered or unexported fields
}

func (SchedulerLogsAttributes) CloudWatchLogGroupArn

func (sl SchedulerLogsAttributes) CloudWatchLogGroupArn() terra.StringValue

func (SchedulerLogsAttributes) Enabled

func (SchedulerLogsAttributes) InternalRef

func (sl SchedulerLogsAttributes) InternalRef() (terra.Reference, error)

func (SchedulerLogsAttributes) InternalTokens

func (sl SchedulerLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SchedulerLogsAttributes) InternalWithRef

func (SchedulerLogsAttributes) LogLevel

type SchedulerLogsState

type SchedulerLogsState struct {
	CloudWatchLogGroupArn string `json:"cloud_watch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogLevel              string `json:"log_level"`
}

type TaskLogs

type TaskLogs struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
}

type TaskLogsAttributes

type TaskLogsAttributes struct {
	// contains filtered or unexported fields
}

func (TaskLogsAttributes) CloudWatchLogGroupArn

func (tl TaskLogsAttributes) CloudWatchLogGroupArn() terra.StringValue

func (TaskLogsAttributes) Enabled

func (tl TaskLogsAttributes) Enabled() terra.BoolValue

func (TaskLogsAttributes) InternalRef

func (tl TaskLogsAttributes) InternalRef() (terra.Reference, error)

func (TaskLogsAttributes) InternalTokens

func (tl TaskLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TaskLogsAttributes) InternalWithRef

func (tl TaskLogsAttributes) InternalWithRef(ref terra.Reference) TaskLogsAttributes

func (TaskLogsAttributes) LogLevel

func (tl TaskLogsAttributes) LogLevel() terra.StringValue

type TaskLogsState

type TaskLogsState struct {
	CloudWatchLogGroupArn string `json:"cloud_watch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogLevel              string `json:"log_level"`
}

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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type WebserverLogs

type WebserverLogs struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
}

type WebserverLogsAttributes

type WebserverLogsAttributes struct {
	// contains filtered or unexported fields
}

func (WebserverLogsAttributes) CloudWatchLogGroupArn

func (wl WebserverLogsAttributes) CloudWatchLogGroupArn() terra.StringValue

func (WebserverLogsAttributes) Enabled

func (WebserverLogsAttributes) InternalRef

func (wl WebserverLogsAttributes) InternalRef() (terra.Reference, error)

func (WebserverLogsAttributes) InternalTokens

func (wl WebserverLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebserverLogsAttributes) InternalWithRef

func (WebserverLogsAttributes) LogLevel

type WebserverLogsState

type WebserverLogsState struct {
	CloudWatchLogGroupArn string `json:"cloud_watch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogLevel              string `json:"log_level"`
}

type WorkerLogs

type WorkerLogs struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// LogLevel: string, optional
	LogLevel terra.StringValue `hcl:"log_level,attr"`
}

type WorkerLogsAttributes

type WorkerLogsAttributes struct {
	// contains filtered or unexported fields
}

func (WorkerLogsAttributes) CloudWatchLogGroupArn

func (wl WorkerLogsAttributes) CloudWatchLogGroupArn() terra.StringValue

func (WorkerLogsAttributes) Enabled

func (wl WorkerLogsAttributes) Enabled() terra.BoolValue

func (WorkerLogsAttributes) InternalRef

func (wl WorkerLogsAttributes) InternalRef() (terra.Reference, error)

func (WorkerLogsAttributes) InternalTokens

func (wl WorkerLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkerLogsAttributes) InternalWithRef

func (wl WorkerLogsAttributes) InternalWithRef(ref terra.Reference) WorkerLogsAttributes

func (WorkerLogsAttributes) LogLevel

func (wl WorkerLogsAttributes) LogLevel() terra.StringValue

type WorkerLogsState

type WorkerLogsState struct {
	CloudWatchLogGroupArn string `json:"cloud_watch_log_group_arn"`
	Enabled               bool   `json:"enabled"`
	LogLevel              string `json:"log_level"`
}

Jump to

Keyboard shortcuts

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