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.

AssessmentTargetFilter

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

type AssessmentTargetFilter struct { AssessmentTargetNamePattern *string `locationName:"assessmentTargetNamePattern" min:"1" type:"string"` }

Used as the request parameter in the ListAssessmentTargets action.

AssessmentTargetNamePattern

Type: *string

For a record to match a filter, an explicit value or a string that contains a wildcard that is specified for this data type property must match the value of the assessmentTargetName property of the AssessmentTarget data type.

Method

GoString

func (s AssessmentTargetFilter) GoString() string

GoString returns the string representation

SetAssessmentTargetNamePattern

func (s *AssessmentTargetFilter) SetAssessmentTargetNamePattern(v string) *AssessmentTargetFilter

SetAssessmentTargetNamePattern sets the AssessmentTargetNamePattern field's value.

String

func (s AssessmentTargetFilter) String() string

String returns the string representation

Validate

func (s *AssessmentTargetFilter) Validate() error

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

On this page: