Documentation ¶
Index ¶
- type Args
- type PolicyDetails
- type PolicyDetailsAction
- type PolicyDetailsActionAttributes
- func (a PolicyDetailsActionAttributes) CrossRegionCopy() terra.SetValue[PolicyDetailsActionCrossRegionCopyAttributes]
- func (a PolicyDetailsActionAttributes) InternalRef() (terra.Reference, error)
- func (a PolicyDetailsActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a PolicyDetailsActionAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionAttributes
- func (a PolicyDetailsActionAttributes) Name() terra.StringValue
- type PolicyDetailsActionCrossRegionCopy
- type PolicyDetailsActionCrossRegionCopyAttributes
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) EncryptionConfiguration() ...
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalRef() (terra.Reference, error)
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionCrossRegionCopyAttributes
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) RetainRule() terra.ListValue[PolicyDetailsActionCrossRegionCopyRetainRuleAttributes]
- func (crc PolicyDetailsActionCrossRegionCopyAttributes) Target() terra.StringValue
- type PolicyDetailsActionCrossRegionCopyEncryptionConfiguration
- type PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes
- func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) CmkArn() terra.StringValue
- func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) Encrypted() terra.BoolValue
- func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes
- type PolicyDetailsActionCrossRegionCopyEncryptionConfigurationState
- type PolicyDetailsActionCrossRegionCopyRetainRule
- type PolicyDetailsActionCrossRegionCopyRetainRuleAttributes
- func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionCrossRegionCopyRetainRuleAttributes
- func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) Interval() terra.NumberValue
- func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsActionCrossRegionCopyRetainRuleState
- type PolicyDetailsActionCrossRegionCopyState
- type PolicyDetailsActionState
- type PolicyDetailsAttributes
- func (pd PolicyDetailsAttributes) Action() terra.ListValue[PolicyDetailsActionAttributes]
- func (pd PolicyDetailsAttributes) EventSource() terra.ListValue[PolicyDetailsEventSourceAttributes]
- 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[PolicyDetailsScheduleAttributes]
- func (pd PolicyDetailsAttributes) TargetTags() terra.MapValue[terra.StringValue]
- type PolicyDetailsEventSource
- type PolicyDetailsEventSourceAttributes
- func (es PolicyDetailsEventSourceAttributes) InternalRef() (terra.Reference, error)
- func (es PolicyDetailsEventSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es PolicyDetailsEventSourceAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsEventSourceAttributes
- func (es PolicyDetailsEventSourceAttributes) Parameters() terra.ListValue[PolicyDetailsEventSourceParametersAttributes]
- func (es PolicyDetailsEventSourceAttributes) Type() terra.StringValue
- type PolicyDetailsEventSourceParameters
- type PolicyDetailsEventSourceParametersAttributes
- func (p PolicyDetailsEventSourceParametersAttributes) DescriptionRegex() terra.StringValue
- func (p PolicyDetailsEventSourceParametersAttributes) EventType() terra.StringValue
- func (p PolicyDetailsEventSourceParametersAttributes) InternalRef() (terra.Reference, error)
- func (p PolicyDetailsEventSourceParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p PolicyDetailsEventSourceParametersAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsEventSourceParametersAttributes
- func (p PolicyDetailsEventSourceParametersAttributes) SnapshotOwner() terra.SetValue[terra.StringValue]
- type PolicyDetailsEventSourceParametersState
- type PolicyDetailsEventSourceState
- 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 PolicyDetailsSchedule
- type PolicyDetailsScheduleAttributes
- func (s PolicyDetailsScheduleAttributes) CopyTags() terra.BoolValue
- func (s PolicyDetailsScheduleAttributes) CreateRule() terra.ListValue[PolicyDetailsScheduleCreateRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) CrossRegionCopyRule() terra.SetValue[PolicyDetailsScheduleCrossRegionCopyRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) DeprecateRule() terra.ListValue[PolicyDetailsScheduleDeprecateRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) FastRestoreRule() terra.ListValue[PolicyDetailsScheduleFastRestoreRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) InternalRef() (terra.Reference, error)
- func (s PolicyDetailsScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s PolicyDetailsScheduleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleAttributes
- func (s PolicyDetailsScheduleAttributes) Name() terra.StringValue
- func (s PolicyDetailsScheduleAttributes) RetainRule() terra.ListValue[PolicyDetailsScheduleRetainRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) ShareRule() terra.ListValue[PolicyDetailsScheduleShareRuleAttributes]
- func (s PolicyDetailsScheduleAttributes) TagsToAdd() terra.MapValue[terra.StringValue]
- func (s PolicyDetailsScheduleAttributes) VariableTags() terra.MapValue[terra.StringValue]
- type PolicyDetailsScheduleCreateRule
- type PolicyDetailsScheduleCreateRuleAttributes
- func (cr PolicyDetailsScheduleCreateRuleAttributes) CronExpression() terra.StringValue
- func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalRef() (terra.Reference, error)
- func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCreateRuleAttributes
- func (cr PolicyDetailsScheduleCreateRuleAttributes) Interval() terra.NumberValue
- func (cr PolicyDetailsScheduleCreateRuleAttributes) IntervalUnit() terra.StringValue
- func (cr PolicyDetailsScheduleCreateRuleAttributes) Location() terra.StringValue
- func (cr PolicyDetailsScheduleCreateRuleAttributes) Times() terra.ListValue[terra.StringValue]
- type PolicyDetailsScheduleCreateRuleState
- type PolicyDetailsScheduleCrossRegionCopyRule
- type PolicyDetailsScheduleCrossRegionCopyRuleAttributes
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CmkArn() terra.StringValue
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CopyTags() terra.BoolValue
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) DeprecateRule() ...
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Encrypted() terra.BoolValue
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalRef() (terra.Reference, error)
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCrossRegionCopyRuleAttributes
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) RetainRule() terra.ListValue[PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes]
- func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Target() terra.StringValue
- type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule
- type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes
- func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
- func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes
- func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) Interval() terra.NumberValue
- func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleState
- type PolicyDetailsScheduleCrossRegionCopyRuleRetainRule
- type PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes
- func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes
- func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) Interval() terra.NumberValue
- func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleState
- type PolicyDetailsScheduleCrossRegionCopyRuleState
- type PolicyDetailsScheduleDeprecateRule
- type PolicyDetailsScheduleDeprecateRuleAttributes
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) Count() terra.NumberValue
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleDeprecateRuleAttributes
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) Interval() terra.NumberValue
- func (dr PolicyDetailsScheduleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsScheduleDeprecateRuleState
- type PolicyDetailsScheduleFastRestoreRule
- type PolicyDetailsScheduleFastRestoreRuleAttributes
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) Count() terra.NumberValue
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalRef() (terra.Reference, error)
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleFastRestoreRuleAttributes
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) Interval() terra.NumberValue
- func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsScheduleFastRestoreRuleState
- type PolicyDetailsScheduleRetainRule
- type PolicyDetailsScheduleRetainRuleAttributes
- func (rr PolicyDetailsScheduleRetainRuleAttributes) Count() terra.NumberValue
- func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalRef() (terra.Reference, error)
- func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleRetainRuleAttributes
- func (rr PolicyDetailsScheduleRetainRuleAttributes) Interval() terra.NumberValue
- func (rr PolicyDetailsScheduleRetainRuleAttributes) IntervalUnit() terra.StringValue
- type PolicyDetailsScheduleRetainRuleState
- type PolicyDetailsScheduleShareRule
- type PolicyDetailsScheduleShareRuleAttributes
- func (sr PolicyDetailsScheduleShareRuleAttributes) InternalRef() (terra.Reference, error)
- func (sr PolicyDetailsScheduleShareRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr PolicyDetailsScheduleShareRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleShareRuleAttributes
- func (sr PolicyDetailsScheduleShareRuleAttributes) TargetAccounts() terra.SetValue[terra.StringValue]
- func (sr PolicyDetailsScheduleShareRuleAttributes) UnshareInterval() terra.NumberValue
- func (sr PolicyDetailsScheduleShareRuleAttributes) UnshareIntervalUnit() terra.StringValue
- type PolicyDetailsScheduleShareRuleState
- type PolicyDetailsScheduleState
- type PolicyDetailsState
- type Resource
- func (adlp *Resource) Attributes() awsDlmLifecyclePolicyAttributes
- func (adlp *Resource) Configuration() interface{}
- func (adlp *Resource) DependOn() terra.Reference
- func (adlp *Resource) Dependencies() terra.Dependencies
- func (adlp *Resource) ImportState(state io.Reader) error
- func (adlp *Resource) LifecycleManagement() *terra.Lifecycle
- func (adlp *Resource) LocalName() string
- func (adlp *Resource) State() (*awsDlmLifecyclePolicyState, bool)
- func (adlp *Resource) StateMust() *awsDlmLifecyclePolicyState
- func (adlp *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, required Description terra.StringValue `hcl:"description,attr" validate:"required"` // ExecutionRoleArn: string, required ExecutionRoleArn terra.StringValue `hcl:"execution_role_arn,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // State: string, optional State terra.StringValue `hcl:"state,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // PolicyDetails: required PolicyDetails *PolicyDetails `hcl:"policy_details,block" validate:"required"` }
Args contains the configurations for aws_dlm_lifecycle_policy.
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"` // PolicyDetailsAction: optional Action *PolicyDetailsAction `hcl:"action,block"` // PolicyDetailsEventSource: optional EventSource *PolicyDetailsEventSource `hcl:"event_source,block"` // PolicyDetailsParameters: optional Parameters *PolicyDetailsParameters `hcl:"parameters,block"` // PolicyDetailsSchedule: min=0,max=4 Schedule []PolicyDetailsSchedule `hcl:"schedule,block" validate:"min=0,max=4"` }
type PolicyDetailsAction ¶
type PolicyDetailsAction struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // PolicyDetailsActionCrossRegionCopy: min=1,max=3 CrossRegionCopy []PolicyDetailsActionCrossRegionCopy `hcl:"cross_region_copy,block" validate:"min=1,max=3"` }
type PolicyDetailsActionAttributes ¶
type PolicyDetailsActionAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsActionAttributes) CrossRegionCopy ¶
func (a PolicyDetailsActionAttributes) CrossRegionCopy() terra.SetValue[PolicyDetailsActionCrossRegionCopyAttributes]
func (PolicyDetailsActionAttributes) InternalRef ¶
func (a PolicyDetailsActionAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsActionAttributes) InternalTokens ¶
func (a PolicyDetailsActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsActionAttributes) InternalWithRef ¶
func (a PolicyDetailsActionAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionAttributes
func (PolicyDetailsActionAttributes) Name ¶
func (a PolicyDetailsActionAttributes) Name() terra.StringValue
type PolicyDetailsActionCrossRegionCopy ¶
type PolicyDetailsActionCrossRegionCopy struct { // Target: string, required Target terra.StringValue `hcl:"target,attr" validate:"required"` // PolicyDetailsActionCrossRegionCopyEncryptionConfiguration: required EncryptionConfiguration *PolicyDetailsActionCrossRegionCopyEncryptionConfiguration `hcl:"encryption_configuration,block" validate:"required"` // PolicyDetailsActionCrossRegionCopyRetainRule: optional RetainRule *PolicyDetailsActionCrossRegionCopyRetainRule `hcl:"retain_rule,block"` }
type PolicyDetailsActionCrossRegionCopyAttributes ¶
type PolicyDetailsActionCrossRegionCopyAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsActionCrossRegionCopyAttributes) EncryptionConfiguration ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) EncryptionConfiguration() terra.ListValue[PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes]
func (PolicyDetailsActionCrossRegionCopyAttributes) InternalRef ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsActionCrossRegionCopyAttributes) InternalTokens ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsActionCrossRegionCopyAttributes) InternalWithRef ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionCrossRegionCopyAttributes
func (PolicyDetailsActionCrossRegionCopyAttributes) RetainRule ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) RetainRule() terra.ListValue[PolicyDetailsActionCrossRegionCopyRetainRuleAttributes]
func (PolicyDetailsActionCrossRegionCopyAttributes) Target ¶
func (crc PolicyDetailsActionCrossRegionCopyAttributes) Target() terra.StringValue
type PolicyDetailsActionCrossRegionCopyEncryptionConfiguration ¶
type PolicyDetailsActionCrossRegionCopyEncryptionConfiguration struct { // CmkArn: string, optional CmkArn terra.StringValue `hcl:"cmk_arn,attr"` // Encrypted: bool, optional Encrypted terra.BoolValue `hcl:"encrypted,attr"` }
type PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes ¶
type PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) CmkArn ¶
func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) CmkArn() terra.StringValue
func (PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) Encrypted ¶
func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) Encrypted() terra.BoolValue
func (PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalRef ¶
func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalTokens ¶
func (ec PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsActionCrossRegionCopyEncryptionConfigurationAttributes) InternalWithRef ¶
type PolicyDetailsActionCrossRegionCopyRetainRule ¶
type PolicyDetailsActionCrossRegionCopyRetainRule 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 PolicyDetailsActionCrossRegionCopyRetainRuleAttributes ¶
type PolicyDetailsActionCrossRegionCopyRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalRef ¶
func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalTokens ¶
func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalWithRef ¶
func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsActionCrossRegionCopyRetainRuleAttributes
func (PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) Interval ¶
func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) IntervalUnit ¶
func (rr PolicyDetailsActionCrossRegionCopyRetainRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsActionCrossRegionCopyState ¶
type PolicyDetailsActionCrossRegionCopyState struct { Target string `json:"target"` EncryptionConfiguration []PolicyDetailsActionCrossRegionCopyEncryptionConfigurationState `json:"encryption_configuration"` RetainRule []PolicyDetailsActionCrossRegionCopyRetainRuleState `json:"retain_rule"` }
type PolicyDetailsActionState ¶
type PolicyDetailsActionState struct { Name string `json:"name"` CrossRegionCopy []PolicyDetailsActionCrossRegionCopyState `json:"cross_region_copy"` }
type PolicyDetailsAttributes ¶
type PolicyDetailsAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsAttributes) Action ¶
func (pd PolicyDetailsAttributes) Action() terra.ListValue[PolicyDetailsActionAttributes]
func (PolicyDetailsAttributes) EventSource ¶
func (pd PolicyDetailsAttributes) EventSource() terra.ListValue[PolicyDetailsEventSourceAttributes]
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[PolicyDetailsScheduleAttributes]
func (PolicyDetailsAttributes) TargetTags ¶
func (pd PolicyDetailsAttributes) TargetTags() terra.MapValue[terra.StringValue]
type PolicyDetailsEventSource ¶
type PolicyDetailsEventSource struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // PolicyDetailsEventSourceParameters: required Parameters *PolicyDetailsEventSourceParameters `hcl:"parameters,block" validate:"required"` }
type PolicyDetailsEventSourceAttributes ¶
type PolicyDetailsEventSourceAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsEventSourceAttributes) InternalRef ¶
func (es PolicyDetailsEventSourceAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsEventSourceAttributes) InternalTokens ¶
func (es PolicyDetailsEventSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsEventSourceAttributes) InternalWithRef ¶
func (es PolicyDetailsEventSourceAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsEventSourceAttributes
func (PolicyDetailsEventSourceAttributes) Parameters ¶
func (es PolicyDetailsEventSourceAttributes) Parameters() terra.ListValue[PolicyDetailsEventSourceParametersAttributes]
func (PolicyDetailsEventSourceAttributes) Type ¶
func (es PolicyDetailsEventSourceAttributes) Type() terra.StringValue
type PolicyDetailsEventSourceParameters ¶
type PolicyDetailsEventSourceParameters 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 PolicyDetailsEventSourceParametersAttributes ¶
type PolicyDetailsEventSourceParametersAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsEventSourceParametersAttributes) DescriptionRegex ¶
func (p PolicyDetailsEventSourceParametersAttributes) DescriptionRegex() terra.StringValue
func (PolicyDetailsEventSourceParametersAttributes) EventType ¶
func (p PolicyDetailsEventSourceParametersAttributes) EventType() terra.StringValue
func (PolicyDetailsEventSourceParametersAttributes) InternalRef ¶
func (p PolicyDetailsEventSourceParametersAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsEventSourceParametersAttributes) InternalTokens ¶
func (p PolicyDetailsEventSourceParametersAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsEventSourceParametersAttributes) InternalWithRef ¶
func (p PolicyDetailsEventSourceParametersAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsEventSourceParametersAttributes
func (PolicyDetailsEventSourceParametersAttributes) SnapshotOwner ¶
func (p PolicyDetailsEventSourceParametersAttributes) SnapshotOwner() terra.SetValue[terra.StringValue]
type PolicyDetailsEventSourceState ¶
type PolicyDetailsEventSourceState struct { Type string `json:"type"` Parameters []PolicyDetailsEventSourceParametersState `json:"parameters"` }
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 PolicyDetailsSchedule ¶
type PolicyDetailsSchedule 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"` // PolicyDetailsScheduleCreateRule: required CreateRule *PolicyDetailsScheduleCreateRule `hcl:"create_rule,block" validate:"required"` // PolicyDetailsScheduleCrossRegionCopyRule: min=0,max=3 CrossRegionCopyRule []PolicyDetailsScheduleCrossRegionCopyRule `hcl:"cross_region_copy_rule,block" validate:"min=0,max=3"` // PolicyDetailsScheduleDeprecateRule: optional DeprecateRule *PolicyDetailsScheduleDeprecateRule `hcl:"deprecate_rule,block"` // PolicyDetailsScheduleFastRestoreRule: optional FastRestoreRule *PolicyDetailsScheduleFastRestoreRule `hcl:"fast_restore_rule,block"` // PolicyDetailsScheduleRetainRule: required RetainRule *PolicyDetailsScheduleRetainRule `hcl:"retain_rule,block" validate:"required"` ShareRule *PolicyDetailsScheduleShareRule `hcl:"share_rule,block"` }
type PolicyDetailsScheduleAttributes ¶
type PolicyDetailsScheduleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleAttributes) CopyTags ¶
func (s PolicyDetailsScheduleAttributes) CopyTags() terra.BoolValue
func (PolicyDetailsScheduleAttributes) CreateRule ¶
func (s PolicyDetailsScheduleAttributes) CreateRule() terra.ListValue[PolicyDetailsScheduleCreateRuleAttributes]
func (PolicyDetailsScheduleAttributes) CrossRegionCopyRule ¶
func (s PolicyDetailsScheduleAttributes) CrossRegionCopyRule() terra.SetValue[PolicyDetailsScheduleCrossRegionCopyRuleAttributes]
func (PolicyDetailsScheduleAttributes) DeprecateRule ¶
func (s PolicyDetailsScheduleAttributes) DeprecateRule() terra.ListValue[PolicyDetailsScheduleDeprecateRuleAttributes]
func (PolicyDetailsScheduleAttributes) FastRestoreRule ¶
func (s PolicyDetailsScheduleAttributes) FastRestoreRule() terra.ListValue[PolicyDetailsScheduleFastRestoreRuleAttributes]
func (PolicyDetailsScheduleAttributes) InternalRef ¶
func (s PolicyDetailsScheduleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleAttributes) InternalTokens ¶
func (s PolicyDetailsScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleAttributes) InternalWithRef ¶
func (s PolicyDetailsScheduleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleAttributes
func (PolicyDetailsScheduleAttributes) Name ¶
func (s PolicyDetailsScheduleAttributes) Name() terra.StringValue
func (PolicyDetailsScheduleAttributes) RetainRule ¶
func (s PolicyDetailsScheduleAttributes) RetainRule() terra.ListValue[PolicyDetailsScheduleRetainRuleAttributes]
func (PolicyDetailsScheduleAttributes) ShareRule ¶
func (s PolicyDetailsScheduleAttributes) ShareRule() terra.ListValue[PolicyDetailsScheduleShareRuleAttributes]
func (PolicyDetailsScheduleAttributes) TagsToAdd ¶
func (s PolicyDetailsScheduleAttributes) TagsToAdd() terra.MapValue[terra.StringValue]
func (PolicyDetailsScheduleAttributes) VariableTags ¶
func (s PolicyDetailsScheduleAttributes) VariableTags() terra.MapValue[terra.StringValue]
type PolicyDetailsScheduleCreateRule ¶
type PolicyDetailsScheduleCreateRule 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 PolicyDetailsScheduleCreateRuleAttributes ¶
type PolicyDetailsScheduleCreateRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleCreateRuleAttributes) CronExpression ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) CronExpression() terra.StringValue
func (PolicyDetailsScheduleCreateRuleAttributes) InternalRef ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleCreateRuleAttributes) InternalTokens ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleCreateRuleAttributes) InternalWithRef ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCreateRuleAttributes
func (PolicyDetailsScheduleCreateRuleAttributes) Interval ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleCreateRuleAttributes) IntervalUnit ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) IntervalUnit() terra.StringValue
func (PolicyDetailsScheduleCreateRuleAttributes) Location ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) Location() terra.StringValue
func (PolicyDetailsScheduleCreateRuleAttributes) Times ¶
func (cr PolicyDetailsScheduleCreateRuleAttributes) Times() terra.ListValue[terra.StringValue]
type PolicyDetailsScheduleCrossRegionCopyRule ¶
type PolicyDetailsScheduleCrossRegionCopyRule 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"` // PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule: optional DeprecateRule *PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule `hcl:"deprecate_rule,block"` // PolicyDetailsScheduleCrossRegionCopyRuleRetainRule: optional RetainRule *PolicyDetailsScheduleCrossRegionCopyRuleRetainRule `hcl:"retain_rule,block"` }
type PolicyDetailsScheduleCrossRegionCopyRuleAttributes ¶
type PolicyDetailsScheduleCrossRegionCopyRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CmkArn ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CmkArn() terra.StringValue
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CopyTags ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) CopyTags() terra.BoolValue
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) DeprecateRule ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) DeprecateRule() terra.ListValue[PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes]
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Encrypted ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Encrypted() terra.BoolValue
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalRef ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalTokens ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalWithRef ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCrossRegionCopyRuleAttributes
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) RetainRule ¶
func (PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Target ¶
func (crcr PolicyDetailsScheduleCrossRegionCopyRuleAttributes) Target() terra.StringValue
type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule ¶
type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRule 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 PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes ¶
type PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalRef ¶
func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens ¶
func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) InternalWithRef ¶
func (PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) Interval ¶
func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit ¶
func (dr PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsScheduleCrossRegionCopyRuleRetainRule ¶
type PolicyDetailsScheduleCrossRegionCopyRuleRetainRule 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 PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes ¶
type PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalRef ¶
func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalTokens ¶
func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalWithRef ¶
func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes
func (PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) Interval ¶
func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) IntervalUnit ¶
func (rr PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsScheduleCrossRegionCopyRuleState ¶
type PolicyDetailsScheduleCrossRegionCopyRuleState struct { CmkArn string `json:"cmk_arn"` CopyTags bool `json:"copy_tags"` Encrypted bool `json:"encrypted"` Target string `json:"target"` DeprecateRule []PolicyDetailsScheduleCrossRegionCopyRuleDeprecateRuleState `json:"deprecate_rule"` RetainRule []PolicyDetailsScheduleCrossRegionCopyRuleRetainRuleState `json:"retain_rule"` }
type PolicyDetailsScheduleDeprecateRule ¶
type PolicyDetailsScheduleDeprecateRule 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 PolicyDetailsScheduleDeprecateRuleAttributes ¶
type PolicyDetailsScheduleDeprecateRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleDeprecateRuleAttributes) Count ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) Count() terra.NumberValue
func (PolicyDetailsScheduleDeprecateRuleAttributes) InternalRef ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleDeprecateRuleAttributes) InternalTokens ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleDeprecateRuleAttributes) InternalWithRef ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleDeprecateRuleAttributes
func (PolicyDetailsScheduleDeprecateRuleAttributes) Interval ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleDeprecateRuleAttributes) IntervalUnit ¶
func (dr PolicyDetailsScheduleDeprecateRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsScheduleFastRestoreRule ¶
type PolicyDetailsScheduleFastRestoreRule 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 PolicyDetailsScheduleFastRestoreRuleAttributes ¶
type PolicyDetailsScheduleFastRestoreRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleFastRestoreRuleAttributes) AvailabilityZones ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) AvailabilityZones() terra.SetValue[terra.StringValue]
func (PolicyDetailsScheduleFastRestoreRuleAttributes) Count ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) Count() terra.NumberValue
func (PolicyDetailsScheduleFastRestoreRuleAttributes) InternalRef ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleFastRestoreRuleAttributes) InternalTokens ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleFastRestoreRuleAttributes) InternalWithRef ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleFastRestoreRuleAttributes
func (PolicyDetailsScheduleFastRestoreRuleAttributes) Interval ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleFastRestoreRuleAttributes) IntervalUnit ¶
func (frr PolicyDetailsScheduleFastRestoreRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsScheduleRetainRule ¶
type PolicyDetailsScheduleRetainRule 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 PolicyDetailsScheduleRetainRuleAttributes ¶
type PolicyDetailsScheduleRetainRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleRetainRuleAttributes) Count ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) Count() terra.NumberValue
func (PolicyDetailsScheduleRetainRuleAttributes) InternalRef ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleRetainRuleAttributes) InternalTokens ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleRetainRuleAttributes) InternalWithRef ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleRetainRuleAttributes
func (PolicyDetailsScheduleRetainRuleAttributes) Interval ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) Interval() terra.NumberValue
func (PolicyDetailsScheduleRetainRuleAttributes) IntervalUnit ¶
func (rr PolicyDetailsScheduleRetainRuleAttributes) IntervalUnit() terra.StringValue
type PolicyDetailsScheduleShareRule ¶
type PolicyDetailsScheduleShareRule 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 PolicyDetailsScheduleShareRuleAttributes ¶
type PolicyDetailsScheduleShareRuleAttributes struct {
// contains filtered or unexported fields
}
func (PolicyDetailsScheduleShareRuleAttributes) InternalRef ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) InternalRef() (terra.Reference, error)
func (PolicyDetailsScheduleShareRuleAttributes) InternalTokens ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PolicyDetailsScheduleShareRuleAttributes) InternalWithRef ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) InternalWithRef(ref terra.Reference) PolicyDetailsScheduleShareRuleAttributes
func (PolicyDetailsScheduleShareRuleAttributes) TargetAccounts ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) TargetAccounts() terra.SetValue[terra.StringValue]
func (PolicyDetailsScheduleShareRuleAttributes) UnshareInterval ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) UnshareInterval() terra.NumberValue
func (PolicyDetailsScheduleShareRuleAttributes) UnshareIntervalUnit ¶
func (sr PolicyDetailsScheduleShareRuleAttributes) UnshareIntervalUnit() terra.StringValue
type PolicyDetailsScheduleShareRuleState ¶
type PolicyDetailsScheduleShareRuleState struct {}
type PolicyDetailsScheduleState ¶
type PolicyDetailsScheduleState 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 []PolicyDetailsScheduleCreateRuleState `json:"create_rule"` CrossRegionCopyRule []PolicyDetailsScheduleCrossRegionCopyRuleState `json:"cross_region_copy_rule"` DeprecateRule []PolicyDetailsScheduleDeprecateRuleState `json:"deprecate_rule"` FastRestoreRule []PolicyDetailsScheduleFastRestoreRuleState `json:"fast_restore_rule"` RetainRule []PolicyDetailsScheduleRetainRuleState `json:"retain_rule"` }
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 []PolicyDetailsActionState `json:"action"` EventSource []PolicyDetailsEventSourceState `json:"event_source"` Parameters []PolicyDetailsParametersState `json:"parameters"` Schedule []PolicyDetailsScheduleState `json:"schedule"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_dlm_lifecycle_policy.
func (*Resource) Attributes ¶
func (adlp *Resource) Attributes() awsDlmLifecyclePolicyAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (adlp *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (adlp *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.