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.

EC2TagFilter

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

type EC2TagFilter struct { Key *string `type:"string"` Type *string `type:"string" enum:"EC2TagFilterType"` Value *string `type:"string"` }

Information about an EC2 tag filter.

Key

Type: *string

The tag filter key.

Type

Type: *string

The tag filter type:

  • KEY_ONLY: Key only.

  • VALUE_ONLY: Value only.

  • KEY_AND_VALUE: Key and value.

Value

Type: *string

The tag filter value.

Method

GoString

func (s EC2TagFilter) GoString() string

GoString returns the string representation

SetKey

func (s *EC2TagFilter) SetKey(v string) *EC2TagFilter

SetKey sets the Key field's value.

SetType

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

SetType sets the Type field's value.

SetValue

func (s *EC2TagFilter) SetValue(v string) *EC2TagFilter

SetValue sets the Value field's value.

String

func (s EC2TagFilter) String() string

String returns the string representation

On this page: