July 2017
Intermediate to advanced
402 pages
9h 38m
English
Within a few minutes, our ElasticSearch cluster should be up and running. We will now focus on the Kinesis Firehose component of our stack, which will let us feed data into ElasticSearch.
We will create a new script and call it firehose-cf-template.py.
The script starts as usual with several imports, the creation of a template variable, and a brief description:
"""Generating CloudFormation template.""" from troposphere import ( GetAtt, Join, Ref, Template, ImportValue ) from troposphere.firehose import ( BufferingHints, CloudWatchLoggingOptions, DeliveryStream, S3Configuration, ElasticsearchDestinationConfiguration, RetryOptions, ) from troposphere.iam import Role from troposphere.s3 import ...
Read now
Unlock full access