Struct aws_sdk_firehose::model::elasticsearch_destination_configuration::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }Expand description
A builder for ElasticsearchDestinationConfiguration
Implementations
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 Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and AWS Service Namespaces.
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 Grant Kinesis Data Firehose Access to an Amazon S3 Destination and Amazon Resource Names (ARNs) and AWS Service Namespaces.
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. For more information, see Amazon
Resource Names (ARNs) and AWS Service Namespaces.
Specify either ClusterEndpoint or DomainARN.
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. For more information, see Amazon
Resource Names (ARNs) and AWS Service Namespaces.
Specify either ClusterEndpoint or DomainARN.
The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpoint or the DomainARN field.
The endpoint to use when communicating with the cluster. Specify either this
ClusterEndpoint or the DomainARN field.
The Elasticsearch index name.
The Elasticsearch index name.
The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Kinesis Data Firehose returns an error during run time.
For Elasticsearch 7.x, don't specify a TypeName.
The Elasticsearch type name. For Elasticsearch 6.x, there can be only one type per index. If you try to specify a new type for an existing index that already has another type, Kinesis Data Firehose returns an error during run time.
For Elasticsearch 7.x, don't specify a TypeName.
The Elasticsearch index rotation period. Index rotation appends a timestamp to the
IndexName to facilitate the expiration of old data. For more information,
see Index Rotation for the
Amazon ES Destination. The default value is OneDay.
pub fn set_index_rotation_period(
self,
input: Option<ElasticsearchIndexRotationPeriod>
) -> Self
pub fn set_index_rotation_period(
self,
input: Option<ElasticsearchIndexRotationPeriod>
) -> Self
The Elasticsearch index rotation period. Index rotation appends a timestamp to the
IndexName to facilitate the expiration of old data. For more information,
see Index Rotation for the
Amazon ES Destination. The default value is OneDay.
The buffering options. If no value is specified, the default values for
ElasticsearchBufferingHints are used.
The buffering options. If no value is specified, the default values for
ElasticsearchBufferingHints are used.
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon ES. The default value is 300 (5 minutes).
Defines how documents should be delivered to Amazon S3. When it is set to
FailedDocumentsOnly, Kinesis Data Firehose writes any documents that could
not be indexed to the configured Amazon S3 destination, with
elasticsearch-failed/ appended to the key prefix. When set to
AllDocuments, Kinesis Data Firehose delivers all incoming records to Amazon
S3, and also writes failed documents with elasticsearch-failed/ appended to
the prefix. For more information, see Amazon S3 Backup for the
Amazon ES Destination. Default value is
FailedDocumentsOnly.
You can't change this backup mode after you create the delivery stream.
Defines how documents should be delivered to Amazon S3. When it is set to
FailedDocumentsOnly, Kinesis Data Firehose writes any documents that could
not be indexed to the configured Amazon S3 destination, with
elasticsearch-failed/ appended to the key prefix. When set to
AllDocuments, Kinesis Data Firehose delivers all incoming records to Amazon
S3, and also writes failed documents with elasticsearch-failed/ appended to
the prefix. For more information, see Amazon S3 Backup for the
Amazon ES Destination. Default value is
FailedDocumentsOnly.
You can't change this backup mode after you create the delivery stream.
The configuration for the backup Amazon S3 location.
The configuration for the backup Amazon S3 location.
The data processing configuration.
The data processing configuration.
The Amazon CloudWatch logging options for your delivery stream.
The Amazon CloudWatch logging options for your delivery stream.
The details of the VPC of the Amazon ES destination.
The details of the VPC of the Amazon ES destination.
Consumes the builder and constructs a ElasticsearchDestinationConfiguration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more