@Stability(value=Stable)
public static interface CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kinesisfirehose.*;
ElasticsearchDestinationConfigurationProperty elasticsearchDestinationConfigurationProperty = ElasticsearchDestinationConfigurationProperty.builder()
.indexName("indexName")
.roleArn("roleArn")
.s3Configuration(S3DestinationConfigurationProperty.builder()
.bucketArn("bucketArn")
.roleArn("roleArn")
// the properties below are optional
.bufferingHints(BufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.compressionFormat("compressionFormat")
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.kmsEncryptionConfig(KMSEncryptionConfigProperty.builder()
.awskmsKeyArn("awskmsKeyArn")
.build())
.noEncryptionConfig("noEncryptionConfig")
.build())
.errorOutputPrefix("errorOutputPrefix")
.prefix("prefix")
.build())
// the properties below are optional
.bufferingHints(ElasticsearchBufferingHintsProperty.builder()
.intervalInSeconds(123)
.sizeInMBs(123)
.build())
.cloudWatchLoggingOptions(CloudWatchLoggingOptionsProperty.builder()
.enabled(false)
.logGroupName("logGroupName")
.logStreamName("logStreamName")
.build())
.clusterEndpoint("clusterEndpoint")
.domainArn("domainArn")
.indexRotationPeriod("indexRotationPeriod")
.processingConfiguration(ProcessingConfigurationProperty.builder()
.enabled(false)
.processors(List.of(ProcessorProperty.builder()
.type("type")
// the properties below are optional
.parameters(List.of(ProcessorParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.build()))
.build())
.retryOptions(ElasticsearchRetryOptionsProperty.builder()
.durationInSeconds(123)
.build())
.s3BackupMode("s3BackupMode")
.typeName("typeName")
.vpcConfiguration(VpcConfigurationProperty.builder()
.roleArn("roleArn")
.securityGroupIds(List.of("securityGroupIds"))
.subnetIds(List.of("subnetIds"))
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty.Builder
|
static class |
CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty.Jsii$Proxy
An implementation for
CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty.Builder |
builder() |
default Object |
getBufferingHints()
Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon ES domain.
|
default Object |
getCloudWatchLoggingOptions()
The Amazon CloudWatch Logs logging options for the delivery stream.
|
default String |
getClusterEndpoint()
The endpoint to use when communicating with the cluster.
|
default String |
getDomainArn()
The ARN of the Amazon ES domain.
|
String |
getIndexName()
The name of the Elasticsearch index to which Kinesis Data Firehose adds data for indexing.
|
default String |
getIndexRotationPeriod()
The frequency of Elasticsearch index rotation.
|
default Object |
getProcessingConfiguration()
The data processing configuration for the Kinesis Data Firehose delivery stream.
|
default Object |
getRetryOptions()
The retry behavior when Kinesis Data Firehose is unable to deliver data to Amazon ES.
|
String |
getRoleArn()
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.
|
default String |
getS3BackupMode()
The condition under which Kinesis Data Firehose delivers data to Amazon Simple Storage Service (Amazon S3).
|
Object |
getS3Configuration()
The S3 bucket where Kinesis Data Firehose backs up incoming data.
|
default String |
getTypeName()
The Elasticsearch type name that Amazon ES adds to documents when indexing data.
|
default Object |
getVpcConfiguration()
The details of the VPC of the Amazon ES destination.
|
@Stability(value=Stable) @NotNull String getIndexName()
@Stability(value=Stable) @NotNull String getRoleArn()
For more information, see Controlling Access with Amazon Kinesis Data Firehose .
@Stability(value=Stable) @NotNull Object getS3Configuration()
@Stability(value=Stable) @Nullable default Object getBufferingHints()
@Stability(value=Stable) @Nullable default Object getCloudWatchLoggingOptions()
@Stability(value=Stable) @Nullable default String getClusterEndpoint()
Specify either this ClusterEndpoint or the DomainARN field.
@Stability(value=Stable) @Nullable default String getDomainArn()
The IAM role must have permissions for DescribeElasticsearchDomain , DescribeElasticsearchDomains , and DescribeElasticsearchDomainConfig after assuming the role specified in RoleARN .
Specify either ClusterEndpoint or DomainARN .
@Stability(value=Stable) @Nullable default String getIndexRotationPeriod()
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 .
@Stability(value=Stable) @Nullable default Object getProcessingConfiguration()
@Stability(value=Stable) @Nullable default Object getRetryOptions()
@Stability(value=Stable) @Nullable default String getS3BackupMode()
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 .
@Stability(value=Stable) @Nullable default String getTypeName()
@Stability(value=Stable) @Nullable default Object getVpcConfiguration()
@Stability(value=Stable) static CfnDeliveryStream.ElasticsearchDestinationConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.