aws_appmesh_virtual_gateway

package
v5.45.0 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"`
	// MeshName: string, required
	MeshName terra.StringValue `hcl:"mesh_name,attr" validate:"required"`
	// MeshOwner: string, optional
	MeshOwner terra.StringValue `hcl:"mesh_owner,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"`
	// Spec: required
	Spec *Spec `hcl:"spec,block" validate:"required"`
}

Args contains the configurations for aws_appmesh_virtual_gateway.

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_appmesh_virtual_gateway.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aavg *Resource) Attributes() awsAppmeshVirtualGatewayAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aavg *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aavg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aavg *Resource) State() (*awsAppmeshVirtualGatewayState, bool)

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

func (*Resource) StateMust

func (aavg *Resource) StateMust() *awsAppmeshVirtualGatewayState

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

func (*Resource) Type

func (aavg *Resource) Type() string

Type returns the Terraform object type for Resource.

type Spec

type Spec struct {
	// SpecBackendDefaults: optional
	BackendDefaults *SpecBackendDefaults `hcl:"backend_defaults,block"`
	// SpecListener: required
	Listener *SpecListener `hcl:"listener,block" validate:"required"`
	// SpecLogging: optional
	Logging *SpecLogging `hcl:"logging,block"`
}

type SpecAttributes

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

func (SpecAttributes) BackendDefaults

func (SpecAttributes) InternalRef

func (s SpecAttributes) InternalRef() (terra.Reference, error)

func (SpecAttributes) InternalTokens

func (s SpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecAttributes) InternalWithRef

func (s SpecAttributes) InternalWithRef(ref terra.Reference) SpecAttributes

func (SpecAttributes) Listener

func (SpecAttributes) Logging

type SpecBackendDefaults

type SpecBackendDefaults struct {
	// SpecBackendDefaultsClientPolicy: optional
	ClientPolicy *SpecBackendDefaultsClientPolicy `hcl:"client_policy,block"`
}

type SpecBackendDefaults05226299

type SpecBackendDefaults05226299 struct {
	// Exact: set of string, required
	Exact terra.SetValue[terra.StringValue] `hcl:"exact,attr" validate:"required"`
}

type SpecBackendDefaults05226299Attributes

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

func (SpecBackendDefaults05226299Attributes) Exact

func (SpecBackendDefaults05226299Attributes) InternalRef

func (SpecBackendDefaults05226299Attributes) InternalTokens

func (SpecBackendDefaults05226299Attributes) InternalWithRef

type SpecBackendDefaults05226299State

type SpecBackendDefaults05226299State struct {
	Exact []string `json:"exact"`
}

type SpecBackendDefaults630078F7

type SpecBackendDefaults630078F7 struct {
	// SpecBackendDefaults840A8Fda: optional
	SubjectAlternativeNames *SpecBackendDefaults840A8Fda `hcl:"subject_alternative_names,block"`
	// SpecBackendDefaults738E8933: required
	Trust *SpecBackendDefaults738E8933 `hcl:"trust,block" validate:"required"`
}

type SpecBackendDefaults630078F7Attributes

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

func (SpecBackendDefaults630078F7Attributes) InternalRef

func (SpecBackendDefaults630078F7Attributes) InternalTokens

func (SpecBackendDefaults630078F7Attributes) InternalWithRef

func (SpecBackendDefaults630078F7Attributes) SubjectAlternativeNames

func (SpecBackendDefaults630078F7Attributes) Trust

type SpecBackendDefaults630078F7State

type SpecBackendDefaults630078F7State struct {
	SubjectAlternativeNames []SpecBackendDefaults840A8FdaState `json:"subject_alternative_names"`
	Trust                   []SpecBackendDefaults738E8933State `json:"trust"`
}

type SpecBackendDefaults65Cecba8

type SpecBackendDefaults65Cecba8 struct {
	// SpecBackendDefaults9069F2D6: optional
	File *SpecBackendDefaults9069F2D6 `hcl:"file,block"`
	// SpecBackendDefaultsB4A40596: optional
	Sds *SpecBackendDefaultsB4A40596 `hcl:"sds,block"`
}

type SpecBackendDefaults65Cecba8Attributes

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

func (SpecBackendDefaults65Cecba8Attributes) File

func (SpecBackendDefaults65Cecba8Attributes) InternalRef

func (SpecBackendDefaults65Cecba8Attributes) InternalTokens

func (SpecBackendDefaults65Cecba8Attributes) InternalWithRef

func (SpecBackendDefaults65Cecba8Attributes) Sds

type SpecBackendDefaults65Cecba8State

type SpecBackendDefaults65Cecba8State struct {
	File []SpecBackendDefaults9069F2D6State `json:"file"`
	Sds  []SpecBackendDefaultsB4A40596State `json:"sds"`
}

type SpecBackendDefaults738E8933

type SpecBackendDefaults738E8933 struct {
	// SpecBackendDefaultsDb1Fecb0: optional
	Acm *SpecBackendDefaultsDb1Fecb0 `hcl:"acm,block"`
	// SpecBackendDefaultsF332D3F5: optional
	File *SpecBackendDefaultsF332D3F5 `hcl:"file,block"`
	// SpecBackendDefaults79Ade431: optional
	Sds *SpecBackendDefaults79Ade431 `hcl:"sds,block"`
}

type SpecBackendDefaults738E8933Attributes

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

func (SpecBackendDefaults738E8933Attributes) Acm

func (SpecBackendDefaults738E8933Attributes) File

func (SpecBackendDefaults738E8933Attributes) InternalRef

func (SpecBackendDefaults738E8933Attributes) InternalTokens

func (SpecBackendDefaults738E8933Attributes) InternalWithRef

func (SpecBackendDefaults738E8933Attributes) Sds

type SpecBackendDefaults738E8933State

type SpecBackendDefaults738E8933State struct {
	Acm  []SpecBackendDefaultsDb1Fecb0State `json:"acm"`
	File []SpecBackendDefaultsF332D3F5State `json:"file"`
	Sds  []SpecBackendDefaults79Ade431State `json:"sds"`
}

type SpecBackendDefaults79Ade431

type SpecBackendDefaults79Ade431 struct {
	// SecretName: string, required
	SecretName terra.StringValue `hcl:"secret_name,attr" validate:"required"`
}

type SpecBackendDefaults79Ade431Attributes

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

func (SpecBackendDefaults79Ade431Attributes) InternalRef

func (SpecBackendDefaults79Ade431Attributes) InternalTokens

func (SpecBackendDefaults79Ade431Attributes) InternalWithRef

func (SpecBackendDefaults79Ade431Attributes) SecretName

type SpecBackendDefaults79Ade431State

type SpecBackendDefaults79Ade431State struct {
	SecretName string `json:"secret_name"`
}

type SpecBackendDefaults840A8Fda

type SpecBackendDefaults840A8Fda struct {
	// SpecBackendDefaults05226299: required
	Match *SpecBackendDefaults05226299 `hcl:"match,block" validate:"required"`
}

type SpecBackendDefaults840A8FdaAttributes

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

func (SpecBackendDefaults840A8FdaAttributes) InternalRef

func (SpecBackendDefaults840A8FdaAttributes) InternalTokens

func (SpecBackendDefaults840A8FdaAttributes) InternalWithRef

func (SpecBackendDefaults840A8FdaAttributes) Match

type SpecBackendDefaults840A8FdaState

type SpecBackendDefaults840A8FdaState struct {
	Match []SpecBackendDefaults05226299State `json:"match"`
}

type SpecBackendDefaults9069F2D6

type SpecBackendDefaults9069F2D6 struct {
	// CertificateChain: string, required
	CertificateChain terra.StringValue `hcl:"certificate_chain,attr" validate:"required"`
	// PrivateKey: string, required
	PrivateKey terra.StringValue `hcl:"private_key,attr" validate:"required"`
}

type SpecBackendDefaults9069F2D6Attributes

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

func (SpecBackendDefaults9069F2D6Attributes) CertificateChain

func (SpecBackendDefaults9069F2D6Attributes) InternalRef

func (SpecBackendDefaults9069F2D6Attributes) InternalTokens

func (SpecBackendDefaults9069F2D6Attributes) InternalWithRef

func (SpecBackendDefaults9069F2D6Attributes) PrivateKey

type SpecBackendDefaults9069F2D6State

type SpecBackendDefaults9069F2D6State struct {
	CertificateChain string `json:"certificate_chain"`
	PrivateKey       string `json:"private_key"`
}

type SpecBackendDefaultsAttributes

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

func (SpecBackendDefaultsAttributes) ClientPolicy

func (SpecBackendDefaultsAttributes) InternalRef

func (bd SpecBackendDefaultsAttributes) InternalRef() (terra.Reference, error)

func (SpecBackendDefaultsAttributes) InternalTokens

func (bd SpecBackendDefaultsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecBackendDefaultsAttributes) InternalWithRef

type SpecBackendDefaultsB4A40596

type SpecBackendDefaultsB4A40596 struct {
	// SecretName: string, required
	SecretName terra.StringValue `hcl:"secret_name,attr" validate:"required"`
}

type SpecBackendDefaultsB4A40596Attributes

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

func (SpecBackendDefaultsB4A40596Attributes) InternalRef

func (SpecBackendDefaultsB4A40596Attributes) InternalTokens

func (SpecBackendDefaultsB4A40596Attributes) InternalWithRef

func (SpecBackendDefaultsB4A40596Attributes) SecretName

type SpecBackendDefaultsB4A40596State

type SpecBackendDefaultsB4A40596State struct {
	SecretName string `json:"secret_name"`
}

type SpecBackendDefaultsClientPolicy

type SpecBackendDefaultsClientPolicy struct {
	// SpecBackendDefaultsClientPolicyTls: optional
	Tls *SpecBackendDefaultsClientPolicyTls `hcl:"tls,block"`
}

type SpecBackendDefaultsClientPolicyAttributes

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

func (SpecBackendDefaultsClientPolicyAttributes) InternalRef

func (SpecBackendDefaultsClientPolicyAttributes) InternalTokens

func (SpecBackendDefaultsClientPolicyAttributes) InternalWithRef

func (SpecBackendDefaultsClientPolicyAttributes) Tls

type SpecBackendDefaultsClientPolicyState

type SpecBackendDefaultsClientPolicyState struct {
	Tls []SpecBackendDefaultsClientPolicyTlsState `json:"tls"`
}

type SpecBackendDefaultsClientPolicyTls

type SpecBackendDefaultsClientPolicyTls struct {
	// Enforce: bool, optional
	Enforce terra.BoolValue `hcl:"enforce,attr"`
	// Ports: set of number, optional
	Ports terra.SetValue[terra.NumberValue] `hcl:"ports,attr"`
	// SpecBackendDefaults65Cecba8: optional
	Certificate *SpecBackendDefaults65Cecba8 `hcl:"certificate,block"`
	// SpecBackendDefaults630078F7: required
	Validation *SpecBackendDefaults630078F7 `hcl:"validation,block" validate:"required"`
}

type SpecBackendDefaultsClientPolicyTlsAttributes

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

func (SpecBackendDefaultsClientPolicyTlsAttributes) Certificate

func (SpecBackendDefaultsClientPolicyTlsAttributes) Enforce

func (SpecBackendDefaultsClientPolicyTlsAttributes) InternalRef

func (SpecBackendDefaultsClientPolicyTlsAttributes) InternalTokens

func (SpecBackendDefaultsClientPolicyTlsAttributes) InternalWithRef

func (SpecBackendDefaultsClientPolicyTlsAttributes) Ports

func (SpecBackendDefaultsClientPolicyTlsAttributes) Validation

type SpecBackendDefaultsClientPolicyTlsState

type SpecBackendDefaultsClientPolicyTlsState struct {
	Enforce     bool                               `json:"enforce"`
	Ports       []float64                          `json:"ports"`
	Certificate []SpecBackendDefaults65Cecba8State `json:"certificate"`
	Validation  []SpecBackendDefaults630078F7State `json:"validation"`
}

type SpecBackendDefaultsDb1Fecb0

type SpecBackendDefaultsDb1Fecb0 struct {
	// CertificateAuthorityArns: set of string, required
	CertificateAuthorityArns terra.SetValue[terra.StringValue] `hcl:"certificate_authority_arns,attr" validate:"required"`
}

type SpecBackendDefaultsDb1Fecb0Attributes

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

func (SpecBackendDefaultsDb1Fecb0Attributes) CertificateAuthorityArns

func (SpecBackendDefaultsDb1Fecb0Attributes) InternalRef

func (SpecBackendDefaultsDb1Fecb0Attributes) InternalTokens

func (SpecBackendDefaultsDb1Fecb0Attributes) InternalWithRef

type SpecBackendDefaultsDb1Fecb0State

type SpecBackendDefaultsDb1Fecb0State struct {
	CertificateAuthorityArns []string `json:"certificate_authority_arns"`
}

type SpecBackendDefaultsF332D3F5

type SpecBackendDefaultsF332D3F5 struct {
	// CertificateChain: string, required
	CertificateChain terra.StringValue `hcl:"certificate_chain,attr" validate:"required"`
}

type SpecBackendDefaultsF332D3F5Attributes

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

func (SpecBackendDefaultsF332D3F5Attributes) CertificateChain

func (SpecBackendDefaultsF332D3F5Attributes) InternalRef

func (SpecBackendDefaultsF332D3F5Attributes) InternalTokens

func (SpecBackendDefaultsF332D3F5Attributes) InternalWithRef

type SpecBackendDefaultsF332D3F5State

type SpecBackendDefaultsF332D3F5State struct {
	CertificateChain string `json:"certificate_chain"`
}

type SpecBackendDefaultsState

type SpecBackendDefaultsState struct {
	ClientPolicy []SpecBackendDefaultsClientPolicyState `json:"client_policy"`
}

type SpecListener

type SpecListener struct {
	// SpecListenerConnectionPool: optional
	ConnectionPool *SpecListenerConnectionPool `hcl:"connection_pool,block"`
	// SpecListenerHealthCheck: optional
	HealthCheck *SpecListenerHealthCheck `hcl:"health_check,block"`
	// SpecListenerPortMapping: required
	PortMapping *SpecListenerPortMapping `hcl:"port_mapping,block" validate:"required"`
	// SpecListenerTls: optional
	Tls *SpecListenerTls `hcl:"tls,block"`
}

type SpecListener16Acc0F6

type SpecListener16Acc0F6 struct {
	// Exact: set of string, required
	Exact terra.SetValue[terra.StringValue] `hcl:"exact,attr" validate:"required"`
}

type SpecListener16Acc0F6Attributes

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

func (SpecListener16Acc0F6Attributes) Exact

func (SpecListener16Acc0F6Attributes) InternalRef

func (SpecListener16Acc0F6Attributes) InternalTokens

func (m SpecListener16Acc0F6Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListener16Acc0F6Attributes) InternalWithRef

type SpecListener16Acc0F6State

type SpecListener16Acc0F6State struct {
	Exact []string `json:"exact"`
}

type SpecListener5C5E34Df

type SpecListener5C5E34Df struct {
	// SecretName: string, required
	SecretName terra.StringValue `hcl:"secret_name,attr" validate:"required"`
}

type SpecListener5C5E34DfAttributes

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

func (SpecListener5C5E34DfAttributes) InternalRef

func (SpecListener5C5E34DfAttributes) InternalTokens

func (s SpecListener5C5E34DfAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListener5C5E34DfAttributes) InternalWithRef

func (SpecListener5C5E34DfAttributes) SecretName

type SpecListener5C5E34DfState

type SpecListener5C5E34DfState struct {
	SecretName string `json:"secret_name"`
}

type SpecListener5Cc1671F

type SpecListener5Cc1671F struct {
	// CertificateChain: string, required
	CertificateChain terra.StringValue `hcl:"certificate_chain,attr" validate:"required"`
	// PrivateKey: string, required
	PrivateKey terra.StringValue `hcl:"private_key,attr" validate:"required"`
}

type SpecListener5Cc1671FAttributes

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

func (SpecListener5Cc1671FAttributes) CertificateChain

func (f SpecListener5Cc1671FAttributes) CertificateChain() terra.StringValue

func (SpecListener5Cc1671FAttributes) InternalRef

func (SpecListener5Cc1671FAttributes) InternalTokens

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

func (SpecListener5Cc1671FAttributes) InternalWithRef

func (SpecListener5Cc1671FAttributes) PrivateKey

type SpecListener5Cc1671FState

type SpecListener5Cc1671FState struct {
	CertificateChain string `json:"certificate_chain"`
	PrivateKey       string `json:"private_key"`
}

type SpecListener668488A5

type SpecListener668488A5 struct {
	// SpecListenerD017009E: optional
	File *SpecListenerD017009E `hcl:"file,block"`
	// SpecListenerD474D638: optional
	Sds *SpecListenerD474D638 `hcl:"sds,block"`
}

type SpecListener668488A5Attributes

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

func (SpecListener668488A5Attributes) File

func (SpecListener668488A5Attributes) InternalRef

func (SpecListener668488A5Attributes) InternalTokens

func (t SpecListener668488A5Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListener668488A5Attributes) InternalWithRef

func (SpecListener668488A5Attributes) Sds

type SpecListener668488A5State

type SpecListener668488A5State struct {
	File []SpecListenerD017009EState `json:"file"`
	Sds  []SpecListenerD474D638State `json:"sds"`
}

type SpecListener785160C2

type SpecListener785160C2 struct {
	// SpecListener16Acc0F6: required
	Match *SpecListener16Acc0F6 `hcl:"match,block" validate:"required"`
}

type SpecListener785160C2Attributes

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

func (SpecListener785160C2Attributes) InternalRef

func (san SpecListener785160C2Attributes) InternalRef() (terra.Reference, error)

func (SpecListener785160C2Attributes) InternalTokens

func (san SpecListener785160C2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListener785160C2Attributes) InternalWithRef

func (SpecListener785160C2Attributes) Match

type SpecListener785160C2State

type SpecListener785160C2State struct {
	Match []SpecListener16Acc0F6State `json:"match"`
}

type SpecListenerAttributes

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

func (SpecListenerAttributes) ConnectionPool

func (SpecListenerAttributes) HealthCheck

func (SpecListenerAttributes) InternalRef

func (l SpecListenerAttributes) InternalRef() (terra.Reference, error)

func (SpecListenerAttributes) InternalTokens

func (l SpecListenerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerAttributes) InternalWithRef

func (SpecListenerAttributes) PortMapping

func (SpecListenerAttributes) Tls

type SpecListenerConnectionPool

type SpecListenerConnectionPool struct {
	// SpecListenerConnectionPoolGrpc: optional
	Grpc *SpecListenerConnectionPoolGrpc `hcl:"grpc,block"`
	// SpecListenerConnectionPoolHttp: optional
	Http *SpecListenerConnectionPoolHttp `hcl:"http,block"`
	// SpecListenerConnectionPoolHttp2: optional
	Http2 *SpecListenerConnectionPoolHttp2 `hcl:"http2,block"`
}

type SpecListenerConnectionPoolAttributes

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

func (SpecListenerConnectionPoolAttributes) Grpc

func (SpecListenerConnectionPoolAttributes) Http

func (SpecListenerConnectionPoolAttributes) Http2

func (SpecListenerConnectionPoolAttributes) InternalRef

func (SpecListenerConnectionPoolAttributes) InternalTokens

func (SpecListenerConnectionPoolAttributes) InternalWithRef

type SpecListenerConnectionPoolGrpc

type SpecListenerConnectionPoolGrpc struct {
	// MaxRequests: number, required
	MaxRequests terra.NumberValue `hcl:"max_requests,attr" validate:"required"`
}

type SpecListenerConnectionPoolGrpcAttributes

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

func (SpecListenerConnectionPoolGrpcAttributes) InternalRef

func (SpecListenerConnectionPoolGrpcAttributes) InternalTokens

func (SpecListenerConnectionPoolGrpcAttributes) InternalWithRef

func (SpecListenerConnectionPoolGrpcAttributes) MaxRequests

type SpecListenerConnectionPoolGrpcState

type SpecListenerConnectionPoolGrpcState struct {
	MaxRequests float64 `json:"max_requests"`
}

type SpecListenerConnectionPoolHttp

type SpecListenerConnectionPoolHttp struct {
	// MaxConnections: number, required
	MaxConnections terra.NumberValue `hcl:"max_connections,attr" validate:"required"`
	// MaxPendingRequests: number, optional
	MaxPendingRequests terra.NumberValue `hcl:"max_pending_requests,attr"`
}

type SpecListenerConnectionPoolHttp2

type SpecListenerConnectionPoolHttp2 struct {
	// MaxRequests: number, required
	MaxRequests terra.NumberValue `hcl:"max_requests,attr" validate:"required"`
}

type SpecListenerConnectionPoolHttp2Attributes

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

func (SpecListenerConnectionPoolHttp2Attributes) InternalRef

func (SpecListenerConnectionPoolHttp2Attributes) InternalTokens

func (SpecListenerConnectionPoolHttp2Attributes) InternalWithRef

func (SpecListenerConnectionPoolHttp2Attributes) MaxRequests

type SpecListenerConnectionPoolHttp2State

type SpecListenerConnectionPoolHttp2State struct {
	MaxRequests float64 `json:"max_requests"`
}

type SpecListenerConnectionPoolHttpAttributes

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

func (SpecListenerConnectionPoolHttpAttributes) InternalRef

func (SpecListenerConnectionPoolHttpAttributes) InternalTokens

func (SpecListenerConnectionPoolHttpAttributes) InternalWithRef

func (SpecListenerConnectionPoolHttpAttributes) MaxConnections

func (SpecListenerConnectionPoolHttpAttributes) MaxPendingRequests

type SpecListenerConnectionPoolHttpState

type SpecListenerConnectionPoolHttpState struct {
	MaxConnections     float64 `json:"max_connections"`
	MaxPendingRequests float64 `json:"max_pending_requests"`
}

type SpecListenerConnectionPoolState

type SpecListenerConnectionPoolState struct {
	Grpc  []SpecListenerConnectionPoolGrpcState  `json:"grpc"`
	Http  []SpecListenerConnectionPoolHttpState  `json:"http"`
	Http2 []SpecListenerConnectionPoolHttp2State `json:"http2"`
}

type SpecListenerD017009E

type SpecListenerD017009E struct {
	// CertificateChain: string, required
	CertificateChain terra.StringValue `hcl:"certificate_chain,attr" validate:"required"`
}

type SpecListenerD017009EAttributes

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

func (SpecListenerD017009EAttributes) CertificateChain

func (f SpecListenerD017009EAttributes) CertificateChain() terra.StringValue

func (SpecListenerD017009EAttributes) InternalRef

func (SpecListenerD017009EAttributes) InternalTokens

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

func (SpecListenerD017009EAttributes) InternalWithRef

type SpecListenerD017009EState

type SpecListenerD017009EState struct {
	CertificateChain string `json:"certificate_chain"`
}

type SpecListenerD474D638

type SpecListenerD474D638 struct {
	// SecretName: string, required
	SecretName terra.StringValue `hcl:"secret_name,attr" validate:"required"`
}

type SpecListenerD474D638Attributes

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

func (SpecListenerD474D638Attributes) InternalRef

func (SpecListenerD474D638Attributes) InternalTokens

func (s SpecListenerD474D638Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerD474D638Attributes) InternalWithRef

func (SpecListenerD474D638Attributes) SecretName

type SpecListenerD474D638State

type SpecListenerD474D638State struct {
	SecretName string `json:"secret_name"`
}

type SpecListenerD7B92001

type SpecListenerD7B92001 struct {
	// CertificateArn: string, required
	CertificateArn terra.StringValue `hcl:"certificate_arn,attr" validate:"required"`
}

type SpecListenerD7B92001Attributes

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

func (SpecListenerD7B92001Attributes) CertificateArn

func (SpecListenerD7B92001Attributes) InternalRef

func (SpecListenerD7B92001Attributes) InternalTokens

func (a SpecListenerD7B92001Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerD7B92001Attributes) InternalWithRef

type SpecListenerD7B92001State

type SpecListenerD7B92001State struct {
	CertificateArn string `json:"certificate_arn"`
}

type SpecListenerHealthCheck

type SpecListenerHealthCheck struct {
	// HealthyThreshold: number, required
	HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr" validate:"required"`
	// IntervalMillis: number, required
	IntervalMillis terra.NumberValue `hcl:"interval_millis,attr" validate:"required"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Port: number, optional
	Port terra.NumberValue `hcl:"port,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// TimeoutMillis: number, required
	TimeoutMillis terra.NumberValue `hcl:"timeout_millis,attr" validate:"required"`
	// UnhealthyThreshold: number, required
	UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr" validate:"required"`
}

type SpecListenerHealthCheckAttributes

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

func (SpecListenerHealthCheckAttributes) HealthyThreshold

func (hc SpecListenerHealthCheckAttributes) HealthyThreshold() terra.NumberValue

func (SpecListenerHealthCheckAttributes) InternalRef

func (SpecListenerHealthCheckAttributes) InternalTokens

func (hc SpecListenerHealthCheckAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerHealthCheckAttributes) InternalWithRef

func (SpecListenerHealthCheckAttributes) IntervalMillis

func (SpecListenerHealthCheckAttributes) Path

func (SpecListenerHealthCheckAttributes) Port

func (SpecListenerHealthCheckAttributes) Protocol

func (SpecListenerHealthCheckAttributes) TimeoutMillis

func (SpecListenerHealthCheckAttributes) UnhealthyThreshold

func (hc SpecListenerHealthCheckAttributes) UnhealthyThreshold() terra.NumberValue

type SpecListenerHealthCheckState

type SpecListenerHealthCheckState struct {
	HealthyThreshold   float64 `json:"healthy_threshold"`
	IntervalMillis     float64 `json:"interval_millis"`
	Path               string  `json:"path"`
	Port               float64 `json:"port"`
	Protocol           string  `json:"protocol"`
	TimeoutMillis      float64 `json:"timeout_millis"`
	UnhealthyThreshold float64 `json:"unhealthy_threshold"`
}

type SpecListenerPortMapping

type SpecListenerPortMapping struct {
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
}

type SpecListenerPortMappingAttributes

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

func (SpecListenerPortMappingAttributes) InternalRef

func (SpecListenerPortMappingAttributes) InternalTokens

func (pm SpecListenerPortMappingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerPortMappingAttributes) InternalWithRef

func (SpecListenerPortMappingAttributes) Port

func (SpecListenerPortMappingAttributes) Protocol

type SpecListenerPortMappingState

type SpecListenerPortMappingState struct {
	Port     float64 `json:"port"`
	Protocol string  `json:"protocol"`
}

type SpecListenerState

type SpecListenerState struct {
	ConnectionPool []SpecListenerConnectionPoolState `json:"connection_pool"`
	HealthCheck    []SpecListenerHealthCheckState    `json:"health_check"`
	PortMapping    []SpecListenerPortMappingState    `json:"port_mapping"`
	Tls            []SpecListenerTlsState            `json:"tls"`
}

type SpecListenerTls

type SpecListenerTls struct {
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
	// SpecListenerTlsCertificate: required
	Certificate *SpecListenerTlsCertificate `hcl:"certificate,block" validate:"required"`
	// SpecListenerTlsValidation: optional
	Validation *SpecListenerTlsValidation `hcl:"validation,block"`
}

type SpecListenerTlsAttributes

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

func (SpecListenerTlsAttributes) Certificate

func (SpecListenerTlsAttributes) InternalRef

func (t SpecListenerTlsAttributes) InternalRef() (terra.Reference, error)

func (SpecListenerTlsAttributes) InternalTokens

func (t SpecListenerTlsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecListenerTlsAttributes) InternalWithRef

func (SpecListenerTlsAttributes) Mode

func (SpecListenerTlsAttributes) Validation

type SpecListenerTlsCertificate

type SpecListenerTlsCertificate struct {
	// SpecListenerD7B92001: optional
	Acm *SpecListenerD7B92001 `hcl:"acm,block"`
	// SpecListener5Cc1671F: optional
	File *SpecListener5Cc1671F `hcl:"file,block"`
	// SpecListener5C5E34Df: optional
	Sds *SpecListener5C5E34Df `hcl:"sds,block"`
}

type SpecListenerTlsCertificateAttributes

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

func (SpecListenerTlsCertificateAttributes) Acm

func (SpecListenerTlsCertificateAttributes) File

func (SpecListenerTlsCertificateAttributes) InternalRef

func (SpecListenerTlsCertificateAttributes) InternalTokens

func (SpecListenerTlsCertificateAttributes) InternalWithRef

func (SpecListenerTlsCertificateAttributes) Sds

type SpecListenerTlsCertificateState

type SpecListenerTlsCertificateState struct {
	Acm  []SpecListenerD7B92001State `json:"acm"`
	File []SpecListener5Cc1671FState `json:"file"`
	Sds  []SpecListener5C5E34DfState `json:"sds"`
}

type SpecListenerTlsState

type SpecListenerTlsState struct {
	Mode        string                            `json:"mode"`
	Certificate []SpecListenerTlsCertificateState `json:"certificate"`
	Validation  []SpecListenerTlsValidationState  `json:"validation"`
}

type SpecListenerTlsValidation

type SpecListenerTlsValidation struct {
	// SpecListener785160C2: optional
	SubjectAlternativeNames *SpecListener785160C2 `hcl:"subject_alternative_names,block"`
	// SpecListener668488A5: required
	Trust *SpecListener668488A5 `hcl:"trust,block" validate:"required"`
}

type SpecListenerTlsValidationAttributes

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

func (SpecListenerTlsValidationAttributes) InternalRef

func (SpecListenerTlsValidationAttributes) InternalTokens

func (SpecListenerTlsValidationAttributes) InternalWithRef

func (SpecListenerTlsValidationAttributes) SubjectAlternativeNames

func (SpecListenerTlsValidationAttributes) Trust

type SpecListenerTlsValidationState

type SpecListenerTlsValidationState struct {
	SubjectAlternativeNames []SpecListener785160C2State `json:"subject_alternative_names"`
	Trust                   []SpecListener668488A5State `json:"trust"`
}

type SpecLogging

type SpecLogging struct {
	// SpecLoggingAccessLog: optional
	AccessLog *SpecLoggingAccessLog `hcl:"access_log,block"`
}

type SpecLoggingAccessLog

type SpecLoggingAccessLog struct {
	// SpecLoggingAccessLogFile: optional
	File *SpecLoggingAccessLogFile `hcl:"file,block"`
}

type SpecLoggingAccessLogAttributes

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

func (SpecLoggingAccessLogAttributes) File

func (SpecLoggingAccessLogAttributes) InternalRef

func (SpecLoggingAccessLogAttributes) InternalTokens

func (al SpecLoggingAccessLogAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecLoggingAccessLogAttributes) InternalWithRef

type SpecLoggingAccessLogFile

type SpecLoggingAccessLogFile struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type SpecLoggingAccessLogFileAttributes

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

func (SpecLoggingAccessLogFileAttributes) InternalRef

func (SpecLoggingAccessLogFileAttributes) InternalTokens

func (SpecLoggingAccessLogFileAttributes) InternalWithRef

func (SpecLoggingAccessLogFileAttributes) Path

type SpecLoggingAccessLogFileState

type SpecLoggingAccessLogFileState struct {
	Path string `json:"path"`
}

type SpecLoggingAccessLogState

type SpecLoggingAccessLogState struct {
	File []SpecLoggingAccessLogFileState `json:"file"`
}

type SpecLoggingAttributes

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

func (SpecLoggingAttributes) AccessLog

func (SpecLoggingAttributes) InternalRef

func (l SpecLoggingAttributes) InternalRef() (terra.Reference, error)

func (SpecLoggingAttributes) InternalTokens

func (l SpecLoggingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SpecLoggingAttributes) InternalWithRef

type SpecLoggingState

type SpecLoggingState struct {
	AccessLog []SpecLoggingAccessLogState `json:"access_log"`
}

type SpecState

type SpecState struct {
	BackendDefaults []SpecBackendDefaultsState `json:"backend_defaults"`
	Listener        []SpecListenerState        `json:"listener"`
	Logging         []SpecLoggingState         `json:"logging"`
}

Jump to

Keyboard shortcuts

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