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
- func (dc DeploymentConfigAttributes) RollingUpdatePolicy() terra.ListValue[RollingUpdatePolicyAttributes]
- 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 MaximumBatchSize
- type MaximumBatchSizeAttributes
- func (mbs MaximumBatchSizeAttributes) InternalRef() (terra.Reference, error)
- func (mbs MaximumBatchSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mbs MaximumBatchSizeAttributes) InternalWithRef(ref terra.Reference) MaximumBatchSizeAttributes
- func (mbs MaximumBatchSizeAttributes) Type() terra.StringValue
- func (mbs MaximumBatchSizeAttributes) Value() terra.NumberValue
- type MaximumBatchSizeState
- type RollbackMaximumBatchSize
- type RollbackMaximumBatchSizeAttributes
- func (rmbs RollbackMaximumBatchSizeAttributes) InternalRef() (terra.Reference, error)
- func (rmbs RollbackMaximumBatchSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rmbs RollbackMaximumBatchSizeAttributes) InternalWithRef(ref terra.Reference) RollbackMaximumBatchSizeAttributes
- func (rmbs RollbackMaximumBatchSizeAttributes) Type() terra.StringValue
- func (rmbs RollbackMaximumBatchSizeAttributes) Value() terra.NumberValue
- type RollbackMaximumBatchSizeState
- type RollingUpdatePolicy
- type RollingUpdatePolicyAttributes
- func (rup RollingUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
- func (rup RollingUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rup RollingUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) RollingUpdatePolicyAttributes
- func (rup RollingUpdatePolicyAttributes) MaximumBatchSize() terra.ListValue[MaximumBatchSizeAttributes]
- func (rup RollingUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds() terra.NumberValue
- func (rup RollingUpdatePolicyAttributes) RollbackMaximumBatchSize() terra.ListValue[RollbackMaximumBatchSizeAttributes]
- func (rup RollingUpdatePolicyAttributes) WaitIntervalInSeconds() terra.NumberValue
- type RollingUpdatePolicyState
- 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: optional BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `hcl:"blue_green_update_policy,block"` // RollingUpdatePolicy: optional RollingUpdatePolicy *RollingUpdatePolicy `hcl:"rolling_update_policy,block"` }
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
func (DeploymentConfigAttributes) RollingUpdatePolicy ¶
func (dc DeploymentConfigAttributes) RollingUpdatePolicy() terra.ListValue[RollingUpdatePolicyAttributes]
type DeploymentConfigState ¶
type DeploymentConfigState struct { AutoRollbackConfiguration []AutoRollbackConfigurationState `json:"auto_rollback_configuration"` BlueGreenUpdatePolicy []BlueGreenUpdatePolicyState `json:"blue_green_update_policy"` RollingUpdatePolicy []RollingUpdatePolicyState `json:"rolling_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 MaximumBatchSize ¶
type MaximumBatchSize struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type MaximumBatchSizeAttributes ¶
type MaximumBatchSizeAttributes struct {
// contains filtered or unexported fields
}
func (MaximumBatchSizeAttributes) InternalRef ¶
func (mbs MaximumBatchSizeAttributes) InternalRef() (terra.Reference, error)
func (MaximumBatchSizeAttributes) InternalTokens ¶
func (mbs MaximumBatchSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaximumBatchSizeAttributes) InternalWithRef ¶
func (mbs MaximumBatchSizeAttributes) InternalWithRef(ref terra.Reference) MaximumBatchSizeAttributes
func (MaximumBatchSizeAttributes) Type ¶
func (mbs MaximumBatchSizeAttributes) Type() terra.StringValue
func (MaximumBatchSizeAttributes) Value ¶
func (mbs MaximumBatchSizeAttributes) Value() terra.NumberValue
type MaximumBatchSizeState ¶
type RollbackMaximumBatchSize ¶
type RollbackMaximumBatchSize struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type RollbackMaximumBatchSizeAttributes ¶
type RollbackMaximumBatchSizeAttributes struct {
// contains filtered or unexported fields
}
func (RollbackMaximumBatchSizeAttributes) InternalRef ¶
func (rmbs RollbackMaximumBatchSizeAttributes) InternalRef() (terra.Reference, error)
func (RollbackMaximumBatchSizeAttributes) InternalTokens ¶
func (rmbs RollbackMaximumBatchSizeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RollbackMaximumBatchSizeAttributes) InternalWithRef ¶
func (rmbs RollbackMaximumBatchSizeAttributes) InternalWithRef(ref terra.Reference) RollbackMaximumBatchSizeAttributes
func (RollbackMaximumBatchSizeAttributes) Type ¶
func (rmbs RollbackMaximumBatchSizeAttributes) Type() terra.StringValue
func (RollbackMaximumBatchSizeAttributes) Value ¶
func (rmbs RollbackMaximumBatchSizeAttributes) Value() terra.NumberValue
type RollingUpdatePolicy ¶
type RollingUpdatePolicy struct { // MaximumExecutionTimeoutInSeconds: number, optional MaximumExecutionTimeoutInSeconds terra.NumberValue `hcl:"maximum_execution_timeout_in_seconds,attr"` // WaitIntervalInSeconds: number, required WaitIntervalInSeconds terra.NumberValue `hcl:"wait_interval_in_seconds,attr" validate:"required"` // MaximumBatchSize: required MaximumBatchSize *MaximumBatchSize `hcl:"maximum_batch_size,block" validate:"required"` // RollbackMaximumBatchSize: optional RollbackMaximumBatchSize *RollbackMaximumBatchSize `hcl:"rollback_maximum_batch_size,block"` }
type RollingUpdatePolicyAttributes ¶
type RollingUpdatePolicyAttributes struct {
// contains filtered or unexported fields
}
func (RollingUpdatePolicyAttributes) InternalRef ¶
func (rup RollingUpdatePolicyAttributes) InternalRef() (terra.Reference, error)
func (RollingUpdatePolicyAttributes) InternalTokens ¶
func (rup RollingUpdatePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RollingUpdatePolicyAttributes) InternalWithRef ¶
func (rup RollingUpdatePolicyAttributes) InternalWithRef(ref terra.Reference) RollingUpdatePolicyAttributes
func (RollingUpdatePolicyAttributes) MaximumBatchSize ¶
func (rup RollingUpdatePolicyAttributes) MaximumBatchSize() terra.ListValue[MaximumBatchSizeAttributes]
func (RollingUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds ¶
func (rup RollingUpdatePolicyAttributes) MaximumExecutionTimeoutInSeconds() terra.NumberValue
func (RollingUpdatePolicyAttributes) RollbackMaximumBatchSize ¶
func (rup RollingUpdatePolicyAttributes) RollbackMaximumBatchSize() terra.ListValue[RollbackMaximumBatchSizeAttributes]
func (RollingUpdatePolicyAttributes) WaitIntervalInSeconds ¶
func (rup RollingUpdatePolicyAttributes) WaitIntervalInSeconds() terra.NumberValue
type RollingUpdatePolicyState ¶
type RollingUpdatePolicyState struct { MaximumExecutionTimeoutInSeconds float64 `json:"maximum_execution_timeout_in_seconds"` WaitIntervalInSeconds float64 `json:"wait_interval_in_seconds"` MaximumBatchSize []MaximumBatchSizeState `json:"maximum_batch_size"` RollbackMaximumBatchSize []RollbackMaximumBatchSizeState `json:"rollback_maximum_batch_size"` }
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.