Documentation ¶
Index ¶
- type EventBus
- type EventBusAttributes
- type EventBusState
- type FailoverConfig
- type FailoverConfigAttributes
- func (fc FailoverConfigAttributes) InternalRef() (terra.Reference, error)
- func (fc FailoverConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fc FailoverConfigAttributes) InternalWithRef(ref terra.Reference) FailoverConfigAttributes
- func (fc FailoverConfigAttributes) Primary() terra.ListValue[PrimaryAttributes]
- func (fc FailoverConfigAttributes) Secondary() terra.ListValue[SecondaryAttributes]
- type FailoverConfigState
- type Primary
- type PrimaryAttributes
- type PrimaryState
- type ReplicationConfig
- type ReplicationConfigAttributes
- func (rc ReplicationConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc ReplicationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc ReplicationConfigAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigAttributes
- func (rc ReplicationConfigAttributes) State() terra.StringValue
- type ReplicationConfigState
- type RoutingConfig
- type RoutingConfigAttributes
- func (rc RoutingConfigAttributes) FailoverConfig() terra.ListValue[FailoverConfigAttributes]
- func (rc RoutingConfigAttributes) InternalRef() (terra.Reference, error)
- func (rc RoutingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rc RoutingConfigAttributes) InternalWithRef(ref terra.Reference) RoutingConfigAttributes
- type RoutingConfigState
- type Secondary
- type SecondaryAttributes
- type SecondaryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBus ¶
type EventBus struct { // EventBusArn: string, required EventBusArn terra.StringValue `hcl:"event_bus_arn,attr" validate:"required"` }
type EventBusAttributes ¶
type EventBusAttributes struct {
// contains filtered or unexported fields
}
func (EventBusAttributes) EventBusArn ¶
func (eb EventBusAttributes) EventBusArn() terra.StringValue
func (EventBusAttributes) InternalRef ¶
func (eb EventBusAttributes) InternalRef() (terra.Reference, error)
func (EventBusAttributes) InternalTokens ¶
func (eb EventBusAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventBusAttributes) InternalWithRef ¶
func (eb EventBusAttributes) InternalWithRef(ref terra.Reference) EventBusAttributes
type EventBusState ¶
type EventBusState struct {
EventBusArn string `json:"event_bus_arn"`
}
type FailoverConfig ¶
type FailoverConfigAttributes ¶
type FailoverConfigAttributes struct {
// contains filtered or unexported fields
}
func (FailoverConfigAttributes) InternalRef ¶
func (fc FailoverConfigAttributes) InternalRef() (terra.Reference, error)
func (FailoverConfigAttributes) InternalTokens ¶
func (fc FailoverConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FailoverConfigAttributes) InternalWithRef ¶
func (fc FailoverConfigAttributes) InternalWithRef(ref terra.Reference) FailoverConfigAttributes
func (FailoverConfigAttributes) Primary ¶
func (fc FailoverConfigAttributes) Primary() terra.ListValue[PrimaryAttributes]
func (FailoverConfigAttributes) Secondary ¶
func (fc FailoverConfigAttributes) Secondary() terra.ListValue[SecondaryAttributes]
type FailoverConfigState ¶
type FailoverConfigState struct { Primary []PrimaryState `json:"primary"` Secondary []SecondaryState `json:"secondary"` }
type Primary ¶
type Primary struct { // HealthCheck: string, optional HealthCheck terra.StringValue `hcl:"health_check,attr"` }
type PrimaryAttributes ¶
type PrimaryAttributes struct {
// contains filtered or unexported fields
}
func (PrimaryAttributes) HealthCheck ¶
func (p PrimaryAttributes) HealthCheck() terra.StringValue
func (PrimaryAttributes) InternalRef ¶
func (p PrimaryAttributes) InternalRef() (terra.Reference, error)
func (PrimaryAttributes) InternalTokens ¶
func (p PrimaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrimaryAttributes) InternalWithRef ¶
func (p PrimaryAttributes) InternalWithRef(ref terra.Reference) PrimaryAttributes
type PrimaryState ¶
type PrimaryState struct {
HealthCheck string `json:"health_check"`
}
type ReplicationConfig ¶
type ReplicationConfig struct { // State: string, optional State terra.StringValue `hcl:"state,attr"` }
type ReplicationConfigAttributes ¶
type ReplicationConfigAttributes struct {
// contains filtered or unexported fields
}
func (ReplicationConfigAttributes) InternalRef ¶
func (rc ReplicationConfigAttributes) InternalRef() (terra.Reference, error)
func (ReplicationConfigAttributes) InternalTokens ¶
func (rc ReplicationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReplicationConfigAttributes) InternalWithRef ¶
func (rc ReplicationConfigAttributes) InternalWithRef(ref terra.Reference) ReplicationConfigAttributes
func (ReplicationConfigAttributes) State ¶
func (rc ReplicationConfigAttributes) State() terra.StringValue
type ReplicationConfigState ¶
type ReplicationConfigState struct {
State string `json:"state"`
}
type RoutingConfig ¶
type RoutingConfig struct { // FailoverConfig: required FailoverConfig *FailoverConfig `hcl:"failover_config,block" validate:"required"` }
type RoutingConfigAttributes ¶
type RoutingConfigAttributes struct {
// contains filtered or unexported fields
}
func (RoutingConfigAttributes) FailoverConfig ¶
func (rc RoutingConfigAttributes) FailoverConfig() terra.ListValue[FailoverConfigAttributes]
func (RoutingConfigAttributes) InternalRef ¶
func (rc RoutingConfigAttributes) InternalRef() (terra.Reference, error)
func (RoutingConfigAttributes) InternalTokens ¶
func (rc RoutingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RoutingConfigAttributes) InternalWithRef ¶
func (rc RoutingConfigAttributes) InternalWithRef(ref terra.Reference) RoutingConfigAttributes
type RoutingConfigState ¶
type RoutingConfigState struct {
FailoverConfig []FailoverConfigState `json:"failover_config"`
}
type Secondary ¶
type Secondary struct { // Route: string, optional Route terra.StringValue `hcl:"route,attr"` }
type SecondaryAttributes ¶
type SecondaryAttributes struct {
// contains filtered or unexported fields
}
func (SecondaryAttributes) InternalRef ¶
func (s SecondaryAttributes) InternalRef() (terra.Reference, error)
func (SecondaryAttributes) InternalTokens ¶
func (s SecondaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecondaryAttributes) InternalWithRef ¶
func (s SecondaryAttributes) InternalWithRef(ref terra.Reference) SecondaryAttributes
func (SecondaryAttributes) Route ¶
func (s SecondaryAttributes) Route() terra.StringValue
type SecondaryState ¶
type SecondaryState struct {
Route string `json:"route"`
}
Click to show internal directories.
Click to hide internal directories.