interface SearchFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.ResourceExplorer2.CfnViewPropsMixin.SearchFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsresourceexplorer2#CfnViewPropsMixin_SearchFilterProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.resourceexplorer2.CfnViewPropsMixin.SearchFilterProperty |
Python | aws_cdk.cfn_property_mixins.aws_resourceexplorer2.CfnViewPropsMixin.SearchFilterProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_resourceexplorer2 » CfnViewPropsMixin » 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/cfn-property-mixins';
const searchFilterProperty: resourceexplorer2.CfnViewPropsMixin.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
(optional)
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=prodincludes all Amazon EC2 resources in any AWS Region that begin with the lettersusand are not tagged with a keyStagethat has the valueprod.

.NET
Go
Java
Python
TypeScript