cloudwatcheventtarget

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 BatchTarget

type BatchTarget struct {
	// ArraySize: number, optional
	ArraySize terra.NumberValue `hcl:"array_size,attr"`
	// JobAttempts: number, optional
	JobAttempts terra.NumberValue `hcl:"job_attempts,attr"`
	// JobDefinition: string, required
	JobDefinition terra.StringValue `hcl:"job_definition,attr" validate:"required"`
	// JobName: string, required
	JobName terra.StringValue `hcl:"job_name,attr" validate:"required"`
}

type BatchTargetAttributes

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

func (BatchTargetAttributes) ArraySize

func (bt BatchTargetAttributes) ArraySize() terra.NumberValue

func (BatchTargetAttributes) InternalRef

func (bt BatchTargetAttributes) InternalRef() (terra.Reference, error)

func (BatchTargetAttributes) InternalTokens

func (bt BatchTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BatchTargetAttributes) InternalWithRef

func (BatchTargetAttributes) JobAttempts

func (bt BatchTargetAttributes) JobAttempts() terra.NumberValue

func (BatchTargetAttributes) JobDefinition

func (bt BatchTargetAttributes) JobDefinition() terra.StringValue

func (BatchTargetAttributes) JobName

type BatchTargetState

type BatchTargetState struct {
	ArraySize     float64 `json:"array_size"`
	JobAttempts   float64 `json:"job_attempts"`
	JobDefinition string  `json:"job_definition"`
	JobName       string  `json:"job_name"`
}

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, optional
	Arn terra.StringValue `hcl:"arn,attr"`
}

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 EcsTarget

type EcsTarget 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"`
	// 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
	CapacityProviderStrategy []CapacityProviderStrategy `hcl:"capacity_provider_strategy,block" validate:"min=0"`
	// NetworkConfiguration: optional
	NetworkConfiguration *NetworkConfiguration `hcl:"network_configuration,block"`
	// OrderedPlacementStrategy: min=0,max=5
	OrderedPlacementStrategy []OrderedPlacementStrategy `hcl:"ordered_placement_strategy,block" validate:"min=0,max=5"`
	// PlacementConstraint: min=0,max=10
	PlacementConstraint []PlacementConstraint `hcl:"placement_constraint,block" validate:"min=0,max=10"`
}

type EcsTargetAttributes

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

func (EcsTargetAttributes) CapacityProviderStrategy

func (EcsTargetAttributes) EnableEcsManagedTags

func (et EcsTargetAttributes) EnableEcsManagedTags() terra.BoolValue

func (EcsTargetAttributes) EnableExecuteCommand

func (et EcsTargetAttributes) EnableExecuteCommand() terra.BoolValue

func (EcsTargetAttributes) Group

func (EcsTargetAttributes) InternalRef

func (et EcsTargetAttributes) InternalRef() (terra.Reference, error)

func (EcsTargetAttributes) InternalTokens

func (et EcsTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EcsTargetAttributes) InternalWithRef

func (et EcsTargetAttributes) InternalWithRef(ref terra.Reference) EcsTargetAttributes

func (EcsTargetAttributes) LaunchType

func (et EcsTargetAttributes) LaunchType() terra.StringValue

func (EcsTargetAttributes) NetworkConfiguration

func (EcsTargetAttributes) OrderedPlacementStrategy

func (EcsTargetAttributes) PlacementConstraint

func (EcsTargetAttributes) PlatformVersion

func (et EcsTargetAttributes) PlatformVersion() terra.StringValue

func (EcsTargetAttributes) PropagateTags

func (et EcsTargetAttributes) PropagateTags() terra.StringValue

func (EcsTargetAttributes) Tags

func (EcsTargetAttributes) TaskCount

func (et EcsTargetAttributes) TaskCount() terra.NumberValue

func (EcsTargetAttributes) TaskDefinitionArn

func (et EcsTargetAttributes) TaskDefinitionArn() terra.StringValue

type EcsTargetState

type EcsTargetState 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"`
	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"`
	OrderedPlacementStrategy []OrderedPlacementStrategyState `json:"ordered_placement_strategy"`
	PlacementConstraint      []PlacementConstraintState      `json:"placement_constraint"`
}

type HttpTarget

type HttpTarget struct {
	// HeaderParameters: map of string, optional
	HeaderParameters terra.MapValue[terra.StringValue] `hcl:"header_parameters,attr"`
	// PathParameterValues: list of string, optional
	PathParameterValues terra.ListValue[terra.StringValue] `hcl:"path_parameter_values,attr"`
	// QueryStringParameters: map of string, optional
	QueryStringParameters terra.MapValue[terra.StringValue] `hcl:"query_string_parameters,attr"`
}

type HttpTargetAttributes

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

func (HttpTargetAttributes) HeaderParameters

func (ht HttpTargetAttributes) HeaderParameters() terra.MapValue[terra.StringValue]

func (HttpTargetAttributes) InternalRef

func (ht HttpTargetAttributes) InternalRef() (terra.Reference, error)

func (HttpTargetAttributes) InternalTokens

func (ht HttpTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HttpTargetAttributes) InternalWithRef

func (ht HttpTargetAttributes) InternalWithRef(ref terra.Reference) HttpTargetAttributes

func (HttpTargetAttributes) PathParameterValues

func (ht HttpTargetAttributes) PathParameterValues() terra.ListValue[terra.StringValue]

func (HttpTargetAttributes) QueryStringParameters

func (ht HttpTargetAttributes) QueryStringParameters() terra.MapValue[terra.StringValue]

type HttpTargetState

type HttpTargetState struct {
	HeaderParameters      map[string]string `json:"header_parameters"`
	PathParameterValues   []string          `json:"path_parameter_values"`
	QueryStringParameters map[string]string `json:"query_string_parameters"`
}

type InputTransformer

type InputTransformer struct {
	// InputPaths: map of string, optional
	InputPaths terra.MapValue[terra.StringValue] `hcl:"input_paths,attr"`
	// InputTemplate: string, required
	InputTemplate terra.StringValue `hcl:"input_template,attr" validate:"required"`
}

type InputTransformerAttributes

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

func (InputTransformerAttributes) InputPaths

func (InputTransformerAttributes) InputTemplate

func (it InputTransformerAttributes) InputTemplate() terra.StringValue

func (InputTransformerAttributes) InternalRef

func (it InputTransformerAttributes) InternalRef() (terra.Reference, error)

func (InputTransformerAttributes) InternalTokens

func (it InputTransformerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputTransformerAttributes) InternalWithRef

type InputTransformerState

type InputTransformerState struct {
	InputPaths    map[string]string `json:"input_paths"`
	InputTemplate string            `json:"input_template"`
}

type KinesisTarget

type KinesisTarget struct {
	// PartitionKeyPath: string, optional
	PartitionKeyPath terra.StringValue `hcl:"partition_key_path,attr"`
}

type KinesisTargetAttributes

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

func (KinesisTargetAttributes) InternalRef

func (kt KinesisTargetAttributes) InternalRef() (terra.Reference, error)

func (KinesisTargetAttributes) InternalTokens

func (kt KinesisTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KinesisTargetAttributes) InternalWithRef

func (KinesisTargetAttributes) PartitionKeyPath

func (kt KinesisTargetAttributes) PartitionKeyPath() terra.StringValue

type KinesisTargetState

type KinesisTargetState struct {
	PartitionKeyPath string `json:"partition_key_path"`
}

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 OrderedPlacementStrategy

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

type OrderedPlacementStrategyAttributes

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

func (OrderedPlacementStrategyAttributes) Field

func (OrderedPlacementStrategyAttributes) InternalRef

func (OrderedPlacementStrategyAttributes) InternalTokens

func (ops OrderedPlacementStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OrderedPlacementStrategyAttributes) InternalWithRef

func (OrderedPlacementStrategyAttributes) Type

type OrderedPlacementStrategyState

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

type PipelineParameterList

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

type PipelineParameterListAttributes

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

func (PipelineParameterListAttributes) InternalRef

func (PipelineParameterListAttributes) InternalTokens

func (ppl PipelineParameterListAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PipelineParameterListAttributes) InternalWithRef

func (PipelineParameterListAttributes) Name

func (PipelineParameterListAttributes) Value

type PipelineParameterListState

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

type PlacementConstraint

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

type PlacementConstraintAttributes

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

func (PlacementConstraintAttributes) Expression

func (PlacementConstraintAttributes) InternalRef

func (pc PlacementConstraintAttributes) InternalRef() (terra.Reference, error)

func (PlacementConstraintAttributes) InternalTokens

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

func (PlacementConstraintAttributes) InternalWithRef

func (PlacementConstraintAttributes) Type

type PlacementConstraintState

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

type RedshiftTarget

type RedshiftTarget struct {
	// Database: string, required
	Database terra.StringValue `hcl:"database,attr" validate:"required"`
	// DbUser: string, optional
	DbUser terra.StringValue `hcl:"db_user,attr"`
	// SecretsManagerArn: string, optional
	SecretsManagerArn terra.StringValue `hcl:"secrets_manager_arn,attr"`
	// Sql: string, optional
	Sql terra.StringValue `hcl:"sql,attr"`
	// StatementName: string, optional
	StatementName terra.StringValue `hcl:"statement_name,attr"`
	// WithEvent: bool, optional
	WithEvent terra.BoolValue `hcl:"with_event,attr"`
}

type RedshiftTargetAttributes

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

func (RedshiftTargetAttributes) Database

func (RedshiftTargetAttributes) DbUser

func (RedshiftTargetAttributes) InternalRef

func (rt RedshiftTargetAttributes) InternalRef() (terra.Reference, error)

func (RedshiftTargetAttributes) InternalTokens

func (rt RedshiftTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedshiftTargetAttributes) InternalWithRef

func (RedshiftTargetAttributes) SecretsManagerArn

func (rt RedshiftTargetAttributes) SecretsManagerArn() terra.StringValue

func (RedshiftTargetAttributes) Sql

func (RedshiftTargetAttributes) StatementName

func (rt RedshiftTargetAttributes) StatementName() terra.StringValue

func (RedshiftTargetAttributes) WithEvent

func (rt RedshiftTargetAttributes) WithEvent() terra.BoolValue

type RedshiftTargetState

type RedshiftTargetState struct {
	Database          string `json:"database"`
	DbUser            string `json:"db_user"`
	SecretsManagerArn string `json:"secrets_manager_arn"`
	Sql               string `json:"sql"`
	StatementName     string `json:"statement_name"`
	WithEvent         bool   `json:"with_event"`
}

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 RunCommandTargets

type RunCommandTargets struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type RunCommandTargetsAttributes

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

func (RunCommandTargetsAttributes) InternalRef

func (rct RunCommandTargetsAttributes) InternalRef() (terra.Reference, error)

func (RunCommandTargetsAttributes) InternalTokens

func (rct RunCommandTargetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RunCommandTargetsAttributes) InternalWithRef

func (RunCommandTargetsAttributes) Key

func (RunCommandTargetsAttributes) Values

type RunCommandTargetsState

type RunCommandTargetsState struct {
	Key    string   `json:"key"`
	Values []string `json:"values"`
}

type SagemakerPipelineTarget

type SagemakerPipelineTarget struct {
	// PipelineParameterList: min=0,max=200
	PipelineParameterList []PipelineParameterList `hcl:"pipeline_parameter_list,block" validate:"min=0,max=200"`
}

type SagemakerPipelineTargetAttributes

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

func (SagemakerPipelineTargetAttributes) InternalRef

func (SagemakerPipelineTargetAttributes) InternalTokens

func (spt SagemakerPipelineTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SagemakerPipelineTargetAttributes) InternalWithRef

func (SagemakerPipelineTargetAttributes) PipelineParameterList

type SagemakerPipelineTargetState

type SagemakerPipelineTargetState struct {
	PipelineParameterList []PipelineParameterListState `json:"pipeline_parameter_list"`
}

type SqsTarget

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

type SqsTargetAttributes

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

func (SqsTargetAttributes) InternalRef

func (st SqsTargetAttributes) InternalRef() (terra.Reference, error)

func (SqsTargetAttributes) InternalTokens

func (st SqsTargetAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SqsTargetAttributes) InternalWithRef

func (st SqsTargetAttributes) InternalWithRef(ref terra.Reference) SqsTargetAttributes

func (SqsTargetAttributes) MessageGroupId

func (st SqsTargetAttributes) MessageGroupId() terra.StringValue

type SqsTargetState

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

Jump to

Keyboard shortcuts

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