Show / Hide Table of Contents

Interface CfnGroup.IResourceQueryProperty

The query used to dynamically define the members of a group.

Namespace: Amazon.CDK.AWS.ResourceGroups
Assembly: Amazon.CDK.AWS.ResourceGroups.dll
Syntax (csharp)
public interface IResourceQueryProperty
Syntax (vb)
Public Interface IResourceQueryProperty
Remarks

For more information about how to construct a query, see Build queries and groups in AWS Resource Groups .

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ResourceGroups;

ResourceQueryProperty resourceQueryProperty = new ResourceQueryProperty {
    Query = new QueryProperty {
        ResourceTypeFilters = new [] { "resourceTypeFilters" },
        StackIdentifier = "stackIdentifier",
        TagFilters = new [] { new TagFilterProperty {
            Key = "key",
            Values = new [] { "values" }
        } }
    },
    Type = "type"
};

Synopsis

Properties

Query

The query that defines the membership of the group.

Type

Specifies the type of resource query that determines this group's membership. There are two valid query types:.

Properties

Query

The query that defines the membership of the group.

virtual object Query { get; }
Property Value

System.Object

Remarks

This is a structure with properties that depend on the Type .

The Query structure must be included in the following scenarios:

    Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html#cfn-resourcegroups-group-resourcequery-query

    Type

    Specifies the type of resource query that determines this group's membership. There are two valid query types:.

    virtual string Type { get; }
    Property Value

    System.String

    Remarks

      Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resourcegroups-group-resourcequery.html#cfn-resourcegroups-group-resourcequery-type

      Back to top Generated by DocFX