ceanomalysubscription

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 And

type And struct {
	// AndCostCategory: optional
	CostCategory *AndCostCategory `hcl:"cost_category,block"`
	// AndDimension: optional
	Dimension *AndDimension `hcl:"dimension,block"`
	// AndTags: optional
	Tags *AndTags `hcl:"tags,block"`
}

type AndAttributes

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

func (AndAttributes) CostCategory

func (AndAttributes) Dimension

func (AndAttributes) InternalRef

func (a AndAttributes) InternalRef() (terra.Reference, error)

func (AndAttributes) InternalTokens

func (a AndAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AndAttributes) InternalWithRef

func (a AndAttributes) InternalWithRef(ref terra.Reference) AndAttributes

func (AndAttributes) Tags

type AndCostCategory

type AndCostCategory struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type AndCostCategoryAttributes

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

func (AndCostCategoryAttributes) InternalRef

func (cc AndCostCategoryAttributes) InternalRef() (terra.Reference, error)

func (AndCostCategoryAttributes) InternalTokens

func (cc AndCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AndCostCategoryAttributes) InternalWithRef

func (AndCostCategoryAttributes) Key

func (AndCostCategoryAttributes) MatchOptions

func (AndCostCategoryAttributes) Values

type AndCostCategoryState

type AndCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type AndDimension

type AndDimension struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type AndDimensionAttributes

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

func (AndDimensionAttributes) InternalRef

func (d AndDimensionAttributes) InternalRef() (terra.Reference, error)

func (AndDimensionAttributes) InternalTokens

func (d AndDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AndDimensionAttributes) InternalWithRef

func (AndDimensionAttributes) Key

func (AndDimensionAttributes) MatchOptions

func (AndDimensionAttributes) Values

type AndDimensionState

type AndDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type AndState

type AndState struct {
	CostCategory []AndCostCategoryState `json:"cost_category"`
	Dimension    []AndDimensionState    `json:"dimension"`
	Tags         []AndTagsState         `json:"tags"`
}

type AndTags

type AndTags struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type AndTagsAttributes

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

func (AndTagsAttributes) InternalRef

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

func (AndTagsAttributes) InternalTokens

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

func (AndTagsAttributes) InternalWithRef

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

func (AndTagsAttributes) Key

func (AndTagsAttributes) MatchOptions

func (t AndTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (AndTagsAttributes) Values

type AndTagsState

type AndTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type Not

type Not struct {
	// NotCostCategory: optional
	CostCategory *NotCostCategory `hcl:"cost_category,block"`
	// NotDimension: optional
	Dimension *NotDimension `hcl:"dimension,block"`
	// NotTags: optional
	Tags *NotTags `hcl:"tags,block"`
}

type NotAttributes

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

func (NotAttributes) CostCategory

func (NotAttributes) Dimension

func (NotAttributes) InternalRef

func (n NotAttributes) InternalRef() (terra.Reference, error)

func (NotAttributes) InternalTokens

func (n NotAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotAttributes) InternalWithRef

func (n NotAttributes) InternalWithRef(ref terra.Reference) NotAttributes

func (NotAttributes) Tags

type NotCostCategory

type NotCostCategory struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type NotCostCategoryAttributes

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

func (NotCostCategoryAttributes) InternalRef

func (cc NotCostCategoryAttributes) InternalRef() (terra.Reference, error)

func (NotCostCategoryAttributes) InternalTokens

func (cc NotCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotCostCategoryAttributes) InternalWithRef

func (NotCostCategoryAttributes) Key

func (NotCostCategoryAttributes) MatchOptions

func (NotCostCategoryAttributes) Values

type NotCostCategoryState

type NotCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type NotDimension

type NotDimension struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type NotDimensionAttributes

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

func (NotDimensionAttributes) InternalRef

func (d NotDimensionAttributes) InternalRef() (terra.Reference, error)

func (NotDimensionAttributes) InternalTokens

func (d NotDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotDimensionAttributes) InternalWithRef

func (NotDimensionAttributes) Key

func (NotDimensionAttributes) MatchOptions

func (NotDimensionAttributes) Values

type NotDimensionState

type NotDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type NotState

type NotState struct {
	CostCategory []NotCostCategoryState `json:"cost_category"`
	Dimension    []NotDimensionState    `json:"dimension"`
	Tags         []NotTagsState         `json:"tags"`
}

type NotTags

type NotTags struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type NotTagsAttributes

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

func (NotTagsAttributes) InternalRef

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

func (NotTagsAttributes) InternalTokens

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

func (NotTagsAttributes) InternalWithRef

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

func (NotTagsAttributes) Key

func (NotTagsAttributes) MatchOptions

func (t NotTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (NotTagsAttributes) Values

type NotTagsState

type NotTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type Or

type Or struct {
	// OrCostCategory: optional
	CostCategory *OrCostCategory `hcl:"cost_category,block"`
	// OrDimension: optional
	Dimension *OrDimension `hcl:"dimension,block"`
	// OrTags: optional
	Tags *OrTags `hcl:"tags,block"`
}

type OrAttributes

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

func (OrAttributes) CostCategory

func (OrAttributes) Dimension

func (OrAttributes) InternalRef

func (o OrAttributes) InternalRef() (terra.Reference, error)

func (OrAttributes) InternalTokens

func (o OrAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OrAttributes) InternalWithRef

func (o OrAttributes) InternalWithRef(ref terra.Reference) OrAttributes

func (OrAttributes) Tags

type OrCostCategory

type OrCostCategory struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type OrCostCategoryAttributes

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

func (OrCostCategoryAttributes) InternalRef

func (cc OrCostCategoryAttributes) InternalRef() (terra.Reference, error)

func (OrCostCategoryAttributes) InternalTokens

func (cc OrCostCategoryAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OrCostCategoryAttributes) InternalWithRef

func (OrCostCategoryAttributes) Key

func (OrCostCategoryAttributes) MatchOptions

func (OrCostCategoryAttributes) Values

type OrCostCategoryState

type OrCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type OrDimension

type OrDimension struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type OrDimensionAttributes

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

func (OrDimensionAttributes) InternalRef

func (d OrDimensionAttributes) InternalRef() (terra.Reference, error)

func (OrDimensionAttributes) InternalTokens

func (d OrDimensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OrDimensionAttributes) InternalWithRef

func (OrDimensionAttributes) Key

func (OrDimensionAttributes) MatchOptions

func (OrDimensionAttributes) Values

type OrDimensionState

type OrDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type OrState

type OrState struct {
	CostCategory []OrCostCategoryState `json:"cost_category"`
	Dimension    []OrDimensionState    `json:"dimension"`
	Tags         []OrTagsState         `json:"tags"`
}

type OrTags

type OrTags struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type OrTagsAttributes

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

func (OrTagsAttributes) InternalRef

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

func (OrTagsAttributes) InternalTokens

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

func (OrTagsAttributes) InternalWithRef

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

func (OrTagsAttributes) Key

func (OrTagsAttributes) MatchOptions

func (t OrTagsAttributes) MatchOptions() terra.SetValue[terra.StringValue]

func (OrTagsAttributes) Values

type OrTagsState

type OrTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type Subscriber

type Subscriber struct {
	// Address: string, required
	Address terra.StringValue `hcl:"address,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type SubscriberAttributes

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

func (SubscriberAttributes) Address

func (SubscriberAttributes) InternalRef

func (s SubscriberAttributes) InternalRef() (terra.Reference, error)

func (SubscriberAttributes) InternalTokens

func (s SubscriberAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SubscriberAttributes) InternalWithRef

func (SubscriberAttributes) Type

type SubscriberState

type SubscriberState struct {
	Address string `json:"address"`
	Type    string `json:"type"`
}

type ThresholdExpression

type ThresholdExpression struct {
	// And: min=0
	And []And `hcl:"and,block" validate:"min=0"`
	// ThresholdExpressionCostCategory: optional
	CostCategory *ThresholdExpressionCostCategory `hcl:"cost_category,block"`
	// ThresholdExpressionDimension: optional
	Dimension *ThresholdExpressionDimension `hcl:"dimension,block"`
	// Not: optional
	Not *Not `hcl:"not,block"`
	// Or: min=0
	Or []Or `hcl:"or,block" validate:"min=0"`
	// ThresholdExpressionTags: optional
	Tags *ThresholdExpressionTags `hcl:"tags,block"`
}

type ThresholdExpressionAttributes

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

func (ThresholdExpressionAttributes) And

func (ThresholdExpressionAttributes) CostCategory

func (ThresholdExpressionAttributes) Dimension

func (ThresholdExpressionAttributes) InternalRef

func (te ThresholdExpressionAttributes) InternalRef() (terra.Reference, error)

func (ThresholdExpressionAttributes) InternalTokens

func (te ThresholdExpressionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ThresholdExpressionAttributes) InternalWithRef

func (ThresholdExpressionAttributes) Not

func (ThresholdExpressionAttributes) Or

func (ThresholdExpressionAttributes) Tags

type ThresholdExpressionCostCategory

type ThresholdExpressionCostCategory struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type ThresholdExpressionCostCategoryAttributes

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

func (ThresholdExpressionCostCategoryAttributes) InternalRef

func (ThresholdExpressionCostCategoryAttributes) InternalTokens

func (ThresholdExpressionCostCategoryAttributes) InternalWithRef

func (ThresholdExpressionCostCategoryAttributes) Key

func (ThresholdExpressionCostCategoryAttributes) MatchOptions

func (ThresholdExpressionCostCategoryAttributes) Values

type ThresholdExpressionCostCategoryState

type ThresholdExpressionCostCategoryState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type ThresholdExpressionDimension

type ThresholdExpressionDimension struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type ThresholdExpressionDimensionAttributes

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

func (ThresholdExpressionDimensionAttributes) InternalRef

func (ThresholdExpressionDimensionAttributes) InternalTokens

func (ThresholdExpressionDimensionAttributes) InternalWithRef

func (ThresholdExpressionDimensionAttributes) Key

func (ThresholdExpressionDimensionAttributes) MatchOptions

func (ThresholdExpressionDimensionAttributes) Values

type ThresholdExpressionDimensionState

type ThresholdExpressionDimensionState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

type ThresholdExpressionState

type ThresholdExpressionState struct {
	And          []AndState                             `json:"and"`
	CostCategory []ThresholdExpressionCostCategoryState `json:"cost_category"`
	Dimension    []ThresholdExpressionDimensionState    `json:"dimension"`
	Not          []NotState                             `json:"not"`
	Or           []OrState                              `json:"or"`
	Tags         []ThresholdExpressionTagsState         `json:"tags"`
}

type ThresholdExpressionTags

type ThresholdExpressionTags struct {
	// Key: string, optional
	Key terra.StringValue `hcl:"key,attr"`
	// MatchOptions: set of string, optional
	MatchOptions terra.SetValue[terra.StringValue] `hcl:"match_options,attr"`
	// Values: set of string, optional
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr"`
}

type ThresholdExpressionTagsAttributes

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

func (ThresholdExpressionTagsAttributes) InternalRef

func (ThresholdExpressionTagsAttributes) InternalTokens

func (ThresholdExpressionTagsAttributes) InternalWithRef

func (ThresholdExpressionTagsAttributes) Key

func (ThresholdExpressionTagsAttributes) MatchOptions

func (ThresholdExpressionTagsAttributes) Values

type ThresholdExpressionTagsState

type ThresholdExpressionTagsState struct {
	Key          string   `json:"key"`
	MatchOptions []string `json:"match_options"`
	Values       []string `json:"values"`
}

Jump to

Keyboard shortcuts

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