apprunnerservice

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 AuthenticationConfiguration

type AuthenticationConfiguration struct {
	// AccessRoleArn: string, optional
	AccessRoleArn terra.StringValue `hcl:"access_role_arn,attr"`
	// ConnectionArn: string, optional
	ConnectionArn terra.StringValue `hcl:"connection_arn,attr"`
}

type AuthenticationConfigurationAttributes

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

func (AuthenticationConfigurationAttributes) AccessRoleArn

func (AuthenticationConfigurationAttributes) ConnectionArn

func (AuthenticationConfigurationAttributes) InternalRef

func (AuthenticationConfigurationAttributes) InternalTokens

func (AuthenticationConfigurationAttributes) InternalWithRef

type AuthenticationConfigurationState

type AuthenticationConfigurationState struct {
	AccessRoleArn string `json:"access_role_arn"`
	ConnectionArn string `json:"connection_arn"`
}

type CodeConfiguration

type CodeConfiguration struct {
	// ConfigurationSource: string, required
	ConfigurationSource terra.StringValue `hcl:"configuration_source,attr" validate:"required"`
	// CodeConfigurationValues: optional
	CodeConfigurationValues *CodeConfigurationValues `hcl:"code_configuration_values,block"`
}

type CodeConfigurationAttributes

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

func (CodeConfigurationAttributes) CodeConfigurationValues

func (CodeConfigurationAttributes) ConfigurationSource

func (cc CodeConfigurationAttributes) ConfigurationSource() terra.StringValue

func (CodeConfigurationAttributes) InternalRef

func (cc CodeConfigurationAttributes) InternalRef() (terra.Reference, error)

func (CodeConfigurationAttributes) InternalTokens

func (cc CodeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeConfigurationAttributes) InternalWithRef

type CodeConfigurationState

type CodeConfigurationState struct {
	ConfigurationSource     string                         `json:"configuration_source"`
	CodeConfigurationValues []CodeConfigurationValuesState `json:"code_configuration_values"`
}

type CodeConfigurationValues

type CodeConfigurationValues struct {
	// BuildCommand: string, optional
	BuildCommand terra.StringValue `hcl:"build_command,attr"`
	// Port: string, optional
	Port terra.StringValue `hcl:"port,attr"`
	// Runtime: string, required
	Runtime terra.StringValue `hcl:"runtime,attr" validate:"required"`
	// RuntimeEnvironmentSecrets: map of string, optional
	RuntimeEnvironmentSecrets terra.MapValue[terra.StringValue] `hcl:"runtime_environment_secrets,attr"`
	// RuntimeEnvironmentVariables: map of string, optional
	RuntimeEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"runtime_environment_variables,attr"`
	// StartCommand: string, optional
	StartCommand terra.StringValue `hcl:"start_command,attr"`
}

type CodeConfigurationValuesAttributes

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

func (CodeConfigurationValuesAttributes) BuildCommand

func (CodeConfigurationValuesAttributes) InternalRef

func (CodeConfigurationValuesAttributes) InternalTokens

func (ccv CodeConfigurationValuesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeConfigurationValuesAttributes) InternalWithRef

func (CodeConfigurationValuesAttributes) Port

func (CodeConfigurationValuesAttributes) Runtime

func (CodeConfigurationValuesAttributes) RuntimeEnvironmentSecrets

func (ccv CodeConfigurationValuesAttributes) RuntimeEnvironmentSecrets() terra.MapValue[terra.StringValue]

func (CodeConfigurationValuesAttributes) RuntimeEnvironmentVariables

func (ccv CodeConfigurationValuesAttributes) RuntimeEnvironmentVariables() terra.MapValue[terra.StringValue]

func (CodeConfigurationValuesAttributes) StartCommand

type CodeConfigurationValuesState

type CodeConfigurationValuesState struct {
	BuildCommand                string            `json:"build_command"`
	Port                        string            `json:"port"`
	Runtime                     string            `json:"runtime"`
	RuntimeEnvironmentSecrets   map[string]string `json:"runtime_environment_secrets"`
	RuntimeEnvironmentVariables map[string]string `json:"runtime_environment_variables"`
	StartCommand                string            `json:"start_command"`
}

type CodeRepository

type CodeRepository struct {
	// RepositoryUrl: string, required
	RepositoryUrl terra.StringValue `hcl:"repository_url,attr" validate:"required"`
	// CodeConfiguration: optional
	CodeConfiguration *CodeConfiguration `hcl:"code_configuration,block"`
	// SourceCodeVersion: required
	SourceCodeVersion *SourceCodeVersion `hcl:"source_code_version,block" validate:"required"`
}

type CodeRepositoryAttributes

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

func (CodeRepositoryAttributes) CodeConfiguration

func (CodeRepositoryAttributes) InternalRef

func (cr CodeRepositoryAttributes) InternalRef() (terra.Reference, error)

func (CodeRepositoryAttributes) InternalTokens

func (cr CodeRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CodeRepositoryAttributes) InternalWithRef

func (CodeRepositoryAttributes) RepositoryUrl

func (cr CodeRepositoryAttributes) RepositoryUrl() terra.StringValue

func (CodeRepositoryAttributes) SourceCodeVersion

type CodeRepositoryState

type CodeRepositoryState struct {
	RepositoryUrl     string                   `json:"repository_url"`
	CodeConfiguration []CodeConfigurationState `json:"code_configuration"`
	SourceCodeVersion []SourceCodeVersionState `json:"source_code_version"`
}

type EgressConfiguration

type EgressConfiguration struct {
	// EgressType: string, optional
	EgressType terra.StringValue `hcl:"egress_type,attr"`
	// VpcConnectorArn: string, optional
	VpcConnectorArn terra.StringValue `hcl:"vpc_connector_arn,attr"`
}

type EgressConfigurationAttributes

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

func (EgressConfigurationAttributes) EgressType

func (EgressConfigurationAttributes) InternalRef

func (ec EgressConfigurationAttributes) InternalRef() (terra.Reference, error)

func (EgressConfigurationAttributes) InternalTokens

func (ec EgressConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EgressConfigurationAttributes) InternalWithRef

func (EgressConfigurationAttributes) VpcConnectorArn

func (ec EgressConfigurationAttributes) VpcConnectorArn() terra.StringValue

type EgressConfigurationState

type EgressConfigurationState struct {
	EgressType      string `json:"egress_type"`
	VpcConnectorArn string `json:"vpc_connector_arn"`
}

type EncryptionConfiguration

type EncryptionConfiguration struct {
	// KmsKey: string, required
	KmsKey terra.StringValue `hcl:"kms_key,attr" validate:"required"`
}

type EncryptionConfigurationAttributes

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

func (EncryptionConfigurationAttributes) InternalRef

func (EncryptionConfigurationAttributes) InternalTokens

func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigurationAttributes) InternalWithRef

func (EncryptionConfigurationAttributes) KmsKey

type EncryptionConfigurationState

type EncryptionConfigurationState struct {
	KmsKey string `json:"kms_key"`
}

type HealthCheckConfiguration

type HealthCheckConfiguration struct {
	// HealthyThreshold: number, optional
	HealthyThreshold terra.NumberValue `hcl:"healthy_threshold,attr"`
	// Interval: number, optional
	Interval terra.NumberValue `hcl:"interval,attr"`
	// Path: string, optional
	Path terra.StringValue `hcl:"path,attr"`
	// Protocol: string, optional
	Protocol terra.StringValue `hcl:"protocol,attr"`
	// Timeout: number, optional
	Timeout terra.NumberValue `hcl:"timeout,attr"`
	// UnhealthyThreshold: number, optional
	UnhealthyThreshold terra.NumberValue `hcl:"unhealthy_threshold,attr"`
}

type HealthCheckConfigurationAttributes

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

func (HealthCheckConfigurationAttributes) HealthyThreshold

func (hcc HealthCheckConfigurationAttributes) HealthyThreshold() terra.NumberValue

func (HealthCheckConfigurationAttributes) InternalRef

func (HealthCheckConfigurationAttributes) InternalTokens

func (hcc HealthCheckConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HealthCheckConfigurationAttributes) InternalWithRef

func (HealthCheckConfigurationAttributes) Interval

func (HealthCheckConfigurationAttributes) Path

func (HealthCheckConfigurationAttributes) Protocol

func (HealthCheckConfigurationAttributes) Timeout

func (HealthCheckConfigurationAttributes) UnhealthyThreshold

func (hcc HealthCheckConfigurationAttributes) UnhealthyThreshold() terra.NumberValue

type HealthCheckConfigurationState

type HealthCheckConfigurationState struct {
	HealthyThreshold   float64 `json:"healthy_threshold"`
	Interval           float64 `json:"interval"`
	Path               string  `json:"path"`
	Protocol           string  `json:"protocol"`
	Timeout            float64 `json:"timeout"`
	UnhealthyThreshold float64 `json:"unhealthy_threshold"`
}

type ImageConfiguration

type ImageConfiguration struct {
	// Port: string, optional
	Port terra.StringValue `hcl:"port,attr"`
	// RuntimeEnvironmentSecrets: map of string, optional
	RuntimeEnvironmentSecrets terra.MapValue[terra.StringValue] `hcl:"runtime_environment_secrets,attr"`
	// RuntimeEnvironmentVariables: map of string, optional
	RuntimeEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"runtime_environment_variables,attr"`
	// StartCommand: string, optional
	StartCommand terra.StringValue `hcl:"start_command,attr"`
}

type ImageConfigurationAttributes

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

func (ImageConfigurationAttributes) InternalRef

func (ic ImageConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ImageConfigurationAttributes) InternalTokens

func (ic ImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImageConfigurationAttributes) InternalWithRef

func (ImageConfigurationAttributes) Port

func (ImageConfigurationAttributes) RuntimeEnvironmentSecrets

func (ic ImageConfigurationAttributes) RuntimeEnvironmentSecrets() terra.MapValue[terra.StringValue]

func (ImageConfigurationAttributes) RuntimeEnvironmentVariables

func (ic ImageConfigurationAttributes) RuntimeEnvironmentVariables() terra.MapValue[terra.StringValue]

func (ImageConfigurationAttributes) StartCommand

type ImageConfigurationState

type ImageConfigurationState struct {
	Port                        string            `json:"port"`
	RuntimeEnvironmentSecrets   map[string]string `json:"runtime_environment_secrets"`
	RuntimeEnvironmentVariables map[string]string `json:"runtime_environment_variables"`
	StartCommand                string            `json:"start_command"`
}

type ImageRepository

type ImageRepository struct {
	// ImageIdentifier: string, required
	ImageIdentifier terra.StringValue `hcl:"image_identifier,attr" validate:"required"`
	// ImageRepositoryType: string, required
	ImageRepositoryType terra.StringValue `hcl:"image_repository_type,attr" validate:"required"`
	// ImageConfiguration: optional
	ImageConfiguration *ImageConfiguration `hcl:"image_configuration,block"`
}

type ImageRepositoryAttributes

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

func (ImageRepositoryAttributes) ImageConfiguration

func (ImageRepositoryAttributes) ImageIdentifier

func (ir ImageRepositoryAttributes) ImageIdentifier() terra.StringValue

func (ImageRepositoryAttributes) ImageRepositoryType

func (ir ImageRepositoryAttributes) ImageRepositoryType() terra.StringValue

func (ImageRepositoryAttributes) InternalRef

func (ir ImageRepositoryAttributes) InternalRef() (terra.Reference, error)

func (ImageRepositoryAttributes) InternalTokens

func (ir ImageRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ImageRepositoryAttributes) InternalWithRef

type ImageRepositoryState

type ImageRepositoryState struct {
	ImageIdentifier     string                    `json:"image_identifier"`
	ImageRepositoryType string                    `json:"image_repository_type"`
	ImageConfiguration  []ImageConfigurationState `json:"image_configuration"`
}

type IngressConfiguration

type IngressConfiguration struct {
	// IsPubliclyAccessible: bool, optional
	IsPubliclyAccessible terra.BoolValue `hcl:"is_publicly_accessible,attr"`
}

type IngressConfigurationAttributes

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

func (IngressConfigurationAttributes) InternalRef

func (IngressConfigurationAttributes) InternalTokens

func (ic IngressConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IngressConfigurationAttributes) InternalWithRef

func (IngressConfigurationAttributes) IsPubliclyAccessible

func (ic IngressConfigurationAttributes) IsPubliclyAccessible() terra.BoolValue

type IngressConfigurationState

type IngressConfigurationState struct {
	IsPubliclyAccessible bool `json:"is_publicly_accessible"`
}

type InstanceConfiguration

type InstanceConfiguration struct {
	// Cpu: string, optional
	Cpu terra.StringValue `hcl:"cpu,attr"`
	// InstanceRoleArn: string, optional
	InstanceRoleArn terra.StringValue `hcl:"instance_role_arn,attr"`
	// Memory: string, optional
	Memory terra.StringValue `hcl:"memory,attr"`
}

type InstanceConfigurationAttributes

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

func (InstanceConfigurationAttributes) Cpu

func (InstanceConfigurationAttributes) InstanceRoleArn

func (ic InstanceConfigurationAttributes) InstanceRoleArn() terra.StringValue

func (InstanceConfigurationAttributes) InternalRef

func (InstanceConfigurationAttributes) InternalTokens

func (ic InstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InstanceConfigurationAttributes) InternalWithRef

func (InstanceConfigurationAttributes) Memory

