aws_vpclattice_listener

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (DataDefaultActionAttributes) Forward

func (DataDefaultActionAttributes) InternalRef

func (da DataDefaultActionAttributes) InternalRef() (terra.Reference, error)

func (DataDefaultActionAttributes) InternalTokens

func (da DataDefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDefaultActionAttributes) InternalWithRef

type DataDefaultActionFixedResponseAttributes

type DataDefaultActionFixedResponseAttributes struct {
	// contains filtered or unexported fields
}

func (DataDefaultActionFixedResponseAttributes) InternalRef

func (DataDefaultActionFixedResponseAttributes) InternalTokens

func (DataDefaultActionFixedResponseAttributes) InternalWithRef

func (DataDefaultActionFixedResponseAttributes) StatusCode

type DataDefaultActionFixedResponseState

type DataDefaultActionFixedResponseState struct {
	StatusCode float64 `json:"status_code"`
}

type DataDefaultActionForwardAttributes

type DataDefaultActionForwardAttributes struct {
	// contains filtered or unexported fields
}

func (DataDefaultActionForwardAttributes) InternalRef

func (DataDefaultActionForwardAttributes) InternalTokens

func (DataDefaultActionForwardAttributes) InternalWithRef

func (DataDefaultActionForwardAttributes) TargetGroups

type DataDefaultActionForwardState

type DataDefaultActionForwardState struct {
	TargetGroups []DataDefaultActionForwardTargetGroupsState `json:"target_groups"`
}

type DataDefaultActionForwardTargetGroupsAttributes

type DataDefaultActionForwardTargetGroupsAttributes struct {
	// contains filtered or unexported fields
}

func (DataDefaultActionForwardTargetGroupsAttributes) InternalRef

func (DataDefaultActionForwardTargetGroupsAttributes) InternalTokens

func (DataDefaultActionForwardTargetGroupsAttributes) InternalWithRef

func (DataDefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier

func (DataDefaultActionForwardTargetGroupsAttributes) Weight

type DataDefaultActionForwardTargetGroupsState

type DataDefaultActionForwardTargetGroupsState struct {
	TargetGroupIdentifier string  `json:"target_group_identifier"`
	Weight                float64 `json:"weight"`
}

type DataDefaultActionState

type DataDefaultActionState struct {
	FixedResponse []DataDefaultActionFixedResponseState `json:"fixed_response"`
	Forward       []DataDefaultActionForwardState       `json:"forward"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

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 (DefaultActionAttributes) Forward

func (DefaultActionAttributes) InternalRef

func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)

func (DefaultActionAttributes) InternalTokens

func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultActionAttributes) InternalWithRef

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 (DefaultActionFixedResponseAttributes) InternalTokens

func (DefaultActionFixedResponseAttributes) InternalWithRef

func (DefaultActionFixedResponseAttributes) StatusCode

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 (DefaultActionForwardAttributes) InternalTokens

func (f DefaultActionForwardAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DefaultActionForwardAttributes) InternalWithRef

func (DefaultActionForwardAttributes) TargetGroups

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 (DefaultActionForwardTargetGroupsAttributes) InternalTokens

func (DefaultActionForwardTargetGroupsAttributes) InternalWithRef

func (DefaultActionForwardTargetGroupsAttributes) TargetGroupIdentifier

func (DefaultActionForwardTargetGroupsAttributes) Weight

type DefaultActionForwardTargetGroupsState

type DefaultActionForwardTargetGroupsState struct {
	TargetGroupIdentifier string  `json:"target_group_identifier"`
	Weight                float64 `json:"weight"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

func (avl *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (avl *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (avl *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (avl *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (avl *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (avl *Resource) State() (*awsVpclatticeListenerState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (avl *Resource) StateMust() *awsVpclatticeListenerState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (avl *Resource) Type() string

Type returns the Terraform object type 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 (TimeoutsAttributes) Delete

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

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL