Interface CfnView.SearchFilterProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnView.SearchFilterProperty.Jsii$Proxy
- Enclosing class:
CfnView
@Stability(Stable)
public static interface CfnView.SearchFilterProperty
extends software.amazon.jsii.JsiiSerializable
A search filter defines which resources can be part of a search query result set.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.resourceexplorer2.*; SearchFilterProperty searchFilterProperty = SearchFilterProperty.builder() .filterString("filterString") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnView.SearchFilterProperty
static final class
An implementation forCfnView.SearchFilterProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFilterString
The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.For information about the supported syntax, see Search query reference in the AWS Resource Explorer User Guide .
This query string in the context of this operation supports only filter prefixes with optional operators . It doesn't support free-form text. For example, the string
region:us* service:ec2 -tag:stage=prod
includes all Amazon EC2 resources in any AWS Region that begin with the lettersus
and are not tagged with a keyStage
that has the valueprod
.- See Also:
-
builder
-