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.

XssMatchSetUpdate

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

type XssMatchSetUpdate struct { Action *string `type:"string" required:"true" enum:"ChangeAction"` XssMatchTuple *XssMatchTuple `type:"structure" required:"true"` }

Specifies the part of a web request that you want to inspect for cross-site scripting attacks and indicates whether you want to add the specification to an XssMatchSet or delete it from an XssMatchSet.

Action

Type: *string

Specify INSERT to add an XssMatchSetUpdate to an XssMatchSet. Use DELETE to remove an XssMatchSetUpdate from an XssMatchSet.

Action is a required field

XssMatchTuple

Specifies the part of a web request that you want AWS WAF to inspect for cross-site scripting attacks and, if you want AWS WAF to inspect a header, the name of the header.

Method

GoString

func (s XssMatchSetUpdate) GoString() string

GoString returns the string representation

SetAction

func (s *XssMatchSetUpdate) SetAction(v string) *XssMatchSetUpdate

SetAction sets the Action field's value.

SetXssMatchTuple

func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdate

SetXssMatchTuple sets the XssMatchTuple field's value.

String

func (s XssMatchSetUpdate) String() string

String returns the string representation

Validate

func (s *XssMatchSetUpdate) Validate() error

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

On this page: