Documentation ¶
Index ¶
- type Args
- type MinimumHealthyHosts
- type MinimumHealthyHostsAttributes
- func (mhh MinimumHealthyHostsAttributes) InternalRef() (terra.Reference, error)
- func (mhh MinimumHealthyHostsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (mhh MinimumHealthyHostsAttributes) InternalWithRef(ref terra.Reference) MinimumHealthyHostsAttributes
- func (mhh MinimumHealthyHostsAttributes) Type() terra.StringValue
- func (mhh MinimumHealthyHostsAttributes) Value() terra.NumberValue
- type MinimumHealthyHostsState
- type Resource
- func (acdc *Resource) Attributes() awsCodedeployDeploymentConfigAttributes
- func (acdc *Resource) Configuration() interface{}
- func (acdc *Resource) DependOn() terra.Reference
- func (acdc *Resource) Dependencies() terra.Dependencies
- func (acdc *Resource) ImportState(state io.Reader) error
- func (acdc *Resource) LifecycleManagement() *terra.Lifecycle
- func (acdc *Resource) LocalName() string
- func (acdc *Resource) State() (*awsCodedeployDeploymentConfigState, bool)
- func (acdc *Resource) StateMust() *awsCodedeployDeploymentConfigState
- func (acdc *Resource) Type() string
- type TrafficRoutingConfig
- type TrafficRoutingConfigAttributes
- func (trc TrafficRoutingConfigAttributes) InternalRef() (terra.Reference, error)
- func (trc TrafficRoutingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (trc TrafficRoutingConfigAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigAttributes
- func (trc TrafficRoutingConfigAttributes) TimeBasedCanary() terra.ListValue[TrafficRoutingConfigTimeBasedCanaryAttributes]
- func (trc TrafficRoutingConfigAttributes) TimeBasedLinear() terra.ListValue[TrafficRoutingConfigTimeBasedLinearAttributes]
- func (trc TrafficRoutingConfigAttributes) Type() terra.StringValue
- type TrafficRoutingConfigState
- type TrafficRoutingConfigTimeBasedCanary
- type TrafficRoutingConfigTimeBasedCanaryAttributes
- func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalRef() (terra.Reference, error)
- func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigTimeBasedCanaryAttributes
- func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) Interval() terra.NumberValue
- func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) Percentage() terra.NumberValue
- type TrafficRoutingConfigTimeBasedCanaryState
- type TrafficRoutingConfigTimeBasedLinear
- type TrafficRoutingConfigTimeBasedLinearAttributes
- func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalRef() (terra.Reference, error)
- func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigTimeBasedLinearAttributes
- func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) Interval() terra.NumberValue
- func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) Percentage() terra.NumberValue
- type TrafficRoutingConfigTimeBasedLinearState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // ComputePlatform: string, optional ComputePlatform terra.StringValue `hcl:"compute_platform,attr"` // DeploymentConfigName: string, required DeploymentConfigName terra.StringValue `hcl:"deployment_config_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MinimumHealthyHosts: optional MinimumHealthyHosts *MinimumHealthyHosts `hcl:"minimum_healthy_hosts,block"` // TrafficRoutingConfig: optional TrafficRoutingConfig *TrafficRoutingConfig `hcl:"traffic_routing_config,block"` }
Args contains the configurations for aws_codedeploy_deployment_config.
type MinimumHealthyHosts ¶
type MinimumHealthyHosts struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Value: number, optional Value terra.NumberValue `hcl:"value,attr"` }
type MinimumHealthyHostsAttributes ¶
type MinimumHealthyHostsAttributes struct {
// contains filtered or unexported fields
}
func (MinimumHealthyHostsAttributes) InternalRef ¶
func (mhh MinimumHealthyHostsAttributes) InternalRef() (terra.Reference, error)
func (MinimumHealthyHostsAttributes) InternalTokens ¶
func (mhh MinimumHealthyHostsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MinimumHealthyHostsAttributes) InternalWithRef ¶
func (mhh MinimumHealthyHostsAttributes) InternalWithRef(ref terra.Reference) MinimumHealthyHostsAttributes
func (MinimumHealthyHostsAttributes) Type ¶
func (mhh MinimumHealthyHostsAttributes) Type() terra.StringValue
func (MinimumHealthyHostsAttributes) Value ¶
func (mhh MinimumHealthyHostsAttributes) Value() terra.NumberValue
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_codedeploy_deployment_config.
func (*Resource) Attributes ¶
func (acdc *Resource) Attributes() awsCodedeployDeploymentConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (acdc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (acdc *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type TrafficRoutingConfig ¶
type TrafficRoutingConfig struct { // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // TrafficRoutingConfigTimeBasedCanary: optional TimeBasedCanary *TrafficRoutingConfigTimeBasedCanary `hcl:"time_based_canary,block"` // TrafficRoutingConfigTimeBasedLinear: optional TimeBasedLinear *TrafficRoutingConfigTimeBasedLinear `hcl:"time_based_linear,block"` }
type TrafficRoutingConfigAttributes ¶
type TrafficRoutingConfigAttributes struct {
// contains filtered or unexported fields
}
func (TrafficRoutingConfigAttributes) InternalRef ¶
func (trc TrafficRoutingConfigAttributes) InternalRef() (terra.Reference, error)
func (TrafficRoutingConfigAttributes) InternalTokens ¶
func (trc TrafficRoutingConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TrafficRoutingConfigAttributes) InternalWithRef ¶
func (trc TrafficRoutingConfigAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigAttributes
func (TrafficRoutingConfigAttributes) TimeBasedCanary ¶
func (trc TrafficRoutingConfigAttributes) TimeBasedCanary() terra.ListValue[TrafficRoutingConfigTimeBasedCanaryAttributes]
func (TrafficRoutingConfigAttributes) TimeBasedLinear ¶
func (trc TrafficRoutingConfigAttributes) TimeBasedLinear() terra.ListValue[TrafficRoutingConfigTimeBasedLinearAttributes]
func (TrafficRoutingConfigAttributes) Type ¶
func (trc TrafficRoutingConfigAttributes) Type() terra.StringValue
type TrafficRoutingConfigState ¶
type TrafficRoutingConfigState struct { Type string `json:"type"` TimeBasedCanary []TrafficRoutingConfigTimeBasedCanaryState `json:"time_based_canary"` TimeBasedLinear []TrafficRoutingConfigTimeBasedLinearState `json:"time_based_linear"` }
type TrafficRoutingConfigTimeBasedCanary ¶
type TrafficRoutingConfigTimeBasedCanary struct { // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // Percentage: number, optional Percentage terra.NumberValue `hcl:"percentage,attr"` }
type TrafficRoutingConfigTimeBasedCanaryAttributes ¶
type TrafficRoutingConfigTimeBasedCanaryAttributes struct {
// contains filtered or unexported fields
}
func (TrafficRoutingConfigTimeBasedCanaryAttributes) InternalRef ¶
func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalRef() (terra.Reference, error)
func (TrafficRoutingConfigTimeBasedCanaryAttributes) InternalTokens ¶
func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TrafficRoutingConfigTimeBasedCanaryAttributes) InternalWithRef ¶
func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigTimeBasedCanaryAttributes
func (TrafficRoutingConfigTimeBasedCanaryAttributes) Interval ¶
func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) Interval() terra.NumberValue
func (TrafficRoutingConfigTimeBasedCanaryAttributes) Percentage ¶
func (tbc TrafficRoutingConfigTimeBasedCanaryAttributes) Percentage() terra.NumberValue
type TrafficRoutingConfigTimeBasedLinear ¶
type TrafficRoutingConfigTimeBasedLinear struct { // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // Percentage: number, optional Percentage terra.NumberValue `hcl:"percentage,attr"` }
type TrafficRoutingConfigTimeBasedLinearAttributes ¶
type TrafficRoutingConfigTimeBasedLinearAttributes struct {
// contains filtered or unexported fields
}
func (TrafficRoutingConfigTimeBasedLinearAttributes) InternalRef ¶
func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalRef() (terra.Reference, error)
func (TrafficRoutingConfigTimeBasedLinearAttributes) InternalTokens ¶
func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TrafficRoutingConfigTimeBasedLinearAttributes) InternalWithRef ¶
func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) InternalWithRef(ref terra.Reference) TrafficRoutingConfigTimeBasedLinearAttributes
func (TrafficRoutingConfigTimeBasedLinearAttributes) Interval ¶
func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) Interval() terra.NumberValue
func (TrafficRoutingConfigTimeBasedLinearAttributes) Percentage ¶
func (tbl TrafficRoutingConfigTimeBasedLinearAttributes) Percentage() terra.NumberValue
Click to show internal directories.
Click to hide internal directories.