Documentation ¶
Index ¶
- type Args
- type Config
- type ConfigAttributes
- func (c ConfigAttributes) HealthCheck() terra.ListValue[ConfigHealthCheckAttributes]
- 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) LambdaEventStructureVersion() 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 ConfigHealthCheck
- type ConfigHealthCheckAttributes
- func (hc ConfigHealthCheckAttributes) Enabled() terra.BoolValue
- func (hc ConfigHealthCheckAttributes) HealthCheckIntervalSeconds() terra.NumberValue
- func (hc ConfigHealthCheckAttributes) HealthCheckTimeoutSeconds() terra.NumberValue
- func (hc ConfigHealthCheckAttributes) HealthyThresholdCount() terra.NumberValue
- func (hc ConfigHealthCheckAttributes) InternalRef() (terra.Reference, error)
- func (hc ConfigHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (hc ConfigHealthCheckAttributes) InternalWithRef(ref terra.Reference) ConfigHealthCheckAttributes
- func (hc ConfigHealthCheckAttributes) Matcher() terra.ListValue[ConfigHealthCheckMatcherAttributes]
- func (hc ConfigHealthCheckAttributes) Path() terra.StringValue
- func (hc ConfigHealthCheckAttributes) Port() terra.NumberValue
- func (hc ConfigHealthCheckAttributes) Protocol() terra.StringValue
- func (hc ConfigHealthCheckAttributes) ProtocolVersion() terra.StringValue
- func (hc ConfigHealthCheckAttributes) UnhealthyThresholdCount() terra.NumberValue
- type ConfigHealthCheckMatcher
- type ConfigHealthCheckMatcherAttributes
- func (m ConfigHealthCheckMatcherAttributes) InternalRef() (terra.Reference, error)
- func (m ConfigHealthCheckMatcherAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m ConfigHealthCheckMatcherAttributes) InternalWithRef(ref terra.Reference) ConfigHealthCheckMatcherAttributes
- func (m ConfigHealthCheckMatcherAttributes) Value() terra.StringValue
- type ConfigHealthCheckMatcherState
- type ConfigHealthCheckState
- type ConfigState
- type Resource
- func (avtg *Resource) Attributes() awsVpclatticeTargetGroupAttributes
- func (avtg *Resource) Configuration() interface{}
- func (avtg *Resource) DependOn() terra.Reference
- func (avtg *Resource) Dependencies() terra.Dependencies
- func (avtg *Resource) ImportState(state io.Reader) error
- func (avtg *Resource) LifecycleManagement() *terra.Lifecycle
- func (avtg *Resource) LocalName() string
- func (avtg *Resource) State() (*awsVpclatticeTargetGroupState, bool)
- func (avtg *Resource) StateMust() *awsVpclatticeTargetGroupState
- func (avtg *Resource) Type() string
- 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 Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // 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"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Config: optional Config *Config `hcl:"config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_vpclattice_target_group.
type Config ¶
type Config struct { // IpAddressType: string, optional IpAddressType terra.StringValue `hcl:"ip_address_type,attr"` // LambdaEventStructureVersion: string, optional LambdaEventStructureVersion terra.StringValue `hcl:"lambda_event_structure_version,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"` // VpcIdentifier: string, optional VpcIdentifier terra.StringValue `hcl:"vpc_identifier,attr"` // ConfigHealthCheck: optional HealthCheck *ConfigHealthCheck `hcl:"health_check,block"` }
type ConfigAttributes ¶
type ConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConfigAttributes) HealthCheck ¶
func (c ConfigAttributes) HealthCheck() terra.ListValue[ConfigHealthCheckAttributes]
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) LambdaEventStructureVersion ¶
func (c ConfigAttributes) LambdaEventStructureVersion() 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 ConfigHealthCheck ¶
type ConfigHealthCheck 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"` // ConfigHealthCheckMatcher: optional Matcher *ConfigHealthCheckMatcher `hcl:"matcher,block"` }
type ConfigHealthCheckAttributes ¶
type ConfigHealthCheckAttributes struct {
// contains filtered or unexported fields
}
func (ConfigHealthCheckAttributes) Enabled ¶
func (hc ConfigHealthCheckAttributes) Enabled() terra.BoolValue
func (ConfigHealthCheckAttributes) HealthCheckIntervalSeconds ¶
func (hc ConfigHealthCheckAttributes) HealthCheckIntervalSeconds() terra.NumberValue
func (ConfigHealthCheckAttributes) HealthCheckTimeoutSeconds ¶
func (hc ConfigHealthCheckAttributes) HealthCheckTimeoutSeconds() terra.NumberValue
func (ConfigHealthCheckAttributes) HealthyThresholdCount ¶
func (hc ConfigHealthCheckAttributes) HealthyThresholdCount() terra.NumberValue
func (ConfigHealthCheckAttributes) InternalRef ¶
func (hc ConfigHealthCheckAttributes) InternalRef() (terra.Reference, error)
func (ConfigHealthCheckAttributes) InternalTokens ¶
func (hc ConfigHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigHealthCheckAttributes) InternalWithRef ¶
func (hc ConfigHealthCheckAttributes) InternalWithRef(ref terra.Reference) ConfigHealthCheckAttributes
func (ConfigHealthCheckAttributes) Matcher ¶
func (hc ConfigHealthCheckAttributes) Matcher() terra.ListValue[ConfigHealthCheckMatcherAttributes]
func (ConfigHealthCheckAttributes) Path ¶
func (hc ConfigHealthCheckAttributes) Path() terra.StringValue
func (ConfigHealthCheckAttributes) Port ¶
func (hc ConfigHealthCheckAttributes) Port() terra.NumberValue
func (ConfigHealthCheckAttributes) Protocol ¶
func (hc ConfigHealthCheckAttributes) Protocol() terra.StringValue
func (ConfigHealthCheckAttributes) ProtocolVersion ¶
func (hc ConfigHealthCheckAttributes) ProtocolVersion() terra.StringValue
func (ConfigHealthCheckAttributes) UnhealthyThresholdCount ¶
func (hc ConfigHealthCheckAttributes) UnhealthyThresholdCount() terra.NumberValue
type ConfigHealthCheckMatcher ¶
type ConfigHealthCheckMatcher struct { // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type ConfigHealthCheckMatcherAttributes ¶
type ConfigHealthCheckMatcherAttributes struct {
// contains filtered or unexported fields
}
func (ConfigHealthCheckMatcherAttributes) InternalRef ¶
func (m ConfigHealthCheckMatcherAttributes) InternalRef() (terra.Reference, error)
func (ConfigHealthCheckMatcherAttributes) InternalTokens ¶
func (m ConfigHealthCheckMatcherAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigHealthCheckMatcherAttributes) InternalWithRef ¶
func (m ConfigHealthCheckMatcherAttributes) InternalWithRef(ref terra.Reference) ConfigHealthCheckMatcherAttributes
func (ConfigHealthCheckMatcherAttributes) Value ¶
func (m ConfigHealthCheckMatcherAttributes) Value() terra.StringValue
type ConfigHealthCheckMatcherState ¶
type ConfigHealthCheckMatcherState struct {
Value string `json:"value"`
}
type ConfigHealthCheckState ¶
type ConfigHealthCheckState 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 []ConfigHealthCheckMatcherState `json:"matcher"` }
type ConfigState ¶
type ConfigState struct { IpAddressType string `json:"ip_address_type"` LambdaEventStructureVersion string `json:"lambda_event_structure_version"` Port float64 `json:"port"` Protocol string `json:"protocol"` ProtocolVersion string `json:"protocol_version"` VpcIdentifier string `json:"vpc_identifier"` HealthCheck []ConfigHealthCheckState `json:"health_check"` }
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_vpclattice_target_group.
func (*Resource) Attributes ¶
func (avtg *Resource) Attributes() awsVpclatticeTargetGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avtg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avtg *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 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.