Documentation ¶
Index ¶
- type AdvancedBackupSetting
- type AdvancedBackupSettingAttributes
- func (abs AdvancedBackupSettingAttributes) BackupOptions() terra.MapValue[terra.StringValue]
- func (abs AdvancedBackupSettingAttributes) InternalRef() (terra.Reference, error)
- func (abs AdvancedBackupSettingAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (abs AdvancedBackupSettingAttributes) InternalWithRef(ref terra.Reference) AdvancedBackupSettingAttributes
- func (abs AdvancedBackupSettingAttributes) ResourceType() terra.StringValue
- type AdvancedBackupSettingState
- type CopyAction
- type CopyActionAttributes
- func (ca CopyActionAttributes) DestinationVaultArn() terra.StringValue
- func (ca CopyActionAttributes) InternalRef() (terra.Reference, error)
- func (ca CopyActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca CopyActionAttributes) InternalWithRef(ref terra.Reference) CopyActionAttributes
- func (ca CopyActionAttributes) Lifecycle() terra.ListValue[CopyActionLifecycleAttributes]
- type CopyActionLifecycle
- type CopyActionLifecycleAttributes
- func (l CopyActionLifecycleAttributes) ColdStorageAfter() terra.NumberValue
- func (l CopyActionLifecycleAttributes) DeleteAfter() terra.NumberValue
- func (l CopyActionLifecycleAttributes) InternalRef() (terra.Reference, error)
- func (l CopyActionLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l CopyActionLifecycleAttributes) InternalWithRef(ref terra.Reference) CopyActionLifecycleAttributes
- type CopyActionLifecycleState
- type CopyActionState
- type Rule
- type RuleAttributes
- func (r RuleAttributes) CompletionWindow() terra.NumberValue
- func (r RuleAttributes) CopyAction() terra.SetValue[CopyActionAttributes]
- func (r RuleAttributes) EnableContinuousBackup() terra.BoolValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Lifecycle() terra.ListValue[RuleLifecycleAttributes]
- func (r RuleAttributes) RecoveryPointTags() terra.MapValue[terra.StringValue]
- func (r RuleAttributes) RuleName() terra.StringValue
- func (r RuleAttributes) Schedule() terra.StringValue
- func (r RuleAttributes) StartWindow() terra.NumberValue
- func (r RuleAttributes) TargetVaultName() terra.StringValue
- type RuleLifecycle
- type RuleLifecycleAttributes
- func (l RuleLifecycleAttributes) ColdStorageAfter() terra.NumberValue
- func (l RuleLifecycleAttributes) DeleteAfter() terra.NumberValue
- func (l RuleLifecycleAttributes) InternalRef() (terra.Reference, error)
- func (l RuleLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (l RuleLifecycleAttributes) InternalWithRef(ref terra.Reference) RuleLifecycleAttributes
- type RuleLifecycleState
- type RuleState
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 (abs AdvancedBackupSettingAttributes) BackupOptions() terra.MapValue[terra.StringValue]
func (AdvancedBackupSettingAttributes) InternalRef ¶
func (abs AdvancedBackupSettingAttributes) InternalRef() (terra.Reference, error)
func (AdvancedBackupSettingAttributes) InternalTokens ¶
func (abs AdvancedBackupSettingAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AdvancedBackupSettingAttributes) InternalWithRef ¶
func (abs AdvancedBackupSettingAttributes) InternalWithRef(ref terra.Reference) AdvancedBackupSettingAttributes
func (AdvancedBackupSettingAttributes) ResourceType ¶
func (abs AdvancedBackupSettingAttributes) ResourceType() terra.StringValue
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 ¶
func (ca CopyActionAttributes) Lifecycle() terra.ListValue[CopyActionLifecycleAttributes]
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 (l CopyActionLifecycleAttributes) DeleteAfter() terra.NumberValue
func (CopyActionLifecycleAttributes) InternalRef ¶
func (l CopyActionLifecycleAttributes) InternalRef() (terra.Reference, error)
func (CopyActionLifecycleAttributes) InternalTokens ¶
func (l CopyActionLifecycleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CopyActionLifecycleAttributes) InternalWithRef ¶
func (l CopyActionLifecycleAttributes) InternalWithRef(ref terra.Reference) CopyActionLifecycleAttributes
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 (r RuleAttributes) CopyAction() terra.SetValue[CopyActionAttributes]
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 (r RuleAttributes) Lifecycle() terra.ListValue[RuleLifecycleAttributes]
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 ¶
func (l RuleLifecycleAttributes) InternalWithRef(ref terra.Reference) RuleLifecycleAttributes
type RuleLifecycleState ¶
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"` }
Click to show internal directories.
Click to hide internal directories.