Documentation ¶
Index ¶
- type Config
- type ConfigAttributes
- func (c ConfigAttributes) HealthCheck() terra.ListValue[HealthCheckAttributes]
- func (c ConfigAttributes) InternalRef() (terra.Reference, error)
- func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
- func (c ConfigAttributes) IpAddressType() terra.StringValue
- func (c ConfigAttributes) Port() terra.NumberValue
- func (c ConfigAttributes) Protocol() terra.StringValue
- func (c ConfigAttributes) ProtocolVersion() terra.StringValue
- func (c ConfigAttributes) VpcIdentifier() terra.StringValue
- type ConfigState
- type HealthCheck
- type HealthCheckAttributes
- func (hc HealthCheckAttributes) Enabled() terra.BoolValue
- func (hc HealthCheckAttributes) HealthCheckIntervalSeconds() terra.NumberValue
- func (hc HealthCheckAttributes) HealthCheckTimeoutSeconds() terra.NumberValue
- func (hc HealthCheckAttributes) HealthyThresholdCount() terra.NumberValue
- func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc HealthCheckAttributes) InternalWithRef(ref terra.Reference) HealthCheckAttributes
- func (hc HealthCheckAttributes) Matcher() terra.ListValue[MatcherAttributes]
- func (hc HealthCheckAttributes) Path() terra.StringValue
- func (hc HealthCheckAttributes) Port() terra.NumberValue
- func (hc HealthCheckAttributes) Protocol() terra.StringValue
- func (hc HealthCheckAttributes) ProtocolVersion() terra.StringValue
- func (hc HealthCheckAttributes) UnhealthyThresholdCount() terra.NumberValue
- type HealthCheckState
- type Matcher
- type MatcherAttributes
- type MatcherState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // IpAddressType: string, optional IpAddressType terra.StringValue `hcl:"ip_address_type,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` // ProtocolVersion: string, optional ProtocolVersion terra.StringValue `hcl:"protocol_version,attr"` // VpcIdentifier: string, required VpcIdentifier terra.StringValue `hcl:"vpc_identifier,attr" validate:"required"` // HealthCheck: optional HealthCheck *HealthCheck `hcl:"health_check,block"` }
type ConfigAttributes ¶
type ConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigAttributes) HealthCheck ¶
func (c ConfigAttributes) HealthCheck() terra.ListValue[HealthCheckAttributes]
func (ConfigAttributes) InternalRef ¶
func (c ConfigAttributes) InternalRef() (terra.Reference, error)
func (ConfigAttributes) InternalTokens ¶
func (c ConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigAttributes) InternalWithRef ¶
func (c ConfigAttributes) InternalWithRef(ref terra.Reference) ConfigAttributes
func (ConfigAttributes) IpAddressType ¶
func (c ConfigAttributes) IpAddressType() terra.StringValue
func (ConfigAttributes) Port ¶
func (c ConfigAttributes) Port() terra.NumberValue
func (ConfigAttributes) Protocol ¶
func (c ConfigAttributes) Protocol() terra.StringValue
func (ConfigAttributes) ProtocolVersion ¶
func (c ConfigAttributes) ProtocolVersion() terra.StringValue
func (ConfigAttributes) VpcIdentifier ¶
func (c ConfigAttributes) VpcIdentifier() terra.StringValue
type ConfigState ¶
type HealthCheck ¶
type HealthCheck struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // HealthCheckIntervalSeconds: number, optional HealthCheckIntervalSeconds terra.NumberValue `hcl:"health_check_interval_seconds,attr"` // HealthCheckTimeoutSeconds: number, optional HealthCheckTimeoutSeconds terra.NumberValue `hcl:"health_check_timeout_seconds,attr"` // HealthyThresholdCount: number, optional HealthyThresholdCount terra.NumberValue `hcl:"healthy_threshold_count,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // ProtocolVersion: string, optional ProtocolVersion terra.StringValue `hcl:"protocol_version,attr"` // UnhealthyThresholdCount: number, optional UnhealthyThresholdCount terra.NumberValue `hcl:"unhealthy_threshold_count,attr"` // Matcher: optional Matcher *Matcher `hcl:"matcher,block"` }
type HealthCheckAttributes ¶
type HealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (HealthCheckAttributes) Enabled ¶
func (hc HealthCheckAttributes) Enabled() terra.BoolValue
func (HealthCheckAttributes) HealthCheckIntervalSeconds ¶
func (hc HealthCheckAttributes) HealthCheckIntervalSeconds() terra.NumberValue
func (HealthCheckAttributes) HealthCheckTimeoutSeconds ¶
func (hc HealthCheckAttributes) HealthCheckTimeoutSeconds() terra.NumberValue
func (HealthCheckAttributes) HealthyThresholdCount ¶
func (hc HealthCheckAttributes) HealthyThresholdCount() terra.NumberValue
func (HealthCheckAttributes) InternalRef ¶
func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)
func (HealthCheckAttributes) InternalTokens ¶
func (hc HealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HealthCheckAttributes) InternalWithRef ¶
func (hc HealthCheckAttributes) InternalWithRef(ref terra.Reference) HealthCheckAttributes
func (HealthCheckAttributes) Matcher ¶
func (hc HealthCheckAttributes) Matcher() terra.ListValue[MatcherAttributes]
func (HealthCheckAttributes) Path ¶
func (hc HealthCheckAttributes) Path() terra.StringValue
func (HealthCheckAttributes) Port ¶
func (hc HealthCheckAttributes) Port() terra.NumberValue
func (HealthCheckAttributes) Protocol ¶
func (hc HealthCheckAttributes) Protocol() terra.StringValue
func (HealthCheckAttributes) ProtocolVersion ¶
func (hc HealthCheckAttributes) ProtocolVersion() terra.StringValue
func (HealthCheckAttributes) UnhealthyThresholdCount ¶
func (hc HealthCheckAttributes) UnhealthyThresholdCount() terra.NumberValue
type HealthCheckState ¶
type HealthCheckState struct { Enabled bool `json:"enabled"` HealthCheckIntervalSeconds float64 `json:"health_check_interval_seconds"` HealthCheckTimeoutSeconds float64 `json:"health_check_timeout_seconds"` HealthyThresholdCount float64 `json:"healthy_threshold_count"` Path string `json:"path"` Port float64 `json:"port"` Protocol string `json:"protocol"` ProtocolVersion string `json:"protocol_version"` UnhealthyThresholdCount float64 `json:"unhealthy_threshold_count"` Matcher []MatcherState `json:"matcher"` }
type Matcher ¶
type Matcher struct { // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type MatcherAttributes ¶
type MatcherAttributes struct {
// contains filtered or unexported fields
}
func (MatcherAttributes) InternalRef ¶
func (m MatcherAttributes) InternalRef() (terra.Reference, error)
func (MatcherAttributes) InternalTokens ¶
func (m MatcherAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatcherAttributes) InternalWithRef ¶
func (m MatcherAttributes) InternalWithRef(ref terra.Reference) MatcherAttributes
func (MatcherAttributes) Value ¶
func (m MatcherAttributes) Value() terra.StringValue
type MatcherState ¶
type MatcherState struct {
Value string `json:"value"`
}
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.