# AWS::OpenSearchServerless Construct Library

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

TypeScript:

```ts
import * as opensearchserverless from 'aws-cdk-lib/aws-opensearchserverless';
```

Python:

```python
import aws_cdk.aws_opensearchserverless as opensearchserverless
```

Java:

```java
import software.amazon.awscdk.services.opensearchserverless.*;
```

C#:

```csharp
using Amazon.CDK.AWS.OpenSearchServerless;
```

Go:

```go
import opensearchserverless "github.com/aws/aws-cdk-go/awscdk"
```

There are no official hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet. Here are some suggestions on how to proceed:

- Search [Construct Hub for OpenSearchServerless construct libraries](https://constructs.dev/search?q=opensearchserverless)
- Use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, in the same way you would use [the CloudFormation AWS::OpenSearchServerless resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_OpenSearchServerless.html) directly.

There are no hand-written ([L2](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib)) constructs for this service yet.
However, you can still use the automatically generated [L1](https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_l1_using) constructs, and use this service exactly as you would using CloudFormation directly.

For more information on the resources and properties available for this service, see the [CloudFormation documentation for AWS::OpenSearchServerless](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_OpenSearchServerless.html).

(Read the [CDK Contributing Guide](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and submit an RFC if you are interested in contributing to this construct library.)

## Types

### Constructs (L1)

- [`CfnAccessPolicy`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnAccessPolicy.html) Construct (L1) Creates a data access policy for OpenSearch Serverless.
- [`CfnCollection`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollection.html) Construct (L1) Specifies an OpenSearch Serverless collection.
- [`CfnCollectionGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionGroup.html) Construct (L1) Resource Type definition for AWS::OpenSearchServerless::CollectionGroup.
- [`CfnCollectionIndex`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionIndex.html) Construct (L1) Resource Type definition for AWS::OpenSearchServerless::CollectionIndex.
- [`CfnIndex`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.html) Construct (L1) An OpenSearch Serverless index resource.
- [`CfnLifecyclePolicy`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnLifecyclePolicy.html) Construct (L1) Creates a lifecyle policy to be applied to OpenSearch Serverless indexes.
- [`CfnSecurityConfig`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.html) Construct (L1) Specifies a security configuration for OpenSearch Serverless.
- [`CfnSecurityPolicy`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityPolicy.html) Construct (L1) Creates an encryption or network policy to be used by one or more OpenSearch Serverless collections.
- [`CfnVpcEndpoint`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnVpcEndpoint.html) Construct (L1) Creates an OpenSearch Serverless-managed interface VPC endpoint.

### Structs

- [`CfnAccessPolicyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnAccessPolicyProps.html) Struct Properties for defining a `CfnAccessPolicy`.
- [`CfnCollection.EncryptionConfigProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollection.EncryptionConfigProperty.html) Struct Encryption settings for the collection.
- [`CfnCollection.FipsEndpointsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollection.FipsEndpointsProperty.html) Struct
- [`CfnCollection.VectorOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollection.VectorOptionsProperty.html) Struct Vector search configuration options for the collection.
- [`CfnCollectionGroup.CapacityLimitsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionGroup.CapacityLimitsProperty.html) Struct
- [`CfnCollectionGroupProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionGroupProps.html) Struct Properties for defining a `CfnCollectionGroup`.
- [`CfnCollectionIndexProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionIndexProps.html) Struct Properties for defining a `CfnCollectionIndex`.
- [`CfnCollectionProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnCollectionProps.html) Struct Properties for defining a `CfnCollection`.
- [`CfnIndex.AnalysisProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.AnalysisProperty.html) Struct Custom analysis configuration including analyzers, tokenizers, and filters.
- [`CfnIndex.AnalyzerItemsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.AnalyzerItemsProperty.html) Struct
- [`CfnIndex.IndexProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.IndexProperty.html) Struct An OpenSearch Serverless index resource.
- [`CfnIndex.IndexSettingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.IndexSettingsProperty.html) Struct Index settings for the OpenSearch Serverless index.
- [`CfnIndex.MappingsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.MappingsProperty.html) Struct Index mappings for the OpenSearch Serverless index.
- [`CfnIndex.MethodProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.MethodProperty.html) Struct Configuration for k-NN search method.
- [`CfnIndex.ParametersProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.ParametersProperty.html) Struct Additional parameters for the k-NN algorithm.
- [`CfnIndex.PropertyMappingProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndex.PropertyMappingProperty.html) Struct Property mappings for the OpenSearch Serverless index.
- [`CfnIndexProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnIndexProps.html) Struct Properties for defining a `CfnIndex`.
- [`CfnLifecyclePolicyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnLifecyclePolicyProps.html) Struct Properties for defining a `CfnLifecyclePolicy`.
- [`CfnSecurityConfig.IamFederationConfigOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamFederationConfigOptionsProperty.html) Struct Describes IAM federation options for an OpenSearch Serverless security configuration in the form of a key-value map.
- [`CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.IamIdentityCenterConfigOptionsProperty.html) Struct Describes IAM Identity Center options for an OpenSearch Serverless security configuration in the form of a key-value map.
- [`CfnSecurityConfig.SamlConfigOptionsProperty`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfig.SamlConfigOptionsProperty.html) Struct Describes SAML options for an OpenSearch Serverless security configuration in the form of a key-value map.
- [`CfnSecurityConfigProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityConfigProps.html) Struct Properties for defining a `CfnSecurityConfig`.
- [`CfnSecurityPolicyProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnSecurityPolicyProps.html) Struct Properties for defining a `CfnSecurityPolicy`.
- [`CfnVpcEndpointProps`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_opensearchserverless.CfnVpcEndpointProps.html) Struct Properties for defining a `CfnVpcEndpoint`.
