Documentation ¶
Index ¶
- type DefaultRetention
- type DefaultRetentionAttributes
- func (dr DefaultRetentionAttributes) Days() terra.NumberValue
- func (dr DefaultRetentionAttributes) InternalRef() (terra.Reference, error)
- func (dr DefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dr DefaultRetentionAttributes) InternalWithRef(ref terra.Reference) DefaultRetentionAttributes
- func (dr DefaultRetentionAttributes) Mode() terra.StringValue
- func (dr DefaultRetentionAttributes) Years() terra.NumberValue
- type DefaultRetentionState
- type Rule
- type RuleAttributes
- type RuleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRetention ¶
type DefaultRetention struct { // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // Mode: string, optional Mode terra.StringValue `hcl:"mode,attr"` // Years: number, optional Years terra.NumberValue `hcl:"years,attr"` }
type DefaultRetentionAttributes ¶
type DefaultRetentionAttributes struct {
// contains filtered or unexported fields
}
func (DefaultRetentionAttributes) Days ¶
func (dr DefaultRetentionAttributes) Days() terra.NumberValue
func (DefaultRetentionAttributes) InternalRef ¶
func (dr DefaultRetentionAttributes) InternalRef() (terra.Reference, error)
func (DefaultRetentionAttributes) InternalTokens ¶
func (dr DefaultRetentionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultRetentionAttributes) InternalWithRef ¶
func (dr DefaultRetentionAttributes) InternalWithRef(ref terra.Reference) DefaultRetentionAttributes
func (DefaultRetentionAttributes) Mode ¶
func (dr DefaultRetentionAttributes) Mode() terra.StringValue
func (DefaultRetentionAttributes) Years ¶
func (dr DefaultRetentionAttributes) Years() terra.NumberValue
type DefaultRetentionState ¶
type Rule ¶
type Rule struct { // DefaultRetention: required DefaultRetention *DefaultRetention `hcl:"default_retention,block" validate:"required"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) DefaultRetention ¶
func (r RuleAttributes) DefaultRetention() terra.ListValue[DefaultRetentionAttributes]
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
type RuleState ¶
type RuleState struct {
DefaultRetention []DefaultRetentionState `json:"default_retention"`
}
Click to show internal directories.
Click to hide internal directories.