Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataDefaultActionAttributes
- func (da DataDefaultActionAttributes) FixedResponse() terra.ListValue[DataDefaultActionFixedResponseAttributes]
- func (da DataDefaultActionAttributes) Forward() terra.ListValue[DataDefaultActionForwardAttributes]
- func (da DataDefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DataDefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DataDefaultActionAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionAttributes
- type DataDefaultActionFixedResponseAttributes
- func (fr DataDefaultActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
- func (fr DataDefaultActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fr DataDefaultActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionFixedResponseAttributes
- func (fr DataDefaultActionFixedResponseAttributes) StatusCode() terra.NumberValue
- type DataDefaultActionFixedResponseState
- type DataDefaultActionForwardAttributes
- func (f DataDefaultActionForwardAttributes) InternalRef() (terra.Reference, error)
- func (f DataDefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DataDefaultActionForwardAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionForwardAttributes
- func (f DataDefaultActionForwardAttributes) TargetGroups() terra.ListValue[DataDefaultActionForwardTargetGroupsAttributes]
- type DataDefaultActionForwardState
- type DataDefaultActionForwardTargetGroupsAttributes
- func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalRef() (terra.Reference, error)
- func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionForwardTargetGroupsAttributes
- func (tg DataDefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
- func (tg DataDefaultActionForwardTargetGroupsAttributes) Weight() terra.NumberValue
- type DataDefaultActionForwardTargetGroupsState
- type DataDefaultActionState
- type DataSource
- type DefaultAction
- type DefaultActionAttributes
- func (da DefaultActionAttributes) FixedResponse() terra.ListValue[DefaultActionFixedResponseAttributes]
- func (da DefaultActionAttributes) Forward() terra.ListValue[DefaultActionForwardAttributes]
- func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
- type DefaultActionFixedResponse
- type DefaultActionFixedResponseAttributes
- func (fr DefaultActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
- func (fr DefaultActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fr DefaultActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) DefaultActionFixedResponseAttributes
- func (fr DefaultActionFixedResponseAttributes) StatusCode() terra.NumberValue
- type DefaultActionFixedResponseState
- type DefaultActionForward
- type DefaultActionForwardAttributes
- func (f DefaultActionForwardAttributes) InternalRef() (terra.Reference, error)
- func (f DefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f DefaultActionForwardAttributes) InternalWithRef(ref terra.Reference) DefaultActionForwardAttributes
- func (f DefaultActionForwardAttributes) TargetGroups() terra.ListValue[DefaultActionForwardTargetGroupsAttributes]
- type DefaultActionForwardState
- type DefaultActionForwardTargetGroups
- type DefaultActionForwardTargetGroupsAttributes
- func (tg DefaultActionForwardTargetGroupsAttributes) InternalRef() (terra.Reference, error)
- func (tg DefaultActionForwardTargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tg DefaultActionForwardTargetGroupsAttributes) InternalWithRef(ref terra.Reference) DefaultActionForwardTargetGroupsAttributes
- func (tg DefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
- func (tg DefaultActionForwardTargetGroupsAttributes) Weight() terra.NumberValue
- type DefaultActionForwardTargetGroupsState
- type DefaultActionState
- type Resource
- func (avl *Resource) Attributes() awsVpclatticeListenerAttributes
- func (avl *Resource) Configuration() interface{}
- func (avl *Resource) DependOn() terra.Reference
- func (avl *Resource) Dependencies() terra.Dependencies
- func (avl *Resource) ImportState(state io.Reader) error
- func (avl *Resource) LifecycleManagement() *terra.Lifecycle
- func (avl *Resource) LocalName() string
- func (avl *Resource) State() (*awsVpclatticeListenerState, bool)
- func (avl *Resource) StateMust() *awsVpclatticeListenerState
- func (avl *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"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // Protocol: string, required Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"` // ServiceArn: string, optional ServiceArn terra.StringValue `hcl:"service_arn,attr"` // ServiceIdentifier: string, optional ServiceIdentifier terra.StringValue `hcl:"service_identifier,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"` // DefaultAction: required DefaultAction *DefaultAction `hcl:"default_action,block" validate:"required"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_vpclattice_listener.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ListenerIdentifier: string, required ListenerIdentifier terra.StringValue `hcl:"listener_identifier,attr" validate:"required"` // ServiceIdentifier: string, required ServiceIdentifier terra.StringValue `hcl:"service_identifier,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
DataArgs contains the configurations for aws_vpclattice_listener.
type DataDefaultActionAttributes ¶
type DataDefaultActionAttributes struct {
// contains filtered or unexported fields
}
func (DataDefaultActionAttributes) FixedResponse ¶
func (da DataDefaultActionAttributes) FixedResponse() terra.ListValue[DataDefaultActionFixedResponseAttributes]
func (DataDefaultActionAttributes) Forward ¶
func (da DataDefaultActionAttributes) Forward() terra.ListValue[DataDefaultActionForwardAttributes]
func (DataDefaultActionAttributes) InternalRef ¶
func (da DataDefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DataDefaultActionAttributes) InternalTokens ¶
func (da DataDefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDefaultActionAttributes) InternalWithRef ¶
func (da DataDefaultActionAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionAttributes
type DataDefaultActionFixedResponseAttributes ¶
type DataDefaultActionFixedResponseAttributes struct {
// contains filtered or unexported fields
}
func (DataDefaultActionFixedResponseAttributes) InternalRef ¶
func (fr DataDefaultActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
func (DataDefaultActionFixedResponseAttributes) InternalTokens ¶
func (fr DataDefaultActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDefaultActionFixedResponseAttributes) InternalWithRef ¶
func (fr DataDefaultActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionFixedResponseAttributes
func (DataDefaultActionFixedResponseAttributes) StatusCode ¶
func (fr DataDefaultActionFixedResponseAttributes) StatusCode() terra.NumberValue
type DataDefaultActionFixedResponseState ¶
type DataDefaultActionFixedResponseState struct {
StatusCode float64 `json:"status_code"`
}
type DataDefaultActionForwardAttributes ¶
type DataDefaultActionForwardAttributes struct {
// contains filtered or unexported fields
}
func (DataDefaultActionForwardAttributes) InternalRef ¶
func (f DataDefaultActionForwardAttributes) InternalRef() (terra.Reference, error)
func (DataDefaultActionForwardAttributes) InternalTokens ¶
func (f DataDefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDefaultActionForwardAttributes) InternalWithRef ¶
func (f DataDefaultActionForwardAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionForwardAttributes
func (DataDefaultActionForwardAttributes) TargetGroups ¶
func (f DataDefaultActionForwardAttributes) TargetGroups() terra.ListValue[DataDefaultActionForwardTargetGroupsAttributes]
type DataDefaultActionForwardState ¶
type DataDefaultActionForwardState struct {
TargetGroups []DataDefaultActionForwardTargetGroupsState `json:"target_groups"`
}
type DataDefaultActionForwardTargetGroupsAttributes ¶
type DataDefaultActionForwardTargetGroupsAttributes struct {
// contains filtered or unexported fields
}
func (DataDefaultActionForwardTargetGroupsAttributes) InternalRef ¶
func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalRef() (terra.Reference, error)
func (DataDefaultActionForwardTargetGroupsAttributes) InternalTokens ¶
func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataDefaultActionForwardTargetGroupsAttributes) InternalWithRef ¶
func (tg DataDefaultActionForwardTargetGroupsAttributes) InternalWithRef(ref terra.Reference) DataDefaultActionForwardTargetGroupsAttributes
func (DataDefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier ¶
func (tg DataDefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
func (DataDefaultActionForwardTargetGroupsAttributes) Weight ¶
func (tg DataDefaultActionForwardTargetGroupsAttributes) Weight() terra.NumberValue
type DataDefaultActionState ¶
type DataDefaultActionState struct { FixedResponse []DataDefaultActionFixedResponseState `json:"fixed_response"` Forward []DataDefaultActionForwardState `json:"forward"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_vpclattice_listener.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (avl *DataSource) Attributes() dataAwsVpclatticeListenerAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (avl *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (avl *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (avl *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DefaultAction ¶
type DefaultAction struct { // DefaultActionFixedResponse: optional FixedResponse *DefaultActionFixedResponse `hcl:"fixed_response,block"` // DefaultActionForward: min=0 Forward []DefaultActionForward `hcl:"forward,block" validate:"min=0"` }
type DefaultActionAttributes ¶
type DefaultActionAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionAttributes) FixedResponse ¶
func (da DefaultActionAttributes) FixedResponse() terra.ListValue[DefaultActionFixedResponseAttributes]
func (DefaultActionAttributes) Forward ¶
func (da DefaultActionAttributes) Forward() terra.ListValue[DefaultActionForwardAttributes]
func (DefaultActionAttributes) InternalRef ¶
func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionAttributes) InternalTokens ¶
func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionAttributes) InternalWithRef ¶
func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
type DefaultActionFixedResponse ¶
type DefaultActionFixedResponse struct { // StatusCode: number, required StatusCode terra.NumberValue `hcl:"status_code,attr" validate:"required"` }
type DefaultActionFixedResponseAttributes ¶
type DefaultActionFixedResponseAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionFixedResponseAttributes) InternalRef ¶
func (fr DefaultActionFixedResponseAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionFixedResponseAttributes) InternalTokens ¶
func (fr DefaultActionFixedResponseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionFixedResponseAttributes) InternalWithRef ¶
func (fr DefaultActionFixedResponseAttributes) InternalWithRef(ref terra.Reference) DefaultActionFixedResponseAttributes
func (DefaultActionFixedResponseAttributes) StatusCode ¶
func (fr DefaultActionFixedResponseAttributes) StatusCode() terra.NumberValue
type DefaultActionFixedResponseState ¶
type DefaultActionFixedResponseState struct {
StatusCode float64 `json:"status_code"`
}
type DefaultActionForward ¶
type DefaultActionForward struct { // DefaultActionForwardTargetGroups: min=0 TargetGroups []DefaultActionForwardTargetGroups `hcl:"target_groups,block" validate:"min=0"` }
type DefaultActionForwardAttributes ¶
type DefaultActionForwardAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionForwardAttributes) InternalRef ¶
func (f DefaultActionForwardAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionForwardAttributes) InternalTokens ¶
func (f DefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionForwardAttributes) InternalWithRef ¶
func (f DefaultActionForwardAttributes) InternalWithRef(ref terra.Reference) DefaultActionForwardAttributes
func (DefaultActionForwardAttributes) TargetGroups ¶
func (f DefaultActionForwardAttributes) TargetGroups() terra.ListValue[DefaultActionForwardTargetGroupsAttributes]
type DefaultActionForwardState ¶
type DefaultActionForwardState struct {
TargetGroups []DefaultActionForwardTargetGroupsState `json:"target_groups"`
}
type DefaultActionForwardTargetGroups ¶
type DefaultActionForwardTargetGroups struct { // TargetGroupIdentifier: string, optional TargetGroupIdentifier terra.StringValue `hcl:"target_group_identifier,attr"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type DefaultActionForwardTargetGroupsAttributes ¶
type DefaultActionForwardTargetGroupsAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionForwardTargetGroupsAttributes) InternalRef ¶
func (tg DefaultActionForwardTargetGroupsAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionForwardTargetGroupsAttributes) InternalTokens ¶
func (tg DefaultActionForwardTargetGroupsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionForwardTargetGroupsAttributes) InternalWithRef ¶
func (tg DefaultActionForwardTargetGroupsAttributes) InternalWithRef(ref terra.Reference) DefaultActionForwardTargetGroupsAttributes
func (DefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier ¶
func (tg DefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier() terra.StringValue
func (DefaultActionForwardTargetGroupsAttributes) Weight ¶
func (tg DefaultActionForwardTargetGroupsAttributes) Weight() terra.NumberValue
type DefaultActionState ¶
type DefaultActionState struct { FixedResponse []DefaultActionFixedResponseState `json:"fixed_response"` Forward []DefaultActionForwardState `json:"forward"` }
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_listener.
func (*Resource) Attributes ¶
func (avl *Resource) Attributes() awsVpclatticeListenerAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (avl *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (avl *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