Documentation ¶
Index ¶
- type Action
- type ActionAttributes
- type ActionState
- type DefaultAction
- type DefaultActionAttributes
- func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
- func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
- func (da DefaultActionAttributes) Type() terra.StringValue
- type DefaultActionState
- type FieldToMatch
- type FieldToMatchAttributes
- func (ftm FieldToMatchAttributes) Data() terra.StringValue
- func (ftm FieldToMatchAttributes) InternalRef() (terra.Reference, error)
- func (ftm FieldToMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ftm FieldToMatchAttributes) InternalWithRef(ref terra.Reference) FieldToMatchAttributes
- func (ftm FieldToMatchAttributes) Type() terra.StringValue
- type FieldToMatchState
- type LoggingConfiguration
- type LoggingConfigurationAttributes
- func (lc LoggingConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (lc LoggingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lc LoggingConfigurationAttributes) InternalWithRef(ref terra.Reference) LoggingConfigurationAttributes
- func (lc LoggingConfigurationAttributes) LogDestination() terra.StringValue
- func (lc LoggingConfigurationAttributes) RedactedFields() terra.ListValue[RedactedFieldsAttributes]
- type LoggingConfigurationState
- type OverrideAction
- type OverrideActionAttributes
- func (oa OverrideActionAttributes) InternalRef() (terra.Reference, error)
- func (oa OverrideActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (oa OverrideActionAttributes) InternalWithRef(ref terra.Reference) OverrideActionAttributes
- func (oa OverrideActionAttributes) Type() terra.StringValue
- type OverrideActionState
- type RedactedFields
- type RedactedFieldsAttributes
- func (rf RedactedFieldsAttributes) FieldToMatch() terra.SetValue[FieldToMatchAttributes]
- func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)
- func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rf RedactedFieldsAttributes) InternalWithRef(ref terra.Reference) RedactedFieldsAttributes
- type RedactedFieldsState
- type Rules
- type RulesAttributes
- func (r RulesAttributes) Action() terra.ListValue[ActionAttributes]
- func (r RulesAttributes) InternalRef() (terra.Reference, error)
- func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
- func (r RulesAttributes) OverrideAction() terra.ListValue[OverrideActionAttributes]
- func (r RulesAttributes) Priority() terra.NumberValue
- func (r RulesAttributes) RuleId() terra.StringValue
- func (r RulesAttributes) Type() terra.StringValue
- type RulesState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type ActionAttributes ¶
type ActionAttributes struct {
// contains filtered or unexported fields
}
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) Type ¶
func (a ActionAttributes) Type() terra.StringValue
type ActionState ¶
type ActionState struct {
Type string `json:"type"`
}
type DefaultAction ¶
type DefaultAction struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type DefaultActionAttributes ¶
type DefaultActionAttributes struct {
// contains filtered or unexported fields
}
func (DefaultActionAttributes) InternalRef ¶
func (da DefaultActionAttributes) InternalRef() (terra.Reference, error)
func (DefaultActionAttributes) InternalTokens ¶
func (da DefaultActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DefaultActionAttributes) InternalWithRef ¶
func (da DefaultActionAttributes) InternalWithRef(ref terra.Reference) DefaultActionAttributes
func (DefaultActionAttributes) Type ¶
func (da DefaultActionAttributes) Type() terra.StringValue
type DefaultActionState ¶
type DefaultActionState struct {
Type string `json:"type"`
}
type FieldToMatch ¶
type FieldToMatch struct { // Data: string, optional Data terra.StringValue `hcl:"data,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type FieldToMatchAttributes ¶
type FieldToMatchAttributes struct {
// contains filtered or unexported fields
}
func (FieldToMatchAttributes) Data ¶
func (ftm FieldToMatchAttributes) Data() terra.StringValue
func (FieldToMatchAttributes) InternalRef ¶
func (ftm FieldToMatchAttributes) InternalRef() (terra.Reference, error)
func (FieldToMatchAttributes) InternalTokens ¶
func (ftm FieldToMatchAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FieldToMatchAttributes) InternalWithRef ¶
func (ftm FieldToMatchAttributes) InternalWithRef(ref terra.Reference) FieldToMatchAttributes
func (FieldToMatchAttributes) Type ¶
func (ftm FieldToMatchAttributes) Type() terra.StringValue
type FieldToMatchState ¶
type LoggingConfiguration ¶
type LoggingConfiguration struct { // LogDestination: string, required LogDestination terra.StringValue `hcl:"log_destination,attr" validate:"required"` // RedactedFields: optional RedactedFields *RedactedFields `hcl:"redacted_fields,block"` }
type LoggingConfigurationAttributes ¶
type LoggingConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (LoggingConfigurationAttributes) InternalRef ¶
func (lc LoggingConfigurationAttributes) InternalRef() (terra.Reference, error)
func (LoggingConfigurationAttributes) InternalTokens ¶
func (lc LoggingConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LoggingConfigurationAttributes) InternalWithRef ¶
func (lc LoggingConfigurationAttributes) InternalWithRef(ref terra.Reference) LoggingConfigurationAttributes
func (LoggingConfigurationAttributes) LogDestination ¶
func (lc LoggingConfigurationAttributes) LogDestination() terra.StringValue
func (LoggingConfigurationAttributes) RedactedFields ¶
func (lc LoggingConfigurationAttributes) RedactedFields() terra.ListValue[RedactedFieldsAttributes]
type LoggingConfigurationState ¶
type LoggingConfigurationState struct { LogDestination string `json:"log_destination"` RedactedFields []RedactedFieldsState `json:"redacted_fields"` }
type OverrideAction ¶
type OverrideAction struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type OverrideActionAttributes ¶
type OverrideActionAttributes struct {
// contains filtered or unexported fields
}
func (OverrideActionAttributes) InternalRef ¶
func (oa OverrideActionAttributes) InternalRef() (terra.Reference, error)
func (OverrideActionAttributes) InternalTokens ¶
func (oa OverrideActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OverrideActionAttributes) InternalWithRef ¶
func (oa OverrideActionAttributes) InternalWithRef(ref terra.Reference) OverrideActionAttributes
func (OverrideActionAttributes) Type ¶
func (oa OverrideActionAttributes) Type() terra.StringValue
type OverrideActionState ¶
type OverrideActionState struct {
Type string `json:"type"`
}
type RedactedFields ¶
type RedactedFields struct { // FieldToMatch: min=1 FieldToMatch []FieldToMatch `hcl:"field_to_match,block" validate:"min=1"` }
type RedactedFieldsAttributes ¶
type RedactedFieldsAttributes struct {
// contains filtered or unexported fields
}
func (RedactedFieldsAttributes) FieldToMatch ¶
func (rf RedactedFieldsAttributes) FieldToMatch() terra.SetValue[FieldToMatchAttributes]
func (RedactedFieldsAttributes) InternalRef ¶
func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)
func (RedactedFieldsAttributes) InternalTokens ¶
func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RedactedFieldsAttributes) InternalWithRef ¶
func (rf RedactedFieldsAttributes) InternalWithRef(ref terra.Reference) RedactedFieldsAttributes
type RedactedFieldsState ¶
type RedactedFieldsState struct {
FieldToMatch []FieldToMatchState `json:"field_to_match"`
}
type Rules ¶
type Rules struct { // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleId: string, required RuleId terra.StringValue `hcl:"rule_id,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // Action: optional Action *Action `hcl:"action,block"` // OverrideAction: optional OverrideAction *OverrideAction `hcl:"override_action,block"` }
type RulesAttributes ¶
type RulesAttributes struct {
// contains filtered or unexported fields
}
func (RulesAttributes) Action ¶
func (r RulesAttributes) Action() terra.ListValue[ActionAttributes]
func (RulesAttributes) InternalRef ¶
func (r RulesAttributes) InternalRef() (terra.Reference, error)
func (RulesAttributes) InternalTokens ¶
func (r RulesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesAttributes) InternalWithRef ¶
func (r RulesAttributes) InternalWithRef(ref terra.Reference) RulesAttributes
func (RulesAttributes) OverrideAction ¶
func (r RulesAttributes) OverrideAction() terra.ListValue[OverrideActionAttributes]
func (RulesAttributes) Priority ¶
func (r RulesAttributes) Priority() terra.NumberValue
func (RulesAttributes) RuleId ¶
func (r RulesAttributes) RuleId() terra.StringValue
func (RulesAttributes) Type ¶
func (r RulesAttributes) Type() terra.StringValue
type RulesState ¶
type RulesState struct { Priority float64 `json:"priority"` RuleId string `json:"rule_id"` Type string `json:"type"` Action []ActionState `json:"action"` OverrideAction []OverrideActionState `json:"override_action"` }
Click to show internal directories.
Click to hide internal directories.