AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

WafOverrideAction

import "github.com/aws/aws-sdk-go/service/waf"

type WafOverrideAction struct { Type *string `type:"string" required:"true" enum:"WafOverrideActionType"` }

The action to take if any rule within the RuleGroup matches a request.

Type

Type: *string

COUNT overrides the action specified by the individual rule within a RuleGroup . If set to NONE, the rule's action will take place.

Type is a required field

Method

GoString

func (s WafOverrideAction) GoString() string

GoString returns the string representation

SetType

func (s *WafOverrideAction) SetType(v string) *WafOverrideAction

SetType sets the Type field's value.

String

func (s WafOverrideAction) String() string

String returns the string representation

Validate

func (s *WafOverrideAction) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: