Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + AutoScalingConfigurationArn terra.StringValue + EncryptionConfiguration *EncryptionConfiguration + HealthCheckConfiguration *HealthCheckConfiguration + Id terra.StringValue + InstanceConfiguration *InstanceConfiguration + NetworkConfiguration *NetworkConfiguration + ObservabilityConfiguration *ObservabilityConfiguration + ServiceName terra.StringValue + SourceConfiguration *SourceConfiguration + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + type EncryptionConfiguration struct + KmsKey terra.StringValue + type EncryptionConfigurationAttributes struct + func (ec EncryptionConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ec EncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigurationAttributes + func (ec EncryptionConfigurationAttributes) KmsKey() terra.StringValue + type EncryptionConfigurationState struct + KmsKey string + type HealthCheckConfiguration struct + HealthyThreshold terra.NumberValue + Interval terra.NumberValue + Path terra.StringValue + Protocol terra.StringValue + Timeout terra.NumberValue + UnhealthyThreshold terra.NumberValue + type HealthCheckConfigurationAttributes struct + func (hcc HealthCheckConfigurationAttributes) HealthyThreshold() terra.NumberValue + func (hcc HealthCheckConfigurationAttributes) InternalRef() (terra.Reference, error) + func (hcc HealthCheckConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (hcc HealthCheckConfigurationAttributes) InternalWithRef(ref terra.Reference) HealthCheckConfigurationAttributes + func (hcc HealthCheckConfigurationAttributes) Interval() terra.NumberValue + func (hcc HealthCheckConfigurationAttributes) Path() terra.StringValue + func (hcc HealthCheckConfigurationAttributes) Protocol() terra.StringValue + func (hcc HealthCheckConfigurationAttributes) Timeout() terra.NumberValue + func (hcc HealthCheckConfigurationAttributes) UnhealthyThreshold() terra.NumberValue + type HealthCheckConfigurationState struct + HealthyThreshold float64 + Interval float64 + Path string + Protocol string + Timeout float64 + UnhealthyThreshold float64 + type InstanceConfiguration struct + Cpu terra.StringValue + InstanceRoleArn terra.StringValue + Memory terra.StringValue + type InstanceConfigurationAttributes struct + func (ic InstanceConfigurationAttributes) Cpu() terra.StringValue + func (ic InstanceConfigurationAttributes) InstanceRoleArn() terra.StringValue + func (ic InstanceConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ic InstanceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ic InstanceConfigurationAttributes) InternalWithRef(ref terra.Reference) InstanceConfigurationAttributes + func (ic InstanceConfigurationAttributes) Memory() terra.StringValue + type InstanceConfigurationState struct + Cpu string + InstanceRoleArn string + Memory string + type NetworkConfiguration struct + EgressConfiguration *NetworkConfigurationEgressConfiguration + IngressConfiguration *NetworkConfigurationIngressConfiguration + type NetworkConfigurationAttributes struct + func (nc NetworkConfigurationAttributes) EgressConfiguration() terra.ListValue[NetworkConfigurationEgressConfigurationAttributes] + func (nc NetworkConfigurationAttributes) IngressConfiguration() terra.ListValue[NetworkConfigurationIngressConfigurationAttributes] + func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error) + func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes + type NetworkConfigurationEgressConfiguration struct + EgressType terra.StringValue + VpcConnectorArn terra.StringValue + type NetworkConfigurationEgressConfigurationAttributes struct + func (ec NetworkConfigurationEgressConfigurationAttributes) EgressType() terra.StringValue + func (ec NetworkConfigurationEgressConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ec NetworkConfigurationEgressConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ec NetworkConfigurationEgressConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationEgressConfigurationAttributes + func (ec NetworkConfigurationEgressConfigurationAttributes) VpcConnectorArn() terra.StringValue + type NetworkConfigurationEgressConfigurationState struct + EgressType string + VpcConnectorArn string + type NetworkConfigurationIngressConfiguration struct + IsPubliclyAccessible terra.BoolValue + type NetworkConfigurationIngressConfigurationAttributes struct + func (ic NetworkConfigurationIngressConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ic NetworkConfigurationIngressConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ic NetworkConfigurationIngressConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationIngressConfigurationAttributes + func (ic NetworkConfigurationIngressConfigurationAttributes) IsPubliclyAccessible() terra.BoolValue + type NetworkConfigurationIngressConfigurationState struct + IsPubliclyAccessible bool + type NetworkConfigurationState struct + EgressConfiguration []NetworkConfigurationEgressConfigurationState + IngressConfiguration []NetworkConfigurationIngressConfigurationState + type ObservabilityConfiguration struct + ObservabilityConfigurationArn terra.StringValue + ObservabilityEnabled terra.BoolValue + type ObservabilityConfigurationAttributes struct + func (oc ObservabilityConfigurationAttributes) InternalRef() (terra.Reference, error) + func (oc ObservabilityConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (oc ObservabilityConfigurationAttributes) InternalWithRef(ref terra.Reference) ObservabilityConfigurationAttributes + func (oc ObservabilityConfigurationAttributes) ObservabilityConfigurationArn() terra.StringValue + func (oc ObservabilityConfigurationAttributes) ObservabilityEnabled() terra.BoolValue + type ObservabilityConfigurationState struct + ObservabilityConfigurationArn string + ObservabilityEnabled bool + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (aas *Resource) Attributes() awsApprunnerServiceAttributes + func (aas *Resource) Configuration() interface{} + func (aas *Resource) DependOn() terra.Reference + func (aas *Resource) Dependencies() terra.Dependencies + func (aas *Resource) ImportState(state io.Reader) error + func (aas *Resource) LifecycleManagement() *terra.Lifecycle + func (aas *Resource) LocalName() string + func (aas *Resource) State() (*awsApprunnerServiceState, bool) + func (aas *Resource) StateMust() *awsApprunnerServiceState + func (aas *Resource) Type() string + type SourceConfiguration struct + AuthenticationConfiguration *SourceConfigurationAuthenticationConfiguration + AutoDeploymentsEnabled terra.BoolValue + CodeRepository *SourceConfigurationCodeRepository + ImageRepository *SourceConfigurationImageRepository + type SourceConfigurationAttributes struct + func (sc SourceConfigurationAttributes) AuthenticationConfiguration() terra.ListValue[SourceConfigurationAuthenticationConfigurationAttributes] + func (sc SourceConfigurationAttributes) AutoDeploymentsEnabled() terra.BoolValue + func (sc SourceConfigurationAttributes) CodeRepository() terra.ListValue[SourceConfigurationCodeRepositoryAttributes] + func (sc SourceConfigurationAttributes) ImageRepository() terra.ListValue[SourceConfigurationImageRepositoryAttributes] + func (sc SourceConfigurationAttributes) InternalRef() (terra.Reference, error) + func (sc SourceConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (sc SourceConfigurationAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationAttributes + type SourceConfigurationAuthenticationConfiguration struct + AccessRoleArn terra.StringValue + ConnectionArn terra.StringValue + type SourceConfigurationAuthenticationConfigurationAttributes struct + func (ac SourceConfigurationAuthenticationConfigurationAttributes) AccessRoleArn() terra.StringValue + func (ac SourceConfigurationAuthenticationConfigurationAttributes) ConnectionArn() terra.StringValue + func (ac SourceConfigurationAuthenticationConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ac SourceConfigurationAuthenticationConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ac SourceConfigurationAuthenticationConfigurationAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationAuthenticationConfigurationAttributes + type SourceConfigurationAuthenticationConfigurationState struct + AccessRoleArn string + ConnectionArn string + type SourceConfigurationCodeRepository struct + CodeConfiguration *SourceConfigurationCodeRepositoryCodeConfiguration + RepositoryUrl terra.StringValue + SourceCodeVersion *SourceConfigurationCodeRepositorySourceCodeVersion + type SourceConfigurationCodeRepositoryAttributes struct + func (cr SourceConfigurationCodeRepositoryAttributes) CodeConfiguration() terra.ListValue[SourceConfigurationCodeRepositoryCodeConfigurationAttributes] + func (cr SourceConfigurationCodeRepositoryAttributes) InternalRef() (terra.Reference, error) + func (cr SourceConfigurationCodeRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cr SourceConfigurationCodeRepositoryAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationCodeRepositoryAttributes + func (cr SourceConfigurationCodeRepositoryAttributes) RepositoryUrl() terra.StringValue + func (cr SourceConfigurationCodeRepositoryAttributes) SourceCodeVersion() terra.ListValue[SourceConfigurationCodeRepositorySourceCodeVersionAttributes] + type SourceConfigurationCodeRepositoryCodeConfiguration struct + CodeConfigurationValues *SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValues + ConfigurationSource terra.StringValue + type SourceConfigurationCodeRepositoryCodeConfigurationAttributes struct + func (cc SourceConfigurationCodeRepositoryCodeConfigurationAttributes) CodeConfigurationValues() ... + func (cc SourceConfigurationCodeRepositoryCodeConfigurationAttributes) ConfigurationSource() terra.StringValue + func (cc SourceConfigurationCodeRepositoryCodeConfigurationAttributes) InternalRef() (terra.Reference, error) + func (cc SourceConfigurationCodeRepositoryCodeConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cc SourceConfigurationCodeRepositoryCodeConfigurationAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationCodeRepositoryCodeConfigurationAttributes + type SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValues struct + BuildCommand terra.StringValue + Port terra.StringValue + Runtime terra.StringValue + RuntimeEnvironmentVariables terra.MapValue[terra.StringValue] + StartCommand terra.StringValue + type SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes struct + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) BuildCommand() terra.StringValue + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) InternalRef() (terra.Reference, error) + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) InternalWithRef(ref terra.Reference) ... + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) Port() terra.StringValue + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) Runtime() terra.StringValue + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) RuntimeEnvironmentVariables() terra.MapValue[terra.StringValue] + func (ccv SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesAttributes) StartCommand() terra.StringValue + type SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesState struct + BuildCommand string + Port string + Runtime string + RuntimeEnvironmentVariables map[string]string + StartCommand string + type SourceConfigurationCodeRepositoryCodeConfigurationState struct + CodeConfigurationValues []SourceConfigurationCodeRepositoryCodeConfigurationCodeConfigurationValuesState + ConfigurationSource string + type SourceConfigurationCodeRepositorySourceCodeVersion struct + Type terra.StringValue + Value terra.StringValue + type SourceConfigurationCodeRepositorySourceCodeVersionAttributes struct + func (scv SourceConfigurationCodeRepositorySourceCodeVersionAttributes) InternalRef() (terra.Reference, error) + func (scv SourceConfigurationCodeRepositorySourceCodeVersionAttributes) InternalTokens() (hclwrite.Tokens, error) + func (scv SourceConfigurationCodeRepositorySourceCodeVersionAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationCodeRepositorySourceCodeVersionAttributes + func (scv SourceConfigurationCodeRepositorySourceCodeVersionAttributes) Type() terra.StringValue + func (scv SourceConfigurationCodeRepositorySourceCodeVersionAttributes) Value() terra.StringValue + type SourceConfigurationCodeRepositorySourceCodeVersionState struct + Type string + Value string + type SourceConfigurationCodeRepositoryState struct + CodeConfiguration []SourceConfigurationCodeRepositoryCodeConfigurationState + RepositoryUrl string + SourceCodeVersion []SourceConfigurationCodeRepositorySourceCodeVersionState + type SourceConfigurationImageRepository struct + ImageConfiguration *SourceConfigurationImageRepositoryImageConfiguration + ImageIdentifier terra.StringValue + ImageRepositoryType terra.StringValue + type SourceConfigurationImageRepositoryAttributes struct + func (ir SourceConfigurationImageRepositoryAttributes) ImageConfiguration() ... + func (ir SourceConfigurationImageRepositoryAttributes) ImageIdentifier() terra.StringValue + func (ir SourceConfigurationImageRepositoryAttributes) ImageRepositoryType() terra.StringValue + func (ir SourceConfigurationImageRepositoryAttributes) InternalRef() (terra.Reference, error) + func (ir SourceConfigurationImageRepositoryAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ir SourceConfigurationImageRepositoryAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationImageRepositoryAttributes + type SourceConfigurationImageRepositoryImageConfiguration struct + Port terra.StringValue + RuntimeEnvironmentVariables terra.MapValue[terra.StringValue] + StartCommand terra.StringValue + type SourceConfigurationImageRepositoryImageConfigurationAttributes struct + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) InternalRef() (terra.Reference, error) + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) InternalWithRef(ref terra.Reference) SourceConfigurationImageRepositoryImageConfigurationAttributes + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) Port() terra.StringValue + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) RuntimeEnvironmentVariables() terra.MapValue[terra.StringValue] + func (ic SourceConfigurationImageRepositoryImageConfigurationAttributes) StartCommand() terra.StringValue + type SourceConfigurationImageRepositoryImageConfigurationState struct + Port string + RuntimeEnvironmentVariables map[string]string + StartCommand string + type SourceConfigurationImageRepositoryState struct + ImageConfiguration []SourceConfigurationImageRepositoryImageConfigurationState + ImageIdentifier string + ImageRepositoryType string + type SourceConfigurationState struct + AuthenticationConfiguration []SourceConfigurationAuthenticationConfigurationState + AutoDeploymentsEnabled bool + CodeRepository []SourceConfigurationCodeRepositoryState + ImageRepository []SourceConfigurationImageRepositoryState