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.

CreateWebACLOutput

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

type CreateWebACLOutput struct { ChangeToken *string `min:"1" type:"string"` WebACL *WebACL `type:"structure"` }

ChangeToken

Type: *string

The ChangeToken that you used to submit the CreateWebACL request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

WebACL

Contains the Rules that identify the requests that you want to allow, block, or count. In a WebACL, you also specify a default action (ALLOW or BLOCK), and the action for each Rule that you add to a WebACL, for example, block requests from specified IP addresses or block requests from specified referrers. You also associate the WebACL with a CloudFront distribution to identify the requests that you want AWS WAF to filter. If you add more than one Rule to a WebACL, a request needs to match only one of the specifications to be allowed, blocked, or counted. For more information, see UpdateWebACL.

Method

GoString

func (s CreateWebACLOutput) GoString() string

GoString returns the string representation

SetChangeToken

func (s *CreateWebACLOutput) SetChangeToken(v string) *CreateWebACLOutput

SetChangeToken sets the ChangeToken field's value.

SetWebACL

func (s *CreateWebACLOutput) SetWebACL(v *WebACL) *CreateWebACLOutput

SetWebACL sets the WebACL field's value.

String

func (s CreateWebACLOutput) String() string

String returns the string representation

On this page: