aws_codedeploy_deployment_group

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 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 Args

type Args struct {
	// AppName: string, required
	AppName terra.StringValue `hcl:"app_name,attr" validate:"required"`
	// AutoscalingGroups: set of string, optional
	AutoscalingGroups terra.SetValue[terra.StringValue] `hcl:"autoscaling_groups,attr"`
	// DeploymentConfigName: string, optional
	DeploymentConfigName terra.StringValue `hcl:"deployment_config_name,attr"`
	// DeploymentGroupName: string, required
	DeploymentGroupName terra.StringValue `hcl:"deployment_group_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ServiceRoleArn: string, required
	ServiceRoleArn terra.StringValue `hcl:"service_role_arn,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// AlarmConfiguration: optional
	AlarmConfiguration *AlarmConfiguration `hcl:"alarm_configuration,block"`
	// AutoRollbackConfiguration: optional
	AutoRollbackConfiguration *AutoRollbackConfiguration `hcl:"auto_rollback_configuration,block"`
	// BlueGreenDeploymentConfig: optional
	BlueGreenDeploymentConfig *BlueGreenDeploymentConfig `hcl:"blue_green_deployment_config,block"`
	// DeploymentStyle: optional
	DeploymentStyle *DeploymentStyle `hcl:"deployment_style,block"`
	// Ec2TagFilter: min=0
	Ec2TagFilter []Ec2TagFilter `hcl:"ec2_tag_filter,block" validate:"min=0"`
	// Ec2TagSet: min=0
	Ec2TagSet []Ec2TagSet `hcl:"ec2_tag_set,block" validate:"min=0"`
	// EcsService: optional
	EcsService *EcsService `hcl:"ecs_service,block"`
	// LoadBalancerInfo: optional
	LoadBalancerInfo *LoadBalancerInfo `hcl:"load_balancer_info,block"`
	// OnPremisesInstanceTagFilter: min=0
	OnPremisesInstanceTagFilter []OnPremisesInstanceTagFilter `hcl:"on_premises_instance_tag_filter,block" validate:"min=0"`
	// TriggerConfiguration: min=0
	TriggerConfiguration []TriggerConfiguration `hcl:"trigger_configuration,block" validate:"min=0"`
}

Args contains the configurations for aws_codedeploy_deployment_group.

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 {
	// BlueGreenDeploymentConfigDeploymentReadyOption: optional
	DeploymentReadyOption *BlueGreenDeploymentConfigDeploymentReadyOption `hcl:"deployment_ready_option,block"`
	// BlueGreenDeploymentConfigGreenFleetProvisioningOption: optional
	GreenFleetProvisioningOption *BlueGreenDeploymentConfigGreenFleetProvisioningOption `hcl:"green_fleet_provisioning_option,block"`
	// BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccess: optional
	TerminateBlueInstancesOnDeploymentSuccess *BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccess `hcl:"terminate_blue_instances_on_deployment_success,block"`
}

type BlueGreenDeploymentConfigAttributes

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

func (BlueGreenDeploymentConfigAttributes) DeploymentReadyOption

func (BlueGreenDeploymentConfigAttributes) InternalRef

func (BlueGreenDeploymentConfigAttributes) InternalTokens

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

func (BlueGreenDeploymentConfigAttributes) InternalWithRef

type BlueGreenDeploymentConfigDeploymentReadyOption

type BlueGreenDeploymentConfigDeploymentReadyOption 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 BlueGreenDeploymentConfigDeploymentReadyOptionAttributes

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

func (BlueGreenDeploymentConfigDeploymentReadyOptionAttributes) ActionOnTimeout

func (BlueGreenDeploymentConfigDeploymentReadyOptionAttributes) InternalRef

func (BlueGreenDeploymentConfigDeploymentReadyOptionAttributes) InternalTokens

func (BlueGreenDeploymentConfigDeploymentReadyOptionAttributes) InternalWithRef

func (BlueGreenDeploymentConfigDeploymentReadyOptionAttributes) WaitTimeInMinutes

type BlueGreenDeploymentConfigDeploymentReadyOptionState

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

type BlueGreenDeploymentConfigGreenFleetProvisioningOption

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

type BlueGreenDeploymentConfigGreenFleetProvisioningOptionAttributes

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

func (BlueGreenDeploymentConfigGreenFleetProvisioningOptionAttributes) Action

func (BlueGreenDeploymentConfigGreenFleetProvisioningOptionAttributes) InternalRef

func (BlueGreenDeploymentConfigGreenFleetProvisioningOptionAttributes) InternalTokens

func (BlueGreenDeploymentConfigGreenFleetProvisioningOptionAttributes) InternalWithRef

type BlueGreenDeploymentConfigGreenFleetProvisioningOptionState

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

type BlueGreenDeploymentConfigState

type BlueGreenDeploymentConfigState struct {
	DeploymentReadyOption                     []BlueGreenDeploymentConfigDeploymentReadyOptionState                     `json:"deployment_ready_option"`
	GreenFleetProvisioningOption              []BlueGreenDeploymentConfigGreenFleetProvisioningOptionState              `json:"green_fleet_provisioning_option"`
	TerminateBlueInstancesOnDeploymentSuccess []BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessState `json:"terminate_blue_instances_on_deployment_success"`
}

type BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccess

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

type BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes

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

func (BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes) Action

func (BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes) InternalRef

func (BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes) InternalTokens

func (BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes) InternalWithRef

func (BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessAttributes) TerminationWaitTimeInMinutes

type BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessState

type BlueGreenDeploymentConfigTerminateBlueInstancesOnDeploymentSuccessState struct {
	Action                       string  `json:"action"`
	TerminationWaitTimeInMinutes float64 `json:"termination_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 LoadBalancerInfo

type LoadBalancerInfo struct {
	// LoadBalancerInfoElbInfo: min=0
	ElbInfo []LoadBalancerInfoElbInfo `hcl:"elb_info,block" validate:"min=0"`
	// LoadBalancerInfoTargetGroupInfo: min=0
	TargetGroupInfo []LoadBalancerInfoTargetGroupInfo `hcl:"target_group_info,block" validate:"min=0"`
	// LoadBalancerInfoTargetGroupPairInfo: optional
	TargetGroupPairInfo *LoadBalancerInfoTargetGroupPairInfo `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 LoadBalancerInfoElbInfo

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

type LoadBalancerInfoElbInfoAttributes

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

func (LoadBalancerInfoElbInfoAttributes) InternalRef

func (LoadBalancerInfoElbInfoAttributes) InternalTokens

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

func (LoadBalancerInfoElbInfoAttributes) InternalWithRef

func (LoadBalancerInfoElbInfoAttributes) Name

type LoadBalancerInfoElbInfoState

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

type LoadBalancerInfoState

type LoadBalancerInfoState struct {
	ElbInfo             []LoadBalancerInfoElbInfoState             `json:"elb_info"`
	TargetGroupInfo     []LoadBalancerInfoTargetGroupInfoState     `json:"target_group_info"`
	TargetGroupPairInfo []LoadBalancerInfoTargetGroupPairInfoState `json:"target_group_pair_info"`
}

type LoadBalancerInfoTargetGroupInfo

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

type LoadBalancerInfoTargetGroupInfoAttributes

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

func (LoadBalancerInfoTargetGroupInfoAttributes) InternalRef

func (LoadBalancerInfoTargetGroupInfoAttributes) InternalTokens

func (LoadBalancerInfoTargetGroupInfoAttributes) InternalWithRef

func (LoadBalancerInfoTargetGroupInfoAttributes) Name

type LoadBalancerInfoTargetGroupInfoState

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

type LoadBalancerInfoTargetGroupPairInfo

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

type LoadBalancerInfoTargetGroupPairInfoAttributes

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

func (LoadBalancerInfoTargetGroupPairInfoAttributes) InternalRef

func (LoadBalancerInfoTargetGroupPairInfoAttributes) InternalTokens

func (LoadBalancerInfoTargetGroupPairInfoAttributes) InternalWithRef

func (LoadBalancerInfoTargetGroupPairInfoAttributes) ProdTrafficRoute

func (LoadBalancerInfoTargetGroupPairInfoAttributes) TargetGroup

func (LoadBalancerInfoTargetGroupPairInfoAttributes) TestTrafficRoute

type LoadBalancerInfoTargetGroupPairInfoProdTrafficRoute

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

type LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteAttributes

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

func (LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteAttributes) InternalRef

func (LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteAttributes) InternalTokens

func (LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteAttributes) InternalWithRef

func (LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteAttributes) ListenerArns

type LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteState

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

type LoadBalancerInfoTargetGroupPairInfoState

type LoadBalancerInfoTargetGroupPairInfoState struct {
	ProdTrafficRoute []LoadBalancerInfoTargetGroupPairInfoProdTrafficRouteState `json:"prod_traffic_route"`
	TargetGroup      []LoadBalancerInfoTargetGroupPairInfoTargetGroupState      `json:"target_group"`
	TestTrafficRoute []LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteState `json:"test_traffic_route"`
}

type LoadBalancerInfoTargetGroupPairInfoTargetGroup

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

type LoadBalancerInfoTargetGroupPairInfoTargetGroupAttributes

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

func (LoadBalancerInfoTargetGroupPairInfoTargetGroupAttributes) InternalRef

func (LoadBalancerInfoTargetGroupPairInfoTargetGroupAttributes) InternalTokens

func (LoadBalancerInfoTargetGroupPairInfoTargetGroupAttributes) InternalWithRef

func (LoadBalancerInfoTargetGroupPairInfoTargetGroupAttributes) Name

type LoadBalancerInfoTargetGroupPairInfoTargetGroupState

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

type LoadBalancerInfoTargetGroupPairInfoTestTrafficRoute

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

type LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteAttributes

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

func (LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteAttributes) InternalRef

func (LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteAttributes) InternalTokens

func (LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteAttributes) InternalWithRef

func (LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteAttributes) ListenerArns

type LoadBalancerInfoTargetGroupPairInfoTestTrafficRouteState

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

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 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_group.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acdg *Resource) Attributes() awsCodedeployDeploymentGroupAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (acdg *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (acdg *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (acdg *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (acdg *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (acdg *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acdg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acdg *Resource) State() (*awsCodedeployDeploymentGroupState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (acdg *Resource) StateMust() *awsCodedeployDeploymentGroupState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (acdg *Resource) Type() string

Type returns the Terraform object type for Resource.

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