Documentation ¶
Index ¶
- type Args
- type 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
- type TargetActionAttributes
- 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
- type TargetActionPauseClusterAttributes
- 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
- type TargetActionResizeCluster
- type TargetActionResizeClusterAttributes
- 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
- type TargetActionResumeCluster
- type TargetActionResumeClusterAttributes
- 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
- type TargetActionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Enable: bool, optional Enable terra.BoolValue `hcl:"enable,attr"` // EndTime: string, optional EndTime terra.StringValue `hcl:"end_time,attr"` // IamRole: string, required IamRole terra.StringValue `hcl:"iam_role,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Schedule: string, required Schedule terra.StringValue `hcl:"schedule,attr" validate:"required"` // StartTime: string, optional StartTime terra.StringValue `hcl:"start_time,attr"` // TargetAction: required TargetAction *TargetAction `hcl:"target_action,block" validate:"required"` }
Args contains the configurations for aws_redshift_scheduled_action.
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_redshift_scheduled_action.
func (*Resource) Attributes ¶
func (arsa *Resource) Attributes() awsRedshiftScheduledActionAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (arsa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (arsa *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type TargetAction ¶
type TargetAction struct { // TargetActionPauseCluster: optional PauseCluster *TargetActionPauseCluster `hcl:"pause_cluster,block"` // TargetActionResizeCluster: optional ResizeCluster *TargetActionResizeCluster `hcl:"resize_cluster,block"` // TargetActionResumeCluster: optional ResumeCluster *TargetActionResumeCluster `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 (ta TargetActionAttributes) InternalWithRef(ref terra.Reference) TargetActionAttributes
func (TargetActionAttributes) PauseCluster ¶
func (ta TargetActionAttributes) PauseCluster() terra.ListValue[TargetActionPauseClusterAttributes]
func (TargetActionAttributes) ResizeCluster ¶
func (ta TargetActionAttributes) ResizeCluster() terra.ListValue[TargetActionResizeClusterAttributes]
func (TargetActionAttributes) ResumeCluster ¶
func (ta TargetActionAttributes) ResumeCluster() terra.ListValue[TargetActionResumeClusterAttributes]
type TargetActionPauseCluster ¶
type TargetActionPauseCluster struct { // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` }
type TargetActionPauseClusterAttributes ¶
type TargetActionPauseClusterAttributes struct {
// contains filtered or unexported fields
}
func (TargetActionPauseClusterAttributes) ClusterIdentifier ¶
func (pc TargetActionPauseClusterAttributes) ClusterIdentifier() terra.StringValue
func (TargetActionPauseClusterAttributes) InternalRef ¶
func (pc TargetActionPauseClusterAttributes) InternalRef() (terra.Reference, error)
func (TargetActionPauseClusterAttributes) InternalTokens ¶
func (pc TargetActionPauseClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetActionPauseClusterAttributes) InternalWithRef ¶
func (pc TargetActionPauseClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionPauseClusterAttributes
type TargetActionPauseClusterState ¶
type TargetActionPauseClusterState struct {
ClusterIdentifier string `json:"cluster_identifier"`
}
type TargetActionResizeCluster ¶
type TargetActionResizeCluster 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 TargetActionResizeClusterAttributes ¶
type TargetActionResizeClusterAttributes struct {
// contains filtered or unexported fields
}
func (TargetActionResizeClusterAttributes) Classic ¶
func (rc TargetActionResizeClusterAttributes) Classic() terra.BoolValue
func (TargetActionResizeClusterAttributes) ClusterIdentifier ¶
func (rc TargetActionResizeClusterAttributes) ClusterIdentifier() terra.StringValue
func (TargetActionResizeClusterAttributes) ClusterType ¶
func (rc TargetActionResizeClusterAttributes) ClusterType() terra.StringValue
func (TargetActionResizeClusterAttributes) InternalRef ¶
func (rc TargetActionResizeClusterAttributes) InternalRef() (terra.Reference, error)
func (TargetActionResizeClusterAttributes) InternalTokens ¶
func (rc TargetActionResizeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetActionResizeClusterAttributes) InternalWithRef ¶
func (rc TargetActionResizeClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionResizeClusterAttributes
func (TargetActionResizeClusterAttributes) NodeType ¶
func (rc TargetActionResizeClusterAttributes) NodeType() terra.StringValue
func (TargetActionResizeClusterAttributes) NumberOfNodes ¶
func (rc TargetActionResizeClusterAttributes) NumberOfNodes() terra.NumberValue
type TargetActionResumeCluster ¶
type TargetActionResumeCluster struct { // ClusterIdentifier: string, required ClusterIdentifier terra.StringValue `hcl:"cluster_identifier,attr" validate:"required"` }
type TargetActionResumeClusterAttributes ¶
type TargetActionResumeClusterAttributes struct {
// contains filtered or unexported fields
}
func (TargetActionResumeClusterAttributes) ClusterIdentifier ¶
func (rc TargetActionResumeClusterAttributes) ClusterIdentifier() terra.StringValue
func (TargetActionResumeClusterAttributes) InternalRef ¶
func (rc TargetActionResumeClusterAttributes) InternalRef() (terra.Reference, error)
func (TargetActionResumeClusterAttributes) InternalTokens ¶
func (rc TargetActionResumeClusterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetActionResumeClusterAttributes) InternalWithRef ¶
func (rc TargetActionResumeClusterAttributes) InternalWithRef(ref terra.Reference) TargetActionResumeClusterAttributes
type TargetActionResumeClusterState ¶
type TargetActionResumeClusterState struct {
ClusterIdentifier string `json:"cluster_identifier"`
}
type TargetActionState ¶
type TargetActionState struct { PauseCluster []TargetActionPauseClusterState `json:"pause_cluster"` ResizeCluster []TargetActionResizeClusterState `json:"resize_cluster"` ResumeCluster []TargetActionResumeClusterState `json:"resume_cluster"` }
Click to show internal directories.
Click to hide internal directories.