Documentation ¶
Index ¶
- type Args
- type ConnectionPoolConfig
- type ConnectionPoolConfigAttributes
- func (cpc ConnectionPoolConfigAttributes) ConnectionBorrowTimeout() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) InitQuery() terra.StringValue
- func (cpc ConnectionPoolConfigAttributes) InternalRef() (terra.Reference, error)
- func (cpc ConnectionPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpc ConnectionPoolConfigAttributes) InternalWithRef(ref terra.Reference) ConnectionPoolConfigAttributes
- func (cpc ConnectionPoolConfigAttributes) MaxConnectionsPercent() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent() terra.NumberValue
- func (cpc ConnectionPoolConfigAttributes) SessionPinningFilters() terra.SetValue[terra.StringValue]
- type ConnectionPoolConfigState
- type Resource
- func (adpdtg *Resource) Attributes() awsDbProxyDefaultTargetGroupAttributes
- func (adpdtg *Resource) Configuration() interface{}
- func (adpdtg *Resource) DependOn() terra.Reference
- func (adpdtg *Resource) Dependencies() terra.Dependencies
- func (adpdtg *Resource) ImportState(state io.Reader) error
- func (adpdtg *Resource) LifecycleManagement() *terra.Lifecycle
- func (adpdtg *Resource) LocalName() string
- func (adpdtg *Resource) State() (*awsDbProxyDefaultTargetGroupState, bool)
- func (adpdtg *Resource) StateMust() *awsDbProxyDefaultTargetGroupState
- func (adpdtg *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() 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 { // DbProxyName: string, required DbProxyName terra.StringValue `hcl:"db_proxy_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ConnectionPoolConfig: optional ConnectionPoolConfig *ConnectionPoolConfig `hcl:"connection_pool_config,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_db_proxy_default_target_group.
type ConnectionPoolConfig ¶
type ConnectionPoolConfig struct { // ConnectionBorrowTimeout: number, optional ConnectionBorrowTimeout terra.NumberValue `hcl:"connection_borrow_timeout,attr"` // InitQuery: string, optional InitQuery terra.StringValue `hcl:"init_query,attr"` // MaxConnectionsPercent: number, optional MaxConnectionsPercent terra.NumberValue `hcl:"max_connections_percent,attr"` // MaxIdleConnectionsPercent: number, optional MaxIdleConnectionsPercent terra.NumberValue `hcl:"max_idle_connections_percent,attr"` // SessionPinningFilters: set of string, optional SessionPinningFilters terra.SetValue[terra.StringValue] `hcl:"session_pinning_filters,attr"` }
type ConnectionPoolConfigAttributes ¶
type ConnectionPoolConfigAttributes struct {
// contains filtered or unexported fields
}
func (ConnectionPoolConfigAttributes) ConnectionBorrowTimeout ¶
func (cpc ConnectionPoolConfigAttributes) ConnectionBorrowTimeout() terra.NumberValue
func (ConnectionPoolConfigAttributes) InitQuery ¶
func (cpc ConnectionPoolConfigAttributes) InitQuery() terra.StringValue
func (ConnectionPoolConfigAttributes) InternalRef ¶
func (cpc ConnectionPoolConfigAttributes) InternalRef() (terra.Reference, error)
func (ConnectionPoolConfigAttributes) InternalTokens ¶
func (cpc ConnectionPoolConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConnectionPoolConfigAttributes) InternalWithRef ¶
func (cpc ConnectionPoolConfigAttributes) InternalWithRef(ref terra.Reference) ConnectionPoolConfigAttributes
func (ConnectionPoolConfigAttributes) MaxConnectionsPercent ¶
func (cpc ConnectionPoolConfigAttributes) MaxConnectionsPercent() terra.NumberValue
func (ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent ¶
func (cpc ConnectionPoolConfigAttributes) MaxIdleConnectionsPercent() terra.NumberValue
func (ConnectionPoolConfigAttributes) SessionPinningFilters ¶
func (cpc ConnectionPoolConfigAttributes) SessionPinningFilters() terra.SetValue[terra.StringValue]
type ConnectionPoolConfigState ¶
type ConnectionPoolConfigState struct { ConnectionBorrowTimeout float64 `json:"connection_borrow_timeout"` InitQuery string `json:"init_query"` MaxConnectionsPercent float64 `json:"max_connections_percent"` MaxIdleConnectionsPercent float64 `json:"max_idle_connections_percent"` SessionPinningFilters []string `json:"session_pinning_filters"` }
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_db_proxy_default_target_group.
func (*Resource) Attributes ¶
func (adpdtg *Resource) Attributes() awsDbProxyDefaultTargetGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adpdtg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adpdtg *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"` // 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) 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.