redshiftscheduledaction

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 PauseCluster

type PauseCluster struct {
	// ClusterIdentifier: string, required
	ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"`
}

type PauseClusterAttributes

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

func (PauseClusterAttributes) ClusterIdentifier

func (pc PauseClusterAttributes) ClusterIdentifier() terra.StringValue

func (PauseClusterAttributes) InternalRef

func (pc PauseClusterAttributes) InternalRef() (terra.Reference, error)

func (PauseClusterAttributes) InternalTokens

func (pc PauseClusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PauseClusterAttributes) InternalWithRef

type PauseClusterState

type PauseClusterState struct {
	ClusterIdentifier string `json:"cluster_identifier"`
}

type ResizeCluster

type ResizeCluster struct {
	// Classic: bool, optional
	Classic terra.BoolValue `hcl:"classic,attr"`
	// ClusterIdentifier: string, required
	ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"`
	// ClusterType: string, optional
	ClusterType terra.StringValue `hcl:"cluster_type,attr"`
	// NodeType: string, optional
	NodeType terra.StringValue `hcl:"node_type,attr"`
	// NumberOfNodes: number, optional
	NumberOfNodes terra.NumberValue `hcl:"number_of_nodes,attr"`
}

type ResizeClusterAttributes

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

func (ResizeClusterAttributes) Classic

func (ResizeClusterAttributes) ClusterIdentifier

func (rc ResizeClusterAttributes) ClusterIdentifier() terra.StringValue

func (ResizeClusterAttributes) ClusterType

func (rc ResizeClusterAttributes) ClusterType() terra.StringValue

func (ResizeClusterAttributes) InternalRef

func (rc ResizeClusterAttributes) InternalRef() (terra.Reference, error)

func (ResizeClusterAttributes) InternalTokens

func (rc ResizeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResizeClusterAttributes) InternalWithRef

func (ResizeClusterAttributes) NodeType

func (ResizeClusterAttributes) NumberOfNodes

func (rc ResizeClusterAttributes) NumberOfNodes() terra.NumberValue

type ResizeClusterState

type ResizeClusterState struct {
	Classic           bool    `json:"classic"`
	ClusterIdentifier string  `json:"cluster_identifier"`
	ClusterType       string  `json:"cluster_type"`
	NodeType          string  `json:"node_type"`
	NumberOfNodes     float64 `json:"number_of_nodes"`
}

type ResumeCluster

type ResumeCluster struct {
	// ClusterIdentifier: string, required
	ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"`
}

type ResumeClusterAttributes

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

func (ResumeClusterAttributes) ClusterIdentifier

func (rc ResumeClusterAttributes) ClusterIdentifier() terra.StringValue

func (ResumeClusterAttributes) InternalRef

func (rc ResumeClusterAttributes) InternalRef() (terra.Reference, error)

func (ResumeClusterAttributes) InternalTokens

func (rc ResumeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ResumeClusterAttributes) InternalWithRef

type ResumeClusterState

type ResumeClusterState struct {
	ClusterIdentifier string `json:"cluster_identifier"`
}

type TargetAction

type TargetAction struct {
	// PauseCluster: optional
	PauseCluster *PauseCluster `hcl:"pause_cluster,block"`
	// ResizeCluster: optional
	ResizeCluster *ResizeCluster `hcl:"resize_cluster,block"`
	// ResumeCluster: optional
	ResumeCluster *ResumeCluster `hcl:"resume_cluster,block"`
}

type TargetActionAttributes

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

func (TargetActionAttributes) InternalRef

func (ta TargetActionAttributes) InternalRef() (terra.Reference, error)

func (TargetActionAttributes) InternalTokens

func (ta TargetActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetActionAttributes) InternalWithRef

func (TargetActionAttributes) PauseCluster

func (TargetActionAttributes) ResizeCluster

func (TargetActionAttributes) ResumeCluster

type TargetActionState

type TargetActionState struct {
	PauseCluster  []PauseClusterState  `json:"pause_cluster"`
	ResizeCluster []ResizeClusterState `json:"resize_cluster"`
	ResumeCluster []ResumeClusterState `json:"resume_cluster"`
}

Jump to

Keyboard shortcuts

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