schedulerschedule

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 CapacityProviderStrategy

type CapacityProviderStrategy struct {
	// Base: number, optional
	Base terra.NumberValue `hcl:"base,attr"`
	// CapacityProvider: string, required
	CapacityProvider terra.StringValue `hcl:"capacity_provider,attr" validate:"required"`
	// Weight: number, optional
	Weight terra.NumberValue `hcl:"weight,attr"`
}

type CapacityProviderStrategyAttributes

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

func (CapacityProviderStrategyAttributes) Base

func (CapacityProviderStrategyAttributes) CapacityProvider

func (cps CapacityProviderStrategyAttributes) CapacityProvider() terra.StringValue

func (CapacityProviderStrategyAttributes) InternalRef

func (CapacityProviderStrategyAttributes) InternalTokens

func (cps CapacityProviderStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityProviderStrategyAttributes) InternalWithRef

func (CapacityProviderStrategyAttributes) Weight

type CapacityProviderStrategyState

type CapacityProviderStrategyState struct {
	Base             float64 `json:"base"`
	CapacityProvider string  `json:"capacity_provider"`
	Weight           float64 `json:"weight"`
}

type DeadLetterConfig

type DeadLetterConfig struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
}

type DeadLetterConfigAttributes

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

func (DeadLetterConfigAttributes) Arn

func (DeadLetterConfigAttributes) InternalRef

func (dlc DeadLetterConfigAttributes) InternalRef() (terra.Reference, error)

func (DeadLetterConfigAttributes) InternalTokens

func (dlc DeadLetterConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeadLetterConfigAttributes) InternalWithRef

type DeadLetterConfigState

type DeadLetterConfigState struct {
	Arn string `json:"arn"`
}

type EcsParameters

type EcsParameters struct {
	// EnableEcsManagedTags: bool, optional
	EnableEcsManagedTags terra.BoolValue `hcl:"enable_ecs_managed_tags,attr"`
	// EnableExecuteCommand: bool, optional
	EnableExecuteCommand terra.BoolValue `hcl:"enable_execute_command,attr"`
	// Group: string, optional
	Group terra.StringValue `hcl:"group,attr"`
	// LaunchType: string, optional
	LaunchType terra.StringValue `hcl:"launch_type,attr"`
	// PlatformVersion: string, optional
	PlatformVersion terra.StringValue `hcl:"platform_version,attr"`
	// PropagateTags: string, optional
	PropagateTags terra.StringValue `hcl:"propagate_tags,attr"`
	// ReferenceId: string, optional
	ReferenceId terra.StringValue `hcl:"reference_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TaskCount: number, optional
	TaskCount terra.NumberValue `hcl:"task_count,attr"`
	// TaskDefinitionArn: string, required
	TaskDefinitionArn terra.StringValue `hcl:"task_definition_arn,attr" validate:"required"`
	// CapacityProviderStrategy: min=0,max=6
	CapacityProviderStrategy []CapacityProviderStrategy `hcl:"capacity_provider_strategy,block" validate:"min=0,max=6"`
	// NetworkConfiguration: optional
	NetworkConfiguration *NetworkConfiguration `hcl:"network_configuration,block"`
	// PlacementConstraints: min=0,max=10
	PlacementConstraints []PlacementConstraints `hcl:"placement_constraints,block" validate:"min=0,max=10"`
	// PlacementStrategy: min=0,max=5
	PlacementStrategy []PlacementStrategy `hcl:"placement_strategy,block" validate:"min=0,max=5"`
}

type EcsParametersAttributes

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

func (EcsParametersAttributes) CapacityProviderStrategy

func (EcsParametersAttributes) EnableEcsManagedTags

func (ep EcsParametersAttributes) EnableEcsManagedTags() terra.BoolValue

func (EcsParametersAttributes) EnableExecuteCommand

func (ep EcsParametersAttributes) EnableExecuteCommand() terra.BoolValue

func (EcsParametersAttributes) Group

func (EcsParametersAttributes) InternalRef

func (ep EcsParametersAttributes) InternalRef() (terra.Reference, error)

func (EcsParametersAttributes) InternalTokens

func (ep EcsParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EcsParametersAttributes) InternalWithRef

func (EcsParametersAttributes) LaunchType

func (ep EcsParametersAttributes) LaunchType() terra.StringValue

func (EcsParametersAttributes) NetworkConfiguration

func (EcsParametersAttributes) PlacementConstraints

func (EcsParametersAttributes) PlacementStrategy

func (EcsParametersAttributes) PlatformVersion

func (ep EcsParametersAttributes) PlatformVersion() terra.StringValue

func (EcsParametersAttributes) PropagateTags

func (ep EcsParametersAttributes) PropagateTags() terra.StringValue

func (EcsParametersAttributes) ReferenceId

func (ep EcsParametersAttributes) ReferenceId() terra.StringValue

func (EcsParametersAttributes) Tags

func (EcsParametersAttributes) TaskCount

func (ep EcsParametersAttributes) TaskCount() terra.NumberValue

func (EcsParametersAttributes) TaskDefinitionArn

func (ep EcsParametersAttributes) TaskDefinitionArn() terra.StringValue

type EcsParametersState

type EcsParametersState struct {
	EnableEcsManagedTags     bool                            `json:"enable_ecs_managed_tags"`
	EnableExecuteCommand     bool                            `json:"enable_execute_command"`
	Group                    string                          `json:"group"`
	LaunchType               string                          `json:"launch_type"`
	PlatformVersion          string                          `json:"platform_version"`
	PropagateTags            string                          `json:"propagate_tags"`
	ReferenceId              string                          `json:"reference_id"`
	Tags                     map[string]string               `json:"tags"`
	TaskCount                float64                         `json:"task_count"`
	TaskDefinitionArn        string                          `json:"task_definition_arn"`
	CapacityProviderStrategy []CapacityProviderStrategyState `json:"capacity_provider_strategy"`
	NetworkConfiguration     []NetworkConfigurationState     `json:"network_configuration"`
	PlacementConstraints     []PlacementConstraintsState     `json:"placement_constraints"`
	PlacementStrategy        []PlacementStrategyState        `json:"placement_strategy"`
}

type EventbridgeParameters

type EventbridgeParameters struct {
	// DetailType: string, required
	DetailType terra.StringValue `hcl:"detail_type,attr" validate:"required"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
}

type EventbridgeParametersAttributes

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

func (EventbridgeParametersAttributes) DetailType

func (EventbridgeParametersAttributes) InternalRef

func (EventbridgeParametersAttributes) InternalTokens

func (ep EventbridgeParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventbridgeParametersAttributes) InternalWithRef

func (EventbridgeParametersAttributes) Source

type EventbridgeParametersState

type EventbridgeParametersState struct {
	DetailType string `json:"detail_type"`
	Source     string `json:"source"`
}

type FlexibleTimeWindow

type FlexibleTimeWindow struct {
	// MaximumWindowInMinutes: number, optional
	MaximumWindowInMinutes terra.NumberValue `hcl:"maximum_window_in_minutes,attr"`
	// Mode: string, required
	Mode terra.StringValue `hcl:"mode,attr" validate:"required"`
}

type FlexibleTimeWindowAttributes

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

func (FlexibleTimeWindowAttributes) InternalRef

func (ftw FlexibleTimeWindowAttributes) InternalRef() (terra.Reference, error)

func (FlexibleTimeWindowAttributes) InternalTokens

func (ftw FlexibleTimeWindowAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FlexibleTimeWindowAttributes) InternalWithRef

func (FlexibleTimeWindowAttributes) MaximumWindowInMinutes

func (ftw FlexibleTimeWindowAttributes) MaximumWindowInMinutes() terra.NumberValue

func (FlexibleTimeWindowAttributes) Mode

type FlexibleTimeWindowState

type FlexibleTimeWindowState struct {
	MaximumWindowInMinutes float64 `json:"maximum_window_in_minutes"`
	Mode                   string  `json:"mode"`
}

type KinesisParameters

type KinesisParameters struct {
	// PartitionKey: string, required
	PartitionKey terra.StringValue `hcl:"partition_key,attr" validate:"required"`
}

type KinesisParametersAttributes

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

func (KinesisParametersAttributes) InternalRef

func (kp KinesisParametersAttributes) InternalRef() (terra.Reference, error)

func (KinesisParametersAttributes) InternalTokens

func (kp KinesisParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KinesisParametersAttributes) InternalWithRef

func (KinesisParametersAttributes) PartitionKey

func (kp KinesisParametersAttributes) PartitionKey() terra.StringValue

type KinesisParametersState

type KinesisParametersState struct {
	PartitionKey string `json:"partition_key"`
}

type NetworkConfiguration

type NetworkConfiguration struct {
	// AssignPublicIp: bool, optional
	AssignPublicIp terra.BoolValue `hcl:"assign_public_ip,attr"`
	// SecurityGroups: set of string, optional
	SecurityGroups terra.SetValue[terra.StringValue] `hcl:"security_groups,attr"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type NetworkConfigurationAttributes

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

func (NetworkConfigurationAttributes) AssignPublicIp

func (nc NetworkConfigurationAttributes) AssignPublicIp() terra.BoolValue

func (NetworkConfigurationAttributes) InternalRef

func (NetworkConfigurationAttributes) InternalTokens

func (nc NetworkConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkConfigurationAttributes) InternalWithRef

func (NetworkConfigurationAttributes) SecurityGroups

func (NetworkConfigurationAttributes) Subnets

type NetworkConfigurationState

type NetworkConfigurationState struct {
	AssignPublicIp bool     `json:"assign_public_ip"`
	SecurityGroups []string `json:"security_groups"`
	Subnets        []string `json:"subnets"`
}

type PipelineParameter

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

type PipelineParameterAttributes

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

func (PipelineParameterAttributes) InternalRef

func (pp PipelineParameterAttributes) InternalRef() (terra.Reference, error)

func (PipelineParameterAttributes) InternalTokens

func (pp PipelineParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PipelineParameterAttributes) InternalWithRef

func (PipelineParameterAttributes) Name

func (PipelineParameterAttributes) Value

type PipelineParameterState

type PipelineParameterState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type PlacementConstraints

type PlacementConstraints struct {
	// Expression: string, optional
	Expression terra.StringValue `hcl:"expression,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PlacementConstraintsAttributes

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

func (PlacementConstraintsAttributes) Expression

func (PlacementConstraintsAttributes) InternalRef

func (PlacementConstraintsAttributes) InternalTokens

func (pc PlacementConstraintsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementConstraintsAttributes) InternalWithRef

func (PlacementConstraintsAttributes) Type

type PlacementConstraintsState

type PlacementConstraintsState struct {
	Expression string `json:"expression"`
	Type       string `json:"type"`
}

type PlacementStrategy

type PlacementStrategy struct {
	// Field: string, optional
	Field terra.StringValue `hcl:"field,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type PlacementStrategyAttributes

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

func (PlacementStrategyAttributes) Field

func (PlacementStrategyAttributes) InternalRef

func (ps PlacementStrategyAttributes) InternalRef() (terra.Reference, error)

func (PlacementStrategyAttributes) InternalTokens

func (ps PlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlacementStrategyAttributes) InternalWithRef

func (PlacementStrategyAttributes) Type

type PlacementStrategyState

type PlacementStrategyState struct {
	Field string `json:"field"`
	Type  string `json:"type"`
}

type RetryPolicy

type RetryPolicy struct {
	// MaximumEventAgeInSeconds: number, optional
	MaximumEventAgeInSeconds terra.NumberValue `hcl:"maximum_event_age_in_seconds,attr"`
	// MaximumRetryAttempts: number, optional
	MaximumRetryAttempts terra.NumberValue `hcl:"maximum_retry_attempts,attr"`
}

type RetryPolicyAttributes

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

func (RetryPolicyAttributes) InternalRef

func (rp RetryPolicyAttributes) InternalRef() (terra.Reference, error)

func (RetryPolicyAttributes) InternalTokens

func (rp RetryPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RetryPolicyAttributes) InternalWithRef

func (RetryPolicyAttributes) MaximumEventAgeInSeconds

func (rp RetryPolicyAttributes) MaximumEventAgeInSeconds() terra.NumberValue

func (RetryPolicyAttributes) MaximumRetryAttempts

func (rp RetryPolicyAttributes) MaximumRetryAttempts() terra.NumberValue

type RetryPolicyState

type RetryPolicyState struct {
	MaximumEventAgeInSeconds float64 `json:"maximum_event_age_in_seconds"`
	MaximumRetryAttempts     float64 `json:"maximum_retry_attempts"`
}

type SagemakerPipelineParameters

type SagemakerPipelineParameters struct {
	// PipelineParameter: min=0,max=200
	PipelineParameter []PipelineParameter `hcl:"pipeline_parameter,block" validate:"min=0,max=200"`
}

type SagemakerPipelineParametersAttributes

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

func (SagemakerPipelineParametersAttributes) InternalRef

func (SagemakerPipelineParametersAttributes) InternalTokens

func (SagemakerPipelineParametersAttributes) InternalWithRef

func (SagemakerPipelineParametersAttributes) PipelineParameter

type SagemakerPipelineParametersState

type SagemakerPipelineParametersState struct {
	PipelineParameter []PipelineParameterState `json:"pipeline_parameter"`
}

type SqsParameters

type SqsParameters struct {
	// MessageGroupId: string, optional
	MessageGroupId terra.StringValue `hcl:"message_group_id,attr"`
}

type SqsParametersAttributes

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

func (SqsParametersAttributes) InternalRef

func (sp SqsParametersAttributes) InternalRef() (terra.Reference, error)

func (SqsParametersAttributes) InternalTokens

func (sp SqsParametersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SqsParametersAttributes) InternalWithRef

func (SqsParametersAttributes) MessageGroupId

func (sp SqsParametersAttributes) MessageGroupId() terra.StringValue

type SqsParametersState

type SqsParametersState struct {
	MessageGroupId string `json:"message_group_id"`
}

type Target

type Target struct {
	// Arn: string, required
	Arn terra.StringValue `hcl:"arn,attr" validate:"required"`
	// Input: string, optional
	Input terra.StringValue `hcl:"input,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// DeadLetterConfig: optional
	DeadLetterConfig *DeadLetterConfig `hcl:"dead_letter_config,block"`
	// EcsParameters: optional
	EcsParameters *EcsParameters `hcl:"ecs_parameters,block"`
	// EventbridgeParameters: optional
	EventbridgeParameters *EventbridgeParameters `hcl:"eventbridge_parameters,block"`
	// KinesisParameters: optional
	KinesisParameters *KinesisParameters `hcl:"kinesis_parameters,block"`
	// RetryPolicy: optional
	RetryPolicy *RetryPolicy `hcl:"retry_policy,block"`
	// SagemakerPipelineParameters: optional
	SagemakerPipelineParameters *SagemakerPipelineParameters `hcl:"sagemaker_pipeline_parameters,block"`
	// SqsParameters: optional
	SqsParameters *SqsParameters `hcl:"sqs_parameters,block"`
}

type TargetAttributes

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

func (TargetAttributes) Arn

func (TargetAttributes) DeadLetterConfig

func (TargetAttributes) EcsParameters

func (TargetAttributes) EventbridgeParameters

func (TargetAttributes) Input

func (TargetAttributes) InternalRef

func (t TargetAttributes) InternalRef() (terra.Reference, error)

func (TargetAttributes) InternalTokens

func (t TargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TargetAttributes) InternalWithRef

func (t TargetAttributes) InternalWithRef(ref terra.Reference) TargetAttributes

func (TargetAttributes) KinesisParameters

func (TargetAttributes) RetryPolicy

func (TargetAttributes) RoleArn

func (t TargetAttributes) RoleArn() terra.StringValue

func (TargetAttributes) SagemakerPipelineParameters

func (t TargetAttributes) SagemakerPipelineParameters() terra.ListValue[SagemakerPipelineParametersAttributes]

func (TargetAttributes) SqsParameters

type TargetState

type TargetState struct {
	Arn                         string                             `json:"arn"`
	Input                       string                             `json:"input"`
	RoleArn                     string                             `json:"role_arn"`
	DeadLetterConfig            []DeadLetterConfigState            `json:"dead_letter_config"`
	EcsParameters               []EcsParametersState               `json:"ecs_parameters"`
	EventbridgeParameters       []EventbridgeParametersState       `json:"eventbridge_parameters"`
	KinesisParameters           []KinesisParametersState           `json:"kinesis_parameters"`
	RetryPolicy                 []RetryPolicyState                 `json:"retry_policy"`
	SagemakerPipelineParameters []SagemakerPipelineParametersState `json:"sagemaker_pipeline_parameters"`
	SqsParameters               []SqsParametersState               `json:"sqs_parameters"`
}

Jump to

Keyboard shortcuts

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