aws_wafv2_web_acl_logging_configuration

package
v5.45.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LogDestinationConfigs: set of string, required
	LogDestinationConfigs terra.SetValue[terra.StringValue] `hcl:"log_destination_configs,attr" validate:"required"`
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
	// LoggingFilter: optional
	LoggingFilter *LoggingFilter `hcl:"logging_filter,block"`
	// RedactedFields: min=0,max=100
	RedactedFields []RedactedFields `hcl:"redacted_fields,block" validate:"min=0,max=100"`
}

Args contains the configurations for aws_wafv2_web_acl_logging_configuration.

type LoggingFilter

type LoggingFilter struct {
	// DefaultBehavior: string, required
	DefaultBehavior terra.StringValue `hcl:"default_behavior,attr" validate:"required"`
	// LoggingFilterFilter: min=1
	Filter []LoggingFilterFilter `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 LoggingFilterFilter

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

type LoggingFilterFilterAttributes

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

func (LoggingFilterFilterAttributes) Behavior

func (LoggingFilterFilterAttributes) Condition

func (LoggingFilterFilterAttributes) InternalRef

func (LoggingFilterFilterAttributes) InternalTokens

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

func (LoggingFilterFilterAttributes) InternalWithRef

func (LoggingFilterFilterAttributes) Requirement

type LoggingFilterFilterCondition

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

type LoggingFilterFilterConditionActionCondition

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

type LoggingFilterFilterConditionActionConditionAttributes

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

func (LoggingFilterFilterConditionActionConditionAttributes) Action

func (LoggingFilterFilterConditionActionConditionAttributes) InternalRef

func (LoggingFilterFilterConditionActionConditionAttributes) InternalTokens

func (LoggingFilterFilterConditionActionConditionAttributes) InternalWithRef

type LoggingFilterFilterConditionActionConditionState

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

type LoggingFilterFilterConditionAttributes

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

func (LoggingFilterFilterConditionAttributes) InternalRef

func (LoggingFilterFilterConditionAttributes) InternalTokens

func (LoggingFilterFilterConditionAttributes) InternalWithRef

type LoggingFilterFilterConditionLabelNameCondition

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

type LoggingFilterFilterConditionLabelNameConditionAttributes

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

func (LoggingFilterFilterConditionLabelNameConditionAttributes) InternalRef

func (LoggingFilterFilterConditionLabelNameConditionAttributes) InternalTokens

func (LoggingFilterFilterConditionLabelNameConditionAttributes) InternalWithRef

func (LoggingFilterFilterConditionLabelNameConditionAttributes) LabelName

type LoggingFilterFilterConditionLabelNameConditionState

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

type LoggingFilterFilterConditionState

type LoggingFilterFilterConditionState struct {
	ActionCondition    []LoggingFilterFilterConditionActionConditionState    `json:"action_condition"`
	LabelNameCondition []LoggingFilterFilterConditionLabelNameConditionState `json:"label_name_condition"`
}

type LoggingFilterFilterState

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

type LoggingFilterState

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

type RedactedFields

type RedactedFields struct {
	// RedactedFieldsAllQueryArguments: optional
	AllQueryArguments *RedactedFieldsAllQueryArguments `hcl:"all_query_arguments,block"`
	// RedactedFieldsBody: optional
	Body *RedactedFieldsBody `hcl:"body,block"`
	// RedactedFieldsMethod: optional
	Method *RedactedFieldsMethod `hcl:"method,block"`
	// RedactedFieldsQueryString: optional
	QueryString *RedactedFieldsQueryString `hcl:"query_string,block"`
	// RedactedFieldsSingleHeader: optional
	SingleHeader *RedactedFieldsSingleHeader `hcl:"single_header,block"`
	// RedactedFieldsSingleQueryArgument: optional
	SingleQueryArgument *RedactedFieldsSingleQueryArgument `hcl:"single_query_argument,block"`
	// RedactedFieldsUriPath: optional
	UriPath *RedactedFieldsUriPath `hcl:"uri_path,block"`
}

type RedactedFieldsAllQueryArguments

type RedactedFieldsAllQueryArguments struct{}

type RedactedFieldsAllQueryArgumentsAttributes

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

func (RedactedFieldsAllQueryArgumentsAttributes) InternalRef

func (RedactedFieldsAllQueryArgumentsAttributes) InternalTokens

func (RedactedFieldsAllQueryArgumentsAttributes) InternalWithRef

type RedactedFieldsAllQueryArgumentsState

type RedactedFieldsAllQueryArgumentsState struct{}

type RedactedFieldsAttributes

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

func (RedactedFieldsAttributes) AllQueryArguments

func (RedactedFieldsAttributes) Body

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) SingleQueryArgument

func (RedactedFieldsAttributes) UriPath

type RedactedFieldsBody

type RedactedFieldsBody struct{}

type RedactedFieldsBodyAttributes

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

func (RedactedFieldsBodyAttributes) InternalRef

func (RedactedFieldsBodyAttributes) InternalTokens

func (b RedactedFieldsBodyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RedactedFieldsBodyAttributes) InternalWithRef

type RedactedFieldsBodyState

type RedactedFieldsBodyState struct{}

type RedactedFieldsMethod

type RedactedFieldsMethod struct{}

type RedactedFieldsMethodAttributes

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

func (RedactedFieldsMethodAttributes) InternalRef

func (RedactedFieldsMethodAttributes) InternalTokens

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

func (RedactedFieldsMethodAttributes) InternalWithRef

type RedactedFieldsMethodState

type RedactedFieldsMethodState struct{}

type RedactedFieldsQueryString

type RedactedFieldsQueryString struct{}

type RedactedFieldsQueryStringAttributes

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

func (RedactedFieldsQueryStringAttributes) InternalRef

func (RedactedFieldsQueryStringAttributes) InternalTokens

func (RedactedFieldsQueryStringAttributes) InternalWithRef

type RedactedFieldsQueryStringState

type RedactedFieldsQueryStringState struct{}

type RedactedFieldsSingleHeader

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

type RedactedFieldsSingleHeaderAttributes

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

func (RedactedFieldsSingleHeaderAttributes) InternalRef

func (RedactedFieldsSingleHeaderAttributes) InternalTokens

func (RedactedFieldsSingleHeaderAttributes) InternalWithRef

func (RedactedFieldsSingleHeaderAttributes) Name

type RedactedFieldsSingleHeaderState

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

type RedactedFieldsSingleQueryArgument

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

type RedactedFieldsSingleQueryArgumentAttributes

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

func (RedactedFieldsSingleQueryArgumentAttributes) InternalRef

func (RedactedFieldsSingleQueryArgumentAttributes) InternalTokens

func (RedactedFieldsSingleQueryArgumentAttributes) InternalWithRef

func (RedactedFieldsSingleQueryArgumentAttributes) Name

type RedactedFieldsSingleQueryArgumentState

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

type RedactedFieldsState

type RedactedFieldsState struct {
	AllQueryArguments   []RedactedFieldsAllQueryArgumentsState   `json:"all_query_arguments"`
	Body                []RedactedFieldsBodyState                `json:"body"`
	Method              []RedactedFieldsMethodState              `json:"method"`
	QueryString         []RedactedFieldsQueryStringState         `json:"query_string"`
	SingleHeader        []RedactedFieldsSingleHeaderState        `json:"single_header"`
	SingleQueryArgument []RedactedFieldsSingleQueryArgumentState `json:"single_query_argument"`
	UriPath             []RedactedFieldsUriPathState             `json:"uri_path"`
}

type RedactedFieldsUriPath

type RedactedFieldsUriPath struct{}

type RedactedFieldsUriPathAttributes

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

func (RedactedFieldsUriPathAttributes) InternalRef

func (RedactedFieldsUriPathAttributes) InternalTokens

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

func (RedactedFieldsUriPathAttributes) InternalWithRef

type RedactedFieldsUriPathState

type RedactedFieldsUriPathState struct{}

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_wafv2_web_acl_logging_configuration.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (awwalc *Resource) Attributes() awsWafv2WebAclLoggingConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (awwalc *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (awwalc *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (awwalc *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (awwalc *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (awwalc *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (awwalc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (awwalc *Resource) State() (*awsWafv2WebAclLoggingConfigurationState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (awwalc *Resource) StateMust() *awsWafv2WebAclLoggingConfigurationState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (awwalc *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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