SearchFilterProperty Struct
A search filter defines which resources can be part of a search query result set.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resourceexplorer2 as resourceexplorer2
search_filter_property = resourceexplorer2.CfnView.SearchFilterProperty(
filter_string="filterString"
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
searchFilterProperty := &SearchFilterProperty{
FilterString: jsii.String("filterString"),
}
Properties
filterStringstringfilter_stringstrfilterStringStringFilterStringstringFilterString*string required #The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation.
notes
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.