aws_evidently_launch

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,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"`
	// RandomizationSalt: string, optional
	RandomizationSalt terra.StringValue `hcl:"randomization_salt,attr"`
	// 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"`
	// Groups: min=1,max=5
	Groups []Groups `hcl:"groups,block" validate:"min=1,max=5"`
	// MetricMonitors: min=0,max=3
	MetricMonitors []MetricMonitors `hcl:"metric_monitors,block" validate:"min=0,max=3"`
	// ScheduledSplitsConfig: optional
	ScheduledSplitsConfig *ScheduledSplitsConfig `hcl:"scheduled_splits_config,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_evidently_launch.

type ExecutionAttributes

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

func (ExecutionAttributes) EndedTime

func (e ExecutionAttributes) EndedTime() terra.StringValue

func (ExecutionAttributes) InternalRef

func (e ExecutionAttributes) InternalRef() (terra.Reference, error)

func (ExecutionAttributes) InternalTokens

func (e ExecutionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExecutionAttributes) InternalWithRef

func (e ExecutionAttributes) InternalWithRef(ref terra.Reference) ExecutionAttributes

func (ExecutionAttributes) StartedTime

func (e ExecutionAttributes) StartedTime() terra.StringValue

type ExecutionState

type ExecutionState struct {
	EndedTime   string `json:"ended_time"`
	StartedTime string `json:"started_time"`
}

type Groups

type Groups struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Feature: string, required
	Feature terra.StringValue `hcl:"feature,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Variation: string, required
	Variation terra.StringValue `hcl:"variation,attr" validate:"required"`
}

type GroupsAttributes

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

func (GroupsAttributes) Description

func (g GroupsAttributes) Description() terra.StringValue

func (GroupsAttributes) Feature

func (g GroupsAttributes) Feature() terra.StringValue

func (GroupsAttributes) InternalRef

func (g GroupsAttributes) InternalRef() (terra.Reference, error)

func (GroupsAttributes) InternalTokens

func (g GroupsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (GroupsAttributes) InternalWithRef

func (g GroupsAttributes) InternalWithRef(ref terra.Reference) GroupsAttributes

func (GroupsAttributes) Name

func (GroupsAttributes) Variation

func (g GroupsAttributes) Variation() terra.StringValue

type GroupsState

type GroupsState struct {
	Description string `json:"description"`
	Feature     string `json:"feature"`
	Name        string `json:"name"`
	Variation   string `json:"variation"`
}

type MetricMonitors

type MetricMonitors struct {
	// MetricMonitorsMetricDefinition: required
	MetricDefinition *MetricMonitorsMetricDefinition `hcl:"metric_definition,block" validate:"required"`
}

type MetricMonitorsAttributes

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

func (MetricMonitorsAttributes) InternalRef

func (mm MetricMonitorsAttributes) InternalRef() (terra.Reference, error)

func (MetricMonitorsAttributes) InternalTokens

func (mm MetricMonitorsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetricMonitorsAttributes) InternalWithRef

func (MetricMonitorsAttributes) MetricDefinition

type MetricMonitorsMetricDefinition

type MetricMonitorsMetricDefinition struct {
	// EntityIdKey: string, required
	EntityIdKey terra.StringValue `hcl:"entity_id_key,attr" validate:"required"`
	// EventPattern: string, optional
	EventPattern terra.StringValue `hcl:"event_pattern,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// UnitLabel: string, optional
	UnitLabel terra.StringValue `hcl:"unit_label,attr"`
	// ValueKey: string, required
	ValueKey terra.StringValue `hcl:"value_key,attr" validate:"required"`
}

type MetricMonitorsMetricDefinitionAttributes

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

func (MetricMonitorsMetricDefinitionAttributes) EntityIdKey

func (MetricMonitorsMetricDefinitionAttributes) EventPattern

func (MetricMonitorsMetricDefinitionAttributes) InternalRef

func (MetricMonitorsMetricDefinitionAttributes) InternalTokens

func (MetricMonitorsMetricDefinitionAttributes) InternalWithRef

func (MetricMonitorsMetricDefinitionAttributes) Name

func (MetricMonitorsMetricDefinitionAttributes) UnitLabel

func (MetricMonitorsMetricDefinitionAttributes) ValueKey

type MetricMonitorsMetricDefinitionState

type MetricMonitorsMetricDefinitionState struct {
	EntityIdKey  string `json:"entity_id_key"`
	EventPattern string `json:"event_pattern"`
	Name         string `json:"name"`
	UnitLabel    string `json:"unit_label"`
	ValueKey     string `json:"value_key"`
}

type MetricMonitorsState

type MetricMonitorsState struct {
	MetricDefinition []MetricMonitorsMetricDefinitionState `json:"metric_definition"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ael *Resource) Attributes() awsEvidentlyLaunchAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ael *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ael *Resource) State() (*awsEvidentlyLaunchState, bool)

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

