interface ElasticsearchDestinationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.KinesisFirehose.Mixins.CfnDeliveryStreamPropsMixin.ElasticsearchDestinationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awskinesisfirehose/mixins#CfnDeliveryStreamPropsMixin_ElasticsearchDestinationConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.kinesisfirehose.mixins.CfnDeliveryStreamPropsMixin.ElasticsearchDestinationConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_kinesisfirehose.mixins.CfnDeliveryStreamPropsMixin.ElasticsearchDestinationConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_kinesisfirehose » mixins » CfnDeliveryStreamPropsMixin » ElasticsearchDestinationConfigurationProperty |
The ElasticsearchDestinationConfiguration property type specifies an Amazon Elasticsearch Service (Amazon ES) domain that Amazon Kinesis Data Firehose (Kinesis Data Firehose) delivers data to.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as kinesisfirehose_mixins } from '@aws-cdk/mixins-preview/aws-kinesisfirehose';
const elasticsearchDestinationConfigurationProperty: kinesisfirehose_mixins.CfnDeliveryStreamPropsMixin.ElasticsearchDestinationConfigurationProperty = {
bufferingHints: {
intervalInSeconds: 123,
sizeInMBs: 123,
},
cloudWatchLoggingOptions: {
enabled: false,
logGroupName: 'logGroupName',
logStreamName: 'logStreamName',
},
clusterEndpoint: 'clusterEndpoint',
documentIdOptions: {
defaultDocumentIdFormat: 'defaultDocumentIdFormat',
},
domainArn: 'domainArn',
indexName: 'indexName',
indexRotationPeriod: 'indexRotationPeriod',
processingConfiguration: {
enabled: false,
processors: [{
parameters: [{
parameterName: 'parameterName',
parameterValue: 'parameterValue',
}],
type: 'type',
}],
},
retryOptions: {
durationInSeconds: 123,
},
roleArn: 'roleArn',
s3BackupMode: 's3BackupMode',
s3Configuration: {
bucketArn: 'bucketArn',
bufferingHints: {
intervalInSeconds: 123,
sizeInMBs: 123,
},
cloudWatchLoggingOptions: {
enabled: false,
logGroupName: 'logGroupName',
logStreamName: 'logStreamName',
},
compressionFormat: 'compressionFormat',
encryptionConfiguration: {
kmsEncryptionConfig: {
awskmsKeyArn: 'awskmsKeyArn',
},
noEncryptionConfig: 'noEncryptionConfig',
},
errorOutputPrefix: 'errorOutputPrefix',
prefix: 'prefix',
roleArn: 'roleArn',
},
typeName: 'typeName',
vpcConfiguration: {
roleArn: 'roleArn',
securityGroupIds: ['securityGroupIds'],
subnetIds: ['subnetIds'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| buffering | IResolvable | Elasticsearch | Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon ES domain. |
| cloud | IResolvable | Cloud | The Amazon CloudWatch Logs logging options for the delivery stream. |
| cluster | string | The endpoint to use when communicating with the cluster. |
| document | IResolvable | Document | Indicates the method for setting up document ID. |
| domain | string | The ARN of the Amazon ES domain. |
| index | string | The name of the Elasticsearch index to which Kinesis Data Firehose adds data for indexing. |
| index | string | The frequency of Elasticsearch index rotation. |
| processing | IResolvable | Processing | The data processing configuration for the Kinesis Data Firehose delivery stream. |
| retry | IResolvable | Elasticsearch | The retry behavior when Kinesis Data Firehose is unable to deliver data to Amazon ES. |
| role | string | The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents. |
| s3 | string | The condition under which Kinesis Data Firehose delivers data to Amazon Simple Storage Service (Amazon S3). |
| s3 | IResolvable | S3 | The S3 bucket where Kinesis Data Firehose backs up incoming data. |
| type | string | The Elasticsearch type name that Amazon ES adds to documents when indexing data. |
| vpc | IResolvable | Vpc | The details of the VPC of the Amazon ES destination. |
bufferingHints?
Type:
IResolvable | Elasticsearch
(optional)
Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon ES domain.
cloudWatchLoggingOptions?
Type:
IResolvable | Cloud
(optional)
The Amazon CloudWatch Logs logging options for the delivery stream.
clusterEndpoint?
Type:
string
(optional)
The endpoint to use when communicating with the cluster.
Specify either this ClusterEndpoint or the DomainARN field.
documentIdOptions?
Type:
IResolvable | Document
(optional)
Indicates the method for setting up document ID.
The supported methods are Firehose generated document ID and OpenSearch Service generated document ID.
domainArn?
Type:
string
(optional)
The ARN of the Amazon ES domain.
The IAM role must have permissions for DescribeElasticsearchDomain , DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming the role specified in RoleARN .
Specify either ClusterEndpoint or DomainARN .
indexName?
Type:
string
(optional)
The name of the Elasticsearch index to which Kinesis Data Firehose adds data for indexing.
indexRotationPeriod?
Type:
string
(optional)
The frequency of Elasticsearch index rotation.
If you enable index rotation, Kinesis Data Firehose appends a portion of the UTC arrival timestamp to the specified index name, and rotates the appended timestamp accordingly. For more information, see Index Rotation for the Amazon ES Destination in the Amazon Kinesis Data Firehose Developer Guide .
processingConfiguration?
Type:
IResolvable | Processing
(optional)
The data processing configuration for the Kinesis Data Firehose delivery stream.
retryOptions?
Type:
IResolvable | Elasticsearch
(optional)
The retry behavior when Kinesis Data Firehose is unable to deliver data to Amazon ES.
roleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the IAM role to be assumed by Kinesis Data Firehose for calling the Amazon ES Configuration API and for indexing documents.
For more information, see Controlling Access with Amazon Kinesis Data Firehose .
s3BackupMode?
Type:
string
(optional)
The condition under which Kinesis Data Firehose delivers data to Amazon Simple Storage Service (Amazon S3).
You can send Amazon S3 all documents (all data) or only the documents that Kinesis Data Firehose could not deliver to the Amazon ES destination. For more information and valid values, see the S3BackupMode content for the ElasticsearchDestinationConfiguration data type in the Amazon Kinesis Data Firehose API Reference .
s3Configuration?
Type:
IResolvable | S3
(optional)
The S3 bucket where Kinesis Data Firehose backs up incoming data.
typeName?
Type:
string
(optional)
The Elasticsearch type name that Amazon ES adds to documents when indexing data.
vpcConfiguration?
Type:
IResolvable | Vpc
(optional)
The details of the VPC of the Amazon ES destination.

.NET
Go
Java
Python
TypeScript