import { TagFilterProps } from './TagFilterProps';
import { Value } from '../../../cloudformation/Value';
/**
  Specifies details within a <code>ResourceQuery</code> structure that determines the membership of the resource group. The contents required in the <code>Query</code> structure are determined by the <code>Type</code> property of the containing <code>ResourceQuery</code> structure.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-query.html">the AWS Docs</a>
*/
export interface QueryProps {
    /** <code>TagFilters</code>  <a name="cfn-resourcegroups-group-query-tagfilters"></a>
  A list of key-value pair objects that limit which resources can be members of the resource group. This property is required when the <code>ResourceQuery.Type</code> property is <code>TAG_FILTERS_1_0</code>.<br />
  A resource must have a tag that matches every filter that is provided in the <code>TagFilters</code> list.<br />
  
  Required: Conditional<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tagFilters?: TagFilterProps[];
    /** <code>ResourceTypeFilters</code>  <a name="cfn-resourcegroups-group-query-resourcetypefilters"></a>
  Specifies limits to the types of resources that can be included in the resource group. For example, if <code>ResourceTypeFilters</code> is <code>[&quot;AWS::EC2::Instance&quot;, &quot;AWS::DynamoDB::Table&quot;]</code>, only EC2 instances or DynamoDB tables can be members of this resource group. The default value is <code>[&quot;AWS::AllSupported&quot;]</code>.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    resourceTypeFilters?: Value<Value<string>[]>;
    /** <code>StackIdentifier</code>  <a name="cfn-resourcegroups-group-query-stackidentifier"></a>
  Specifies the ARN of a CloudFormation stack. All supported resources of the CloudFormation stack are members of the resource group. If you don’t specify an ARN, this parameter defaults to the current stack that you are defining, which means that all the resources of the current stack are grouped.<br />
  You can specify a value for <code>StackIdentifier</code> only when the <code>ResourceQuery.Type</code> property is <code>CLOUDFORMATION_STACK_1_0.</code><br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    stackIdentifier?: Value<string>;
}
