emrserverlessapplication

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 AutoStartConfiguration

type AutoStartConfiguration struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type AutoStartConfigurationAttributes

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

func (AutoStartConfigurationAttributes) Enabled

func (AutoStartConfigurationAttributes) InternalRef

func (AutoStartConfigurationAttributes) InternalTokens

func (asc AutoStartConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoStartConfigurationAttributes) InternalWithRef

type AutoStartConfigurationState

type AutoStartConfigurationState struct {
	Enabled bool `json:"enabled"`
}

type AutoStopConfiguration

type AutoStopConfiguration struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// IdleTimeoutMinutes: number, optional
	IdleTimeoutMinutes terra.NumberValue `hcl:"idle_timeout_minutes,attr"`
}

type AutoStopConfigurationAttributes

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

func (AutoStopConfigurationAttributes) Enabled

func (AutoStopConfigurationAttributes) IdleTimeoutMinutes

func (asc AutoStopConfigurationAttributes) IdleTimeoutMinutes() terra.NumberValue

func (AutoStopConfigurationAttributes) InternalRef

func (AutoStopConfigurationAttributes) InternalTokens

func (asc AutoStopConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoStopConfigurationAttributes) InternalWithRef

type AutoStopConfigurationState

type AutoStopConfigurationState struct {
	Enabled            bool    `json:"enabled"`
	IdleTimeoutMinutes float64 `json:"idle_timeout_minutes"`
}

type ImageConfiguration

type ImageConfiguration struct {
	// ImageUri: string, required
	ImageUri terra.StringValue `hcl:"image_uri,attr" validate:"required"`
}

type ImageConfigurationAttributes

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

func (ImageConfigurationAttributes) ImageUri

func (ImageConfigurationAttributes) InternalRef

func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ImageConfigurationAttributes) InternalTokens

func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImageConfigurationAttributes) InternalWithRef

type ImageConfigurationState

type ImageConfigurationState struct {
	ImageUri string `json:"image_uri"`
}

type InitialCapacity

type InitialCapacity struct {
	// InitialCapacityType: string, required
	InitialCapacityType terra.StringValue `hcl:"initial_capacity_type,attr" validate:"required"`
	// InitialCapacityConfig: optional
	InitialCapacityConfig *InitialCapacityConfig `hcl:"initial_capacity_config,block"`
}

type InitialCapacityAttributes

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

func (InitialCapacityAttributes) InitialCapacityConfig

func (InitialCapacityAttributes) InitialCapacityType

func (ic InitialCapacityAttributes) InitialCapacityType() terra.StringValue

func (InitialCapacityAttributes) InternalRef

func (ic InitialCapacityAttributes) InternalRef() (terra.Reference, error)

func (InitialCapacityAttributes) InternalTokens

func (ic InitialCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InitialCapacityAttributes) InternalWithRef

type InitialCapacityConfig

type InitialCapacityConfig struct {
	// WorkerCount: number, required
	WorkerCount terra.NumberValue `hcl:"worker_count,attr" validate:"required"`
	// WorkerConfiguration: optional
	WorkerConfiguration *WorkerConfiguration `hcl:"worker_configuration,block"`
}

type InitialCapacityConfigAttributes

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

func (InitialCapacityConfigAttributes) InternalRef

func (InitialCapacityConfigAttributes) InternalTokens

func (icc InitialCapacityConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InitialCapacityConfigAttributes) InternalWithRef

func (InitialCapacityConfigAttributes) WorkerConfiguration

func (InitialCapacityConfigAttributes) WorkerCount

type InitialCapacityConfigState

type InitialCapacityConfigState struct {
	WorkerCount         float64                    `json:"worker_count"`
	WorkerConfiguration []WorkerConfigurationState `json:"worker_configuration"`
}

type InitialCapacityState

type InitialCapacityState struct {
	InitialCapacityType   string                       `json:"initial_capacity_type"`
	InitialCapacityConfig []InitialCapacityConfigState `json:"initial_capacity_config"`
}

type MaximumCapacity

type MaximumCapacity struct {
	// Cpu: string, required
	Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"`
	// Disk: string, optional
	Disk terra.StringValue `hcl:"disk,attr"`
	// Memory: string, required
	Memory terra.StringValue `hcl:"memory,attr" validate:"required"`
}

type MaximumCapacityAttributes

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

func (MaximumCapacityAttributes) Cpu

func (MaximumCapacityAttributes) Disk

func (MaximumCapacityAttributes) InternalRef

func (mc MaximumCapacityAttributes) InternalRef() (terra.Reference, error)

func (MaximumCapacityAttributes) InternalTokens

func (mc MaximumCapacityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MaximumCapacityAttributes) InternalWithRef

func (MaximumCapacityAttributes) Memory

type MaximumCapacityState

type MaximumCapacityState struct {
	Cpu    string `json:"cpu"`
	Disk   string `json:"disk"`
	Memory string `json:"memory"`
}

type NetworkConfiguration

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

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 WorkerConfiguration

type WorkerConfiguration struct {
	// Cpu: string, required
	Cpu terra.StringValue `hcl:"cpu,attr" validate:"required"`
	// Disk: string, optional
	Disk terra.StringValue `hcl:"disk,attr"`
	// Memory: string, required
	Memory terra.StringValue `hcl:"memory,attr" validate:"required"`
}

type WorkerConfigurationAttributes

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

func (WorkerConfigurationAttributes) Cpu

func (WorkerConfigurationAttributes) Disk

func (WorkerConfigurationAttributes) InternalRef

func (wc WorkerConfigurationAttributes) InternalRef() (terra.Reference, error)

func (WorkerConfigurationAttributes) InternalTokens

func (wc WorkerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WorkerConfigurationAttributes) InternalWithRef

func (WorkerConfigurationAttributes) Memory

type WorkerConfigurationState

type WorkerConfigurationState struct {
	Cpu    string `json:"cpu"`
	Disk   string `json:"disk"`
	Memory string `json:"memory"`
}

Jump to

Keyboard shortcuts

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