wafv2webaclloggingconfiguration

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionCondition

type ActionCondition struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
}

type ActionConditionAttributes

type ActionConditionAttributes struct {
	// contains filtered or unexported fields
}

func (ActionConditionAttributes) Action

func (ActionConditionAttributes) InternalRef

func (ac ActionConditionAttributes) InternalRef() (terra.Reference, error)

func (ActionConditionAttributes) InternalTokens

func (ac ActionConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionConditionAttributes) InternalWithRef

type ActionConditionState

type ActionConditionState struct {
	Action string `json:"action"`
}

type Condition

type Condition struct {
	// ActionCondition: optional
	ActionCondition *ActionCondition `hcl:"action_condition,block"`
	// LabelNameCondition: optional
	LabelNameCondition *LabelNameCondition `hcl:"label_name_condition,block"`
}

type ConditionAttributes

type ConditionAttributes struct {
	// contains filtered or unexported fields
}

func (ConditionAttributes) ActionCondition

func (ConditionAttributes) InternalRef

func (c ConditionAttributes) InternalRef() (terra.Reference, error)

func (ConditionAttributes) InternalTokens

func (c ConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConditionAttributes) InternalWithRef

func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes

func (ConditionAttributes) LabelNameCondition

type ConditionState

type ConditionState struct {
	ActionCondition    []ActionConditionState    `json:"action_condition"`
	LabelNameCondition []LabelNameConditionState `json:"label_name_condition"`
}

type Filter

type Filter struct {
	// Behavior: string, required
	Behavior terra.StringValue `hcl:"behavior,attr" validate:"required"`
	// Requirement: string, required
	Requirement terra.StringValue `hcl:"requirement,attr" validate:"required"`
	// Condition: min=1
	Condition []Condition `hcl:"condition,block" validate:"min=1"`
}

type FilterAttributes

type FilterAttributes struct {
	// contains filtered or unexported fields
}

func (FilterAttributes) Behavior

func (f FilterAttributes) Behavior() terra.StringValue

func (FilterAttributes) Condition

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Requirement

func (f FilterAttributes) Requirement() terra.StringValue

type FilterState

type FilterState struct {
	Behavior    string           `json:"behavior"`
	Requirement string           `json:"requirement"`
	Condition   []ConditionState `json:"condition"`
}

type LabelNameCondition

type LabelNameCondition struct {
	// LabelName: string, required
	LabelName terra.StringValue `hcl:"label_name,attr" validate:"required"`
}

type LabelNameConditionAttributes

type LabelNameConditionAttributes struct {
	// contains filtered or unexported fields
}

func (LabelNameConditionAttributes) InternalRef

func (lnc LabelNameConditionAttributes) InternalRef() (terra.Reference, error)

func (LabelNameConditionAttributes) InternalTokens

func (lnc LabelNameConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LabelNameConditionAttributes) InternalWithRef

func (LabelNameConditionAttributes) LabelName

type LabelNameConditionState

type LabelNameConditionState struct {
	LabelName string `json:"label_name"`
}

type LoggingFilter

type LoggingFilter struct {
	// DefaultBehavior: string, required
	DefaultBehavior terra.StringValue `hcl:"default_behavior,attr" validate:"required"`
	// Filter: min=1
	Filter []Filter `hcl:"filter,block" validate:"min=1"`
}

type LoggingFilterAttributes

type LoggingFilterAttributes struct {
	// contains filtered or unexported fields
}

func (LoggingFilterAttributes) DefaultBehavior

func (lf LoggingFilterAttributes) DefaultBehavior() terra.StringValue

func (LoggingFilterAttributes) Filter

func (LoggingFilterAttributes) InternalRef

func (lf LoggingFilterAttributes) InternalRef() (terra.Reference, error)

func (LoggingFilterAttributes) InternalTokens

func (lf LoggingFilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (LoggingFilterAttributes) InternalWithRef

type LoggingFilterState

type LoggingFilterState struct {
	DefaultBehavior string        `json:"default_behavior"`
	Filter          []FilterState `json:"filter"`
}

type Method

type Method struct{}

type MethodAttributes

type MethodAttributes struct {
	// contains filtered or unexported fields
}

func (MethodAttributes) InternalRef

func (m MethodAttributes) InternalRef() (terra.Reference, error)

func (MethodAttributes) InternalTokens

func (m MethodAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MethodAttributes) InternalWithRef

func (m MethodAttributes) InternalWithRef(ref terra.Reference) MethodAttributes

type MethodState

type MethodState struct{}

type QueryString

type QueryString struct{}

type QueryStringAttributes

type QueryStringAttributes struct {
	// contains filtered or unexported fields
}

func (QueryStringAttributes) InternalRef

func (qs QueryStringAttributes) InternalRef() (terra.Reference, error)

func (QueryStringAttributes) InternalTokens

func (qs QueryStringAttributes) InternalTokens() (hclwrite.Tokens, error)

func (QueryStringAttributes) InternalWithRef

type QueryStringState

type QueryStringState struct{}

type RedactedFields

type RedactedFields struct {
	// Method: optional
	Method *Method `hcl:"method,block"`
	// QueryString: optional
	QueryString *QueryString `hcl:"query_string,block"`
	// SingleHeader: optional
	SingleHeader *SingleHeader `hcl:"single_header,block"`
	// UriPath: optional
	UriPath *UriPath `hcl:"uri_path,block"`
}

type RedactedFieldsAttributes

type RedactedFieldsAttributes struct {
	// contains filtered or unexported fields
}

func (RedactedFieldsAttributes) InternalRef

func (rf RedactedFieldsAttributes) InternalRef() (terra.Reference, error)

func (RedactedFieldsAttributes) InternalTokens

func (rf RedactedFieldsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedactedFieldsAttributes) InternalWithRef

func (RedactedFieldsAttributes) Method

func (RedactedFieldsAttributes) QueryString

func (RedactedFieldsAttributes) SingleHeader

func (RedactedFieldsAttributes) UriPath

type RedactedFieldsState

type RedactedFieldsState struct {
	Method       []MethodState       `json:"method"`
	QueryString  []QueryStringState  `json:"query_string"`
	SingleHeader []SingleHeaderState `json:"single_header"`
	UriPath      []UriPathState      `json:"uri_path"`
}

type SingleHeader

type SingleHeader struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type SingleHeaderAttributes

type SingleHeaderAttributes struct {
	// contains filtered or unexported fields
}

func (SingleHeaderAttributes) InternalRef

func (sh SingleHeaderAttributes) InternalRef() (terra.Reference, error)

func (SingleHeaderAttributes) InternalTokens

func (sh SingleHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SingleHeaderAttributes) InternalWithRef

func (SingleHeaderAttributes) Name

type SingleHeaderState

type SingleHeaderState struct {
	Name string `json:"name"`
}

type UriPath

type UriPath struct{}

type UriPathAttributes

type UriPathAttributes struct {
	// contains filtered or unexported fields
}

func (UriPathAttributes) InternalRef

func (up UriPathAttributes) InternalRef() (terra.Reference, error)

func (UriPathAttributes) InternalTokens

func (up UriPathAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UriPathAttributes) InternalWithRef

func (up UriPathAttributes) InternalWithRef(ref terra.Reference) UriPathAttributes

type UriPathState

type UriPathState struct{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL