wafregexmatchset

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 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 (FieldToMatchAttributes) InternalRef

func (ftm FieldToMatchAttributes) InternalRef() (terra.Reference, error)

func (FieldToMatchAttributes) InternalTokens

func (ftm FieldToMatchAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldToMatchAttributes) InternalWithRef

func (FieldToMatchAttributes) Type

type FieldToMatchState

type FieldToMatchState struct {
	Data string `json:"data"`
	Type string `json:"type"`
}

type RegexMatchTuple

type RegexMatchTuple struct {
	// RegexPatternSetId: string, required
	RegexPatternSetId terra.StringValue `hcl:"regex_pattern_set_id,attr" validate:"required"`
	// TextTransformation: string, required
	TextTransformation terra.StringValue `hcl:"text_transformation,attr" validate:"required"`
	// FieldToMatch: required
	FieldToMatch *FieldToMatch `hcl:"field_to_match,block" validate:"required"`
}

type RegexMatchTupleAttributes

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

func (RegexMatchTupleAttributes) FieldToMatch

func (RegexMatchTupleAttributes) InternalRef

func (rmt RegexMatchTupleAttributes) InternalRef() (terra.Reference, error)

func (RegexMatchTupleAttributes) InternalTokens

func (rmt RegexMatchTupleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RegexMatchTupleAttributes) InternalWithRef

func (RegexMatchTupleAttributes) RegexPatternSetId

func (rmt RegexMatchTupleAttributes) RegexPatternSetId() terra.StringValue

func (RegexMatchTupleAttributes) TextTransformation

func (rmt RegexMatchTupleAttributes) TextTransformation() terra.StringValue

type RegexMatchTupleState

type RegexMatchTupleState struct {
	RegexPatternSetId  string              `json:"regex_pattern_set_id"`
	TextTransformation string              `json:"text_transformation"`
	FieldToMatch       []FieldToMatchState `json:"field_to_match"`
}

Jump to

Keyboard shortcuts

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