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.

GroupedResourceCount

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

type GroupedResourceCount struct { GroupName *string `min:"1" type:"string" required:"true"` ResourceCount *int64 `type:"long" required:"true"` }

The count of resources that are grouped by the group name.

GroupName

Type: *string

The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.

GroupName is a required field

ResourceCount

Type: *int64

The number of resources in the group.

ResourceCount is a required field

Method

GoString

func (s GroupedResourceCount) GoString() string

GoString returns the string representation

SetGroupName

func (s *GroupedResourceCount) SetGroupName(v string) *GroupedResourceCount

SetGroupName sets the GroupName field's value.

SetResourceCount

func (s *GroupedResourceCount) SetResourceCount(v int64) *GroupedResourceCount

SetResourceCount sets the ResourceCount field's value.

String

func (s GroupedResourceCount) String() string

String returns the string representation

On this page: