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.

CreateIPSetOutput

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

type CreateIPSetOutput struct { ChangeToken *string `min:"1" type:"string"` IPSet *IPSet `type:"structure"` }

ChangeToken

Type: *string

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

IPSet

Contains one or more IP addresses or blocks of IP addresses specified in Classless Inter-Domain Routing (CIDR) notation. AWS WAF supports IPv4 address ranges: /8 and any range between /16 through /32. AWS WAF supports IPv6 address ranges: /24, /32, /48, /56, /64, and /128.

To specify an individual IP address, you specify the four-part IP address followed by a /32, for example, 192.0.2.0/31. To block a range of IP addresses, you can specify /8 or any range between /16 through /32 (for IPv4) or /24, /32, /48, /56, /64, or /128 (for IPv6). For more information about CIDR notation, see the Wikipedia entry Classless Inter-Domain Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing).

Method

GoString

func (s CreateIPSetOutput) GoString() string

GoString returns the string representation

SetChangeToken

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

SetChangeToken sets the ChangeToken field's value.

SetIPSet

func (s *CreateIPSetOutput) SetIPSet(v *IPSet) *CreateIPSetOutput

SetIPSet sets the IPSet field's value.

String

func (s CreateIPSetOutput) String() string

String returns the string representation

On this page: