appmeshvirtualgateway

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {
	// AccessLogFile: optional
	File *AccessLogFile `hcl:"file,block"`
}

type AccessLogAttributes

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

func (AccessLogAttributes) File

func (AccessLogAttributes) InternalRef

func (al AccessLogAttributes) InternalRef() (terra.Reference, error)

func (AccessLogAttributes) InternalTokens

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

func (AccessLogAttributes) InternalWithRef

func (al AccessLogAttributes) InternalWithRef(ref terra.Reference) AccessLogAttributes

type AccessLogFile

type AccessLogFile struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// Format: optional
	Format *Format `hcl:"format,block"`
}

type AccessLogFileAttributes

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

func (AccessLogFileAttributes) Format

func (AccessLogFileAttributes) InternalRef

func (f AccessLogFileAttributes) InternalRef() (terra.Reference, error)

func (AccessLogFileAttributes) InternalTokens

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

func (AccessLogFileAttributes) InternalWithRef

func (AccessLogFileAttributes) Path

type AccessLogFileState

type AccessLogFileState struct {
	Path   string        `json:"path"`
	Format []FormatState `json:"format"`
}

type AccessLogState

type AccessLogState struct {
	File []AccessLogFileState `json:"file"`
}

type BackendDefaults

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

type BackendDefaultsAttributes

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

func (BackendDefaultsAttributes) ClientPolicy

func (BackendDefaultsAttributes) InternalRef

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

func (BackendDefaultsAttributes) InternalTokens

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

func (BackendDefaultsAttributes) InternalWithRef

type BackendDefaultsState

type BackendDefaultsState struct {
	ClientPolicy []ClientPolicyState `json:"client_policy"`
}

type CertificateAcm

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

type CertificateAcmAttributes

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

func (CertificateAcmAttributes) CertificateArn

func (a CertificateAcmAttributes) CertificateArn() terra.StringValue

func (CertificateAcmAttributes) InternalRef

func (a CertificateAcmAttributes) InternalRef() (terra.Reference, error)

func (CertificateAcmAttributes) InternalTokens

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

func (CertificateAcmAttributes) InternalWithRef

type CertificateAcmState

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

type ClientPolicy

type ClientPolicy struct {
	// ClientPolicyTls: optional
	Tls *ClientPolicyTls `hcl:"tls,block"`
}

type ClientPolicyAttributes

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

func (ClientPolicyAttributes) InternalRef

func (cp ClientPolicyAttributes) InternalRef() (terra.Reference, error)

func (ClientPolicyAttributes) InternalTokens

func (cp ClientPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ClientPolicyAttributes) InternalWithRef

func (ClientPolicyAttributes) Tls

type ClientPolicyState

type ClientPolicyState struct {
	Tls []ClientPolicyTlsState `json:"tls"`
}

type ClientPolicyTls

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

type ClientPolicyTlsAttributes

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

func (ClientPolicyTlsAttributes) Certificate

func (ClientPolicyTlsAttributes) Enforce

func (ClientPolicyTlsAttributes) InternalRef

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

func (ClientPolicyTlsAttributes) InternalTokens

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

func (ClientPolicyTlsAttributes) InternalWithRef

func (ClientPolicyTlsAttributes) Ports

func (ClientPolicyTlsAttributes) Validation

type ClientPolicyTlsCertificate

type ClientPolicyTlsCertificate struct {
	// ClientPolicyTlsCertificateFile: optional
	File *ClientPolicyTlsCertificateFile `hcl:"file,block"`
	// ClientPolicyTlsCertificateSds: optional
	Sds *ClientPolicyTlsCertificateSds `hcl:"sds,block"`
}

type ClientPolicyTlsCertificateAttributes

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

func (ClientPolicyTlsCertificateAttributes) File

func (ClientPolicyTlsCertificateAttributes) InternalRef

func (ClientPolicyTlsCertificateAttributes) InternalTokens

func (ClientPolicyTlsCertificateAttributes) InternalWithRef

func (ClientPolicyTlsCertificateAttributes) Sds

type ClientPolicyTlsCertificateFile

type ClientPolicyTlsCertificateFile 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 ClientPolicyTlsCertificateFileAttributes

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

func (ClientPolicyTlsCertificateFileAttributes) CertificateChain

func (ClientPolicyTlsCertificateFileAttributes) InternalRef

func (ClientPolicyTlsCertificateFileAttributes) InternalTokens

func (ClientPolicyTlsCertificateFileAttributes) InternalWithRef

func (ClientPolicyTlsCertificateFileAttributes) PrivateKey

type ClientPolicyTlsCertificateFileState

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

type ClientPolicyTlsCertificateSds

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

type ClientPolicyTlsCertificateSdsAttributes

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

func (ClientPolicyTlsCertificateSdsAttributes) InternalRef

func (ClientPolicyTlsCertificateSdsAttributes) InternalTokens

func (ClientPolicyTlsCertificateSdsAttributes) InternalWithRef

func (ClientPolicyTlsCertificateSdsAttributes) SecretName

type ClientPolicyTlsCertificateSdsState

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

type ClientPolicyTlsCertificateState

type ClientPolicyTlsCertificateState struct {
	File []ClientPolicyTlsCertificateFileState `json:"file"`
	Sds  []ClientPolicyTlsCertificateSdsState  `json:"sds"`
}

type ClientPolicyTlsState

type ClientPolicyTlsState struct {
	Enforce     bool                              `json:"enforce"`
	Ports       []float64                         `json:"ports"`
	Certificate []ClientPolicyTlsCertificateState `json:"certificate"`
	Validation  []ClientPolicyTlsValidationState  `json:"validation"`
}

type ClientPolicyTlsValidation

type ClientPolicyTlsValidation struct {
	// ClientPolicyTlsValidationSubjectAlternativeNames: optional
	SubjectAlternativeNames *ClientPolicyTlsValidationSubjectAlternativeNames `hcl:"subject_alternative_names,block"`
	// ClientPolicyTlsValidationTrust: required
	Trust *ClientPolicyTlsValidationTrust `hcl:"trust,block" validate:"required"`
}

type ClientPolicyTlsValidationAttributes

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

func (ClientPolicyTlsValidationAttributes) InternalRef

func (ClientPolicyTlsValidationAttributes) InternalTokens

func (ClientPolicyTlsValidationAttributes) InternalWithRef

func (ClientPolicyTlsValidationAttributes) Trust

type ClientPolicyTlsValidationState

type ClientPolicyTlsValidationState struct {
	SubjectAlternativeNames []ClientPolicyTlsValidationSubjectAlternativeNamesState `json:"subject_alternative_names"`
	Trust                   []ClientPolicyTlsValidationTrustState                   `json:"trust"`
}

type ClientPolicyTlsValidationSubjectAlternativeNames

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

type ClientPolicyTlsValidationSubjectAlternativeNamesAttributes

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

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalRef

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalTokens

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalWithRef

type ClientPolicyTlsValidationSubjectAlternativeNamesMatch

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

type ClientPolicyTlsValidationSubjectAlternativeNamesMatchAttributes

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

func (ClientPolicyTlsValidationSubjectAlternativeNamesMatchAttributes) Exact

func (ClientPolicyTlsValidationSubjectAlternativeNamesMatchAttributes) InternalRef

func (ClientPolicyTlsValidationSubjectAlternativeNamesMatchAttributes) InternalTokens

func (ClientPolicyTlsValidationSubjectAlternativeNamesMatchAttributes) InternalWithRef

type ClientPolicyTlsValidationSubjectAlternativeNamesMatchState

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

type ClientPolicyTlsValidationSubjectAlternativeNamesState

type ClientPolicyTlsValidationSubjectAlternativeNamesState struct {
	Match []ClientPolicyTlsValidationSubjectAlternativeNamesMatchState `json:"match"`
}

type ClientPolicyTlsValidationTrust

type ClientPolicyTlsValidationTrust struct {
	// TrustAcm: optional
	Acm *TrustAcm `hcl:"acm,block"`
	// ClientPolicyTlsValidationTrustFile: optional
	File *ClientPolicyTlsValidationTrustFile `hcl:"file,block"`
	// ClientPolicyTlsValidationTrustSds: optional
	Sds *ClientPolicyTlsValidationTrustSds `hcl:"sds,block"`
}

type ClientPolicyTlsValidationTrustAttributes

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

func (ClientPolicyTlsValidationTrustAttributes) Acm

func (ClientPolicyTlsValidationTrustAttributes) File

func (ClientPolicyTlsValidationTrustAttributes) InternalRef

func (ClientPolicyTlsValidationTrustAttributes) InternalTokens

func (ClientPolicyTlsValidationTrustAttributes) InternalWithRef

func (ClientPolicyTlsValidationTrustAttributes) Sds

type ClientPolicyTlsValidationTrustFile

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

type ClientPolicyTlsValidationTrustFileAttributes

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

func (ClientPolicyTlsValidationTrustFileAttributes) CertificateChain

func (ClientPolicyTlsValidationTrustFileAttributes) InternalRef

func (ClientPolicyTlsValidationTrustFileAttributes) InternalTokens

func (ClientPolicyTlsValidationTrustFileAttributes) InternalWithRef

type ClientPolicyTlsValidationTrustFileState

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

type ClientPolicyTlsValidationTrustSds

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

type ClientPolicyTlsValidationTrustSdsAttributes

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

func (ClientPolicyTlsValidationTrustSdsAttributes) InternalRef

func (ClientPolicyTlsValidationTrustSdsAttributes) InternalTokens

func (ClientPolicyTlsValidationTrustSdsAttributes) InternalWithRef

func (ClientPolicyTlsValidationTrustSdsAttributes) SecretName

type ClientPolicyTlsValidationTrustSdsState

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

type ClientPolicyTlsValidationTrustState

type ClientPolicyTlsValidationTrustState struct {
	Acm  []TrustAcmState                           `json:"acm"`
	File []ClientPolicyTlsValidationTrustFileState `json:"file"`
	Sds  []ClientPolicyTlsValidationTrustSdsState  `json:"sds"`
}

type ConnectionPool

type ConnectionPool struct {
	// Grpc: optional
	Grpc *Grpc `hcl:"grpc,block"`
	// Http: optional
	Http *Http `hcl:"http,block"`
	// Http2: optional
	Http2 *Http2 `hcl:"http2,block"`
}

type ConnectionPoolAttributes

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

func (ConnectionPoolAttributes) Grpc

func (ConnectionPoolAttributes) Http

func (ConnectionPoolAttributes) Http2

func (ConnectionPoolAttributes) InternalRef

func (cp ConnectionPoolAttributes) InternalRef() (terra.Reference, error)

func (ConnectionPoolAttributes) InternalTokens

func (cp ConnectionPoolAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConnectionPoolAttributes) InternalWithRef

type ConnectionPoolState

type ConnectionPoolState struct {
	Grpc  []GrpcState  `json:"grpc"`
	Http  []HttpState  `json:"http"`
	Http2 []Http2State `json:"http2"`
}

type Format

type Format struct {
	// Text: string, optional
	Text terra.StringValue `hcl:"text,attr"`
	// Json: min=0
	Json []Json `hcl:"json,block" validate:"min=0"`
}

type FormatAttributes

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

func (FormatAttributes) InternalRef

func (f FormatAttributes) InternalRef() (terra.Reference, error)

func (FormatAttributes) InternalTokens

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

func (FormatAttributes) InternalWithRef

func (f FormatAttributes) InternalWithRef(ref terra.Reference) FormatAttributes

func (FormatAttributes) Json

func (FormatAttributes) Text

type FormatState

type FormatState struct {
	Text string      `json:"text"`
	Json []JsonState `json:"json"`
}

type Grpc

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

type GrpcAttributes

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

func (GrpcAttributes) InternalRef

func (g GrpcAttributes) InternalRef() (terra.Reference, error)

func (GrpcAttributes) InternalTokens

func (g GrpcAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GrpcAttributes) InternalWithRef

func (g GrpcAttributes) InternalWithRef(ref terra.Reference) GrpcAttributes

func (GrpcAttributes) MaxRequests

func (g GrpcAttributes) MaxRequests() terra.NumberValue

type GrpcState

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

type HealthCheck

type HealthCheck 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 HealthCheckAttributes

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

func (HealthCheckAttributes) HealthyThreshold

func (hc HealthCheckAttributes) HealthyThreshold() terra.NumberValue

func (HealthCheckAttributes) InternalRef

func (hc HealthCheckAttributes) InternalRef() (terra.Reference, error)

func (HealthCheckAttributes) InternalTokens

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

func (HealthCheckAttributes) InternalWithRef

func (HealthCheckAttributes) IntervalMillis

func (hc HealthCheckAttributes) IntervalMillis() terra.NumberValue

func (HealthCheckAttributes) Path

func (HealthCheckAttributes) Port

func (HealthCheckAttributes) Protocol

func (hc HealthCheckAttributes) Protocol() terra.StringValue

func (HealthCheckAttributes) TimeoutMillis

func (hc HealthCheckAttributes) TimeoutMillis() terra.NumberValue

func (HealthCheckAttributes) UnhealthyThreshold

func (hc HealthCheckAttributes) UnhealthyThreshold() terra.NumberValue

type HealthCheckState

type HealthCheckState 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 Http

type Http 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 Http2

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

type Http2Attributes

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

func (Http2Attributes) InternalRef

func (h Http2Attributes) InternalRef() (terra.Reference, error)

func (Http2Attributes) InternalTokens

func (h Http2Attributes) InternalTokens() (hclwrite.Tokens, error)

func (Http2Attributes) InternalWithRef

func (h Http2Attributes) InternalWithRef(ref terra.Reference) Http2Attributes

func (Http2Attributes) MaxRequests

func (h Http2Attributes) MaxRequests() terra.NumberValue

type Http2State

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

type HttpAttributes

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

func (HttpAttributes) InternalRef

func (h HttpAttributes) InternalRef() (terra.Reference, error)

func (HttpAttributes) InternalTokens

func (h HttpAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpAttributes) InternalWithRef

func (h HttpAttributes) InternalWithRef(ref terra.Reference) HttpAttributes

func (HttpAttributes) MaxConnections

func (h HttpAttributes) MaxConnections() terra.NumberValue

func (HttpAttributes) MaxPendingRequests

func (h HttpAttributes) MaxPendingRequests() terra.NumberValue

type HttpState

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

type Json

type Json struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type JsonAttributes

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

func (JsonAttributes) InternalRef

func (j JsonAttributes) InternalRef() (terra.Reference, error)

func (JsonAttributes) InternalTokens

func (j JsonAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JsonAttributes) InternalWithRef

func (j JsonAttributes) InternalWithRef(ref terra.Reference) JsonAttributes

func (JsonAttributes) Key

func (JsonAttributes) Value

func (j JsonAttributes) Value() terra.StringValue

type JsonState

type JsonState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Listener

type Listener struct {
	// ConnectionPool: optional
	ConnectionPool *ConnectionPool `hcl:"connection_pool,block"`
	// HealthCheck: optional
	HealthCheck *HealthCheck `hcl:"health_check,block"`
	// PortMapping: required
	PortMapping *PortMapping `hcl:"port_mapping,block" validate:"required"`
	// ListenerTls: optional
	Tls *ListenerTls `hcl:"tls,block"`
}

type ListenerAttributes

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

func (ListenerAttributes) ConnectionPool

func (ListenerAttributes) HealthCheck

func (ListenerAttributes) InternalRef

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

func (ListenerAttributes) InternalTokens

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

func (ListenerAttributes) InternalWithRef

func (l ListenerAttributes) InternalWithRef(ref terra.Reference) ListenerAttributes

func (ListenerAttributes) PortMapping

func (ListenerAttributes) Tls

type ListenerState

type ListenerState struct {
	ConnectionPool []ConnectionPoolState `json:"connection_pool"`
	HealthCheck    []HealthCheckState    `json:"health_check"`
	PortMapping    []PortMappingState    `json:"port_mapping"`
	Tls            []ListenerTlsState    `json:"tls"`
}

type ListenerTls

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

type ListenerTlsAttributes

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

func (ListenerTlsAttributes) Certificate

func (ListenerTlsAttributes) InternalRef

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

func (ListenerTlsAttributes) InternalTokens

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

func (ListenerTlsAttributes) InternalWithRef

func (ListenerTlsAttributes) Mode

func (ListenerTlsAttributes) Validation

type ListenerTlsCertificate

type ListenerTlsCertificate struct {
	// CertificateAcm: optional
	Acm *CertificateAcm `hcl:"acm,block"`
	// ListenerTlsCertificateFile: optional
	File *ListenerTlsCertificateFile `hcl:"file,block"`
	// ListenerTlsCertificateSds: optional
	Sds *ListenerTlsCertificateSds `hcl:"sds,block"`
}

type ListenerTlsCertificateAttributes

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

func (ListenerTlsCertificateAttributes) Acm

func (ListenerTlsCertificateAttributes) File

func (ListenerTlsCertificateAttributes) InternalRef

func (ListenerTlsCertificateAttributes) InternalTokens

func (c ListenerTlsCertificateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ListenerTlsCertificateAttributes) InternalWithRef

func (ListenerTlsCertificateAttributes) Sds

type ListenerTlsCertificateFile

type ListenerTlsCertificateFile 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 ListenerTlsCertificateFileAttributes

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

func (ListenerTlsCertificateFileAttributes) CertificateChain

func (ListenerTlsCertificateFileAttributes) InternalRef

func (ListenerTlsCertificateFileAttributes) InternalTokens

func (ListenerTlsCertificateFileAttributes) InternalWithRef

func (ListenerTlsCertificateFileAttributes) PrivateKey

type ListenerTlsCertificateFileState

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

type ListenerTlsCertificateSds

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

type ListenerTlsCertificateSdsAttributes

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

func (ListenerTlsCertificateSdsAttributes) InternalRef

func (ListenerTlsCertificateSdsAttributes) InternalTokens

func (ListenerTlsCertificateSdsAttributes) InternalWithRef

func (ListenerTlsCertificateSdsAttributes) SecretName

type ListenerTlsCertificateSdsState

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

type ListenerTlsCertificateState

type ListenerTlsCertificateState struct {
	Acm  []CertificateAcmState             `json:"acm"`
	File []ListenerTlsCertificateFileState `json:"file"`
	Sds  []ListenerTlsCertificateSdsState  `json:"sds"`
}

type ListenerTlsState

type ListenerTlsState struct {
	Mode        string                        `json:"mode"`
	Certificate []ListenerTlsCertificateState `json:"certificate"`
	Validation  []ListenerTlsValidationState  `json:"validation"`
}

type ListenerTlsValidation

type ListenerTlsValidation struct {
	// ListenerTlsValidationSubjectAlternativeNames: optional
	SubjectAlternativeNames *ListenerTlsValidationSubjectAlternativeNames `hcl:"subject_alternative_names,block"`
	// ListenerTlsValidationTrust: required
	Trust *ListenerTlsValidationTrust `hcl:"trust,block" validate:"required"`
}

type ListenerTlsValidationAttributes

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

func (ListenerTlsValidationAttributes) InternalRef

func (ListenerTlsValidationAttributes) InternalTokens

func (v ListenerTlsValidationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ListenerTlsValidationAttributes) InternalWithRef

func (ListenerTlsValidationAttributes) Trust

type ListenerTlsValidationState

type ListenerTlsValidationState struct {
	SubjectAlternativeNames []ListenerTlsValidationSubjectAlternativeNamesState `json:"subject_alternative_names"`
	Trust                   []ListenerTlsValidationTrustState                   `json:"trust"`
}

type ListenerTlsValidationSubjectAlternativeNames

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

type ListenerTlsValidationSubjectAlternativeNamesAttributes

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

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalRef

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalTokens

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalWithRef

type ListenerTlsValidationSubjectAlternativeNamesMatch

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

type ListenerTlsValidationSubjectAlternativeNamesMatchAttributes

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

func (ListenerTlsValidationSubjectAlternativeNamesMatchAttributes) Exact

func (ListenerTlsValidationSubjectAlternativeNamesMatchAttributes) InternalRef

func (ListenerTlsValidationSubjectAlternativeNamesMatchAttributes) InternalTokens

func (ListenerTlsValidationSubjectAlternativeNamesMatchAttributes) InternalWithRef

type ListenerTlsValidationSubjectAlternativeNamesMatchState

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

type ListenerTlsValidationSubjectAlternativeNamesState

type ListenerTlsValidationSubjectAlternativeNamesState struct {
	Match []ListenerTlsValidationSubjectAlternativeNamesMatchState `json:"match"`
}

type ListenerTlsValidationTrust

type ListenerTlsValidationTrust struct {
	// ListenerTlsValidationTrustFile: optional
	File *ListenerTlsValidationTrustFile `hcl:"file,block"`
	// ListenerTlsValidationTrustSds: optional
	Sds *ListenerTlsValidationTrustSds `hcl:"sds,block"`
}

type ListenerTlsValidationTrustAttributes

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

func (ListenerTlsValidationTrustAttributes) File

func (ListenerTlsValidationTrustAttributes) InternalRef

func (ListenerTlsValidationTrustAttributes) InternalTokens

func (ListenerTlsValidationTrustAttributes) InternalWithRef

func (ListenerTlsValidationTrustAttributes) Sds

type ListenerTlsValidationTrustFile

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

type ListenerTlsValidationTrustFileAttributes

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

func (ListenerTlsValidationTrustFileAttributes) CertificateChain

func (ListenerTlsValidationTrustFileAttributes) InternalRef

func (ListenerTlsValidationTrustFileAttributes) InternalTokens

func (ListenerTlsValidationTrustFileAttributes) InternalWithRef

type ListenerTlsValidationTrustFileState

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

type ListenerTlsValidationTrustSds

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

type ListenerTlsValidationTrustSdsAttributes

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

func (ListenerTlsValidationTrustSdsAttributes) InternalRef

func (ListenerTlsValidationTrustSdsAttributes) InternalTokens

func (ListenerTlsValidationTrustSdsAttributes) InternalWithRef

func (ListenerTlsValidationTrustSdsAttributes) SecretName

type ListenerTlsValidationTrustSdsState

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

type ListenerTlsValidationTrustState

type ListenerTlsValidationTrustState struct {
	File []ListenerTlsValidationTrustFileState `json:"file"`
	Sds  []ListenerTlsValidationTrustSdsState  `json:"sds"`
}

type Logging

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

type LoggingAttributes

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

func (LoggingAttributes) AccessLog

func (LoggingAttributes) InternalRef

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

func (LoggingAttributes) InternalTokens

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

func (LoggingAttributes) InternalWithRef

func (l LoggingAttributes) InternalWithRef(ref terra.Reference) LoggingAttributes

type LoggingState

type LoggingState struct {
	AccessLog []AccessLogState `json:"access_log"`
}

type PortMapping

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

type PortMappingAttributes

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

func (PortMappingAttributes) InternalRef

func (pm PortMappingAttributes) InternalRef() (terra.Reference, error)

func (PortMappingAttributes) InternalTokens

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

func (PortMappingAttributes) InternalWithRef

func (PortMappingAttributes) Port

func (PortMappingAttributes) Protocol

func (pm PortMappingAttributes) Protocol() terra.StringValue

type PortMappingState

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

type Spec

type Spec struct {
	// BackendDefaults: optional
	BackendDefaults *BackendDefaults `hcl:"backend_defaults,block"`
	// Listener: min=1
	Listener []Listener `hcl:"listener,block" validate:"min=1"`
	// Logging: optional
	Logging *Logging `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 SpecState

type SpecState struct {
	BackendDefaults []BackendDefaultsState `json:"backend_defaults"`
	Listener        []ListenerState        `json:"listener"`
	Logging         []LoggingState         `json:"logging"`
}

type TrustAcm

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

type TrustAcmAttributes

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

func (TrustAcmAttributes) CertificateAuthorityArns

func (a TrustAcmAttributes) CertificateAuthorityArns() terra.SetValue[terra.StringValue]

func (TrustAcmAttributes) InternalRef

func (a TrustAcmAttributes) InternalRef() (terra.Reference, error)

func (TrustAcmAttributes) InternalTokens

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

func (TrustAcmAttributes) InternalWithRef

func (a TrustAcmAttributes) InternalWithRef(ref terra.Reference) TrustAcmAttributes

type TrustAcmState

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

Jump to

Keyboard shortcuts

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