Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResourceGroupsTaggingAPI ¶
type ResourceGroupsTaggingAPI struct {
Service resourcegroupstaggingapiiface.ResourceGroupsTaggingAPIAPI
}
ResourceGroupsTaggingAPI is a wrapper around the aws resourcegroupstaggingapi service with some default config info
func NewSession ¶
func NewSession(account common.Account) ResourceGroupsTaggingAPI
NewSession creates a new cloudfront session
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
Click to show internal directories.
Click to hide internal directories.