Documentation ¶
Index ¶
- type Alarms
- type AlarmsAttributes
- type AlarmsState
- type AutoRollbackConfiguration
- type AutoRollbackConfigurationAttributes
- func (arc AutoRollbackConfigurationAttributes) Alarms() terra.SetValue[AlarmsAttributes]
- func (arc AutoRollbackConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (arc AutoRollbackConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (arc AutoRollbackConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoRollbackConfigurationAttributes
- type AutoRollbackConfigurationState
- type BlueGreenUpdatePolicy
- type BlueGreenUpdatePolicyAttributes
- func (bgup BlueGreenUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
- func (bgup BlueGreenUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bgup BlueGreenUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) BlueGreenUpdatePolicyAttributes
- func (bgup BlueGreenUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds() terra.NumberValue
- func (bgup BlueGreenUpdatePolicyAttributes) TerminationWaitInSeconds() terra.NumberValue
- func (bgup BlueGreenUpdatePolicyAttributes) TrafficRoutingConfiguration() terra.ListValue[TrafficRoutingConfigurationAttributes]
- type BlueGreenUpdatePolicyState
- type CanarySize
- type CanarySizeAttributes
- func (cs CanarySizeAttributes) InternalRef() (terra.Reference, error)
- func (cs CanarySizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cs CanarySizeAttributes) InternalWithRef(ref terra.Reference) CanarySizeAttributes
- func (cs CanarySizeAttributes) Type() terra.StringValue
- func (cs CanarySizeAttributes) Value() terra.NumberValue
- type CanarySizeState
- type DeploymentConfig
- type DeploymentConfigAttributes
- func (dc DeploymentConfigAttributes) AutoRollbackConfiguration() terra.ListValue[AutoRollbackConfigurationAttributes]
- func (dc DeploymentConfigAttributes) BlueGreenUpdatePolicy() terra.ListValue[BlueGreenUpdatePolicyAttributes]
- func (dc DeploymentConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DeploymentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DeploymentConfigAttributes) InternalWithRef(ref terra.Reference) DeploymentConfigAttributes
- type DeploymentConfigState
- type LinearStepSize
- type LinearStepSizeAttributes
- func (lss LinearStepSizeAttributes) InternalRef() (terra.Reference, error)
- func (lss LinearStepSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lss LinearStepSizeAttributes) InternalWithRef(ref terra.Reference) LinearStepSizeAttributes
- func (lss LinearStepSizeAttributes) Type() terra.StringValue
- func (lss LinearStepSizeAttributes) Value() terra.NumberValue
- type LinearStepSizeState
- type TrafficRoutingConfiguration
- type TrafficRoutingConfigurationAttributes
- func (trc TrafficRoutingConfigurationAttributes) CanarySize() terra.ListValue[CanarySizeAttributes]
- func (trc TrafficRoutingConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (trc TrafficRoutingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (trc TrafficRoutingConfigurationAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigurationAttributes
- func (trc TrafficRoutingConfigurationAttributes) LinearStepSize() terra.ListValue[LinearStepSizeAttributes]
- func (trc TrafficRoutingConfigurationAttributes) Type() terra.StringValue
- func (trc TrafficRoutingConfigurationAttributes) WaitIntervalInSeconds() terra.NumberValue
- type TrafficRoutingConfigurationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarms ¶
type Alarms struct { // AlarmName: string, required AlarmName terra.StringValue `hcl:"alarm_name,attr" validate:"required"` }
type AlarmsAttributes ¶
type AlarmsAttributes struct {
// contains filtered or unexported fields
}
func (AlarmsAttributes) AlarmName ¶
func (a AlarmsAttributes) AlarmName() terra.StringValue
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
type AlarmsState ¶
type AlarmsState struct {
AlarmName string `json:"alarm_name"`
}
type AutoRollbackConfiguration ¶
type AutoRollbackConfiguration struct { // Alarms: min=0,max=10 Alarms []Alarms `hcl:"alarms,block" validate:"min=0,max=10"` }
type AutoRollbackConfigurationAttributes ¶
type AutoRollbackConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (AutoRollbackConfigurationAttributes) Alarms ¶
func (arc AutoRollbackConfigurationAttributes) Alarms() terra.SetValue[AlarmsAttributes]
func (AutoRollbackConfigurationAttributes) InternalRef ¶
func (arc AutoRollbackConfigurationAttributes) InternalRef() (terra.Reference, error)
func (AutoRollbackConfigurationAttributes) InternalTokens ¶
func (arc AutoRollbackConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AutoRollbackConfigurationAttributes) InternalWithRef ¶
func (arc AutoRollbackConfigurationAttributes) InternalWithRef(ref terra.Reference) AutoRollbackConfigurationAttributes
type AutoRollbackConfigurationState ¶
type AutoRollbackConfigurationState struct {
Alarms []AlarmsState `json:"alarms"`
}
type BlueGreenUpdatePolicy ¶
type BlueGreenUpdatePolicy struct { // MaximumExecutionTimeoutInSeconds: number, optional MaximumExecutionTimeoutInSeconds terra.NumberValue `hcl:"maximum_execution_timeout_in_seconds,attr"` // TerminationWaitInSeconds: number, optional TerminationWaitInSeconds terra.NumberValue `hcl:"termination_wait_in_seconds,attr"` // TrafficRoutingConfiguration: required TrafficRoutingConfiguration *TrafficRoutingConfiguration `hcl:"traffic_routing_configuration,block" validate:"required"` }
type BlueGreenUpdatePolicyAttributes ¶
type BlueGreenUpdatePolicyAttributes struct {
// contains filtered or unexported fields
}
func (BlueGreenUpdatePolicyAttributes) InternalRef ¶
func (bgup BlueGreenUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
func (BlueGreenUpdatePolicyAttributes) InternalTokens ¶
func (bgup BlueGreenUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BlueGreenUpdatePolicyAttributes) InternalWithRef ¶
func (bgup BlueGreenUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) BlueGreenUpdatePolicyAttributes
func (BlueGreenUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds ¶
func (bgup BlueGreenUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds() terra.NumberValue
func (BlueGreenUpdatePolicyAttributes) TerminationWaitInSeconds ¶
func (bgup BlueGreenUpdatePolicyAttributes) TerminationWaitInSeconds() terra.NumberValue
func (BlueGreenUpdatePolicyAttributes) TrafficRoutingConfiguration ¶
func (bgup BlueGreenUpdatePolicyAttributes) TrafficRoutingConfiguration() terra.ListValue[TrafficRoutingConfigurationAttributes]
type BlueGreenUpdatePolicyState ¶
type BlueGreenUpdatePolicyState struct { MaximumExecutionTimeoutInSeconds float64 `json:"maximum_execution_timeout_in_seconds"` TerminationWaitInSeconds float64 `json:"termination_wait_in_seconds"` TrafficRoutingConfiguration []TrafficRoutingConfigurationState `json:"traffic_routing_configuration"` }
type CanarySize ¶
type CanarySize struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type CanarySizeAttributes ¶
type CanarySizeAttributes struct {
// contains filtered or unexported fields
}
func (CanarySizeAttributes) InternalRef ¶
func (cs CanarySizeAttributes) InternalRef() (terra.Reference, error)
func (CanarySizeAttributes) InternalTokens ¶
func (cs CanarySizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CanarySizeAttributes) InternalWithRef ¶
func (cs CanarySizeAttributes) InternalWithRef(ref terra.Reference) CanarySizeAttributes
func (CanarySizeAttributes) Type ¶
func (cs CanarySizeAttributes) Type() terra.StringValue
func (CanarySizeAttributes) Value ¶
func (cs CanarySizeAttributes) Value() terra.NumberValue
type CanarySizeState ¶
type DeploymentConfig ¶
type DeploymentConfig struct { // AutoRollbackConfiguration: optional AutoRollbackConfiguration *AutoRollbackConfiguration `hcl:"auto_rollback_configuration,block"` // BlueGreenUpdatePolicy: required BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `hcl:"blue_green_update_policy,block" validate:"required"` }
type DeploymentConfigAttributes ¶
type DeploymentConfigAttributes struct {
// contains filtered or unexported fields
}
func (DeploymentConfigAttributes) AutoRollbackConfiguration ¶
func (dc DeploymentConfigAttributes) AutoRollbackConfiguration() terra.ListValue[AutoRollbackConfigurationAttributes]
func (DeploymentConfigAttributes) BlueGreenUpdatePolicy ¶
func (dc DeploymentConfigAttributes) BlueGreenUpdatePolicy() terra.ListValue[BlueGreenUpdatePolicyAttributes]
func (DeploymentConfigAttributes) InternalRef ¶
func (dc DeploymentConfigAttributes) InternalRef() (terra.Reference, error)
func (DeploymentConfigAttributes) InternalTokens ¶
func (dc DeploymentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeploymentConfigAttributes) InternalWithRef ¶
func (dc DeploymentConfigAttributes) InternalWithRef(ref terra.Reference) DeploymentConfigAttributes
type DeploymentConfigState ¶
type DeploymentConfigState struct { AutoRollbackConfiguration []AutoRollbackConfigurationState `json:"auto_rollback_configuration"` BlueGreenUpdatePolicy []BlueGreenUpdatePolicyState `json:"blue_green_update_policy"` }
type LinearStepSize ¶
type LinearStepSize struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type LinearStepSizeAttributes ¶
type LinearStepSizeAttributes struct {
// contains filtered or unexported fields
}
func (LinearStepSizeAttributes) InternalRef ¶
func (lss LinearStepSizeAttributes) InternalRef() (terra.Reference, error)
func (LinearStepSizeAttributes) InternalTokens ¶
func (lss LinearStepSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LinearStepSizeAttributes) InternalWithRef ¶
func (lss LinearStepSizeAttributes) InternalWithRef(ref terra.Reference) LinearStepSizeAttributes
func (LinearStepSizeAttributes) Type ¶
func (lss LinearStepSizeAttributes) Type() terra.StringValue
func (LinearStepSizeAttributes) Value ¶
func (lss LinearStepSizeAttributes) Value() terra.NumberValue
type LinearStepSizeState ¶
type TrafficRoutingConfiguration ¶
type TrafficRoutingConfiguration struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // WaitIntervalInSeconds: number, required WaitIntervalInSeconds terra.NumberValue `hcl:"wait_interval_in_seconds,attr" validate:"required"` // CanarySize: optional CanarySize *CanarySize `hcl:"canary_size,block"` // LinearStepSize: optional LinearStepSize *LinearStepSize `hcl:"linear_step_size,block"` }
type TrafficRoutingConfigurationAttributes ¶
type TrafficRoutingConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (TrafficRoutingConfigurationAttributes) CanarySize ¶
func (trc TrafficRoutingConfigurationAttributes) CanarySize() terra.ListValue[CanarySizeAttributes]
func (TrafficRoutingConfigurationAttributes) InternalRef ¶
func (trc TrafficRoutingConfigurationAttributes) InternalRef() (terra.Reference, error)
func (TrafficRoutingConfigurationAttributes) InternalTokens ¶
func (trc TrafficRoutingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TrafficRoutingConfigurationAttributes) InternalWithRef ¶
func (trc TrafficRoutingConfigurationAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigurationAttributes
func (TrafficRoutingConfigurationAttributes) LinearStepSize ¶
func (trc TrafficRoutingConfigurationAttributes) LinearStepSize() terra.ListValue[LinearStepSizeAttributes]
func (TrafficRoutingConfigurationAttributes) Type ¶
func (trc TrafficRoutingConfigurationAttributes) Type() terra.StringValue
func (TrafficRoutingConfigurationAttributes) WaitIntervalInSeconds ¶
func (trc TrafficRoutingConfigurationAttributes) WaitIntervalInSeconds() terra.NumberValue
type TrafficRoutingConfigurationState ¶
type TrafficRoutingConfigurationState struct { Type string `json:"type"` WaitIntervalInSeconds float64 `json:"wait_interval_in_seconds"` CanarySize []CanarySizeState `json:"canary_size"` LinearStepSize []LinearStepSizeState `json:"linear_step_size"` }
Click to show internal directories.
Click to hide internal directories.