func (*Resource) StateMust

func (ael *Resource) StateMust() *awsEvidentlyLaunchState

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

func (*Resource) Type

func (ael *Resource) Type() string

Type returns the Terraform object type for Resource.

type ScheduledSplitsConfig

type ScheduledSplitsConfig struct {
	// ScheduledSplitsConfigSteps: min=1,max=6
	Steps []ScheduledSplitsConfigSteps `hcl:"steps,block" validate:"min=1,max=6"`
}

type ScheduledSplitsConfigAttributes

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

func (ScheduledSplitsConfigAttributes) InternalRef

func (ScheduledSplitsConfigAttributes) InternalTokens

func (ssc ScheduledSplitsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScheduledSplitsConfigAttributes) InternalWithRef

func (ScheduledSplitsConfigAttributes) Steps

type ScheduledSplitsConfigState

type ScheduledSplitsConfigState struct {
	Steps []ScheduledSplitsConfigStepsState `json:"steps"`
}

type ScheduledSplitsConfigSteps

type ScheduledSplitsConfigSteps struct {
	// GroupWeights: map of number, required
	GroupWeights terra.MapValue[terra.NumberValue] `hcl:"group_weights,attr" validate:"required"`
	// StartTime: string, required
	StartTime terra.StringValue `hcl:"start_time,attr" validate:"required"`
	// ScheduledSplitsConfigStepsSegmentOverrides: min=0,max=6
	SegmentOverrides []ScheduledSplitsConfigStepsSegmentOverrides `hcl:"segment_overrides,block" validate:"min=0,max=6"`
}

type ScheduledSplitsConfigStepsAttributes

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

func (ScheduledSplitsConfigStepsAttributes) GroupWeights

func (ScheduledSplitsConfigStepsAttributes) InternalRef

func (ScheduledSplitsConfigStepsAttributes) InternalTokens

func (ScheduledSplitsConfigStepsAttributes) InternalWithRef

func (ScheduledSplitsConfigStepsAttributes) SegmentOverrides

func (ScheduledSplitsConfigStepsAttributes) StartTime

type ScheduledSplitsConfigStepsSegmentOverrides

type ScheduledSplitsConfigStepsSegmentOverrides struct {
	// EvaluationOrder: number, required
	EvaluationOrder terra.NumberValue `hcl:"evaluation_order,attr" validate:"required"`
	// Segment: string, required
	Segment terra.StringValue `hcl:"segment,attr" validate:"required"`
	// Weights: map of number, required
	Weights terra.MapValue[terra.NumberValue] `hcl:"weights,attr" validate:"required"`
}

type ScheduledSplitsConfigStepsSegmentOverridesAttributes

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

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) EvaluationOrder

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) InternalRef

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) InternalTokens

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) InternalWithRef

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) Segment

func (ScheduledSplitsConfigStepsSegmentOverridesAttributes) Weights

type ScheduledSplitsConfigStepsSegmentOverridesState

type ScheduledSplitsConfigStepsSegmentOverridesState struct {
	EvaluationOrder float64            `json:"evaluation_order"`
	Segment         string             `json:"segment"`
	Weights         map[string]float64 `json:"weights"`
}

type ScheduledSplitsConfigStepsState

type ScheduledSplitsConfigStepsState struct {
	GroupWeights     map[string]float64                                `json:"group_weights"`
	StartTime        string                                            `json:"start_time"`
	SegmentOverrides []ScheduledSplitsConfigStepsSegmentOverridesState `json:"segment_overrides"`
}

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"`
}

Jump to

Keyboard shortcuts

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