type InstanceConfigurationState

type InstanceConfigurationState struct {
	Cpu             string `json:"cpu"`
	InstanceRoleArn string `json:"instance_role_arn"`
	Memory          string `json:"memory"`
}

type NetworkConfiguration

type NetworkConfiguration struct {
	// EgressConfiguration: optional
	EgressConfiguration *EgressConfiguration `hcl:"egress_configuration,block"`
	// IngressConfiguration: optional
	IngressConfiguration *IngressConfiguration `hcl:"ingress_configuration,block"`
}

type NetworkConfigurationAttributes

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

func (NetworkConfigurationAttributes) EgressConfiguration

func (NetworkConfigurationAttributes) IngressConfiguration

func (NetworkConfigurationAttributes) InternalRef

func (NetworkConfigurationAttributes) InternalTokens

func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigurationAttributes) InternalWithRef

type NetworkConfigurationState

type NetworkConfigurationState struct {
	EgressConfiguration  []EgressConfigurationState  `json:"egress_configuration"`
	IngressConfiguration []IngressConfigurationState `json:"ingress_configuration"`
}

type ObservabilityConfiguration

type ObservabilityConfiguration struct {
	// ObservabilityConfigurationArn: string, optional
	ObservabilityConfigurationArn terra.StringValue `hcl:"observability_configuration_arn,attr"`
	// ObservabilityEnabled: bool, required
	ObservabilityEnabled terra.BoolValue `hcl:"observability_enabled,attr" validate:"required"`
}

type ObservabilityConfigurationAttributes

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

func (ObservabilityConfigurationAttributes) InternalRef

func (ObservabilityConfigurationAttributes) InternalTokens

func (ObservabilityConfigurationAttributes) InternalWithRef

func (ObservabilityConfigurationAttributes) ObservabilityConfigurationArn

func (oc ObservabilityConfigurationAttributes) ObservabilityConfigurationArn() terra.StringValue

func (ObservabilityConfigurationAttributes) ObservabilityEnabled

func (oc ObservabilityConfigurationAttributes) ObservabilityEnabled() terra.BoolValue

type ObservabilityConfigurationState

type ObservabilityConfigurationState struct {
	ObservabilityConfigurationArn string `json:"observability_configuration_arn"`
	ObservabilityEnabled          bool   `json:"observability_enabled"`
}

type SourceCodeVersion

type SourceCodeVersion struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type SourceCodeVersionAttributes

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

func (SourceCodeVersionAttributes) InternalRef

func (scv SourceCodeVersionAttributes) InternalRef() (terra.Reference, error)

func (SourceCodeVersionAttributes) InternalTokens

func (scv SourceCodeVersionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceCodeVersionAttributes) InternalWithRef

func (SourceCodeVersionAttributes) Type

func (SourceCodeVersionAttributes) Value

type SourceCodeVersionState

type SourceCodeVersionState struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

type SourceConfiguration

type SourceConfiguration struct {
	// AutoDeploymentsEnabled: bool, optional
	AutoDeploymentsEnabled terra.BoolValue `hcl:"auto_deployments_enabled,attr"`
	// AuthenticationConfiguration: optional
	AuthenticationConfiguration *AuthenticationConfiguration `hcl:"authentication_configuration,block"`
	// CodeRepository: optional
	CodeRepository *CodeRepository `hcl:"code_repository,block"`
	// ImageRepository: optional
	ImageRepository *ImageRepository `hcl:"image_repository,block"`
}

type SourceConfigurationAttributes

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

func (SourceConfigurationAttributes) AuthenticationConfiguration

func (SourceConfigurationAttributes) AutoDeploymentsEnabled

func (sc SourceConfigurationAttributes) AutoDeploymentsEnabled() terra.BoolValue

func (SourceConfigurationAttributes) CodeRepository

func (SourceConfigurationAttributes) ImageRepository

func (SourceConfigurationAttributes) InternalRef

func (sc SourceConfigurationAttributes) InternalRef() (terra.Reference, error)

func (SourceConfigurationAttributes) InternalTokens

func (sc SourceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceConfigurationAttributes) InternalWithRef

type SourceConfigurationState

type SourceConfigurationState struct {
	AutoDeploymentsEnabled      bool                               `json:"auto_deployments_enabled"`
	AuthenticationConfiguration []AuthenticationConfigurationState `json:"authentication_configuration"`
	CodeRepository              []CodeRepositoryState              `json:"code_repository"`
	ImageRepository             []ImageRepositoryState             `json:"image_repository"`
}

Jump to

Keyboard shortcuts

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