resourcegroups

package
v1.33.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package resourcegroups provides a client to make API requests to AWS Resource Groups

Index

Constants

View Source
const (
	// ResourceTypeStateMachine is the resource type for the state machine of a job.
	ResourceTypeStateMachine = "states:stateMachine"
	// ResourceTypeRDS is the resource type for any rds resources.
	ResourceTypeRDS = "rds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	ARN  string
	Tags map[string]string
}

Resource contains the ARN and the tags of the resource.

type ResourceGroups

type ResourceGroups struct {
	// contains filtered or unexported fields
}

ResourceGroups wraps an AWS ResourceGroups client.

func New

New returns a ResourceGroup struct configured against the input session.

func (*ResourceGroups) GetResourcesByTags

func (rg *ResourceGroups) GetResourcesByTags(resourceType string, tags map[string]string) ([]*Resource, error)

GetResourcesByTags gets tag set and ARN for the resource with input resource type and tags.

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL