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.

AssessmentTarget

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

type AssessmentTarget struct { Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` Name *string `locationName:"name" min:"1" type:"string" required:"true"` ResourceGroupArn *string `locationName:"resourceGroupArn" min:"1" type:"string"` UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp" required:"true"` }

Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.

Arn

Type: *string

The ARN that specifies the Amazon Inspector assessment target.

Arn is a required field

CreatedAt

Type: *time.Time

The time at which the assessment target is created.

CreatedAt is a required field

Name

Type: *string

The name of the Amazon Inspector assessment target.

Name is a required field

ResourceGroupArn

Type: *string

The ARN that specifies the resource group that is associated with the assessment target.

UpdatedAt

Type: *time.Time

The time at which UpdateAssessmentTarget is called.

UpdatedAt is a required field

Method

GoString

func (s AssessmentTarget) GoString() string

GoString returns the string representation

SetArn

func (s *AssessmentTarget) SetArn(v string) *AssessmentTarget

SetArn sets the Arn field's value.

SetCreatedAt

func (s *AssessmentTarget) SetCreatedAt(v time.Time) *AssessmentTarget

SetCreatedAt sets the CreatedAt field's value.

SetName

func (s *AssessmentTarget) SetName(v string) *AssessmentTarget

SetName sets the Name field's value.

SetResourceGroupArn

func (s *AssessmentTarget) SetResourceGroupArn(v string) *AssessmentTarget

SetResourceGroupArn sets the ResourceGroupArn field's value.

SetUpdatedAt

func (s *AssessmentTarget) SetUpdatedAt(v time.Time) *AssessmentTarget

SetUpdatedAt sets the UpdatedAt field's value.

String

func (s AssessmentTarget) String() string

String returns the string representation

On this page: