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 ¶ added in v0.12.4
func New(opts ...ResourceGroupsTaggingAPIOption) ResourceGroupsTaggingAPI
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
type ResourceGroupsTaggingAPIOption ¶ added in v0.12.4
type ResourceGroupsTaggingAPIOption func(*ResourceGroupsTaggingAPI)
func WithSession ¶ added in v0.12.4
func WithSession(sess *session.Session) ResourceGroupsTaggingAPIOption
Click to show internal directories.
Click to hide internal directories.