Class: Aws::DevOpsGuru::Types::CostEstimationResourceCollectionFilter

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb

Overview

Note:

When making an API call, you may pass CostEstimationResourceCollectionFilter data as a hash:

{
  cloud_formation: {
    stack_names: ["StackName"],
  },
  tags: [
    {
      app_boundary_key: "AppBoundaryKey", # required
      tag_values: ["TagValue"], # required
    },
  ],
}

Information about a filter used to specify which Amazon Web Services resources are analyzed to create a monthly DevOps Guru cost estimate. For more information, see Estimate your Amazon DevOps Guru costs and Amazon DevOps Guru pricing.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_formationTypes::CloudFormationCostEstimationResourceCollectionFilter

An object that specifies the CloudFormation stack that defines the Amazon Web Services resources used to create a monthly estimate for DevOps Guru.



512
513
514
515
516
517
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 512

class CostEstimationResourceCollectionFilter < Struct.new(
  :cloud_formation,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::TagCostEstimationResourceCollectionFilter>

The Amazon Web Services tags used to filter the resource collection that is used for a cost estimate.

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.

Each Amazon Web Services tag has two parts.

  • A tag key (for example, CostCenter, Environment, Project, or Secret). Tag keys are case-sensitive.

  • An optional field known as a tag value (for example, 111122223333, Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.

Together these are known as key-value pairs.

The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be Devops-guru-deployment-application or Devops-guru-rds-application. While keys are case-sensitive, the case of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.



512
513
514
515
516
517
# File 'gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/types.rb', line 512

class CostEstimationResourceCollectionFilter < Struct.new(
  :cloud_formation,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end