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.

WebhookAuthConfiguration

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

type WebhookAuthConfiguration struct { AllowedIPRange *string `min:"1" type:"string"` SecretToken *string `min:"1" type:"string"` }

The authentication applied to incoming webhook trigger requests.

AllowedIPRange

Type: *string

The property used to configure acceptance of webhooks within a specific IP range. For IP, only the AllowedIPRange property must be set, and this property must be set to a valid CIDR range.

SecretToken

Type: *string

The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.

Method

GoString

func (s WebhookAuthConfiguration) GoString() string

GoString returns the string representation

SetAllowedIPRange

func (s *WebhookAuthConfiguration) SetAllowedIPRange(v string) *WebhookAuthConfiguration

SetAllowedIPRange sets the AllowedIPRange field's value.

SetSecretToken

func (s *WebhookAuthConfiguration) SetSecretToken(v string) *WebhookAuthConfiguration

SetSecretToken sets the SecretToken field's value.

String

func (s WebhookAuthConfiguration) String() string

String returns the string representation

Validate

func (s *WebhookAuthConfiguration) Validate() error

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

On this page: