@Stability(value=Stable) @Internal public static final class CfnGroup.ResourceQueryProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnGroup.ResourceQueryProperty
CfnGroup.ResourceQueryPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnGroup.ResourceQueryProperty.Builder, CfnGroup.ResourceQueryProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnGroup.ResourceQueryProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnGroup.ConfigurationItemProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getQuery()
The query that defines the membership of the group.
|
String |
getType()
Specifies the type of resource query that determines this group's membership.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnGroup.ResourceQueryProperty.Builder builder)
CfnGroup.ConfigurationItemProperty.Builder.public final Object getQuery()
CfnGroup.ResourceQueryProperty
This is a structure with properties that depend on the Type .
The Query structure must be included in the following scenarios:
Type is TAG_FILTERS_1_0 , you must specify a Query structure that contains a TagFilters list of tags. Resources with tags that match those in the TagFilter list become members of the resource group.Type is CLOUDFORMATION_STACK_1_0 then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, the Query structure must contain the StackIdentifier property. If you don't specify either a Query structure or a StackIdentifier within that Query , then it defaults to the CloudFormation stack that you're currently constructing.getQuery in interface CfnGroup.ResourceQueryPropertypublic final String getType()
CfnGroup.ResourceQueryProperty
TAG_FILTERS_1_0 indicates that the group is a tag-based group. To complete the group membership, you must include the TagFilters property to specify the tag filters to use in the query.CLOUDFORMATION_STACK_1_0 , the default, indicates that the group is a CloudFormation stack-based group. Group membership is based on the CloudFormation stack. You must specify the StackIdentifier property in the query to define which stack to associate the group with, or leave it empty to default to the stack where the group is defined.getType in interface CfnGroup.ResourceQueryProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.