interface SearchFilterProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ResourceExplorer2.CfnView.SearchFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsresourceexplorer2#CfnView_SearchFilterProperty |
Java | software.amazon.awscdk.services.resourceexplorer2.CfnView.SearchFilterProperty |
Python | aws_cdk.aws_resourceexplorer2.CfnView.SearchFilterProperty |
TypeScript | aws-cdk-lib » aws_resourceexplorer2 » CfnView » SearchFilterProperty |
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 { aws_resourceexplorer2 as resourceexplorer2 } from 'aws-cdk-lib';
const searchFilterProperty: resourceexplorer2.CfnView.SearchFilterProperty = {
filterString: 'filterString',
};
Properties
Name | Type | Description |
---|---|---|
filter | string | The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. |
filterString
Type:
string
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
.