Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataHealthCheckAttributes
- func (hc DataHealthCheckAttributes) Enabled() terra.BoolValue
- func (hc DataHealthCheckAttributes) HealthyThreshold() terra.NumberValue
- func (hc DataHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc DataHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc DataHealthCheckAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckAttributes
- func (hc DataHealthCheckAttributes) Interval() terra.NumberValue
- func (hc DataHealthCheckAttributes) Matcher() terra.StringValue
- func (hc DataHealthCheckAttributes) Path() terra.StringValue
- func (hc DataHealthCheckAttributes) Port() terra.StringValue
- func (hc DataHealthCheckAttributes) Protocol() terra.StringValue
- func (hc DataHealthCheckAttributes) Timeout() terra.NumberValue
- func (hc DataHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
- type DataHealthCheckState
- type DataSource
- type DataStickinessAttributes
- func (s DataStickinessAttributes) CookieDuration() terra.NumberValue
- func (s DataStickinessAttributes) CookieName() terra.StringValue
- func (s DataStickinessAttributes) Enabled() terra.BoolValue
- func (s DataStickinessAttributes) InternalRef() (terra.Reference, error)
- func (s DataStickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataStickinessAttributes) InternalWithRef(ref terra.Reference) DataStickinessAttributes
- func (s DataStickinessAttributes) Type() terra.StringValue
- type DataStickinessState
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type HealthCheck
- type HealthCheckAttributes
- func (hc HealthCheckAttributes) Enabled() terra.BoolValue
- func (hc HealthCheckAttributes) HealthyThreshold() 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) Interval() terra.NumberValue
- func (hc HealthCheckAttributes) Matcher() terra.StringValue
- func (hc HealthCheckAttributes) Path() terra.StringValue
- func (hc HealthCheckAttributes) Port() terra.StringValue
- func (hc HealthCheckAttributes) Protocol() terra.StringValue
- func (hc HealthCheckAttributes) Timeout() terra.NumberValue
- func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
- type HealthCheckState
- type Resource
- func (altg *Resource) Attributes() awsLbTargetGroupAttributes
- func (altg *Resource) Configuration() interface{}
- func (altg *Resource) DependOn() terra.Reference
- func (altg *Resource) Dependencies() terra.Dependencies
- func (altg *Resource) ImportState(state io.Reader) error
- func (altg *Resource) LifecycleManagement() *terra.Lifecycle
- func (altg *Resource) LocalName() string
- func (altg *Resource) State() (*awsLbTargetGroupState, bool)
- func (altg *Resource) StateMust() *awsLbTargetGroupState
- func (altg *Resource) Type() string
- type Stickiness
- type StickinessAttributes
- func (s StickinessAttributes) CookieDuration() terra.NumberValue
- func (s StickinessAttributes) CookieName() terra.StringValue
- func (s StickinessAttributes) Enabled() terra.BoolValue
- func (s StickinessAttributes) InternalRef() (terra.Reference, error)
- func (s StickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StickinessAttributes) InternalWithRef(ref terra.Reference) StickinessAttributes
- func (s StickinessAttributes) Type() terra.StringValue
- type StickinessState
- type TargetFailover
- type TargetFailoverAttributes
- func (tf TargetFailoverAttributes) InternalRef() (terra.Reference, error)
- func (tf TargetFailoverAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tf TargetFailoverAttributes) InternalWithRef(ref terra.Reference) TargetFailoverAttributes
- func (tf TargetFailoverAttributes) OnDeregistration() terra.StringValue
- func (tf TargetFailoverAttributes) OnUnhealthy() terra.StringValue
- type TargetFailoverState
- type TargetHealthState
- type TargetHealthStateAttributes
- func (ths TargetHealthStateAttributes) EnableUnhealthyConnectionTermination() terra.BoolValue
- func (ths TargetHealthStateAttributes) InternalRef() (terra.Reference, error)
- func (ths TargetHealthStateAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ths TargetHealthStateAttributes) InternalWithRef(ref terra.Reference) TargetHealthStateAttributes
- type TargetHealthStateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ConnectionTermination: bool, optional ConnectionTermination terra.BoolValue `hcl:"connection_termination,attr"` // DeregistrationDelay: string, optional DeregistrationDelay terra.StringValue `hcl:"deregistration_delay,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IpAddressType: string, optional IpAddressType terra.StringValue `hcl:"ip_address_type,attr"` // LambdaMultiValueHeadersEnabled: bool, optional LambdaMultiValueHeadersEnabled terra.BoolValue `hcl:"lambda_multi_value_headers_enabled,attr"` // LoadBalancingAlgorithmType: string, optional LoadBalancingAlgorithmType terra.StringValue `hcl:"load_balancing_algorithm_type,attr"` // LoadBalancingAnomalyMitigation: string, optional LoadBalancingAnomalyMitigation terra.StringValue `hcl:"load_balancing_anomaly_mitigation,attr"` // LoadBalancingCrossZoneEnabled: string, optional LoadBalancingCrossZoneEnabled terra.StringValue `hcl:"load_balancing_cross_zone_enabled,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // PreserveClientIp: string, optional PreserveClientIp terra.StringValue `hcl:"preserve_client_ip,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // ProtocolVersion: string, optional ProtocolVersion terra.StringValue `hcl:"protocol_version,attr"` // ProxyProtocolV2: bool, optional ProxyProtocolV2 terra.BoolValue `hcl:"proxy_protocol_v2,attr"` // SlowStart: number, optional SlowStart terra.NumberValue `hcl:"slow_start,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // TargetType: string, optional TargetType terra.StringValue `hcl:"target_type,attr"` // VpcId: string, optional VpcId terra.StringValue `hcl:"vpc_id,attr"` // HealthCheck: optional HealthCheck *HealthCheck `hcl:"health_check,block"` // Stickiness: optional Stickiness *Stickiness `hcl:"stickiness,block"` // TargetFailover: min=0 TargetFailover []TargetFailover `hcl:"target_failover,block" validate:"min=0"` // TargetHealthState: min=0 TargetHealthState []TargetHealthState `hcl:"target_health_state,block" validate:"min=0"` }
Args contains the configurations for aws_lb_target_group.
type DataArgs ¶
type DataArgs struct { // Arn: string, optional Arn terra.StringValue `hcl:"arn,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LoadBalancingAnomalyMitigation: string, optional LoadBalancingAnomalyMitigation terra.StringValue `hcl:"load_balancing_anomaly_mitigation,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for aws_lb_target_group.
type DataHealthCheckAttributes ¶
type DataHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (DataHealthCheckAttributes) Enabled ¶
func (hc DataHealthCheckAttributes) Enabled() terra.BoolValue
func (DataHealthCheckAttributes) HealthyThreshold ¶
func (hc DataHealthCheckAttributes) HealthyThreshold() terra.NumberValue
func (DataHealthCheckAttributes) InternalRef ¶
func (hc DataHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (DataHealthCheckAttributes) InternalTokens ¶
func (hc DataHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataHealthCheckAttributes) InternalWithRef ¶
func (hc DataHealthCheckAttributes) InternalWithRef(ref terra.Reference) DataHealthCheckAttributes
func (DataHealthCheckAttributes) Interval ¶
func (hc DataHealthCheckAttributes) Interval() terra.NumberValue
func (DataHealthCheckAttributes) Matcher ¶
func (hc DataHealthCheckAttributes) Matcher() terra.StringValue
func (DataHealthCheckAttributes) Path ¶
func (hc DataHealthCheckAttributes) Path() terra.StringValue
func (DataHealthCheckAttributes) Port ¶
func (hc DataHealthCheckAttributes) Port() terra.StringValue
func (DataHealthCheckAttributes) Protocol ¶
func (hc DataHealthCheckAttributes) Protocol() terra.StringValue
func (DataHealthCheckAttributes) Timeout ¶
func (hc DataHealthCheckAttributes) Timeout() terra.NumberValue
func (DataHealthCheckAttributes) UnhealthyThreshold ¶
func (hc DataHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
type DataHealthCheckState ¶
type DataHealthCheckState struct { Enabled bool `json:"enabled"` HealthyThreshold float64 `json:"healthy_threshold"` Interval float64 `json:"interval"` Matcher string `json:"matcher"` Path string `json:"path"` Port string `json:"port"` Protocol string `json:"protocol"` Timeout float64 `json:"timeout"` UnhealthyThreshold float64 `json:"unhealthy_threshold"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_lb_target_group.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (altg *DataSource) Attributes() dataAwsLbTargetGroupAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (altg *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (altg *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (altg *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataStickinessAttributes ¶
type DataStickinessAttributes struct {
// contains filtered or unexported fields
}
func (DataStickinessAttributes) CookieDuration ¶
func (s DataStickinessAttributes) CookieDuration() terra.NumberValue
func (DataStickinessAttributes) CookieName ¶
func (s DataStickinessAttributes) CookieName() terra.StringValue
func (DataStickinessAttributes) Enabled ¶
func (s DataStickinessAttributes) Enabled() terra.BoolValue
func (DataStickinessAttributes) InternalRef ¶
func (s DataStickinessAttributes) InternalRef() (terra.Reference, error)
func (DataStickinessAttributes) InternalTokens ¶
func (s DataStickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataStickinessAttributes) InternalWithRef ¶
func (s DataStickinessAttributes) InternalWithRef(ref terra.Reference) DataStickinessAttributes
func (DataStickinessAttributes) Type ¶
func (s DataStickinessAttributes) Type() terra.StringValue
type DataStickinessState ¶
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type HealthCheck ¶
type HealthCheck struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // HealthyThreshold: number, optional HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // Matcher: string, optional Matcher terra.StringValue `hcl:"matcher,attr"` // Path: string, optional Path terra.StringValue `hcl:"path,attr"` // Port: string, optional Port terra.StringValue `hcl:"port,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // Timeout: number, optional Timeout terra.NumberValue `hcl:"timeout,attr"` // UnhealthyThreshold: number, optional UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"` }
type HealthCheckAttributes ¶
type HealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (HealthCheckAttributes) Enabled ¶
func (hc HealthCheckAttributes) Enabled() terra.BoolValue
func (HealthCheckAttributes) HealthyThreshold ¶
func (hc HealthCheckAttributes) HealthyThreshold() 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) Interval ¶
func (hc HealthCheckAttributes) Interval() terra.NumberValue
func (HealthCheckAttributes) Matcher ¶
func (hc HealthCheckAttributes) Matcher() terra.StringValue
func (HealthCheckAttributes) Path ¶
func (hc HealthCheckAttributes) Path() terra.StringValue
func (HealthCheckAttributes) Port ¶
func (hc HealthCheckAttributes) Port() terra.StringValue
func (HealthCheckAttributes) Protocol ¶
func (hc HealthCheckAttributes) Protocol() terra.StringValue
func (HealthCheckAttributes) Timeout ¶
func (hc HealthCheckAttributes) Timeout() terra.NumberValue
func (HealthCheckAttributes) UnhealthyThreshold ¶
func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue
type HealthCheckState ¶
type HealthCheckState struct { Enabled bool `json:"enabled"` HealthyThreshold float64 `json:"healthy_threshold"` Interval float64 `json:"interval"` Matcher string `json:"matcher"` Path string `json:"path"` Port string `json:"port"` Protocol string `json:"protocol"` Timeout float64 `json:"timeout"` UnhealthyThreshold float64 `json:"unhealthy_threshold"` }
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_lb_target_group.
func (*Resource) Attributes ¶
func (altg *Resource) Attributes() awsLbTargetGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (altg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (altg *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 Stickiness ¶
type Stickiness struct { // CookieDuration: number, optional CookieDuration terra.NumberValue `hcl:"cookie_duration,attr"` // CookieName: string, optional CookieName terra.StringValue `hcl:"cookie_name,attr"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type StickinessAttributes ¶
type StickinessAttributes struct {
// contains filtered or unexported fields
}
func (StickinessAttributes) CookieDuration ¶
func (s StickinessAttributes) CookieDuration() terra.NumberValue
func (StickinessAttributes) CookieName ¶
func (s StickinessAttributes) CookieName() terra.StringValue
func (StickinessAttributes) Enabled ¶
func (s StickinessAttributes) Enabled() terra.BoolValue
func (StickinessAttributes) InternalRef ¶
func (s StickinessAttributes) InternalRef() (terra.Reference, error)
func (StickinessAttributes) InternalTokens ¶
func (s StickinessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StickinessAttributes) InternalWithRef ¶
func (s StickinessAttributes) InternalWithRef(ref terra.Reference) StickinessAttributes
func (StickinessAttributes) Type ¶
func (s StickinessAttributes) Type() terra.StringValue
type StickinessState ¶
type TargetFailover ¶
type TargetFailover struct { // OnDeregistration: string, required OnDeregistration terra.StringValue `hcl:"on_deregistration,attr" validate:"required"` // OnUnhealthy: string, required OnUnhealthy terra.StringValue `hcl:"on_unhealthy,attr" validate:"required"` }
type TargetFailoverAttributes ¶
type TargetFailoverAttributes struct {
// contains filtered or unexported fields
}
func (TargetFailoverAttributes) InternalRef ¶
func (tf TargetFailoverAttributes) InternalRef() (terra.Reference, error)
func (TargetFailoverAttributes) InternalTokens ¶
func (tf TargetFailoverAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetFailoverAttributes) InternalWithRef ¶
func (tf TargetFailoverAttributes) InternalWithRef(ref terra.Reference) TargetFailoverAttributes
func (TargetFailoverAttributes) OnDeregistration ¶
func (tf TargetFailoverAttributes) OnDeregistration() terra.StringValue
func (TargetFailoverAttributes) OnUnhealthy ¶
func (tf TargetFailoverAttributes) OnUnhealthy() terra.StringValue
type TargetFailoverState ¶
type TargetHealthState ¶
type TargetHealthStateAttributes ¶
type TargetHealthStateAttributes struct {
// contains filtered or unexported fields
}
func (TargetHealthStateAttributes) EnableUnhealthyConnectionTermination ¶
func (ths TargetHealthStateAttributes) EnableUnhealthyConnectionTermination() terra.BoolValue
func (TargetHealthStateAttributes) InternalRef ¶
func (ths TargetHealthStateAttributes) InternalRef() (terra.Reference, error)
func (TargetHealthStateAttributes) InternalTokens ¶
func (ths TargetHealthStateAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TargetHealthStateAttributes) InternalWithRef ¶
func (ths TargetHealthStateAttributes) InternalWithRef(ref terra.Reference) TargetHealthStateAttributes
type TargetHealthStateState ¶
type TargetHealthStateState struct {
EnableUnhealthyConnectionTermination bool `json:"enable_unhealthy_connection_termination"`
}