codedeploydeploymentgroup

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlarmConfiguration

type AlarmConfiguration struct {
	// Alarms: set of string, optional
	Alarms terra.SetValue[terra.StringValue] `hcl:"alarms,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// IgnorePollAlarmFailure: bool, optional
	IgnorePollAlarmFailure terra.BoolValue `hcl:"ignore_poll_alarm_failure,attr"`
}

type AlarmConfigurationAttributes

type AlarmConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (AlarmConfigurationAttributes) Alarms

func (AlarmConfigurationAttributes) Enabled

func (AlarmConfigurationAttributes) IgnorePollAlarmFailure

func (ac AlarmConfigurationAttributes) IgnorePollAlarmFailure() terra.BoolValue

func (AlarmConfigurationAttributes) InternalRef

func (ac AlarmConfigurationAttributes) InternalRef() (terra.Reference, error)

func (AlarmConfigurationAttributes) InternalTokens

func (ac AlarmConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AlarmConfigurationAttributes) InternalWithRef

type AlarmConfigurationState

type AlarmConfigurationState struct {
	Alarms                 []string `json:"alarms"`
	Enabled                bool     `json:"enabled"`
	IgnorePollAlarmFailure bool     `json:"ignore_poll_alarm_failure"`
}

type AutoRollbackConfiguration

type AutoRollbackConfiguration struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Events: set of string, optional
	Events terra.SetValue[terra.StringValue] `hcl:"events,attr"`
}

type AutoRollbackConfigurationAttributes

type AutoRollbackConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (AutoRollbackConfigurationAttributes) Enabled

func (AutoRollbackConfigurationAttributes) Events

func (AutoRollbackConfigurationAttributes) InternalRef

func (AutoRollbackConfigurationAttributes) InternalTokens

func (arc AutoRollbackConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutoRollbackConfigurationAttributes) InternalWithRef

type AutoRollbackConfigurationState

type AutoRollbackConfigurationState struct {
	Enabled bool     `json:"enabled"`
	Events  []string `json:"events"`
}

type BlueGreenDeploymentConfig

type BlueGreenDeploymentConfig struct {
	// DeploymentReadyOption: optional
	DeploymentReadyOption *DeploymentReadyOption `hcl:"deployment_ready_option,block"`
	// GreenFleetProvisioningOption: optional
	GreenFleetProvisioningOption *GreenFleetProvisioningOption `hcl:"green_fleet_provisioning_option,block"`
	// TerminateBlueInstancesOnDeploymentSuccess: optional
	TerminateBlueInstancesOnDeploymentSuccess *TerminateBlueInstancesOnDeploymentSuccess `hcl:"terminate_blue_instances_on_deployment_success,block"`
}

type BlueGreenDeploymentConfigAttributes

type BlueGreenDeploymentConfigAttributes struct {
	// contains filtered or unexported fields
}

func (BlueGreenDeploymentConfigAttributes) DeploymentReadyOption

func (BlueGreenDeploymentConfigAttributes) GreenFleetProvisioningOption

func (BlueGreenDeploymentConfigAttributes) InternalRef

func (BlueGreenDeploymentConfigAttributes) InternalTokens

func (bgdc BlueGreenDeploymentConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BlueGreenDeploymentConfigAttributes) InternalWithRef

func (BlueGreenDeploymentConfigAttributes) TerminateBlueInstancesOnDeploymentSuccess

type BlueGreenDeploymentConfigState

type BlueGreenDeploymentConfigState struct {
	DeploymentReadyOption                     []DeploymentReadyOptionState                     `json:"deployment_ready_option"`
	GreenFleetProvisioningOption              []GreenFleetProvisioningOptionState              `json:"green_fleet_provisioning_option"`
	TerminateBlueInstancesOnDeploymentSuccess []TerminateBlueInstancesOnDeploymentSuccessState `json:"terminate_blue_instances_on_deployment_success"`
}

type DeploymentReadyOption

type DeploymentReadyOption struct {
	// ActionOnTimeout: string, optional
	ActionOnTimeout terra.StringValue `hcl:"action_on_timeout,attr"`
	// WaitTimeInMinutes: number, optional
	WaitTimeInMinutes terra.NumberValue `hcl:"wait_time_in_minutes,attr"`
}

type DeploymentReadyOptionAttributes

type DeploymentReadyOptionAttributes struct {
	// contains filtered or unexported fields
}

func (DeploymentReadyOptionAttributes) ActionOnTimeout

func (dro DeploymentReadyOptionAttributes) ActionOnTimeout() terra.StringValue

func (DeploymentReadyOptionAttributes) InternalRef

func (DeploymentReadyOptionAttributes) InternalTokens

func (dro DeploymentReadyOptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentReadyOptionAttributes) InternalWithRef

func (DeploymentReadyOptionAttributes) WaitTimeInMinutes

func (dro DeploymentReadyOptionAttributes) WaitTimeInMinutes() terra.NumberValue

type DeploymentReadyOptionState

type DeploymentReadyOptionState struct {
	ActionOnTimeout   string  `json:"action_on_timeout"`
	WaitTimeInMinutes float64 `json:"wait_time_in_minutes"`
}

type DeploymentStyle

type DeploymentStyle struct {
	// DeploymentOption: string, optional
	DeploymentOption terra.StringValue `hcl:"deployment_option,attr"`
	// DeploymentType: string, optional
	DeploymentType terra.StringValue `hcl:"deployment_type,attr"`
}

type DeploymentStyleAttributes

type DeploymentStyleAttributes struct {
	// contains filtered or unexported fields
}

func (DeploymentStyleAttributes) DeploymentOption

func (ds DeploymentStyleAttributes) DeploymentOption() terra.StringValue

func (DeploymentStyleAttributes) DeploymentType

func (ds DeploymentStyleAttributes) DeploymentType() terra.StringValue

func (DeploymentStyleAttributes) InternalRef

func (ds DeploymentStyleAttributes) InternalRef() (terra.Reference, error)

func (DeploymentStyleAttributes) InternalTokens

func (ds DeploymentStyleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeploymentStyleAttributes) InternalWithRef

type DeploymentStyleState

type DeploymentStyleState struct {
	DeploymentOption string `json:"deployment_option"`
	DeploymentType   string `json:"deployment_type"`
}

type Ec2TagFilter

type Ec2TagFilter struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type Ec2TagFilterAttributes

type Ec2TagFilterAttributes struct {
	// contains filtered or unexported fields
}

func (Ec2TagFilterAttributes) InternalRef

func (etf Ec2TagFilterAttributes) InternalRef() (terra.Reference, error)

func (Ec2TagFilterAttributes) InternalTokens

func (etf Ec2TagFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Ec2TagFilterAttributes) InternalWithRef

func (Ec2TagFilterAttributes) Key

func (Ec2TagFilterAttributes) Type

func (Ec2TagFilterAttributes) Value

type Ec2TagFilterState

type Ec2TagFilterState struct {
	Key   string `json:"key"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type Ec2TagSet

type Ec2TagSet struct {
	// Ec2TagSetEc2TagFilter: min=0
	Ec2TagFilter []Ec2TagSetEc2TagFilter `hcl:"ec2_tag_filter,block" validate:"min=0"`
}

type Ec2TagSetAttributes

type Ec2TagSetAttributes struct {
	// contains filtered or unexported fields
}

func (Ec2TagSetAttributes) Ec2TagFilter

func (Ec2TagSetAttributes) InternalRef

func (ets Ec2TagSetAttributes) InternalRef() (terra.Reference, error)

func (Ec2TagSetAttributes) InternalTokens

func (ets Ec2TagSetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Ec2TagSetAttributes) InternalWithRef

func (ets Ec2TagSetAttributes) InternalWithRef(ref terra.Reference) Ec2TagSetAttributes

type Ec2TagSetEc2TagFilter

type Ec2TagSetEc2TagFilter struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type Ec2TagSetEc2TagFilterAttributes

type Ec2TagSetEc2TagFilterAttributes struct {
	// contains filtered or unexported fields
}

func (Ec2TagSetEc2TagFilterAttributes) InternalRef

func (Ec2TagSetEc2TagFilterAttributes) InternalTokens

func (etf Ec2TagSetEc2TagFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (Ec2TagSetEc2TagFilterAttributes) InternalWithRef

func (Ec2TagSetEc2TagFilterAttributes) Key

func (Ec2TagSetEc2TagFilterAttributes) Type

func (Ec2TagSetEc2TagFilterAttributes) Value

type Ec2TagSetEc2TagFilterState

type Ec2TagSetEc2TagFilterState struct {
	Key   string `json:"key"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type Ec2TagSetState

type Ec2TagSetState struct {
	Ec2TagFilter []Ec2TagSetEc2TagFilterState `json:"ec2_tag_filter"`
}

type EcsService

type EcsService struct {
	// ClusterName: string, required
	ClusterName terra.StringValue `hcl:"cluster_name,attr" validate:"required"`
	// ServiceName: string, required
	ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"`
}

type EcsServiceAttributes

type EcsServiceAttributes struct {
	// contains filtered or unexported fields
}

func (EcsServiceAttributes) ClusterName

func (es EcsServiceAttributes) ClusterName() terra.StringValue

func (EcsServiceAttributes) InternalRef

func (es EcsServiceAttributes) InternalRef() (terra.Reference, error)

func (EcsServiceAttributes) InternalTokens

func (es EcsServiceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EcsServiceAttributes) InternalWithRef

func (es EcsServiceAttributes) InternalWithRef(ref terra.Reference) EcsServiceAttributes

func (EcsServiceAttributes) ServiceName

func (es EcsServiceAttributes) ServiceName() terra.StringValue

type EcsServiceState

type EcsServiceState struct {
	ClusterName string `json:"cluster_name"`
	ServiceName string `json:"service_name"`
}

type ElbInfo

type ElbInfo struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type ElbInfoAttributes

type ElbInfoAttributes struct {
	// contains filtered or unexported fields
}

func (ElbInfoAttributes) InternalRef

func (ei ElbInfoAttributes) InternalRef() (terra.Reference, error)

func (ElbInfoAttributes) InternalTokens

func (ei ElbInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ElbInfoAttributes) InternalWithRef

func (ei ElbInfoAttributes) InternalWithRef(ref terra.Reference) ElbInfoAttributes

func (ElbInfoAttributes) Name

type ElbInfoState

type ElbInfoState struct {
	Name string `json:"name"`
}

type GreenFleetProvisioningOption

type GreenFleetProvisioningOption struct {
	// Action: string, optional
	Action terra.StringValue `hcl:"action,attr"`
}

type GreenFleetProvisioningOptionAttributes

type GreenFleetProvisioningOptionAttributes struct {
	// contains filtered or unexported fields
}

func (GreenFleetProvisioningOptionAttributes) Action

func (GreenFleetProvisioningOptionAttributes) InternalRef

func (GreenFleetProvisioningOptionAttributes) InternalTokens

func (GreenFleetProvisioningOptionAttributes) InternalWithRef

type GreenFleetProvisioningOptionState

type GreenFleetProvisioningOptionState struct {
	Action string `json:"action"`
}

type LoadBalancerInfo

type LoadBalancerInfo struct {
	// ElbInfo: min=0
	ElbInfo []ElbInfo `hcl:"elb_info,block" validate:"min=0"`
	// TargetGroupInfo: min=0
	TargetGroupInfo []TargetGroupInfo `hcl:"target_group_info,block" validate:"min=0"`
	// TargetGroupPairInfo: optional
	TargetGroupPairInfo *TargetGroupPairInfo `hcl:"target_group_pair_info,block"`
}

type LoadBalancerInfoAttributes

type LoadBalancerInfoAttributes struct {
	// contains filtered or unexported fields
}

func (LoadBalancerInfoAttributes) ElbInfo

func (LoadBalancerInfoAttributes) InternalRef

func (lbi LoadBalancerInfoAttributes) InternalRef() (terra.Reference, error)

func (LoadBalancerInfoAttributes) InternalTokens

func (lbi LoadBalancerInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoadBalancerInfoAttributes) InternalWithRef

func (LoadBalancerInfoAttributes) TargetGroupInfo

func (LoadBalancerInfoAttributes) TargetGroupPairInfo

type LoadBalancerInfoState

type LoadBalancerInfoState struct {
	ElbInfo             []ElbInfoState             `json:"elb_info"`
	TargetGroupInfo     []TargetGroupInfoState     `json:"target_group_info"`
	TargetGroupPairInfo []TargetGroupPairInfoState `json:"target_group_pair_info"`
}

type OnPremisesInstanceTagFilter

type OnPremisesInstanceTagFilter struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type OnPremisesInstanceTagFilterAttributes

type OnPremisesInstanceTagFilterAttributes struct {
	// contains filtered or unexported fields
}

func (OnPremisesInstanceTagFilterAttributes) InternalRef

func (OnPremisesInstanceTagFilterAttributes) InternalTokens

func (opitf OnPremisesInstanceTagFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OnPremisesInstanceTagFilterAttributes) InternalWithRef

func (OnPremisesInstanceTagFilterAttributes) Key

func (OnPremisesInstanceTagFilterAttributes) Type

func (OnPremisesInstanceTagFilterAttributes) Value

type OnPremisesInstanceTagFilterState

type OnPremisesInstanceTagFilterState struct {
	Key   string `json:"key"`
	Type  string `json:"type"`
	Value string `json:"value"`
}

type ProdTrafficRoute

type ProdTrafficRoute struct {
	// ListenerArns: set of string, required
	ListenerArns terra.SetValue[terra.StringValue] `hcl:"listener_arns,attr" validate:"required"`
}

type ProdTrafficRouteAttributes

type ProdTrafficRouteAttributes struct {
	// contains filtered or unexported fields
}

func (ProdTrafficRouteAttributes) InternalRef

func (ptr ProdTrafficRouteAttributes) InternalRef() (terra.Reference, error)

func (ProdTrafficRouteAttributes) InternalTokens

func (ptr ProdTrafficRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProdTrafficRouteAttributes) InternalWithRef

func (ProdTrafficRouteAttributes) ListenerArns

type ProdTrafficRouteState

type ProdTrafficRouteState struct {
	ListenerArns []string `json:"listener_arns"`
}

type TargetGroup

type TargetGroup struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type TargetGroupAttributes

type TargetGroupAttributes struct {
	// contains filtered or unexported fields
}

func (TargetGroupAttributes) InternalRef

func (tg TargetGroupAttributes) InternalRef() (terra.Reference, error)

func (TargetGroupAttributes) InternalTokens

func (tg TargetGroupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetGroupAttributes) InternalWithRef

func (TargetGroupAttributes) Name

type TargetGroupInfo

type TargetGroupInfo struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
}

type TargetGroupInfoAttributes

type TargetGroupInfoAttributes struct {
	// contains filtered or unexported fields
}

func (TargetGroupInfoAttributes) InternalRef

func (tgi TargetGroupInfoAttributes) InternalRef() (terra.Reference, error)

func (TargetGroupInfoAttributes) InternalTokens

func (tgi TargetGroupInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetGroupInfoAttributes) InternalWithRef

func (TargetGroupInfoAttributes) Name

type TargetGroupInfoState

type TargetGroupInfoState struct {
	Name string `json:"name"`
}

type TargetGroupPairInfo

type TargetGroupPairInfo struct {
	// ProdTrafficRoute: required
	ProdTrafficRoute *ProdTrafficRoute `hcl:"prod_traffic_route,block" validate:"required"`
	// TargetGroup: min=1,max=2
	TargetGroup []TargetGroup `hcl:"target_group,block" validate:"min=1,max=2"`
	// TestTrafficRoute: optional
	TestTrafficRoute *TestTrafficRoute `hcl:"test_traffic_route,block"`
}

type TargetGroupPairInfoAttributes

type TargetGroupPairInfoAttributes struct {
	// contains filtered or unexported fields
}

func (TargetGroupPairInfoAttributes) InternalRef

func (tgpi TargetGroupPairInfoAttributes) InternalRef() (terra.Reference, error)

func (TargetGroupPairInfoAttributes) InternalTokens

func (tgpi TargetGroupPairInfoAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetGroupPairInfoAttributes) InternalWithRef

func (TargetGroupPairInfoAttributes) ProdTrafficRoute

func (TargetGroupPairInfoAttributes) TargetGroup

func (TargetGroupPairInfoAttributes) TestTrafficRoute

type TargetGroupPairInfoState

type TargetGroupPairInfoState struct {
	ProdTrafficRoute []ProdTrafficRouteState `json:"prod_traffic_route"`
	TargetGroup      []TargetGroupState      `json:"target_group"`
	TestTrafficRoute []TestTrafficRouteState `json:"test_traffic_route"`
}

type TargetGroupState

type TargetGroupState struct {
	Name string `json:"name"`
}

type TerminateBlueInstancesOnDeploymentSuccess

type TerminateBlueInstancesOnDeploymentSuccess struct {
	// Action: string, optional
	Action terra.StringValue `hcl:"action,attr"`
	// TerminationWaitTimeInMinutes: number, optional
	TerminationWaitTimeInMinutes terra.NumberValue `hcl:"termination_wait_time_in_minutes,attr"`
}

type TerminateBlueInstancesOnDeploymentSuccessAttributes

type TerminateBlueInstancesOnDeploymentSuccessAttributes struct {
	// contains filtered or unexported fields
}

func (TerminateBlueInstancesOnDeploymentSuccessAttributes) Action

func (TerminateBlueInstancesOnDeploymentSuccessAttributes) InternalRef

func (TerminateBlueInstancesOnDeploymentSuccessAttributes) InternalTokens

func (TerminateBlueInstancesOnDeploymentSuccessAttributes) InternalWithRef

func (TerminateBlueInstancesOnDeploymentSuccessAttributes) TerminationWaitTimeInMinutes

func (tbiods TerminateBlueInstancesOnDeploymentSuccessAttributes) TerminationWaitTimeInMinutes() terra.NumberValue

type TerminateBlueInstancesOnDeploymentSuccessState

type TerminateBlueInstancesOnDeploymentSuccessState struct {
	Action                       string  `json:"action"`
	TerminationWaitTimeInMinutes float64 `json:"termination_wait_time_in_minutes"`
}

type TestTrafficRoute

type TestTrafficRoute struct {
	// ListenerArns: set of string, required
	ListenerArns terra.SetValue[terra.StringValue] `hcl:"listener_arns,attr" validate:"required"`
}

type TestTrafficRouteAttributes

type TestTrafficRouteAttributes struct {
	// contains filtered or unexported fields
}

func (TestTrafficRouteAttributes) InternalRef

func (ttr TestTrafficRouteAttributes) InternalRef() (terra.Reference, error)

func (TestTrafficRouteAttributes) InternalTokens

func (ttr TestTrafficRouteAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TestTrafficRouteAttributes) InternalWithRef

func (TestTrafficRouteAttributes) ListenerArns

type TestTrafficRouteState

type TestTrafficRouteState struct {
	ListenerArns []string `json:"listener_arns"`
}

type TriggerConfiguration

type TriggerConfiguration struct {
	// TriggerEvents: set of string, required
	TriggerEvents terra.SetValue[terra.StringValue] `hcl:"trigger_events,attr" validate:"required"`
	// TriggerName: string, required
	TriggerName terra.StringValue `hcl:"trigger_name,attr" validate:"required"`
	// TriggerTargetArn: string, required
	TriggerTargetArn terra.StringValue `hcl:"trigger_target_arn,attr" validate:"required"`
}

type TriggerConfigurationAttributes

type TriggerConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (TriggerConfigurationAttributes) InternalRef

func (TriggerConfigurationAttributes) InternalTokens

func (tc TriggerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TriggerConfigurationAttributes) InternalWithRef

func (TriggerConfigurationAttributes) TriggerEvents

func (TriggerConfigurationAttributes) TriggerName

func (TriggerConfigurationAttributes) TriggerTargetArn

func (tc TriggerConfigurationAttributes) TriggerTargetArn() terra.StringValue

type TriggerConfigurationState

type TriggerConfigurationState struct {
	TriggerEvents    []string `json:"trigger_events"`
	TriggerName      string   `json:"trigger_name"`
	TriggerTargetArn string   `json:"trigger_target_arn"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL