aws-cdk-lib.aws_iot.CfnTopicRule.OpenSearchActionProperty

interface OpenSearchActionProperty

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnTopicRule.OpenSearchActionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnTopicRule_OpenSearchActionProperty
Javasoftware.amazon.awscdk.services.iot.CfnTopicRule.OpenSearchActionProperty
Pythonaws_cdk.aws_iot.CfnTopicRule.OpenSearchActionProperty
TypeScript aws-cdk-lib » aws_iot » CfnTopicRule » OpenSearchActionProperty

Describes an action that writes data to an Amazon OpenSearch Service domain.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const openSearchActionProperty: iot.CfnTopicRule.OpenSearchActionProperty = {
  endpoint: 'endpoint',
  id: 'id',
  index: 'index',
  roleArn: 'roleArn',
  type: 'type',
};

Properties

NameTypeDescription
endpointstringThe endpoint of your OpenSearch domain.
idstringThe unique identifier for the document you are storing.
indexstringThe OpenSearch index where you want to store your data.
roleArnstringThe IAM role ARN that has access to OpenSearch.
typestringThe type of document you are storing.

endpoint

Type: string

The endpoint of your OpenSearch domain.


id

Type: string

The unique identifier for the document you are storing.


index

Type: string

The OpenSearch index where you want to store your data.


roleArn

Type: string

The IAM role ARN that has access to OpenSearch.


type

Type: string

The type of document you are storing.