Skip to content
v2.278.0

AnalyzerItemsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchserverless as opensearchserverless } from 'aws-cdk-lib';
const analyzerItemsProperty: opensearchserverless.CfnIndex.AnalyzerItemsProperty = {
  charFilter: ['charFilter'],
  filter: ['filter'],
  tokenizer: 'tokenizer',
  type: 'type',
};
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_opensearchserverless as opensearchserverless

analyzer_items_property = opensearchserverless.CfnIndex.AnalyzerItemsProperty(
    char_filter=["charFilter"],
    filter=["filter"],
    tokenizer="tokenizer",
    type="type"
)
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.opensearchserverless.*;

AnalyzerItemsProperty analyzerItemsProperty = AnalyzerItemsProperty.builder()
        .charFilter(List.of("charFilter"))
        .filter(List.of("filter"))
        .tokenizer("tokenizer")
        .type("type")
        .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.OpenSearchServerless;

var analyzerItemsProperty = new AnalyzerItemsProperty {
    CharFilter = new [] { "charFilter" },
    Filter = new [] { "filter" },
    Tokenizer = "tokenizer",
    Type = "type"
};
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"

analyzerItemsProperty := &AnalyzerItemsProperty{
	CharFilter: []*string{
		jsii.String("charFilter"),
	},
	Filter: []*string{
		jsii.String("filter"),
	},
	Tokenizer: jsii.String("tokenizer"),
	Type: jsii.String("type"),
}

Properties ​

charFilteroptionalstring[]char_filteroptionaltyping.List[str]charFilteroptionalList<String>CharFilteroptionalstring[]CharFilteroptional*[]*string #
Character filters to apply.
filteroptionalstring[]filteroptionaltyping.List[str]filteroptionalList<String>Filteroptionalstring[]Filteroptional*[]*string #
Token filters to apply.
tokenizeroptionalstringtokenizeroptionalstrtokenizeroptionalStringTokenizeroptionalstringTokenizeroptional*string #
The tokenizer to use.
typeoptionalstringtypeoptionalstrtypeoptionalStringTypeoptionalstringTypeoptional*string #
The analyzer type (e.g. custom, standard, simple).