Class CfnGroup.ResourceQueryProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.resourcegroups.CfnGroup.ResourceQueryProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnGroup.ResourceQueryProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnGroup.ResourceQueryProperty
@Stability(Stable)
@Internal
public static final class CfnGroup.ResourceQueryProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnGroup.ResourceQueryProperty
An implementation for
CfnGroup.ResourceQueryProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.resourcegroups.CfnGroup.ResourceQueryProperty
CfnGroup.ResourceQueryProperty.Builder, CfnGroup.ResourceQueryProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnGroup.ResourceQueryProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnGroup.ResourceQueryProperty.Builder.
-
-
Method Details
-
getQuery
Description copied from interface:CfnGroup.ResourceQueryPropertyThe query that defines the membership of the group.This is a structure with properties that depend on the
Type.The
Querystructure must be included in the following scenarios:- When the
TypeisTAG_FILTERS_1_0, you must specify aQuerystructure that contains aTagFilterslist of tags. Resources with tags that match those in theTagFilterlist become members of the resource group. - When the
TypeisCLOUDFORMATION_STACK_1_0then this field is required only when you must specify a CloudFormation stack other than the one you are defining. To do this, theQuerystructure must contain theStackIdentifierproperty. If you don't specify either aQuerystructure or aStackIdentifierwithin thatQuery, then it defaults to the CloudFormation stack that you're currently constructing.
Returns union: either
IResolvableorCfnGroup.QueryProperty- Specified by:
getQueryin interfaceCfnGroup.ResourceQueryProperty- See Also:
- When the
-
getType
Description copied from interface:CfnGroup.ResourceQueryPropertySpecifies the type of resource query that determines this group's membership. There are two valid query types:.TAG_FILTERS_1_0indicates that the group is a tag-based group. To complete the group membership, you must include theTagFiltersproperty 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 theStackIdentifierproperty 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.
- Specified by:
getTypein interfaceCfnGroup.ResourceQueryProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-