Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + Description terra.StringValue + Enable terra.BoolValue + EndTime terra.StringValue + IamRole terra.StringValue + Id terra.StringValue + Name terra.StringValue + Schedule terra.StringValue + StartTime terra.StringValue + TargetAction *TargetAction + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (arsa *Resource) Attributes() awsRedshiftScheduledActionAttributes + func (arsa *Resource) Configuration() interface{} + func (arsa *Resource) DependOn() terra.Reference + func (arsa *Resource) Dependencies() terra.Dependencies + func (arsa *Resource) ImportState(state io.Reader) error + func (arsa *Resource) LifecycleManagement() *terra.Lifecycle + func (arsa *Resource) LocalName() string + func (arsa *Resource) State() (*awsRedshiftScheduledActionState, bool) + func (arsa *Resource) StateMust() *awsRedshiftScheduledActionState + func (arsa *Resource) Type() string + type TargetAction struct + PauseCluster *TargetActionPauseCluster + ResizeCluster *TargetActionResizeCluster + ResumeCluster *TargetActionResumeCluster + type TargetActionAttributes struct + func (ta TargetActionAttributes) InternalRef() (terra.Reference, error) + func (ta TargetActionAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ta TargetActionAttributes) InternalWithRef(ref terra.Reference) TargetActionAttributes + func (ta TargetActionAttributes) PauseCluster() terra.ListValue[TargetActionPauseClusterAttributes] + func (ta TargetActionAttributes) ResizeCluster() terra.ListValue[TargetActionResizeClusterAttributes] + func (ta TargetActionAttributes) ResumeCluster() terra.ListValue[TargetActionResumeClusterAttributes] + type TargetActionPauseCluster struct + ClusterIdentifier terra.StringValue + type TargetActionPauseClusterAttributes struct + func (pc TargetActionPauseClusterAttributes) ClusterIdentifier() terra.StringValue + func (pc TargetActionPauseClusterAttributes) InternalRef() (terra.Reference, error) + func (pc TargetActionPauseClusterAttributes) InternalTokens() (hclwrite.Tokens, error) + func (pc TargetActionPauseClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionPauseClusterAttributes + type TargetActionPauseClusterState struct + ClusterIdentifier string + type TargetActionResizeCluster struct + Classic terra.BoolValue + ClusterIdentifier terra.StringValue + ClusterType terra.StringValue + NodeType terra.StringValue + NumberOfNodes terra.NumberValue + type TargetActionResizeClusterAttributes struct + func (rc TargetActionResizeClusterAttributes) Classic() terra.BoolValue + func (rc TargetActionResizeClusterAttributes) ClusterIdentifier() terra.StringValue + func (rc TargetActionResizeClusterAttributes) ClusterType() terra.StringValue + func (rc TargetActionResizeClusterAttributes) InternalRef() (terra.Reference, error) + func (rc TargetActionResizeClusterAttributes) InternalTokens() (hclwrite.Tokens, error) + func (rc TargetActionResizeClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionResizeClusterAttributes + func (rc TargetActionResizeClusterAttributes) NodeType() terra.StringValue + func (rc TargetActionResizeClusterAttributes) NumberOfNodes() terra.NumberValue + type TargetActionResizeClusterState struct + Classic bool + ClusterIdentifier string + ClusterType string + NodeType string + NumberOfNodes float64 + type TargetActionResumeCluster struct + ClusterIdentifier terra.StringValue + type TargetActionResumeClusterAttributes struct + func (rc TargetActionResumeClusterAttributes) ClusterIdentifier() terra.StringValue + func (rc TargetActionResumeClusterAttributes) InternalRef() (terra.Reference, error) + func (rc TargetActionResumeClusterAttributes) InternalTokens() (hclwrite.Tokens, error) + func (rc TargetActionResumeClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionResumeClusterAttributes + type TargetActionResumeClusterState struct + ClusterIdentifier string + type TargetActionState struct + PauseCluster []TargetActionPauseClusterState + ResizeCluster []TargetActionResizeClusterState + ResumeCluster []TargetActionResumeClusterState