backupframework

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Control

type Control struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// InputParameter: min=0
	InputParameter []InputParameter `hcl:"input_parameter,block" validate:"min=0"`
	// Scope: optional
	Scope *Scope `hcl:"scope,block"`
}

type ControlAttributes

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

func (ControlAttributes) InputParameter

func (ControlAttributes) InternalRef

func (c ControlAttributes) InternalRef() (terra.Reference, error)

func (ControlAttributes) InternalTokens

func (c ControlAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ControlAttributes) InternalWithRef

func (c ControlAttributes) InternalWithRef(ref terra.Reference) ControlAttributes

func (ControlAttributes) Name

func (ControlAttributes) Scope

type ControlState

type ControlState struct {
	Name           string                `json:"name"`
	InputParameter []InputParameterState `json:"input_parameter"`
	Scope          []ScopeState          `json:"scope"`
}

type InputParameter

type InputParameter struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// Value: string, optional
	Value terra.StringValue `hcl:"value,attr"`
}

type InputParameterAttributes

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

func (InputParameterAttributes) InternalRef

func (ip InputParameterAttributes) InternalRef() (terra.Reference, error)

func (InputParameterAttributes) InternalTokens

func (ip InputParameterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputParameterAttributes) InternalWithRef

func (InputParameterAttributes) Name

func (InputParameterAttributes) Value

type InputParameterState

type InputParameterState struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type Scope

type Scope struct {
	// ComplianceResourceIds: set of string, optional
	ComplianceResourceIds terra.SetValue[terra.StringValue] `hcl:"compliance_resource_ids,attr"`
	// ComplianceResourceTypes: set of string, optional
	ComplianceResourceTypes terra.SetValue[terra.StringValue] `hcl:"compliance_resource_types,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

type ScopeAttributes

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

func (ScopeAttributes) ComplianceResourceIds

func (s ScopeAttributes) ComplianceResourceIds() terra.SetValue[terra.StringValue]

func (ScopeAttributes) ComplianceResourceTypes

func (s ScopeAttributes) ComplianceResourceTypes() terra.SetValue[terra.StringValue]

func (ScopeAttributes) InternalRef

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

func (ScopeAttributes) InternalTokens

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

func (ScopeAttributes) InternalWithRef

func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes

func (ScopeAttributes) Tags

type ScopeState

type ScopeState struct {
	ComplianceResourceIds   []string          `json:"compliance_resource_ids"`
	ComplianceResourceTypes []string          `json:"compliance_resource_types"`
	Tags                    map[string]string `json:"tags"`
}

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