fisexperimenttemplate

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 Action

type Action struct {
	// ActionId: string, required
	ActionId terra.StringValue `hcl:"action_id,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// StartAfter: set of string, optional
	StartAfter terra.SetValue[terra.StringValue] `hcl:"start_after,attr"`
	// Parameter: min=0
	Parameter []Parameter `hcl:"parameter,block" validate:"min=0"`
	// ActionTarget: optional
	Target *ActionTarget `hcl:"target,block"`
}

type ActionAttributes

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

func (ActionAttributes) ActionId

func (a ActionAttributes) ActionId() terra.StringValue

func (ActionAttributes) Description

func (a ActionAttributes) Description() terra.StringValue

func (ActionAttributes) InternalRef

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

func (ActionAttributes) InternalTokens

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

func (ActionAttributes) InternalWithRef

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

func (ActionAttributes) Name

func (ActionAttributes) Parameter

func (ActionAttributes) StartAfter

func (ActionAttributes) Target

type ActionState

type ActionState struct {
	ActionId    string              `json:"action_id"`
	Description string              `json:"description"`
	Name        string              `json:"name"`
	StartAfter  []string            `json:"start_after"`
	Parameter   []ParameterState    `json:"parameter"`
	Target      []ActionTargetState `json:"target"`
}

type ActionTarget

type ActionTarget struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ActionTargetAttributes

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

func (ActionTargetAttributes) InternalRef

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

func (ActionTargetAttributes) InternalTokens

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

func (ActionTargetAttributes) InternalWithRef

func (ActionTargetAttributes) Key

func (ActionTargetAttributes) Value

type ActionTargetState

type ActionTargetState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type CloudwatchLogsConfiguration

type CloudwatchLogsConfiguration struct {
	// LogGroupArn: string, required
	LogGroupArn terra.StringValue `hcl:"log_group_arn,attr" validate:"required"`
}

type CloudwatchLogsConfigurationAttributes

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

func (CloudwatchLogsConfigurationAttributes) InternalRef

func (CloudwatchLogsConfigurationAttributes) InternalTokens

func (CloudwatchLogsConfigurationAttributes) InternalWithRef

func (CloudwatchLogsConfigurationAttributes) LogGroupArn

type CloudwatchLogsConfigurationState

type CloudwatchLogsConfigurationState struct {
	LogGroupArn string `json:"log_group_arn"`
}

type Filter

type Filter struct {
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
	// Values: set of string, required
	Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type FilterAttributes

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

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Path

func (FilterAttributes) Values

type FilterState

type FilterState struct {
	Path   string   `json:"path"`
	Values []string `json:"values"`
}

type LogConfiguration

type LogConfiguration struct {
	// LogSchemaVersion: number, required
	LogSchemaVersion terra.NumberValue `hcl:"log_schema_version,attr" validate:"required"`
	// CloudwatchLogsConfiguration: optional
	CloudwatchLogsConfiguration *CloudwatchLogsConfiguration `hcl:"cloudwatch_logs_configuration,block"`
	// S3Configuration: optional
	S3Configuration *S3Configuration `hcl:"s3_configuration,block"`
}

type LogConfigurationAttributes

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

func (LogConfigurationAttributes) CloudwatchLogsConfiguration

func (LogConfigurationAttributes) InternalRef

func (lc LogConfigurationAttributes) InternalRef() (terra.Reference, error)

func (LogConfigurationAttributes) InternalTokens

func (lc LogConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LogConfigurationAttributes) InternalWithRef

func (LogConfigurationAttributes) LogSchemaVersion

func (lc LogConfigurationAttributes) LogSchemaVersion() terra.NumberValue

func (LogConfigurationAttributes) S3Configuration

type LogConfigurationState

type LogConfigurationState struct {
	LogSchemaVersion            float64                            `json:"log_schema_version"`
	CloudwatchLogsConfiguration []CloudwatchLogsConfigurationState `json:"cloudwatch_logs_configuration"`
	S3Configuration             []S3ConfigurationState             `json:"s3_configuration"`
}

type Parameter

type Parameter struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ParameterAttributes

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

func (ParameterAttributes) InternalRef

func (p ParameterAttributes) InternalRef() (terra.Reference, error)

func (ParameterAttributes) InternalTokens

func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ParameterAttributes) InternalWithRef

func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes

func (ParameterAttributes) Key

func (ParameterAttributes) Value

type ParameterState

type ParameterState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type ResourceTag

type ResourceTag struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type ResourceTagAttributes

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

func (ResourceTagAttributes) InternalRef

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

func (ResourceTagAttributes) InternalTokens

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

func (ResourceTagAttributes) InternalWithRef

func (ResourceTagAttributes) Key

func (ResourceTagAttributes) Value

type ResourceTagState

type ResourceTagState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type S3Configuration

type S3Configuration struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type S3ConfigurationAttributes

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

func (S3ConfigurationAttributes) BucketName

func (S3ConfigurationAttributes) InternalRef

func (sc S3ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (S3ConfigurationAttributes) InternalTokens

func (sc S3ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3ConfigurationAttributes) InternalWithRef

func (S3ConfigurationAttributes) Prefix

type S3ConfigurationState

type S3ConfigurationState struct {
	BucketName string `json:"bucket_name"`
	Prefix     string `json:"prefix"`
}

type StopCondition

type StopCondition struct {
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type StopConditionAttributes

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

func (StopConditionAttributes) InternalRef

func (sc StopConditionAttributes) InternalRef() (terra.Reference, error)

func (StopConditionAttributes) InternalTokens

func (sc StopConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StopConditionAttributes) InternalWithRef

func (StopConditionAttributes) Source

func (StopConditionAttributes) Value

type StopConditionState

type StopConditionState struct {
	Source string `json:"source"`
	Value  string `json:"value"`
}

type Target

type Target struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Parameters: map of string, optional
	Parameters terra.MapValue[terra.StringValue] `hcl:"parameters,attr"`
	// ResourceArns: set of string, optional
	ResourceArns terra.SetValue[terra.StringValue] `hcl:"resource_arns,attr"`
	// ResourceType: string, required
	ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"`
	// SelectionMode: string, required
	SelectionMode terra.StringValue `hcl:"selection_mode,attr" validate:"required"`
	// Filter: min=0
	Filter []Filter `hcl:"filter,block" validate:"min=0"`
	// ResourceTag: min=0,max=50
	ResourceTag []ResourceTag `hcl:"resource_tag,block" validate:"min=0,max=50"`
}

type TargetAttributes

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

func (TargetAttributes) Filter

func (TargetAttributes) InternalRef

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

func (TargetAttributes) InternalTokens

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

func (TargetAttributes) InternalWithRef

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

func (TargetAttributes) Name

func (TargetAttributes) Parameters

func (TargetAttributes) ResourceArns

func (t TargetAttributes) ResourceArns() terra.SetValue[terra.StringValue]

func (TargetAttributes) ResourceTag

func (TargetAttributes) ResourceType

func (t TargetAttributes) ResourceType() terra.StringValue

func (TargetAttributes) SelectionMode

func (t TargetAttributes) SelectionMode() terra.StringValue

type TargetState

type TargetState struct {
	Name          string             `json:"name"`
	Parameters    map[string]string  `json:"parameters"`
	ResourceArns  []string           `json:"resource_arns"`
	ResourceType  string             `json:"resource_type"`
	SelectionMode string             `json:"selection_mode"`
	Filter        []FilterState      `json:"filter"`
	ResourceTag   []ResourceTagState `json:"resource_tag"`
}

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