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.

ResourceGroup

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

type ResourceGroup struct { Arn *string `locationName:"arn" min:"1" type:"string" required:"true"` CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" required:"true"` Tags []*ResourceGroupTag `locationName:"tags" min:"1" type:"list" required:"true"` }

Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.

Arn

Type: *string

The ARN of the resource group.

Arn is a required field

CreatedAt

Type: *time.Time

The time at which resource group is created.

CreatedAt is a required field

Tags

This data type is used as one of the elements of the ResourceGroup data type.

Method

GoString

func (s ResourceGroup) GoString() string

GoString returns the string representation

SetArn

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

SetArn sets the Arn field's value.

SetCreatedAt

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

SetCreatedAt sets the CreatedAt field's value.

SetTags

func (s *ResourceGroup) SetTags(v []*ResourceGroupTag) *ResourceGroup

SetTags sets the Tags field's value.

String

func (s ResourceGroup) String() string

String returns the string representation

On this page: