Skip to content

Get Resource Collection

devopsguru_get_resource_collection R Documentation

Returns lists Amazon Web Services resources that are of the specified resource collection type

Description

Returns lists Amazon Web Services resources that are of the specified resource collection type. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Usage

devopsguru_get_resource_collection(ResourceCollectionType, NextToken)

Arguments

ResourceCollectionType

[required] The type of Amazon Web Services resource collections to return. The one valid value is CLOUD_FORMATION for Amazon Web Services CloudFormation stacks.

NextToken

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

Value

A list with the following syntax:

list(
  ResourceCollection = list(
    CloudFormation = list(
      StackNames = list(
        "string"
      )
    ),
    Tags = list(
      list(
        AppBoundaryKey = "string",
        TagValues = list(
          "string"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$get_resource_collection(
  ResourceCollectionType = "AWS_CLOUD_FORMATION"|"AWS_SERVICE"|"AWS_TAGS",
  NextToken = "string"
)