backupplan

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 AdvancedBackupSetting

type AdvancedBackupSetting struct {
	// BackupOptions: map of string, required
	BackupOptions terra.MapValue[terra.StringValue] `hcl:"backup_options,attr" validate:"required"`
	// ResourceType: string, required
	ResourceType terra.StringValue `hcl:"resource_type,attr" validate:"required"`
}

type AdvancedBackupSettingAttributes

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

func (AdvancedBackupSettingAttributes) BackupOptions

func (AdvancedBackupSettingAttributes) InternalRef

func (AdvancedBackupSettingAttributes) InternalTokens

func (abs AdvancedBackupSettingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedBackupSettingAttributes) InternalWithRef

func (AdvancedBackupSettingAttributes) ResourceType

type AdvancedBackupSettingState

type AdvancedBackupSettingState struct {
	BackupOptions map[string]string `json:"backup_options"`
	ResourceType  string            `json:"resource_type"`
}

type CopyAction

type CopyAction struct {
	// DestinationVaultArn: string, required
	DestinationVaultArn terra.StringValue `hcl:"destination_vault_arn,attr" validate:"required"`
	// CopyActionLifecycle: optional
	Lifecycle *CopyActionLifecycle `hcl:"lifecycle,block"`
}

type CopyActionAttributes

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

func (CopyActionAttributes) DestinationVaultArn

func (ca CopyActionAttributes) DestinationVaultArn() terra.StringValue

func (CopyActionAttributes) InternalRef

func (ca CopyActionAttributes) InternalRef() (terra.Reference, error)

func (CopyActionAttributes) InternalTokens

func (ca CopyActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CopyActionAttributes) InternalWithRef

func (ca CopyActionAttributes) InternalWithRef(ref terra.Reference) CopyActionAttributes

func (CopyActionAttributes) Lifecycle

type CopyActionLifecycle

type CopyActionLifecycle struct {
	// ColdStorageAfter: number, optional
	ColdStorageAfter terra.NumberValue `hcl:"cold_storage_after,attr"`
	// DeleteAfter: number, optional
	DeleteAfter terra.NumberValue `hcl:"delete_after,attr"`
}

type CopyActionLifecycleAttributes

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

func (CopyActionLifecycleAttributes) ColdStorageAfter

func (l CopyActionLifecycleAttributes) ColdStorageAfter() terra.NumberValue

func (CopyActionLifecycleAttributes) DeleteAfter

func (CopyActionLifecycleAttributes) InternalRef

func (CopyActionLifecycleAttributes) InternalTokens

func (l CopyActionLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CopyActionLifecycleAttributes) InternalWithRef

type CopyActionLifecycleState

type CopyActionLifecycleState struct {
	ColdStorageAfter float64 `json:"cold_storage_after"`
	DeleteAfter      float64 `json:"delete_after"`
}

type CopyActionState

type CopyActionState struct {
	DestinationVaultArn string                     `json:"destination_vault_arn"`
	Lifecycle           []CopyActionLifecycleState `json:"lifecycle"`
}

type Rule

type Rule struct {
	// CompletionWindow: number, optional
	CompletionWindow terra.NumberValue `hcl:"completion_window,attr"`
	// EnableContinuousBackup: bool, optional
	EnableContinuousBackup terra.BoolValue `hcl:"enable_continuous_backup,attr"`
	// RecoveryPointTags: map of string, optional
	RecoveryPointTags terra.MapValue[terra.StringValue] `hcl:"recovery_point_tags,attr"`
	// RuleName: string, required
	RuleName terra.StringValue `hcl:"rule_name,attr" validate:"required"`
	// Schedule: string, optional
	Schedule terra.StringValue `hcl:"schedule,attr"`
	// StartWindow: number, optional
	StartWindow terra.NumberValue `hcl:"start_window,attr"`
	// TargetVaultName: string, required
	TargetVaultName terra.StringValue `hcl:"target_vault_name,attr" validate:"required"`
	// CopyAction: min=0
	CopyAction []CopyAction `hcl:"copy_action,block" validate:"min=0"`
	// RuleLifecycle: optional
	Lifecycle *RuleLifecycle `hcl:"lifecycle,block"`
}

type RuleAttributes

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

func (RuleAttributes) CompletionWindow

func (r RuleAttributes) CompletionWindow() terra.NumberValue

func (RuleAttributes) CopyAction

func (RuleAttributes) EnableContinuousBackup

func (r RuleAttributes) EnableContinuousBackup() terra.BoolValue

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) Lifecycle

func (RuleAttributes) RecoveryPointTags

func (r RuleAttributes) RecoveryPointTags() terra.MapValue[terra.StringValue]

func (RuleAttributes) RuleName

func (r RuleAttributes) RuleName() terra.StringValue

func (RuleAttributes) Schedule

func (r RuleAttributes) Schedule() terra.StringValue

func (RuleAttributes) StartWindow

func (r RuleAttributes) StartWindow() terra.NumberValue

func (RuleAttributes) TargetVaultName

func (r RuleAttributes) TargetVaultName() terra.StringValue

type RuleLifecycle

type RuleLifecycle struct {
	// ColdStorageAfter: number, optional
	ColdStorageAfter terra.NumberValue `hcl:"cold_storage_after,attr"`
	// DeleteAfter: number, optional
	DeleteAfter terra.NumberValue `hcl:"delete_after,attr"`
}

type RuleLifecycleAttributes

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

func (RuleLifecycleAttributes) ColdStorageAfter

func (l RuleLifecycleAttributes) ColdStorageAfter() terra.NumberValue

func (RuleLifecycleAttributes) DeleteAfter

func (l RuleLifecycleAttributes) DeleteAfter() terra.NumberValue

func (RuleLifecycleAttributes) InternalRef

func (l RuleLifecycleAttributes) InternalRef() (terra.Reference, error)

func (RuleLifecycleAttributes) InternalTokens

func (l RuleLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleLifecycleAttributes) InternalWithRef

type RuleLifecycleState

type RuleLifecycleState struct {
	ColdStorageAfter float64 `json:"cold_storage_after"`
	DeleteAfter      float64 `json:"delete_after"`
}

type RuleState

type RuleState struct {
	CompletionWindow       float64              `json:"completion_window"`
	EnableContinuousBackup bool                 `json:"enable_continuous_backup"`
	RecoveryPointTags      map[string]string    `json:"recovery_point_tags"`
	RuleName               string               `json:"rule_name"`
	Schedule               string               `json:"schedule"`
	StartWindow            float64              `json:"start_window"`
	TargetVaultName        string               `json:"target_vault_name"`
	CopyAction             []CopyActionState    `json:"copy_action"`
	Lifecycle              []RuleLifecycleState `json:"lifecycle"`
}

Jump to

Keyboard shortcuts

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