Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- func (a ActionAttributes) CrossRegionCopy() terra.SetValue[CrossRegionCopyAttributes]
- func (a ActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes
- func (a ActionAttributes) Name() terra.StringValue
- type ActionState
- type CreateRule
- type CreateRuleAttributes
- func (cr CreateRuleAttributes) CronExpression() terra.StringValue
- func (cr CreateRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr CreateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr CreateRuleAttributes) InternalWithRef(ref terra.Reference) CreateRuleAttributes
- func (cr CreateRuleAttributes) Interval() terra.NumberValue
- func (cr CreateRuleAttributes) IntervalUnit() terra.StringValue
- func (cr CreateRuleAttributes) Location() terra.StringValue
- func (cr CreateRuleAttributes) Times() terra.ListValue[terra.StringValue]
- type CreateRuleState
- type CrossRegionCopy
- type CrossRegionCopyAttributes
- func (crc CrossRegionCopyAttributes) EncryptionConfiguration() terra.ListValue[EncryptionConfigurationAttributes]
- func (crc CrossRegionCopyAttributes) InternalRef() (terra.Reference, error)
- func (crc CrossRegionCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crc CrossRegionCopyAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyAttributes
- func (crc CrossRegionCopyAttributes) RetainRule() terra.ListValue[CrossRegionCopyRetainRuleAttributes]
- func (crc CrossRegionCopyAttributes) Target() terra.StringValue
- type CrossRegionCopyRetainRule
- type CrossRegionCopyRetainRuleAttributes
- func (rr CrossRegionCopyRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr CrossRegionCopyRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr CrossRegionCopyRetainRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRetainRuleAttributes
- func (rr CrossRegionCopyRetainRuleAttributes) Interval() terra.NumberValue
- func (rr CrossRegionCopyRetainRuleAttributes) IntervalUnit() terra.StringValue
- type CrossRegionCopyRetainRuleState
- type CrossRegionCopyRule
- type CrossRegionCopyRuleAttributes
- func (crcr CrossRegionCopyRuleAttributes) CmkArn() terra.StringValue
- func (crcr CrossRegionCopyRuleAttributes) CopyTags() terra.BoolValue
- func (crcr CrossRegionCopyRuleAttributes) DeprecateRule() terra.ListValue[CrossRegionCopyRuleDeprecateRuleAttributes]
- func (crcr CrossRegionCopyRuleAttributes) Encrypted() terra.BoolValue
- func (crcr CrossRegionCopyRuleAttributes) InternalRef() (terra.Reference, error)
- func (crcr CrossRegionCopyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crcr CrossRegionCopyRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleAttributes
- func (crcr CrossRegionCopyRuleAttributes) RetainRule() terra.ListValue[CrossRegionCopyRuleRetainRuleAttributes]
- func (crcr CrossRegionCopyRuleAttributes) Target() terra.StringValue
- type CrossRegionCopyRuleDeprecateRule
- type CrossRegionCopyRuleDeprecateRuleAttributes
- func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
- func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleDeprecateRuleAttributes
- func (dr CrossRegionCopyRuleDeprecateRuleAttributes) Interval() terra.NumberValue
- func (dr CrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
- type CrossRegionCopyRuleDeprecateRuleState
- type CrossRegionCopyRuleRetainRule
- type CrossRegionCopyRuleRetainRuleAttributes
- func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleRetainRuleAttributes
- func (rr CrossRegionCopyRuleRetainRuleAttributes) Interval() terra.NumberValue
- func (rr CrossRegionCopyRuleRetainRuleAttributes) IntervalUnit() terra.StringValue
- type CrossRegionCopyRuleRetainRuleState
- type CrossRegionCopyRuleState
- type CrossRegionCopyState
- type EncryptionConfiguration
- type EncryptionConfigurationAttributes
- func (ec EncryptionConfigurationAttributes) CmkArn() terra.StringValue
- func (ec EncryptionConfigurationAttributes) Encrypted() terra.BoolValue
- func (ec EncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec EncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigurationAttributes
- type EncryptionConfigurationState
- type EventSource
- type EventSourceAttributes
- func (es EventSourceAttributes) InternalRef() (terra.Reference, error)
- func (es EventSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es EventSourceAttributes) InternalWithRef(ref terra.Reference) EventSourceAttributes
- func (es EventSourceAttributes) Parameters() terra.ListValue[EventSourceParametersAttributes]
- func (es EventSourceAttributes) Type() terra.StringValue
- type EventSourceParameters
- type EventSourceParametersAttributes
- func (p EventSourceParametersAttributes) DescriptionRegex() terra.StringValue
- func (p EventSourceParametersAttributes) EventType() terra.StringValue
- func (p EventSourceParametersAttributes) InternalRef() (terra.Reference, error)
- func (p EventSourceParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p EventSourceParametersAttributes) InternalWithRef(ref terra.Reference) EventSourceParametersAttributes
- func (p EventSourceParametersAttributes) SnapshotOwner() terra.SetValue[terra.StringValue]
- type EventSourceParametersState
- type EventSourceState
- type FastRestoreRule
- type FastRestoreRuleAttributes
- func (frr FastRestoreRuleAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]
- func (frr FastRestoreRuleAttributes) Count() terra.NumberValue
- func (frr FastRestoreRuleAttributes) InternalRef() (terra.Reference, error)
- func (frr FastRestoreRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (frr FastRestoreRuleAttributes) InternalWithRef(ref terra.Reference) FastRestoreRuleAttributes
- func (frr FastRestoreRuleAttributes) Interval() terra.NumberValue
- func (frr FastRestoreRuleAttributes) IntervalUnit() terra.StringValue
- type FastRestoreRuleState
- type PolicyDetails
- type PolicyDetailsAttributes
- func (pd PolicyDetailsAttributes) Action() terra.ListValue[ActionAttributes]
- func (pd PolicyDetailsAttributes) EventSource() terra.ListValue[EventSourceAttributes]
- func (pd PolicyDetailsAttributes) InternalRef() (terra.Reference, error)
- func (pd PolicyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pd PolicyDetailsAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsAttributes
- func (pd PolicyDetailsAttributes) Parameters() terra.ListValue[PolicyDetailsParametersAttributes]
- func (pd PolicyDetailsAttributes) PolicyType() terra.StringValue
- func (pd PolicyDetailsAttributes) ResourceLocations() terra.ListValue[terra.StringValue]
- func (pd PolicyDetailsAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
- func (pd PolicyDetailsAttributes) Schedule() terra.ListValue[ScheduleAttributes]
- func (pd PolicyDetailsAttributes) TargetTags() terra.MapValue[terra.StringValue]
- type PolicyDetailsParameters
- type PolicyDetailsParametersAttributes
- func (p PolicyDetailsParametersAttributes) ExcludeBootVolume() terra.BoolValue
- func (p PolicyDetailsParametersAttributes) InternalRef() (terra.Reference, error)
- func (p PolicyDetailsParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PolicyDetailsParametersAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsParametersAttributes
- func (p PolicyDetailsParametersAttributes) NoReboot() terra.BoolValue
- type PolicyDetailsParametersState
- type PolicyDetailsState
- type Schedule
- type ScheduleAttributes
- func (s ScheduleAttributes) CopyTags() terra.BoolValue
- func (s ScheduleAttributes) CreateRule() terra.ListValue[CreateRuleAttributes]
- func (s ScheduleAttributes) CrossRegionCopyRule() terra.SetValue[CrossRegionCopyRuleAttributes]
- func (s ScheduleAttributes) DeprecateRule() terra.ListValue[ScheduleDeprecateRuleAttributes]
- func (s ScheduleAttributes) FastRestoreRule() terra.ListValue[FastRestoreRuleAttributes]
- func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
- func (s ScheduleAttributes) Name() terra.StringValue
- func (s ScheduleAttributes) RetainRule() terra.ListValue[ScheduleRetainRuleAttributes]
- func (s ScheduleAttributes) ShareRule() terra.ListValue[ShareRuleAttributes]
- func (s ScheduleAttributes) TagsToAdd() terra.MapValue[terra.StringValue]
- func (s ScheduleAttributes) VariableTags() terra.MapValue[terra.StringValue]
- type ScheduleDeprecateRule
- type ScheduleDeprecateRuleAttributes
- func (dr ScheduleDeprecateRuleAttributes) Count() terra.NumberValue
- func (dr ScheduleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
- func (dr ScheduleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr ScheduleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) ScheduleDeprecateRuleAttributes
- func (dr ScheduleDeprecateRuleAttributes) Interval() terra.NumberValue
- func (dr ScheduleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
- type ScheduleDeprecateRuleState
- type ScheduleRetainRule
- type ScheduleRetainRuleAttributes
- func (rr ScheduleRetainRuleAttributes) Count() terra.NumberValue
- func (rr ScheduleRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr ScheduleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr ScheduleRetainRuleAttributes) InternalWithRef(ref terra.Reference) ScheduleRetainRuleAttributes
- func (rr ScheduleRetainRuleAttributes) Interval() terra.NumberValue
- func (rr ScheduleRetainRuleAttributes) IntervalUnit() terra.StringValue
- type ScheduleRetainRuleState
- type ScheduleState
- type ShareRule
- type ShareRuleAttributes
- func (sr ShareRuleAttributes) InternalRef() (terra.Reference, error)
- func (sr ShareRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr ShareRuleAttributes) InternalWithRef(ref terra.Reference) ShareRuleAttributes
- func (sr ShareRuleAttributes) TargetAccounts() terra.SetValue[terra.StringValue]
- func (sr ShareRuleAttributes) UnshareInterval() terra.NumberValue
- func (sr ShareRuleAttributes) UnshareIntervalUnit() terra.StringValue
- type ShareRuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // CrossRegionCopy: min=1,max=3 CrossRegionCopy []CrossRegionCopy `hcl:"cross_region_copy,block" validate:"min=1,max=3"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
func (ActionAttributes) CrossRegionCopy ¶
func (a ActionAttributes) CrossRegionCopy() terra.SetValue[CrossRegionCopyAttributes]
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 (a ActionAttributes) Name() terra.StringValue
type ActionState ¶
type ActionState struct { Name string `json:"name"` CrossRegionCopy []CrossRegionCopyState `json:"cross_region_copy"` }
type CreateRule ¶
type CreateRule struct { // CronExpression: string, optional CronExpression terra.StringValue `hcl:"cron_expression,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // IntervalUnit: string, optional IntervalUnit terra.StringValue `hcl:"interval_unit,attr"` // Location: string, optional Location terra.StringValue `hcl:"location,attr"` // Times: list of string, optional Times terra.ListValue[terra.StringValue] `hcl:"times,attr"` }
type CreateRuleAttributes ¶
type CreateRuleAttributes struct {
// contains filtered or unexported fields
}
func (CreateRuleAttributes) CronExpression ¶
func (cr CreateRuleAttributes) CronExpression() terra.StringValue
func (CreateRuleAttributes) InternalRef ¶
func (cr CreateRuleAttributes) InternalRef() (terra.Reference, error)
func (CreateRuleAttributes) InternalTokens ¶
func (cr CreateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CreateRuleAttributes) InternalWithRef ¶
func (cr CreateRuleAttributes) InternalWithRef(ref terra.Reference) CreateRuleAttributes
func (CreateRuleAttributes) Interval ¶
func (cr CreateRuleAttributes) Interval() terra.NumberValue
func (CreateRuleAttributes) IntervalUnit ¶
func (cr CreateRuleAttributes) IntervalUnit() terra.StringValue
func (CreateRuleAttributes) Location ¶
func (cr CreateRuleAttributes) Location() terra.StringValue
func (CreateRuleAttributes) Times ¶
func (cr CreateRuleAttributes) Times() terra.ListValue[terra.StringValue]
type CreateRuleState ¶
type CrossRegionCopy ¶
type CrossRegionCopy struct { // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` // EncryptionConfiguration: required EncryptionConfiguration *EncryptionConfiguration `hcl:"encryption_configuration,block" validate:"required"` // CrossRegionCopyRetainRule: optional RetainRule *CrossRegionCopyRetainRule `hcl:"retain_rule,block"` }
type CrossRegionCopyAttributes ¶
type CrossRegionCopyAttributes struct {
// contains filtered or unexported fields
}
func (CrossRegionCopyAttributes) EncryptionConfiguration ¶
func (crc CrossRegionCopyAttributes) EncryptionConfiguration() terra.ListValue[EncryptionConfigurationAttributes]
func (CrossRegionCopyAttributes) InternalRef ¶
func (crc CrossRegionCopyAttributes) InternalRef() (terra.Reference, error)
func (CrossRegionCopyAttributes) InternalTokens ¶
func (crc CrossRegionCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CrossRegionCopyAttributes) InternalWithRef ¶
func (crc CrossRegionCopyAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyAttributes
func (CrossRegionCopyAttributes) RetainRule ¶
func (crc CrossRegionCopyAttributes) RetainRule() terra.ListValue[CrossRegionCopyRetainRuleAttributes]
func (CrossRegionCopyAttributes) Target ¶
func (crc CrossRegionCopyAttributes) Target() terra.StringValue
type CrossRegionCopyRetainRule ¶
type CrossRegionCopyRetainRule struct { // Interval: number, required Interval terra.NumberValue `hcl:"interval,attr" validate:"required"` // IntervalUnit: string, required IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"` }
type CrossRegionCopyRetainRuleAttributes ¶
type CrossRegionCopyRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (CrossRegionCopyRetainRuleAttributes) InternalRef ¶
func (rr CrossRegionCopyRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (CrossRegionCopyRetainRuleAttributes) InternalTokens ¶
func (rr CrossRegionCopyRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CrossRegionCopyRetainRuleAttributes) InternalWithRef ¶
func (rr CrossRegionCopyRetainRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRetainRuleAttributes
func (CrossRegionCopyRetainRuleAttributes) Interval ¶
func (rr CrossRegionCopyRetainRuleAttributes) Interval() terra.NumberValue
func (CrossRegionCopyRetainRuleAttributes) IntervalUnit ¶
func (rr CrossRegionCopyRetainRuleAttributes) IntervalUnit() terra.StringValue
type CrossRegionCopyRule ¶
type CrossRegionCopyRule struct { // CmkArn: string, optional CmkArn terra.StringValue `hcl:"cmk_arn,attr"` // CopyTags: bool, optional CopyTags terra.BoolValue `hcl:"copy_tags,attr"` // Encrypted: bool, required Encrypted terra.BoolValue `hcl:"encrypted,attr" validate:"required"` // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` // CrossRegionCopyRuleDeprecateRule: optional DeprecateRule *CrossRegionCopyRuleDeprecateRule `hcl:"deprecate_rule,block"` // CrossRegionCopyRuleRetainRule: optional RetainRule *CrossRegionCopyRuleRetainRule `hcl:"retain_rule,block"` }
type CrossRegionCopyRuleAttributes ¶
type CrossRegionCopyRuleAttributes struct {
// contains filtered or unexported fields
}
func (CrossRegionCopyRuleAttributes) CmkArn ¶
func (crcr CrossRegionCopyRuleAttributes) CmkArn() terra.StringValue
func (CrossRegionCopyRuleAttributes) CopyTags ¶
func (crcr CrossRegionCopyRuleAttributes) CopyTags() terra.BoolValue
func (CrossRegionCopyRuleAttributes) DeprecateRule ¶
func (crcr CrossRegionCopyRuleAttributes) DeprecateRule() terra.ListValue[CrossRegionCopyRuleDeprecateRuleAttributes]
func (CrossRegionCopyRuleAttributes) Encrypted ¶
func (crcr CrossRegionCopyRuleAttributes) Encrypted() terra.BoolValue
func (CrossRegionCopyRuleAttributes) InternalRef ¶
func (crcr CrossRegionCopyRuleAttributes) InternalRef() (terra.Reference, error)
func (CrossRegionCopyRuleAttributes) InternalTokens ¶
func (crcr CrossRegionCopyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CrossRegionCopyRuleAttributes) InternalWithRef ¶
func (crcr CrossRegionCopyRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleAttributes
func (CrossRegionCopyRuleAttributes) RetainRule ¶
func (crcr CrossRegionCopyRuleAttributes) RetainRule() terra.ListValue[CrossRegionCopyRuleRetainRuleAttributes]
func (CrossRegionCopyRuleAttributes) Target ¶
func (crcr CrossRegionCopyRuleAttributes) Target() terra.StringValue
type CrossRegionCopyRuleDeprecateRule ¶
type CrossRegionCopyRuleDeprecateRule struct { // Interval: number, required Interval terra.NumberValue `hcl:"interval,attr" validate:"required"` // IntervalUnit: string, required IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"` }
type CrossRegionCopyRuleDeprecateRuleAttributes ¶
type CrossRegionCopyRuleDeprecateRuleAttributes struct {
// contains filtered or unexported fields
}
func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalRef ¶
func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens ¶
func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef ¶
func (dr CrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleDeprecateRuleAttributes
func (CrossRegionCopyRuleDeprecateRuleAttributes) Interval ¶
func (dr CrossRegionCopyRuleDeprecateRuleAttributes) Interval() terra.NumberValue
func (CrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit ¶
func (dr CrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
type CrossRegionCopyRuleRetainRule ¶
type CrossRegionCopyRuleRetainRule struct { // Interval: number, required Interval terra.NumberValue `hcl:"interval,attr" validate:"required"` // IntervalUnit: string, required IntervalUnit terra.StringValue `hcl:"interval_unit,attr" validate:"required"` }
type CrossRegionCopyRuleRetainRuleAttributes ¶
type CrossRegionCopyRuleRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (CrossRegionCopyRuleRetainRuleAttributes) InternalRef ¶
func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (CrossRegionCopyRuleRetainRuleAttributes) InternalTokens ¶
func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CrossRegionCopyRuleRetainRuleAttributes) InternalWithRef ¶
func (rr CrossRegionCopyRuleRetainRuleAttributes) InternalWithRef(ref terra.Reference) CrossRegionCopyRuleRetainRuleAttributes
func (CrossRegionCopyRuleRetainRuleAttributes) Interval ¶
func (rr CrossRegionCopyRuleRetainRuleAttributes) Interval() terra.NumberValue
func (CrossRegionCopyRuleRetainRuleAttributes) IntervalUnit ¶
func (rr CrossRegionCopyRuleRetainRuleAttributes) IntervalUnit() terra.StringValue
type CrossRegionCopyRuleState ¶
type CrossRegionCopyRuleState struct { CmkArn string `json:"cmk_arn"` CopyTags bool `json:"copy_tags"` Encrypted bool `json:"encrypted"` Target string `json:"target"` DeprecateRule []CrossRegionCopyRuleDeprecateRuleState `json:"deprecate_rule"` RetainRule []CrossRegionCopyRuleRetainRuleState `json:"retain_rule"` }
type CrossRegionCopyState ¶
type CrossRegionCopyState struct { Target string `json:"target"` EncryptionConfiguration []EncryptionConfigurationState `json:"encryption_configuration"` RetainRule []CrossRegionCopyRetainRuleState `json:"retain_rule"` }
type EncryptionConfiguration ¶
type EncryptionConfiguration struct { // CmkArn: string, optional CmkArn terra.StringValue `hcl:"cmk_arn,attr"` // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` }
type EncryptionConfigurationAttributes ¶
type EncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionConfigurationAttributes) CmkArn ¶
func (ec EncryptionConfigurationAttributes) CmkArn() terra.StringValue
func (EncryptionConfigurationAttributes) Encrypted ¶
func (ec EncryptionConfigurationAttributes) Encrypted() terra.BoolValue
func (EncryptionConfigurationAttributes) InternalRef ¶
func (ec EncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (EncryptionConfigurationAttributes) InternalTokens ¶
func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionConfigurationAttributes) InternalWithRef ¶
func (ec EncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigurationAttributes
type EventSource ¶
type EventSource struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // EventSourceParameters: required Parameters *EventSourceParameters `hcl:"parameters,block" validate:"required"` }
type EventSourceAttributes ¶
type EventSourceAttributes struct {
// contains filtered or unexported fields
}
func (EventSourceAttributes) InternalRef ¶
func (es EventSourceAttributes) InternalRef() (terra.Reference, error)
func (EventSourceAttributes) InternalTokens ¶
func (es EventSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventSourceAttributes) InternalWithRef ¶
func (es EventSourceAttributes) InternalWithRef(ref terra.Reference) EventSourceAttributes
func (EventSourceAttributes) Parameters ¶
func (es EventSourceAttributes) Parameters() terra.ListValue[EventSourceParametersAttributes]
func (EventSourceAttributes) Type ¶
func (es EventSourceAttributes) Type() terra.StringValue
type EventSourceParameters ¶
type EventSourceParameters struct { // DescriptionRegex: string, required DescriptionRegex terra.StringValue `hcl:"description_regex,attr" validate:"required"` // EventType: string, required EventType terra.StringValue `hcl:"event_type,attr" validate:"required"` // SnapshotOwner: set of string, required SnapshotOwner terra.SetValue[terra.StringValue] `hcl:"snapshot_owner,attr" validate:"required"` }
type EventSourceParametersAttributes ¶
type EventSourceParametersAttributes struct {
// contains filtered or unexported fields
}
func (EventSourceParametersAttributes) DescriptionRegex ¶
func (p EventSourceParametersAttributes) DescriptionRegex() terra.StringValue
func (EventSourceParametersAttributes) EventType ¶
func (p EventSourceParametersAttributes) EventType() terra.StringValue
func (EventSourceParametersAttributes) InternalRef ¶
func (p EventSourceParametersAttributes) InternalRef() (terra.Reference, error)
func (EventSourceParametersAttributes) InternalTokens ¶
func (p EventSourceParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EventSourceParametersAttributes) InternalWithRef ¶
func (p EventSourceParametersAttributes) InternalWithRef(ref terra.Reference) EventSourceParametersAttributes
func (EventSourceParametersAttributes) SnapshotOwner ¶
func (p EventSourceParametersAttributes) SnapshotOwner() terra.SetValue[terra.StringValue]
type EventSourceState ¶
type EventSourceState struct { Type string `json:"type"` Parameters []EventSourceParametersState `json:"parameters"` }
type FastRestoreRule ¶
type FastRestoreRule struct { // AvailabilityZones: set of string, required AvailabilityZones terra.SetValue[terra.StringValue] `hcl:"availability_zones,attr" validate:"required"` // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // IntervalUnit: string, optional IntervalUnit terra.StringValue `hcl:"interval_unit,attr"` }
type FastRestoreRuleAttributes ¶
type FastRestoreRuleAttributes struct {
// contains filtered or unexported fields
}
func (FastRestoreRuleAttributes) AvailabilityZones ¶
func (frr FastRestoreRuleAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]
func (FastRestoreRuleAttributes) Count ¶
func (frr FastRestoreRuleAttributes) Count() terra.NumberValue
func (FastRestoreRuleAttributes) InternalRef ¶
func (frr FastRestoreRuleAttributes) InternalRef() (terra.Reference, error)
func (FastRestoreRuleAttributes) InternalTokens ¶
func (frr FastRestoreRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FastRestoreRuleAttributes) InternalWithRef ¶
func (frr FastRestoreRuleAttributes) InternalWithRef(ref terra.Reference) FastRestoreRuleAttributes
func (FastRestoreRuleAttributes) Interval ¶
func (frr FastRestoreRuleAttributes) Interval() terra.NumberValue
func (FastRestoreRuleAttributes) IntervalUnit ¶
func (frr FastRestoreRuleAttributes) IntervalUnit() terra.StringValue
type FastRestoreRuleState ¶
type PolicyDetails ¶
type PolicyDetails struct { // PolicyType: string, optional PolicyType terra.StringValue `hcl:"policy_type,attr"` // ResourceLocations: list of string, optional ResourceLocations terra.ListValue[terra.StringValue] `hcl:"resource_locations,attr"` // ResourceTypes: list of string, optional ResourceTypes terra.ListValue[terra.StringValue] `hcl:"resource_types,attr"` // TargetTags: map of string, optional TargetTags terra.MapValue[terra.StringValue] `hcl:"target_tags,attr"` // Action: optional Action *Action `hcl:"action,block"` // EventSource: optional EventSource *EventSource `hcl:"event_source,block"` // PolicyDetailsParameters: optional Parameters *PolicyDetailsParameters `hcl:"parameters,block"` // Schedule: min=0,max=4 Schedule []Schedule `hcl:"schedule,block" validate:"min=0,max=4"` }
type PolicyDetailsAttributes ¶
type PolicyDetailsAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsAttributes) Action ¶
func (pd PolicyDetailsAttributes) Action() terra.ListValue[ActionAttributes]
func (PolicyDetailsAttributes) EventSource ¶
func (pd PolicyDetailsAttributes) EventSource() terra.ListValue[EventSourceAttributes]
func (PolicyDetailsAttributes) InternalRef ¶
func (pd PolicyDetailsAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsAttributes) InternalTokens ¶
func (pd PolicyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsAttributes) InternalWithRef ¶
func (pd PolicyDetailsAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsAttributes
func (PolicyDetailsAttributes) Parameters ¶
func (pd PolicyDetailsAttributes) Parameters() terra.ListValue[PolicyDetailsParametersAttributes]
func (PolicyDetailsAttributes) PolicyType ¶
func (pd PolicyDetailsAttributes) PolicyType() terra.StringValue
func (PolicyDetailsAttributes) ResourceLocations ¶
func (pd PolicyDetailsAttributes) ResourceLocations() terra.ListValue[terra.StringValue]
func (PolicyDetailsAttributes) ResourceTypes ¶
func (pd PolicyDetailsAttributes) ResourceTypes() terra.ListValue[terra.StringValue]
func (PolicyDetailsAttributes) Schedule ¶
func (pd PolicyDetailsAttributes) Schedule() terra.ListValue[ScheduleAttributes]
func (PolicyDetailsAttributes) TargetTags ¶
func (pd PolicyDetailsAttributes) TargetTags() terra.MapValue[terra.StringValue]
type PolicyDetailsParameters ¶
type PolicyDetailsParametersAttributes ¶
type PolicyDetailsParametersAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsParametersAttributes) ExcludeBootVolume ¶
func (p PolicyDetailsParametersAttributes) ExcludeBootVolume() terra.BoolValue
func (PolicyDetailsParametersAttributes) InternalRef ¶
func (p PolicyDetailsParametersAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsParametersAttributes) InternalTokens ¶
func (p PolicyDetailsParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsParametersAttributes) InternalWithRef ¶
func (p PolicyDetailsParametersAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsParametersAttributes
func (PolicyDetailsParametersAttributes) NoReboot ¶
func (p PolicyDetailsParametersAttributes) NoReboot() terra.BoolValue
type PolicyDetailsState ¶
type PolicyDetailsState struct { PolicyType string `json:"policy_type"` ResourceLocations []string `json:"resource_locations"` ResourceTypes []string `json:"resource_types"` TargetTags map[string]string `json:"target_tags"` Action []ActionState `json:"action"` EventSource []EventSourceState `json:"event_source"` Parameters []PolicyDetailsParametersState `json:"parameters"` Schedule []ScheduleState `json:"schedule"` }
type Schedule ¶
type Schedule struct { // CopyTags: bool, optional CopyTags terra.BoolValue `hcl:"copy_tags,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // TagsToAdd: map of string, optional TagsToAdd terra.MapValue[terra.StringValue] `hcl:"tags_to_add,attr"` // VariableTags: map of string, optional VariableTags terra.MapValue[terra.StringValue] `hcl:"variable_tags,attr"` // CreateRule: required CreateRule *CreateRule `hcl:"create_rule,block" validate:"required"` // CrossRegionCopyRule: min=0,max=3 CrossRegionCopyRule []CrossRegionCopyRule `hcl:"cross_region_copy_rule,block" validate:"min=0,max=3"` // ScheduleDeprecateRule: optional DeprecateRule *ScheduleDeprecateRule `hcl:"deprecate_rule,block"` // FastRestoreRule: optional FastRestoreRule *FastRestoreRule `hcl:"fast_restore_rule,block"` // ScheduleRetainRule: required RetainRule *ScheduleRetainRule `hcl:"retain_rule,block" validate:"required"` ShareRule *ShareRule `hcl:"share_rule,block"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) CopyTags ¶
func (s ScheduleAttributes) CopyTags() terra.BoolValue
func (ScheduleAttributes) CreateRule ¶
func (s ScheduleAttributes) CreateRule() terra.ListValue[CreateRuleAttributes]
func (ScheduleAttributes) CrossRegionCopyRule ¶
func (s ScheduleAttributes) CrossRegionCopyRule() terra.SetValue[CrossRegionCopyRuleAttributes]
func (ScheduleAttributes) DeprecateRule ¶
func (s ScheduleAttributes) DeprecateRule() terra.ListValue[ScheduleDeprecateRuleAttributes]
func (ScheduleAttributes) FastRestoreRule ¶
func (s ScheduleAttributes) FastRestoreRule() terra.ListValue[FastRestoreRuleAttributes]
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
func (ScheduleAttributes) Name ¶
func (s ScheduleAttributes) Name() terra.StringValue
func (ScheduleAttributes) RetainRule ¶
func (s ScheduleAttributes) RetainRule() terra.ListValue[ScheduleRetainRuleAttributes]
func (ScheduleAttributes) ShareRule ¶
func (s ScheduleAttributes) ShareRule() terra.ListValue[ShareRuleAttributes]
func (ScheduleAttributes) TagsToAdd ¶
func (s ScheduleAttributes) TagsToAdd() terra.MapValue[terra.StringValue]
func (ScheduleAttributes) VariableTags ¶
func (s ScheduleAttributes) VariableTags() terra.MapValue[terra.StringValue]
type ScheduleDeprecateRule ¶
type ScheduleDeprecateRule struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // IntervalUnit: string, optional IntervalUnit terra.StringValue `hcl:"interval_unit,attr"` }
type ScheduleDeprecateRuleAttributes ¶
type ScheduleDeprecateRuleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleDeprecateRuleAttributes) Count ¶
func (dr ScheduleDeprecateRuleAttributes) Count() terra.NumberValue
func (ScheduleDeprecateRuleAttributes) InternalRef ¶
func (dr ScheduleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleDeprecateRuleAttributes) InternalTokens ¶
func (dr ScheduleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleDeprecateRuleAttributes) InternalWithRef ¶
func (dr ScheduleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) ScheduleDeprecateRuleAttributes
func (ScheduleDeprecateRuleAttributes) Interval ¶
func (dr ScheduleDeprecateRuleAttributes) Interval() terra.NumberValue
func (ScheduleDeprecateRuleAttributes) IntervalUnit ¶
func (dr ScheduleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
type ScheduleRetainRule ¶
type ScheduleRetainRule struct { // Count: number, optional Count terra.NumberValue `hcl:"count,attr"` // Interval: number, optional Interval terra.NumberValue `hcl:"interval,attr"` // IntervalUnit: string, optional IntervalUnit terra.StringValue `hcl:"interval_unit,attr"` }
type ScheduleRetainRuleAttributes ¶
type ScheduleRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleRetainRuleAttributes) Count ¶
func (rr ScheduleRetainRuleAttributes) Count() terra.NumberValue
func (ScheduleRetainRuleAttributes) InternalRef ¶
func (rr ScheduleRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleRetainRuleAttributes) InternalTokens ¶
func (rr ScheduleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleRetainRuleAttributes) InternalWithRef ¶
func (rr ScheduleRetainRuleAttributes) InternalWithRef(ref terra.Reference) ScheduleRetainRuleAttributes
func (ScheduleRetainRuleAttributes) Interval ¶
func (rr ScheduleRetainRuleAttributes) Interval() terra.NumberValue
func (ScheduleRetainRuleAttributes) IntervalUnit ¶
func (rr ScheduleRetainRuleAttributes) IntervalUnit() terra.StringValue
type ScheduleRetainRuleState ¶
type ScheduleState ¶
type ScheduleState struct { CopyTags bool `json:"copy_tags"` Name string `json:"name"` TagsToAdd map[string]string `json:"tags_to_add"` VariableTags map[string]string `json:"variable_tags"` CreateRule []CreateRuleState `json:"create_rule"` CrossRegionCopyRule []CrossRegionCopyRuleState `json:"cross_region_copy_rule"` DeprecateRule []ScheduleDeprecateRuleState `json:"deprecate_rule"` FastRestoreRule []FastRestoreRuleState `json:"fast_restore_rule"` RetainRule []ScheduleRetainRuleState `json:"retain_rule"` }
type ShareRule ¶
type ShareRule struct { terra.SetValue[terra.StringValue] `hcl:"target_accounts,attr" validate:"required"` UnshareInterval terra.NumberValue `hcl:"unshare_interval,attr"` UnshareIntervalUnit terra.StringValue `hcl:"unshare_interval_unit,attr"` }TargetAccounts
type ShareRuleAttributes ¶
type ShareRuleAttributes struct {
// contains filtered or unexported fields
}
func (ShareRuleAttributes) InternalRef ¶
func (sr ShareRuleAttributes) InternalRef() (terra.Reference, error)
func (ShareRuleAttributes) InternalTokens ¶
func (sr ShareRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShareRuleAttributes) InternalWithRef ¶
func (sr ShareRuleAttributes) InternalWithRef(ref terra.Reference) ShareRuleAttributes
func (ShareRuleAttributes) TargetAccounts ¶
func (sr ShareRuleAttributes) TargetAccounts() terra.SetValue[terra.StringValue]
func (ShareRuleAttributes) UnshareInterval ¶
func (sr ShareRuleAttributes) UnshareInterval() terra.NumberValue
func (ShareRuleAttributes) UnshareIntervalUnit ¶
func (sr ShareRuleAttributes) UnshareIntervalUnit() terra.StringValue
type ShareRuleState ¶
type ShareRuleState struct {}
Click to show internal directories.
Click to hide internal directories.