Documentation ¶
Index ¶
- type Alarms
- type AlarmsAttributes
- func (a AlarmsAttributes) AlarmNames() terra.SetValue[terra.StringValue]
- func (a AlarmsAttributes) Enable() terra.BoolValue
- func (a AlarmsAttributes) InternalRef() (terra.Reference, error)
- func (a AlarmsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AlarmsAttributes) InternalWithRef(ref terra.Reference) AlarmsAttributes
- func (a AlarmsAttributes) Rollback() terra.BoolValue
- type AlarmsState
- type CapacityProviderStrategy
- type CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
- func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
- func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
- func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
- func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
- type CapacityProviderStrategyState
- type ClientAlias
- type ClientAliasAttributes
- func (ca ClientAliasAttributes) DnsName() terra.StringValue
- func (ca ClientAliasAttributes) InternalRef() (terra.Reference, error)
- func (ca ClientAliasAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca ClientAliasAttributes) InternalWithRef(ref terra.Reference) ClientAliasAttributes
- func (ca ClientAliasAttributes) Port() terra.NumberValue
- type ClientAliasState
- type DeploymentCircuitBreaker
- type DeploymentCircuitBreakerAttributes
- func (dcb DeploymentCircuitBreakerAttributes) Enable() terra.BoolValue
- func (dcb DeploymentCircuitBreakerAttributes) InternalRef() (terra.Reference, error)
- func (dcb DeploymentCircuitBreakerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcb DeploymentCircuitBreakerAttributes) InternalWithRef(ref terra.Reference) DeploymentCircuitBreakerAttributes
- func (dcb DeploymentCircuitBreakerAttributes) Rollback() terra.BoolValue
- type DeploymentCircuitBreakerState
- type DeploymentController
- type DeploymentControllerAttributes
- func (dc DeploymentControllerAttributes) InternalRef() (terra.Reference, error)
- func (dc DeploymentControllerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DeploymentControllerAttributes) InternalWithRef(ref terra.Reference) DeploymentControllerAttributes
- func (dc DeploymentControllerAttributes) Type() terra.StringValue
- type DeploymentControllerState
- type LoadBalancer
- type LoadBalancerAttributes
- func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
- func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
- func (lb LoadBalancerAttributes) ElbName() terra.StringValue
- func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
- func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
- func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
- type LoadBalancerState
- type LogConfiguration
- type LogConfigurationAttributes
- func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LogConfigurationAttributes) InternalWithRef(ref terra.Reference) LogConfigurationAttributes
- func (lc LogConfigurationAttributes) LogDriver() terra.StringValue
- func (lc LogConfigurationAttributes) Options() terra.MapValue[terra.StringValue]
- func (lc LogConfigurationAttributes) SecretOption() terra.ListValue[SecretOptionAttributes]
- type LogConfigurationState
- type NetworkConfiguration
- type NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
- func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
- func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
- func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
- type NetworkConfigurationState
- type OrderedPlacementStrategy
- type OrderedPlacementStrategyAttributes
- func (ops OrderedPlacementStrategyAttributes) Field() terra.StringValue
- func (ops OrderedPlacementStrategyAttributes) InternalRef() (terra.Reference, error)
- func (ops OrderedPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ops OrderedPlacementStrategyAttributes) InternalWithRef(ref terra.Reference) OrderedPlacementStrategyAttributes
- func (ops OrderedPlacementStrategyAttributes) Type() terra.StringValue
- type OrderedPlacementStrategyState
- type PlacementConstraints
- type PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Expression() terra.StringValue
- func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
- func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
- func (pc PlacementConstraintsAttributes) Type() terra.StringValue
- type PlacementConstraintsState
- type SecretOption
- type SecretOptionAttributes
- func (so SecretOptionAttributes) InternalRef() (terra.Reference, error)
- func (so SecretOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (so SecretOptionAttributes) InternalWithRef(ref terra.Reference) SecretOptionAttributes
- func (so SecretOptionAttributes) Name() terra.StringValue
- func (so SecretOptionAttributes) ValueFrom() terra.StringValue
- type SecretOptionState
- type Service
- type ServiceAttributes
- func (s ServiceAttributes) ClientAlias() terra.ListValue[ClientAliasAttributes]
- func (s ServiceAttributes) DiscoveryName() terra.StringValue
- func (s ServiceAttributes) IngressPortOverride() terra.NumberValue
- func (s ServiceAttributes) InternalRef() (terra.Reference, error)
- func (s ServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ServiceAttributes) InternalWithRef(ref terra.Reference) ServiceAttributes
- func (s ServiceAttributes) PortName() terra.StringValue
- type ServiceConnectConfiguration
- type ServiceConnectConfigurationAttributes
- func (scc ServiceConnectConfigurationAttributes) Enabled() terra.BoolValue
- func (scc ServiceConnectConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (scc ServiceConnectConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scc ServiceConnectConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationAttributes
- func (scc ServiceConnectConfigurationAttributes) LogConfiguration() terra.ListValue[LogConfigurationAttributes]
- func (scc ServiceConnectConfigurationAttributes) Namespace() terra.StringValue
- func (scc ServiceConnectConfigurationAttributes) Service() terra.ListValue[ServiceAttributes]
- type ServiceConnectConfigurationState
- type ServiceRegistries
- type ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
- func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
- func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
- func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
- func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
- func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
- type ServiceRegistriesState
- type ServiceState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarms ¶
type Alarms struct { // AlarmNames: set of string, required AlarmNames terra.SetValue[terra.StringValue] `hcl:"alarm_names,attr" validate:"required"` // Enable: bool, required Enable terra.BoolValue `hcl:"enable,attr" validate:"required"` // Rollback: bool, required Rollback terra.BoolValue `hcl:"rollback,attr" validate:"required"` }
type AlarmsAttributes ¶
type AlarmsAttributes struct {
// contains filtered or unexported fields
}
func (AlarmsAttributes) AlarmNames ¶
func (a AlarmsAttributes) AlarmNames() terra.SetValue[terra.StringValue]
func (AlarmsAttributes) Enable ¶
func (a AlarmsAttributes) Enable() terra.BoolValue
func (AlarmsAttributes) InternalRef ¶
func (a AlarmsAttributes) InternalRef() (terra.Reference, error)
func (AlarmsAttributes) InternalTokens ¶
func (a AlarmsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AlarmsAttributes) InternalWithRef ¶
func (a AlarmsAttributes) InternalWithRef(ref terra.Reference) AlarmsAttributes
func (AlarmsAttributes) Rollback ¶
func (a AlarmsAttributes) Rollback() terra.BoolValue
type AlarmsState ¶
type CapacityProviderStrategy ¶
type CapacityProviderStrategy struct { // Base: number, optional Base terra.NumberValue `hcl:"base,attr"` // CapacityProvider: string, required CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"` // Weight: number, optional Weight terra.NumberValue `hcl:"weight,attr"` }
type CapacityProviderStrategyAttributes ¶
type CapacityProviderStrategyAttributes struct {
// contains filtered or unexported fields
}
func (CapacityProviderStrategyAttributes) Base ¶
func (cps CapacityProviderStrategyAttributes) Base() terra.NumberValue
func (CapacityProviderStrategyAttributes) CapacityProvider ¶
func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue
func (CapacityProviderStrategyAttributes) InternalRef ¶
func (cps CapacityProviderStrategyAttributes) InternalRef() (terra.Reference, error)
func (CapacityProviderStrategyAttributes) InternalTokens ¶
func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CapacityProviderStrategyAttributes) InternalWithRef ¶
func (cps CapacityProviderStrategyAttributes) InternalWithRef(ref terra.Reference) CapacityProviderStrategyAttributes
func (CapacityProviderStrategyAttributes) Weight ¶
func (cps CapacityProviderStrategyAttributes) Weight() terra.NumberValue
type ClientAlias ¶
type ClientAlias struct { // DnsName: string, optional DnsName terra.StringValue `hcl:"dns_name,attr"` // Port: number, required Port terra.NumberValue `hcl:"port,attr" validate:"required"` }
type ClientAliasAttributes ¶
type ClientAliasAttributes struct {
// contains filtered or unexported fields
}
func (ClientAliasAttributes) DnsName ¶
func (ca ClientAliasAttributes) DnsName() terra.StringValue
func (ClientAliasAttributes) InternalRef ¶
func (ca ClientAliasAttributes) InternalRef() (terra.Reference, error)
func (ClientAliasAttributes) InternalTokens ¶
func (ca ClientAliasAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientAliasAttributes) InternalWithRef ¶
func (ca ClientAliasAttributes) InternalWithRef(ref terra.Reference) ClientAliasAttributes
func (ClientAliasAttributes) Port ¶
func (ca ClientAliasAttributes) Port() terra.NumberValue
type ClientAliasState ¶
type DeploymentCircuitBreakerAttributes ¶
type DeploymentCircuitBreakerAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentCircuitBreakerAttributes) Enable ¶
func (dcb DeploymentCircuitBreakerAttributes) Enable() terra.BoolValue
func (DeploymentCircuitBreakerAttributes) InternalRef ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalRef() (terra.Reference, error)
func (DeploymentCircuitBreakerAttributes) InternalTokens ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentCircuitBreakerAttributes) InternalWithRef ¶
func (dcb DeploymentCircuitBreakerAttributes) InternalWithRef(ref terra.Reference) DeploymentCircuitBreakerAttributes
func (DeploymentCircuitBreakerAttributes) Rollback ¶
func (dcb DeploymentCircuitBreakerAttributes) Rollback() terra.BoolValue
type DeploymentController ¶
type DeploymentController struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` }
type DeploymentControllerAttributes ¶
type DeploymentControllerAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentControllerAttributes) InternalRef ¶
func (dc DeploymentControllerAttributes) InternalRef() (terra.Reference, error)
func (DeploymentControllerAttributes) InternalTokens ¶
func (dc DeploymentControllerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentControllerAttributes) InternalWithRef ¶
func (dc DeploymentControllerAttributes) InternalWithRef(ref terra.Reference) DeploymentControllerAttributes
func (DeploymentControllerAttributes) Type ¶
func (dc DeploymentControllerAttributes) Type() terra.StringValue
type DeploymentControllerState ¶
type DeploymentControllerState struct {
Type string `json:"type"`
}
type LoadBalancer ¶
type LoadBalancer struct { // ContainerName: string, required ContainerName terra.StringValue `hcl:"container_name,attr" validate:"required"` // ContainerPort: number, required ContainerPort terra.NumberValue `hcl:"container_port,attr" validate:"required"` // ElbName: string, optional ElbName terra.StringValue `hcl:"elb_name,attr"` // TargetGroupArn: string, optional TargetGroupArn terra.StringValue `hcl:"target_group_arn,attr"` }
type LoadBalancerAttributes ¶
type LoadBalancerAttributes struct {
// contains filtered or unexported fields
}
func (LoadBalancerAttributes) ContainerName ¶
func (lb LoadBalancerAttributes) ContainerName() terra.StringValue
func (LoadBalancerAttributes) ContainerPort ¶
func (lb LoadBalancerAttributes) ContainerPort() terra.NumberValue
func (LoadBalancerAttributes) ElbName ¶
func (lb LoadBalancerAttributes) ElbName() terra.StringValue
func (LoadBalancerAttributes) InternalRef ¶
func (lb LoadBalancerAttributes) InternalRef() (terra.Reference, error)
func (LoadBalancerAttributes) InternalTokens ¶
func (lb LoadBalancerAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoadBalancerAttributes) InternalWithRef ¶
func (lb LoadBalancerAttributes) InternalWithRef(ref terra.Reference) LoadBalancerAttributes
func (LoadBalancerAttributes) TargetGroupArn ¶
func (lb LoadBalancerAttributes) TargetGroupArn() terra.StringValue
type LoadBalancerState ¶
type LogConfiguration ¶
type LogConfiguration struct { // LogDriver: string, required LogDriver terra.StringValue `hcl:"log_driver,attr" validate:"required"` // Options: map of string, optional Options terra.MapValue[terra.StringValue] `hcl:"options,attr"` // SecretOption: min=0 SecretOption []SecretOption `hcl:"secret_option,block" validate:"min=0"` }
type LogConfigurationAttributes ¶
type LogConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LogConfigurationAttributes) InternalRef ¶
func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LogConfigurationAttributes) InternalTokens ¶
func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LogConfigurationAttributes) InternalWithRef ¶
func (lc LogConfigurationAttributes) InternalWithRef(ref terra.Reference) LogConfigurationAttributes
func (LogConfigurationAttributes) LogDriver ¶
func (lc LogConfigurationAttributes) LogDriver() terra.StringValue
func (LogConfigurationAttributes) Options ¶
func (lc LogConfigurationAttributes) Options() terra.MapValue[terra.StringValue]
func (LogConfigurationAttributes) SecretOption ¶
func (lc LogConfigurationAttributes) SecretOption() terra.ListValue[SecretOptionAttributes]
type LogConfigurationState ¶
type LogConfigurationState struct { LogDriver string `json:"log_driver"` Options map[string]string `json:"options"` SecretOption []SecretOptionState `json:"secret_option"` }
type NetworkConfiguration ¶
type NetworkConfiguration struct { // AssignPublicIp: bool, optional AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"` // SecurityGroups: set of string, optional SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"` // Subnets: set of string, required Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"` }
type NetworkConfigurationAttributes ¶
type NetworkConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (NetworkConfigurationAttributes) AssignPublicIp ¶
func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue
func (NetworkConfigurationAttributes) InternalRef ¶
func (nc NetworkConfigurationAttributes) InternalRef() (terra.Reference, error)
func (NetworkConfigurationAttributes) InternalTokens ¶
func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NetworkConfigurationAttributes) InternalWithRef ¶
func (nc NetworkConfigurationAttributes) InternalWithRef(ref terra.Reference) NetworkConfigurationAttributes
func (NetworkConfigurationAttributes) SecurityGroups ¶
func (nc NetworkConfigurationAttributes) SecurityGroups() terra.SetValue[terra.StringValue]
func (NetworkConfigurationAttributes) Subnets ¶
func (nc NetworkConfigurationAttributes) Subnets() terra.SetValue[terra.StringValue]
type OrderedPlacementStrategy ¶
type OrderedPlacementStrategy struct { // Field: string, optional Field terra.StringValue `hcl:"field,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type OrderedPlacementStrategyAttributes ¶
type OrderedPlacementStrategyAttributes struct {
// contains filtered or unexported fields
}
func (OrderedPlacementStrategyAttributes) Field ¶
func (ops OrderedPlacementStrategyAttributes) Field() terra.StringValue
func (OrderedPlacementStrategyAttributes) InternalRef ¶
func (ops OrderedPlacementStrategyAttributes) InternalRef() (terra.Reference, error)
func (OrderedPlacementStrategyAttributes) InternalTokens ¶
func (ops OrderedPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OrderedPlacementStrategyAttributes) InternalWithRef ¶
func (ops OrderedPlacementStrategyAttributes) InternalWithRef(ref terra.Reference) OrderedPlacementStrategyAttributes
func (OrderedPlacementStrategyAttributes) Type ¶
func (ops OrderedPlacementStrategyAttributes) Type() terra.StringValue
type PlacementConstraints ¶
type PlacementConstraints struct { // Expression: string, optional Expression terra.StringValue `hcl:"expression,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type PlacementConstraintsAttributes ¶
type PlacementConstraintsAttributes struct {
// contains filtered or unexported fields
}
func (PlacementConstraintsAttributes) Expression ¶
func (pc PlacementConstraintsAttributes) Expression() terra.StringValue
func (PlacementConstraintsAttributes) InternalRef ¶
func (pc PlacementConstraintsAttributes) InternalRef() (terra.Reference, error)
func (PlacementConstraintsAttributes) InternalTokens ¶
func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PlacementConstraintsAttributes) InternalWithRef ¶
func (pc PlacementConstraintsAttributes) InternalWithRef(ref terra.Reference) PlacementConstraintsAttributes
func (PlacementConstraintsAttributes) Type ¶
func (pc PlacementConstraintsAttributes) Type() terra.StringValue
type SecretOption ¶
type SecretOption struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ValueFrom: string, required ValueFrom terra.StringValue `hcl:"value_from,attr" validate:"required"` }
type SecretOptionAttributes ¶
type SecretOptionAttributes struct {
// contains filtered or unexported fields
}
func (SecretOptionAttributes) InternalRef ¶
func (so SecretOptionAttributes) InternalRef() (terra.Reference, error)
func (SecretOptionAttributes) InternalTokens ¶
func (so SecretOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecretOptionAttributes) InternalWithRef ¶
func (so SecretOptionAttributes) InternalWithRef(ref terra.Reference) SecretOptionAttributes
func (SecretOptionAttributes) Name ¶
func (so SecretOptionAttributes) Name() terra.StringValue
func (SecretOptionAttributes) ValueFrom ¶
func (so SecretOptionAttributes) ValueFrom() terra.StringValue
type SecretOptionState ¶
type Service ¶
type Service struct { // DiscoveryName: string, optional DiscoveryName terra.StringValue `hcl:"discovery_name,attr"` // IngressPortOverride: number, optional IngressPortOverride terra.NumberValue `hcl:"ingress_port_override,attr"` // PortName: string, required PortName terra.StringValue `hcl:"port_name,attr" validate:"required"` // ClientAlias: optional ClientAlias *ClientAlias `hcl:"client_alias,block"` }
type ServiceAttributes ¶
type ServiceAttributes struct {
// contains filtered or unexported fields
}
func (ServiceAttributes) ClientAlias ¶
func (s ServiceAttributes) ClientAlias() terra.ListValue[ClientAliasAttributes]
func (ServiceAttributes) DiscoveryName ¶
func (s ServiceAttributes) DiscoveryName() terra.StringValue
func (ServiceAttributes) IngressPortOverride ¶
func (s ServiceAttributes) IngressPortOverride() terra.NumberValue
func (ServiceAttributes) InternalRef ¶
func (s ServiceAttributes) InternalRef() (terra.Reference, error)
func (ServiceAttributes) InternalTokens ¶
func (s ServiceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceAttributes) InternalWithRef ¶
func (s ServiceAttributes) InternalWithRef(ref terra.Reference) ServiceAttributes
func (ServiceAttributes) PortName ¶
func (s ServiceAttributes) PortName() terra.StringValue
type ServiceConnectConfiguration ¶
type ServiceConnectConfiguration struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // Namespace: string, optional Namespace terra.StringValue `hcl:"namespace,attr"` // LogConfiguration: optional LogConfiguration *LogConfiguration `hcl:"log_configuration,block"` // Service: min=0 Service []Service `hcl:"service,block" validate:"min=0"` }
type ServiceConnectConfigurationAttributes ¶
type ServiceConnectConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (ServiceConnectConfigurationAttributes) Enabled ¶
func (scc ServiceConnectConfigurationAttributes) Enabled() terra.BoolValue
func (ServiceConnectConfigurationAttributes) InternalRef ¶
func (scc ServiceConnectConfigurationAttributes) InternalRef() (terra.Reference, error)
func (ServiceConnectConfigurationAttributes) InternalTokens ¶
func (scc ServiceConnectConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceConnectConfigurationAttributes) InternalWithRef ¶
func (scc ServiceConnectConfigurationAttributes) InternalWithRef(ref terra.Reference) ServiceConnectConfigurationAttributes
func (ServiceConnectConfigurationAttributes) LogConfiguration ¶
func (scc ServiceConnectConfigurationAttributes) LogConfiguration() terra.ListValue[LogConfigurationAttributes]
func (ServiceConnectConfigurationAttributes) Namespace ¶
func (scc ServiceConnectConfigurationAttributes) Namespace() terra.StringValue
func (ServiceConnectConfigurationAttributes) Service ¶
func (scc ServiceConnectConfigurationAttributes) Service() terra.ListValue[ServiceAttributes]
type ServiceConnectConfigurationState ¶
type ServiceConnectConfigurationState struct { Enabled bool `json:"enabled"` Namespace string `json:"namespace"` LogConfiguration []LogConfigurationState `json:"log_configuration"` Service []ServiceState `json:"service"` }
type ServiceRegistries ¶
type ServiceRegistries struct { // ContainerName: string, optional ContainerName terra.StringValue `hcl:"container_name,attr"` // ContainerPort: number, optional ContainerPort terra.NumberValue `hcl:"container_port,attr"` // Port: number, optional Port terra.NumberValue `hcl:"port,attr"` // RegistryArn: string, required RegistryArn terra.StringValue `hcl:"registry_arn,attr" validate:"required"` }
type ServiceRegistriesAttributes ¶
type ServiceRegistriesAttributes struct {
// contains filtered or unexported fields
}
func (ServiceRegistriesAttributes) ContainerName ¶
func (sr ServiceRegistriesAttributes) ContainerName() terra.StringValue
func (ServiceRegistriesAttributes) ContainerPort ¶
func (sr ServiceRegistriesAttributes) ContainerPort() terra.NumberValue
func (ServiceRegistriesAttributes) InternalRef ¶
func (sr ServiceRegistriesAttributes) InternalRef() (terra.Reference, error)
func (ServiceRegistriesAttributes) InternalTokens ¶
func (sr ServiceRegistriesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ServiceRegistriesAttributes) InternalWithRef ¶
func (sr ServiceRegistriesAttributes) InternalWithRef(ref terra.Reference) ServiceRegistriesAttributes
func (ServiceRegistriesAttributes) Port ¶
func (sr ServiceRegistriesAttributes) Port() terra.NumberValue
func (ServiceRegistriesAttributes) RegistryArn ¶
func (sr ServiceRegistriesAttributes) RegistryArn() terra.StringValue
type ServiceRegistriesState ¶
type ServiceState ¶
type ServiceState struct { DiscoveryName string `json:"discovery_name"` IngressPortOverride float64 `json:"ingress_port_override"` PortName string `json:"port_name"` ClientAlias []ClientAliasState `json:"client_alias"` }
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.