aws_ce_cost_category

package
v0.0.0-...-4deecce 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 Args

type Args struct {
	// DefaultValue: string, optional
	DefaultValue terra.StringValue `hcl:"default_value,attr"`
	// EffectiveStart: string, optional
	EffectiveStart terra.StringValue `hcl:"effective_start,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RuleVersion: string, required
	RuleVersion terra.StringValue `hcl:"rule_version,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"`
	// Rule: min=1
	Rule []Rule `hcl:"rule,block" validate:"min=1"`
	// SplitChargeRule: min=0
	SplitChargeRule []SplitChargeRule `hcl:"split_charge_rule,block" validate:"min=0"`
}

Args contains the configurations for aws_ce_cost_category.

type DataArgs

type DataArgs struct {
	// CostCategoryArn: string, required
	CostCategoryArn terra.StringValue `hcl:"cost_category_arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_ce_cost_category.

type DataRuleAttributes

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

func (DataRuleAttributes) InheritedValue

func (DataRuleAttributes) InternalRef

func (r DataRuleAttributes) InternalRef() (terra.Reference, error)

func (DataRuleAttributes) InternalTokens

func (r DataRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRuleAttributes) InternalWithRef

func (r DataRuleAttributes) InternalWithRef(ref terra.Reference) DataRuleAttributes

func (DataRuleAttributes) Rule

func (DataRuleAttributes) Type

func (DataRuleAttributes) Value

type DataRuleInheritedValueAttributes

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

func (DataRuleInheritedValueAttributes) DimensionKey

func (DataRuleInheritedValueAttributes) DimensionName

func (DataRuleInheritedValueAttributes) InternalRef

func (DataRuleInheritedValueAttributes) InternalTokens

func (iv DataRuleInheritedValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRuleInheritedValueAttributes) InternalWithRef

type DataRuleInheritedValueState

type DataRuleInheritedValueState struct {
	DimensionKey  string `json:"dimension_key"`
	DimensionName string `json:"dimension_name"`
}

type DataRuleRuleAndAttributes

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

func (DataRuleRuleAndAttributes) CostCategory

func (DataRuleRuleAndAttributes) Dimension

func (DataRuleRuleAndAttributes) InternalRef

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

func (DataRuleRuleAndAttributes) InternalTokens

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

func (DataRuleRuleAndAttributes) InternalWithRef

func (DataRuleRuleAndAttributes) Tags

type DataRuleRuleAndCostCategoryAttributes

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

func (DataRuleRuleAndCostCategoryAttributes) InternalRef

func (DataRuleRuleAndCostCategoryAttributes) InternalTokens

func (DataRuleRuleAndCostCategoryAttributes) InternalWithRef

func (DataRuleRuleAndCostCategoryAttributes) Key

func (DataRuleRuleAndCostCategoryAttributes) MatchOptions

func (DataRuleRuleAndCostCategoryAttributes) Values

type DataRuleRuleAndCostCategoryState

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

type DataRuleRuleAndDimensionAttributes

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

func (DataRuleRuleAndDimensionAttributes) InternalRef

func (DataRuleRuleAndDimensionAttributes) InternalTokens

func (DataRuleRuleAndDimensionAttributes) InternalWithRef

func (DataRuleRuleAndDimensionAttributes) Key

func (DataRuleRuleAndDimensionAttributes) MatchOptions

func (DataRuleRuleAndDimensionAttributes) Values

type DataRuleRuleAndDimensionState

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

type DataRuleRuleAndState

type DataRuleRuleAndState struct {
	CostCategory []DataRuleRuleAndCostCategoryState `json:"cost_category"`
	Dimension    []DataRuleRuleAndDimensionState    `json:"dimension"`
	Tags         []DataRuleRuleAndTagsState         `json:"tags"`
}

type DataRuleRuleAndTagsAttributes

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

func (DataRuleRuleAndTagsAttributes) InternalRef

func (DataRuleRuleAndTagsAttributes) InternalTokens

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

func (DataRuleRuleAndTagsAttributes) InternalWithRef

func (DataRuleRuleAndTagsAttributes) Key

func (DataRuleRuleAndTagsAttributes) MatchOptions

func (DataRuleRuleAndTagsAttributes) Values

type DataRuleRuleAndTagsState

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

type DataRuleRuleAttributes

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

func (DataRuleRuleAttributes) And

func (DataRuleRuleAttributes) CostCategory

func (DataRuleRuleAttributes) Dimension

func (DataRuleRuleAttributes) InternalRef

func (r DataRuleRuleAttributes) InternalRef() (terra.Reference, error)

func (DataRuleRuleAttributes) InternalTokens

func (r DataRuleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataRuleRuleAttributes) InternalWithRef

func (DataRuleRuleAttributes) Not

func (DataRuleRuleAttributes) Or

func (DataRuleRuleAttributes) Tags

type DataRuleRuleCostCategoryAttributes

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

func (DataRuleRuleCostCategoryAttributes) InternalRef

func (DataRuleRuleCostCategoryAttributes) InternalTokens

func (DataRuleRuleCostCategoryAttributes) InternalWithRef

func (DataRuleRuleCostCategoryAttributes) Key

func (DataRuleRuleCostCategoryAttributes) MatchOptions

func (DataRuleRuleCostCategoryAttributes) Values

type DataRuleRuleCostCategoryState

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

type DataRuleRuleDimensionAttributes

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

func (DataRuleRuleDimensionAttributes) InternalRef

func (DataRuleRuleDimensionAttributes) InternalTokens

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

func (DataRuleRuleDimensionAttributes) InternalWithRef

func (DataRuleRuleDimensionAttributes) Key

func (DataRuleRuleDimensionAttributes) MatchOptions

func (DataRuleRuleDimensionAttributes) Values

type DataRuleRuleDimensionState

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

type DataRuleRuleNotAttributes

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

func (DataRuleRuleNotAttributes) CostCategory

func (DataRuleRuleNotAttributes) Dimension

func (DataRuleRuleNotAttributes) InternalRef

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

func (DataRuleRuleNotAttributes) InternalTokens

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

func (DataRuleRuleNotAttributes) InternalWithRef

func (DataRuleRuleNotAttributes) Tags

type DataRuleRuleNotCostCategoryAttributes

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

func (DataRuleRuleNotCostCategoryAttributes) InternalRef

func (DataRuleRuleNotCostCategoryAttributes) InternalTokens

func (DataRuleRuleNotCostCategoryAttributes) InternalWithRef

func (DataRuleRuleNotCostCategoryAttributes) Key

func (DataRuleRuleNotCostCategoryAttributes) MatchOptions

func (DataRuleRuleNotCostCategoryAttributes) Values

type DataRuleRuleNotCostCategoryState

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

type DataRuleRuleNotDimensionAttributes

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

func (DataRuleRuleNotDimensionAttributes) InternalRef

func (DataRuleRuleNotDimensionAttributes) InternalTokens

func (DataRuleRuleNotDimensionAttributes) InternalWithRef

func (DataRuleRuleNotDimensionAttributes) Key

func (DataRuleRuleNotDimensionAttributes) MatchOptions

func (DataRuleRuleNotDimensionAttributes) Values

type DataRuleRuleNotDimensionState

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

type DataRuleRuleNotState

type DataRuleRuleNotState struct {
	CostCategory []DataRuleRuleNotCostCategoryState `json:"cost_category"`
	Dimension    []DataRuleRuleNotDimensionState    `json:"dimension"`
	Tags         []DataRuleRuleNotTagsState         `json:"tags"`
}

type DataRuleRuleNotTagsAttributes

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

func (DataRuleRuleNotTagsAttributes) InternalRef

func (DataRuleRuleNotTagsAttributes) InternalTokens

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

func (DataRuleRuleNotTagsAttributes) InternalWithRef

func (DataRuleRuleNotTagsAttributes) Key

func (DataRuleRuleNotTagsAttributes) MatchOptions

func (DataRuleRuleNotTagsAttributes) Values

type DataRuleRuleNotTagsState

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

type DataRuleRuleOrAttributes

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

func (DataRuleRuleOrAttributes) CostCategory

func (DataRuleRuleOrAttributes) Dimension

func (DataRuleRuleOrAttributes) InternalRef

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

func (DataRuleRuleOrAttributes) InternalTokens

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

func (DataRuleRuleOrAttributes) InternalWithRef

func (DataRuleRuleOrAttributes) Tags

type DataRuleRuleOrCostCategoryAttributes

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

func (DataRuleRuleOrCostCategoryAttributes) InternalRef

func (DataRuleRuleOrCostCategoryAttributes) InternalTokens

func (DataRuleRuleOrCostCategoryAttributes) InternalWithRef

func (DataRuleRuleOrCostCategoryAttributes) Key

func (DataRuleRuleOrCostCategoryAttributes) MatchOptions

func (DataRuleRuleOrCostCategoryAttributes) Values

type DataRuleRuleOrCostCategoryState

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

type DataRuleRuleOrDimensionAttributes

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

func (DataRuleRuleOrDimensionAttributes) InternalRef

func (DataRuleRuleOrDimensionAttributes) InternalTokens

func (DataRuleRuleOrDimensionAttributes) InternalWithRef

func (DataRuleRuleOrDimensionAttributes) Key

func (DataRuleRuleOrDimensionAttributes) MatchOptions

func (DataRuleRuleOrDimensionAttributes) Values

type DataRuleRuleOrDimensionState

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

type DataRuleRuleOrState

type DataRuleRuleOrState struct {
	CostCategory []DataRuleRuleOrCostCategoryState `json:"cost_category"`
	Dimension    []DataRuleRuleOrDimensionState    `json:"dimension"`
	Tags         []DataRuleRuleOrTagsState         `json:"tags"`
}

type DataRuleRuleOrTagsAttributes

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

func (DataRuleRuleOrTagsAttributes) InternalRef

func (DataRuleRuleOrTagsAttributes) InternalTokens

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

func (DataRuleRuleOrTagsAttributes) InternalWithRef

func (DataRuleRuleOrTagsAttributes) Key

func (DataRuleRuleOrTagsAttributes) MatchOptions

func (DataRuleRuleOrTagsAttributes) Values

type DataRuleRuleOrTagsState

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

type DataRuleRuleState

type DataRuleRuleState struct {
	And          []DataRuleRuleAndState          `json:"and"`
	CostCategory []DataRuleRuleCostCategoryState `json:"cost_category"`
	Dimension    []DataRuleRuleDimensionState    `json:"dimension"`
	Not          []DataRuleRuleNotState          `json:"not"`
	Or           []DataRuleRuleOrState           `json:"or"`
	Tags         []DataRuleRuleTagsState         `json:"tags"`
}

type DataRuleRuleTagsAttributes

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

func (DataRuleRuleTagsAttributes) InternalRef

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

func (DataRuleRuleTagsAttributes) InternalTokens

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

func (DataRuleRuleTagsAttributes) InternalWithRef

func (DataRuleRuleTagsAttributes) Key

func (DataRuleRuleTagsAttributes) MatchOptions

func (DataRuleRuleTagsAttributes) Values

type DataRuleRuleTagsState

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

type DataRuleState

type DataRuleState struct {
	Type           string                        `json:"type"`
	Value          string                        `json:"value"`
	InheritedValue []DataRuleInheritedValueState `json:"inherited_value"`
	Rule           []DataRuleRuleState           `json:"rule"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_ce_cost_category.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (accc *DataSource) Attributes() dataAwsCeCostCategoryAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (accc *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (accc *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (accc *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataSplitChargeRuleAttributes

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

func (DataSplitChargeRuleAttributes) InternalRef

func (scr DataSplitChargeRuleAttributes) InternalRef() (terra.Reference, error)

func (DataSplitChargeRuleAttributes) InternalTokens

func (scr DataSplitChargeRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataSplitChargeRuleAttributes) InternalWithRef

func (DataSplitChargeRuleAttributes) Method

func (DataSplitChargeRuleAttributes) Parameter

func (DataSplitChargeRuleAttributes) Source

func (DataSplitChargeRuleAttributes) Targets

type DataSplitChargeRuleParameterAttributes

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

func (DataSplitChargeRuleParameterAttributes) InternalRef

func (DataSplitChargeRuleParameterAttributes) InternalTokens

func (DataSplitChargeRuleParameterAttributes) InternalWithRef

func (DataSplitChargeRuleParameterAttributes) Type

func (DataSplitChargeRuleParameterAttributes) Values

type DataSplitChargeRuleParameterState

type DataSplitChargeRuleParameterState struct {
	Type   string   `json:"type"`
	Values []string `json:"values"`
}

type DataSplitChargeRuleState

type DataSplitChargeRuleState struct {
	Method    string                              `json:"method"`
	Source    string                              `json:"source"`
	Targets   []string                            `json:"targets"`
	Parameter []DataSplitChargeRuleParameterState `json:"parameter"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (accc *Resource) Attributes() awsCeCostCategoryAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (accc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (accc *Resource) State() (*awsCeCostCategoryState, bool)

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

func (*Resource) StateMust

func (accc *Resource) StateMust() *awsCeCostCategoryState

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

func (*Resource) Type

func (accc *Resource) Type() string

Type returns the Terraform object type for Resource.

type Rule

type Rule struct {
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
	// RuleInheritedValue: optional
	InheritedValue *RuleInheritedValue `hcl:"inherited_value,block"`
	// RuleRule: optional
	Rule *RuleRule `hcl:"rule,block"`
}

type RuleAttributes

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

func (RuleAttributes) InheritedValue

func (RuleAttributes) InternalRef

func (r RuleAttributes) InternalRef() (terra.Reference, error)

func (RuleAttributes) InternalTokens

func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleAttributes) InternalWithRef

func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes

func (RuleAttributes) Rule

func (RuleAttributes) Type

func (r RuleAttributes) Type() terra.StringValue

func (RuleAttributes) Value

func (r RuleAttributes) Value() terra.StringValue

type RuleInheritedValue

type RuleInheritedValue struct {
	// DimensionKey: string, optional
	DimensionKey terra.StringValue `hcl:"dimension_key,attr"`
	// DimensionName: string, optional
	DimensionName terra.StringValue `hcl:"dimension_name,attr"`
}

type RuleInheritedValueAttributes

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

func (RuleInheritedValueAttributes) DimensionKey

func (RuleInheritedValueAttributes) DimensionName

func (iv RuleInheritedValueAttributes) DimensionName() terra.StringValue

func (RuleInheritedValueAttributes) InternalRef

func (iv RuleInheritedValueAttributes) InternalRef() (terra.Reference, error)

func (RuleInheritedValueAttributes) InternalTokens

func (iv RuleInheritedValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleInheritedValueAttributes) InternalWithRef

type RuleInheritedValueState

type RuleInheritedValueState struct {
	DimensionKey  string `json:"dimension_key"`
	DimensionName string `json:"dimension_name"`
}

type RuleRule

type RuleRule struct {
	// RuleRuleAnd: min=0
	And []RuleRuleAnd `hcl:"and,block" validate:"min=0"`
	// RuleRuleCostCategory: optional
	CostCategory *RuleRuleCostCategory `hcl:"cost_category,block"`
	// RuleRuleDimension: optional
	Dimension *RuleRuleDimension `hcl:"dimension,block"`
	// RuleRuleNot: optional
	Not *RuleRuleNot `hcl:"not,block"`
	// RuleRuleOr: min=0
	Or []RuleRuleOr `hcl:"or,block" validate:"min=0"`
	// RuleRuleTags: optional
	Tags *RuleRuleTags `hcl:"tags,block"`
}

type RuleRuleAnd

type RuleRuleAnd struct {
	// RuleRuleAndCostCategory: optional
	CostCategory *RuleRuleAndCostCategory `hcl:"cost_category,block"`
	// RuleRuleAndDimension: optional
	Dimension *RuleRuleAndDimension `hcl:"dimension,block"`
	// RuleRuleAndTags: optional
	Tags *RuleRuleAndTags `hcl:"tags,block"`
}

type RuleRuleAndAttributes

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

func (RuleRuleAndAttributes) CostCategory

func (RuleRuleAndAttributes) Dimension

func (RuleRuleAndAttributes) InternalRef

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

func (RuleRuleAndAttributes) InternalTokens

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

func (RuleRuleAndAttributes) InternalWithRef

func (RuleRuleAndAttributes) Tags

type RuleRuleAndCostCategory

type RuleRuleAndCostCategory 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 RuleRuleAndCostCategoryAttributes

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

func (RuleRuleAndCostCategoryAttributes) InternalRef

func (RuleRuleAndCostCategoryAttributes) InternalTokens

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

func (RuleRuleAndCostCategoryAttributes) InternalWithRef

func (RuleRuleAndCostCategoryAttributes) Key

func (RuleRuleAndCostCategoryAttributes) MatchOptions

func (RuleRuleAndCostCategoryAttributes) Values

type RuleRuleAndCostCategoryState

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

type RuleRuleAndDimension

type RuleRuleAndDimension 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 RuleRuleAndDimensionAttributes

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

func (RuleRuleAndDimensionAttributes) InternalRef

func (RuleRuleAndDimensionAttributes) InternalTokens

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

func (RuleRuleAndDimensionAttributes) InternalWithRef

func (RuleRuleAndDimensionAttributes) Key

func (RuleRuleAndDimensionAttributes) MatchOptions

func (RuleRuleAndDimensionAttributes) Values

type RuleRuleAndDimensionState

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

type RuleRuleAndState

type RuleRuleAndState struct {
	CostCategory []RuleRuleAndCostCategoryState `json:"cost_category"`
	Dimension    []RuleRuleAndDimensionState    `json:"dimension"`
	Tags         []RuleRuleAndTagsState         `json:"tags"`
}

type RuleRuleAndTags

type RuleRuleAndTags 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 RuleRuleAndTagsAttributes

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

func (RuleRuleAndTagsAttributes) InternalRef

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

func (RuleRuleAndTagsAttributes) InternalTokens

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

func (RuleRuleAndTagsAttributes) InternalWithRef

func (RuleRuleAndTagsAttributes) Key

func (RuleRuleAndTagsAttributes) MatchOptions

func (RuleRuleAndTagsAttributes) Values

type RuleRuleAndTagsState

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

type RuleRuleAttributes

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

func (RuleRuleAttributes) And

func (RuleRuleAttributes) CostCategory

func (RuleRuleAttributes) Dimension

func (RuleRuleAttributes) InternalRef

func (r RuleRuleAttributes) InternalRef() (terra.Reference, error)

func (RuleRuleAttributes) InternalTokens

func (r RuleRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleRuleAttributes) InternalWithRef

func (r RuleRuleAttributes) InternalWithRef(ref terra.Reference) RuleRuleAttributes

func (RuleRuleAttributes) Not

func (RuleRuleAttributes) Or

func (RuleRuleAttributes) Tags

type RuleRuleCostCategory

type RuleRuleCostCategory 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 RuleRuleCostCategoryAttributes

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

func (RuleRuleCostCategoryAttributes) InternalRef

func (RuleRuleCostCategoryAttributes) InternalTokens

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

func (RuleRuleCostCategoryAttributes) InternalWithRef

func (RuleRuleCostCategoryAttributes) Key

func (RuleRuleCostCategoryAttributes) MatchOptions

func (RuleRuleCostCategoryAttributes) Values

type RuleRuleCostCategoryState

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

type RuleRuleDimension

type RuleRuleDimension 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 RuleRuleDimensionAttributes

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

func (RuleRuleDimensionAttributes) InternalRef

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

func (RuleRuleDimensionAttributes) InternalTokens

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

func (RuleRuleDimensionAttributes) InternalWithRef

func (RuleRuleDimensionAttributes) Key

func (RuleRuleDimensionAttributes) MatchOptions

func (RuleRuleDimensionAttributes) Values

type RuleRuleDimensionState

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

type RuleRuleNot

type RuleRuleNot struct {
	// RuleRuleNotCostCategory: optional
	CostCategory *RuleRuleNotCostCategory `hcl:"cost_category,block"`
	// RuleRuleNotDimension: optional
	Dimension *RuleRuleNotDimension `hcl:"dimension,block"`
	// RuleRuleNotTags: optional
	Tags *RuleRuleNotTags `hcl:"tags,block"`
}

type RuleRuleNotAttributes

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

func (RuleRuleNotAttributes) CostCategory

func (RuleRuleNotAttributes) Dimension

func (RuleRuleNotAttributes) InternalRef

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

func (RuleRuleNotAttributes) InternalTokens

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

func (RuleRuleNotAttributes) InternalWithRef

func (RuleRuleNotAttributes) Tags

type RuleRuleNotCostCategory

type RuleRuleNotCostCategory 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 RuleRuleNotCostCategoryAttributes

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

func (RuleRuleNotCostCategoryAttributes) InternalRef

func (RuleRuleNotCostCategoryAttributes) InternalTokens

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

func (RuleRuleNotCostCategoryAttributes) InternalWithRef

func (RuleRuleNotCostCategoryAttributes) Key

func (RuleRuleNotCostCategoryAttributes) MatchOptions

func (RuleRuleNotCostCategoryAttributes) Values

type RuleRuleNotCostCategoryState

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

type RuleRuleNotDimension

type RuleRuleNotDimension 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 RuleRuleNotDimensionAttributes

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

func (RuleRuleNotDimensionAttributes) InternalRef

func (RuleRuleNotDimensionAttributes) InternalTokens

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

func (RuleRuleNotDimensionAttributes) InternalWithRef

func (RuleRuleNotDimensionAttributes) Key

func (RuleRuleNotDimensionAttributes) MatchOptions

func (RuleRuleNotDimensionAttributes) Values

type RuleRuleNotDimensionState

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

type RuleRuleNotState

type RuleRuleNotState struct {
	CostCategory []RuleRuleNotCostCategoryState `json:"cost_category"`
	Dimension    []RuleRuleNotDimensionState    `json:"dimension"`
	Tags         []RuleRuleNotTagsState         `json:"tags"`
}

type RuleRuleNotTags

type RuleRuleNotTags 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 RuleRuleNotTagsAttributes

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

func (RuleRuleNotTagsAttributes) InternalRef

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

func (RuleRuleNotTagsAttributes) InternalTokens

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

func (RuleRuleNotTagsAttributes) InternalWithRef

func (RuleRuleNotTagsAttributes) Key

func (RuleRuleNotTagsAttributes) MatchOptions

func (RuleRuleNotTagsAttributes) Values

type RuleRuleNotTagsState

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

type RuleRuleOr

type RuleRuleOr struct {
	// RuleRuleOrCostCategory: optional
	CostCategory *RuleRuleOrCostCategory `hcl:"cost_category,block"`
	// RuleRuleOrDimension: optional
	Dimension *RuleRuleOrDimension `hcl:"dimension,block"`
	// RuleRuleOrTags: optional
	Tags *RuleRuleOrTags `hcl:"tags,block"`
}

type RuleRuleOrAttributes

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

func (RuleRuleOrAttributes) CostCategory

func (RuleRuleOrAttributes) Dimension

func (RuleRuleOrAttributes) InternalRef

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

func (RuleRuleOrAttributes) InternalTokens

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

func (RuleRuleOrAttributes) InternalWithRef

func (RuleRuleOrAttributes) Tags

type RuleRuleOrCostCategory

type RuleRuleOrCostCategory 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 RuleRuleOrCostCategoryAttributes

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

func (RuleRuleOrCostCategoryAttributes) InternalRef

func (RuleRuleOrCostCategoryAttributes) InternalTokens

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

func (RuleRuleOrCostCategoryAttributes) InternalWithRef

func (RuleRuleOrCostCategoryAttributes) Key

func (RuleRuleOrCostCategoryAttributes) MatchOptions

func (RuleRuleOrCostCategoryAttributes) Values

type RuleRuleOrCostCategoryState

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

type RuleRuleOrDimension

type RuleRuleOrDimension 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 RuleRuleOrDimensionAttributes

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

func (RuleRuleOrDimensionAttributes) InternalRef

func (RuleRuleOrDimensionAttributes) InternalTokens

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

func (RuleRuleOrDimensionAttributes) InternalWithRef

func (RuleRuleOrDimensionAttributes) Key

func (RuleRuleOrDimensionAttributes) MatchOptions

func (RuleRuleOrDimensionAttributes) Values

type RuleRuleOrDimensionState

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

type RuleRuleOrState

type RuleRuleOrState struct {
	CostCategory []RuleRuleOrCostCategoryState `json:"cost_category"`
	Dimension    []RuleRuleOrDimensionState    `json:"dimension"`
	Tags         []RuleRuleOrTagsState         `json:"tags"`
}

type RuleRuleOrTags

type RuleRuleOrTags 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 RuleRuleOrTagsAttributes

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

func (RuleRuleOrTagsAttributes) InternalRef

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

func (RuleRuleOrTagsAttributes) InternalTokens

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

func (RuleRuleOrTagsAttributes) InternalWithRef

func (RuleRuleOrTagsAttributes) Key

func (RuleRuleOrTagsAttributes) MatchOptions

func (RuleRuleOrTagsAttributes) Values

type RuleRuleOrTagsState

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

type RuleRuleState

type RuleRuleState struct {
	And          []RuleRuleAndState          `json:"and"`
	CostCategory []RuleRuleCostCategoryState `json:"cost_category"`
	Dimension    []RuleRuleDimensionState    `json:"dimension"`
	Not          []RuleRuleNotState          `json:"not"`
	Or           []RuleRuleOrState           `json:"or"`
	Tags         []RuleRuleTagsState         `json:"tags"`
}

type RuleRuleTags

type RuleRuleTags 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 RuleRuleTagsAttributes

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

func (RuleRuleTagsAttributes) InternalRef

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

func (RuleRuleTagsAttributes) InternalTokens

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

func (RuleRuleTagsAttributes) InternalWithRef

func (RuleRuleTagsAttributes) Key

func (RuleRuleTagsAttributes) MatchOptions

func (RuleRuleTagsAttributes) Values

type RuleRuleTagsState

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

type RuleState

type RuleState struct {
	Type           string                    `json:"type"`
	Value          string                    `json:"value"`
	InheritedValue []RuleInheritedValueState `json:"inherited_value"`
	Rule           []RuleRuleState           `json:"rule"`
}

type SplitChargeRule

type SplitChargeRule struct {
	// Method: string, required
	Method terra.StringValue `hcl:"method,attr" validate:"required"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// Targets: set of string, required
	Targets terra.SetValue[terra.StringValue] `hcl:"targets,attr" validate:"required"`
	// SplitChargeRuleParameter: min=0
	Parameter []SplitChargeRuleParameter `hcl:"parameter,block" validate:"min=0"`
}

type SplitChargeRuleAttributes

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

func (SplitChargeRuleAttributes) InternalRef

func (scr SplitChargeRuleAttributes) InternalRef() (terra.Reference, error)

func (SplitChargeRuleAttributes) InternalTokens

func (scr SplitChargeRuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SplitChargeRuleAttributes) InternalWithRef

func (SplitChargeRuleAttributes) Method

func (SplitChargeRuleAttributes) Parameter

func (SplitChargeRuleAttributes) Source

func (SplitChargeRuleAttributes) Targets

type SplitChargeRuleParameter

type SplitChargeRuleParameter struct {
	// Type: string, optional
	Type terra.StringValue `hcl:"type,attr"`
	// Values: list of string, optional
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr"`
}

type SplitChargeRuleParameterAttributes

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

func (SplitChargeRuleParameterAttributes) InternalRef

func (SplitChargeRuleParameterAttributes) InternalTokens

func (SplitChargeRuleParameterAttributes) InternalWithRef

func (SplitChargeRuleParameterAttributes) Type

func (SplitChargeRuleParameterAttributes) Values

type SplitChargeRuleParameterState

type SplitChargeRuleParameterState struct {
	Type   string   `json:"type"`
	Values []string `json:"values"`
}

type SplitChargeRuleState

type SplitChargeRuleState struct {
	Method    string                          `json:"method"`
	Source    string                          `json:"source"`
	Targets   []string                        `json:"targets"`
	Parameter []SplitChargeRuleParameterState `json:"parameter"`
}

Jump to

Keyboard shortcuts

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