dataappmeshvirtualgateway

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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: min=0
	File []AccessLogFile `hcl:"file,block" validate:"min=0"`
}

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 {
	// Format: min=0
	Format []Format `hcl:"format,block" validate:"min=0"`
}

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: min=0
	ClientPolicy []ClientPolicy `hcl:"client_policy,block" validate:"min=0"`
}

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{}

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: min=0
	Tls []ClientPolicyTls `hcl:"tls,block" validate:"min=0"`
}

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 {
	// ClientPolicyTlsCertificate: min=0
	Certificate []ClientPolicyTlsCertificate `hcl:"certificate,block" validate:"min=0"`
	// ClientPolicyTlsValidation: min=0
	Validation []ClientPolicyTlsValidation `hcl:"validation,block" validate:"min=0"`
}

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: min=0
	File []ClientPolicyTlsCertificateFile `hcl:"file,block" validate:"min=0"`
	// ClientPolicyTlsCertificateSds: min=0
	Sds []ClientPolicyTlsCertificateSds `hcl:"sds,block" validate:"min=0"`
}

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{}

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{}

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: min=0
	SubjectAlternativeNames []ClientPolicyTlsValidationSubjectAlternativeNames `hcl:"subject_alternative_names,block" validate:"min=0"`
	// ClientPolicyTlsValidationTrust: min=0
	Trust []ClientPolicyTlsValidationTrust `hcl:"trust,block" validate:"min=0"`
}

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: min=0
	Match []ClientPolicyTlsValidationSubjectAlternativeNamesMatch `hcl:"match,block" validate:"min=0"`
}

type ClientPolicyTlsValidationSubjectAlternativeNamesAttributes

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

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalRef

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalTokens

func (ClientPolicyTlsValidationSubjectAlternativeNamesAttributes) InternalWithRef

type ClientPolicyTlsValidationSubjectAlternativeNamesMatch

type ClientPolicyTlsValidationSubjectAlternativeNamesMatch struct{}

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: min=0
	Acm []TrustAcm `hcl:"acm,block" validate:"min=0"`
	// ClientPolicyTlsValidationTrustFile: min=0
	File []ClientPolicyTlsValidationTrustFile `hcl:"file,block" validate:"min=0"`
	// ClientPolicyTlsValidationTrustSds: min=0
	Sds []ClientPolicyTlsValidationTrustSds `hcl:"sds,block" validate:"min=0"`
}

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{}

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{}

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: min=0
	Grpc []Grpc `hcl:"grpc,block" validate:"min=0"`
	// Http: min=0
	Http []Http `hcl:"http,block" validate:"min=0"`
	// Http2: min=0
	Http2 []Http2 `hcl:"http2,block" validate:"min=0"`
}

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 {
	// 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{}

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{}

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{}

type Http2

type Http2 struct{}

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{}

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: min=0
	ConnectionPool []ConnectionPool `hcl:"connection_pool,block" validate:"min=0"`
	// HealthCheck: min=0
	HealthCheck []HealthCheck `hcl:"health_check,block" validate:"min=0"`
	// PortMapping: min=0
	PortMapping []PortMapping `hcl:"port_mapping,block" validate:"min=0"`
	// ListenerTls: min=0
	Tls []ListenerTls `hcl:"tls,block" validate:"min=0"`
}

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 {
	// ListenerTlsCertificate: min=0
	Certificate []ListenerTlsCertificate `hcl:"certificate,block" validate:"min=0"`
	// ListenerTlsValidation: min=0
	Validation []ListenerTlsValidation `hcl:"validation,block" validate:"min=0"`
}

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: min=0
	Acm []CertificateAcm `hcl:"acm,block" validate:"min=0"`
	// ListenerTlsCertificateFile: min=0
	File []ListenerTlsCertificateFile `hcl:"file,block" validate:"min=0"`
	// ListenerTlsCertificateSds: min=0
	Sds []ListenerTlsCertificateSds `hcl:"sds,block" validate:"min=0"`
}

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{}

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{}

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: min=0
	SubjectAlternativeNames []ListenerTlsValidationSubjectAlternativeNames `hcl:"subject_alternative_names,block" validate:"min=0"`
	// ListenerTlsValidationTrust: min=0
	Trust []ListenerTlsValidationTrust `hcl:"trust,block" validate:"min=0"`
}

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: min=0
	Match []ListenerTlsValidationSubjectAlternativeNamesMatch `hcl:"match,block" validate:"min=0"`
}

type ListenerTlsValidationSubjectAlternativeNamesAttributes

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

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalRef

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalTokens

func (ListenerTlsValidationSubjectAlternativeNamesAttributes) InternalWithRef

type ListenerTlsValidationSubjectAlternativeNamesMatch

type ListenerTlsValidationSubjectAlternativeNamesMatch struct{}

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: min=0
	File []ListenerTlsValidationTrustFile `hcl:"file,block" validate:"min=0"`
	// ListenerTlsValidationTrustSds: min=0
	Sds []ListenerTlsValidationTrustSds `hcl:"sds,block" validate:"min=0"`
}

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{}

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{}

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: min=0
	AccessLog []AccessLog `hcl:"access_log,block" validate:"min=0"`
}

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{}

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: min=0
	BackendDefaults []BackendDefaults `hcl:"backend_defaults,block" validate:"min=0"`
	// Listener: min=0
	Listener []Listener `hcl:"listener,block" validate:"min=0"`
	// Logging: min=0
	Logging []Logging `hcl:"logging,block" validate:"min=0"`
}

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{}

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