aws_vpclattice_target_group

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"`
	// 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 (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 (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 (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 (ConfigHealthCheckAttributes) Matcher

func (ConfigHealthCheckAttributes) Path

func (ConfigHealthCheckAttributes) Port

func (ConfigHealthCheckAttributes) Protocol

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

func (ConfigHealthCheckMatcherAttributes) InternalWithRef

func (ConfigHealthCheckMatcherAttributes) Value

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (avtg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (avtg *Resource) State() (*awsVpclatticeTargetGroupState, bool)

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

func (*Resource) StateMust

func (avtg *Resource) StateMust() *awsVpclatticeTargetGroupState

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

func (*Resource) Type

func (avtg *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