Class CfnView.SearchFilterProperty
A search filter defines which resources can be part of a search query result set.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnView.SearchFilterProperty : CfnView.ISearchFilterProperty
Syntax (vb)
Public Class CfnView.SearchFilterProperty Implements CfnView.ISearchFilterProperty
Remarks
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.ResourceExplorer2;
var searchFilterProperty = new SearchFilterProperty {
FilterString = "filterString"
};
Synopsis
Constructors
| SearchFilterProperty() | A search filter defines which resources can be part of a search query result set. |
Properties
| FilterString | The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. |
Constructors
SearchFilterProperty()
A search filter defines which resources can be part of a search query result set.
public SearchFilterProperty()
Remarks
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.ResourceExplorer2;
var searchFilterProperty = new SearchFilterProperty {
FilterString = "filterString"
};
Properties
FilterString
The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.
public string FilterString { get; set; }
Property Value
Remarks
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 <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-filters">filter prefixes</a> with optional <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/using-search-query-syntax.html#query-syntax-operators">operators</a> . It doesn't support free-form text. For example, the string <code>region:us* service:ec2 -tag:stage=prod</code> includes all Amazon EC2 resources in any AWS Region that begin with the letters <code>us</code> and are <em>not</em> tagged with a key <code>Stage</code> that has the value <code>prod</code> .