Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResourceGroupsTaggingAPI ¶
type ResourceGroupsTaggingAPI struct { Service resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI // contains filtered or unexported fields }
ResourceGroupsTaggingAPI is a wrapper around the aws resourcegroupstaggingapi service with some default config info
func New ¶
func New(opts ...ResourceGroupsTaggingAPIOption) ResourceGroupsTaggingAPI
func (*ResourceGroupsTaggingAPI) GetResourcesWithTags ¶
func (r *ResourceGroupsTaggingAPI) GetResourcesWithTags(ctx context.Context, types []string, filters []*TagFilter) ([]*resourcegroupstaggingapi.ResourceTagMapping, error)
GetResourcesWithTags returns all of the resources with a type in the list of types that matches the tagfilters. More details about which services support the resourgroup tagging api is here https://docs.aws.amazon.com/ARG/latest/userguide/supported-resources.html
type ResourceGroupsTaggingAPIOption ¶
type ResourceGroupsTaggingAPIOption func(*ResourceGroupsTaggingAPI)
func WithCredentials ¶
func WithCredentials(key, secret, token, region string) ResourceGroupsTaggingAPIOption
func WithSession ¶
func WithSession(sess *session.Session) ResourceGroupsTaggingAPIOption
Click to show internal directories.
Click to hide internal directories.