aws_evidently_feature

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// DefaultVariation: string, optional
	DefaultVariation terra.StringValue `hcl:"default_variation,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// EntityOverrides: map of string, optional
	EntityOverrides terra.MapValue[terra.StringValue] `hcl:"entity_overrides,attr"`
	// EvaluationStrategy: string, optional
	EvaluationStrategy terra.StringValue `hcl:"evaluation_strategy,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Project: string, required
	Project terra.StringValue `hcl:"project,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"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// Variations: min=1,max=5
	Variations []Variations `hcl:"variations,block" validate:"min=1,max=5"`
}

Args contains the configurations for aws_evidently_feature.

type EvaluationRulesAttributes

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

func (EvaluationRulesAttributes) InternalRef

func (er EvaluationRulesAttributes) InternalRef() (terra.Reference, error)

func (EvaluationRulesAttributes) InternalTokens

func (er EvaluationRulesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EvaluationRulesAttributes) InternalWithRef

func (EvaluationRulesAttributes) Name

func (EvaluationRulesAttributes) Type

type EvaluationRulesState

type EvaluationRulesState struct {
	Name string `json:"name"`
	Type string `json:"type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aef *Resource) Attributes() awsEvidentlyFeatureAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aef *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aef *Resource) State() (*awsEvidentlyFeatureState, bool)

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

func (*Resource) StateMust

func (aef *Resource) StateMust() *awsEvidentlyFeatureState

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

func (*Resource) Type

func (aef *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

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

func (TimeoutsAttributes) InternalTokens

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

func (TimeoutsAttributes) InternalWithRef

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

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type Variations

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

type VariationsAttributes

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

func (VariationsAttributes) InternalRef

func (v VariationsAttributes) InternalRef() (terra.Reference, error)

func (VariationsAttributes) InternalTokens

func (v VariationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VariationsAttributes) InternalWithRef

func (VariationsAttributes) Name

func (VariationsAttributes) Value

type VariationsState

type VariationsState struct {
	Name  string                 `json:"name"`
	Value []VariationsValueState `json:"value"`
}

type VariationsValue

type VariationsValue struct {
	// BoolValue: string, optional
	BoolValue terra.StringValue `hcl:"bool_value,attr"`
	// DoubleValue: string, optional
	DoubleValue terra.StringValue `hcl:"double_value,attr"`
	// LongValue: string, optional
	LongValue terra.StringValue `hcl:"long_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type VariationsValueAttributes

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

func (VariationsValueAttributes) BoolValue

func (VariationsValueAttributes) DoubleValue

func (VariationsValueAttributes) InternalRef

func (v VariationsValueAttributes) InternalRef() (terra.Reference, error)

func (VariationsValueAttributes) InternalTokens

func (v VariationsValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VariationsValueAttributes) InternalWithRef

func (VariationsValueAttributes) LongValue

func (VariationsValueAttributes) StringValue

type VariationsValueState

type VariationsValueState struct {
	BoolValue   string `json:"bool_value"`
	DoubleValue string `json:"double_value"`
	LongValue   string `json:"long_value"`
	StringValue string `json:"string_value"`
}

Jump to

Keyboard shortcuts

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