Skip to main content

Kafka Topic class for Troposphere

Lib to represent kafka topic that can then be used with Troposphere

How to use

Install

pip install aws_custom_ews_kafka_topic

Deploy via Custom resource (self-managed Lambda)

from aws_custom_ews_kafka_topic.custom import KafkaTopic

topic = KafkaTopic(
  ServiceToken=Ref(FunctionArn),
  Name="new-kafka-topic",
  PartitionsCount=6
)

Deploy via Private Registry resource type

from aws_custom_ews_kafka_topic.resource import KafkaTopic

topic = KafkaTopic(
  Name="new-kafka-topic",
  PartitionsCount=6
)

Example from CLI

>>> from troposphere import Template
>>> from aws_custom_ews_kafka_topic.resource import KafkaTopic
>>> t = KafkaTopic("newtopic", Name="toto", PartitionsCount=6, BootstrapServers="toto.net")
>>> c = Template()
>>> c.add_resource(t)
>>> print(c.to_yaml())
Resources:
  newtopic:
    Properties:
      BootstrapServers: toto.net
      Name: toto
      PartitionsCount: 6
    Type: EWS::Kafka::Topic

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Metadata

Release files for aws-custom-ews-kafka-resources 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-custom-ews-kafka-resources 0.2.0
File Size Uploaded
aws_custom_ews_kafka_resources-0.2.0.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-custom-ews-kafka-resources 0.2.0
File Interpreter ABI Platform
aws_custom_ews_kafka_resources-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.9 kB

Release files / aws_custom_ews_kafka_resources-0.2.0.tar.gz

Download URL aws_custom_ews_kafka_resources-0.2.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
51702316bfcdd51fdb1d072c4f3eab78a1f111c1528a4e1a6c8d31e97aa1e0c8
BLAKE2b-256 checksum
How to use checksums
bf6b4b022e3255b71bac42e6b91d1e1fdbf6f7066f7532a7221bc7be613b61a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.13.9-100.fc33.x86_64

Release files / aws_custom_ews_kafka_resources-0.2.0-py3-none-any.whl

Download URL aws_custom_ews_kafka_resources-0.2.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8709ec03c3638613810e134c41adf913074b5ad4897991fd65b023d25869044
BLAKE2b-256 checksum
How to use checksums
cd102c1d4a6ceccfcf863f7394b87ffaf8b5e284fbe389c8ac7340a308b8d8d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.8 CPython/3.9.6 Linux/5.13.9-100.fc33.x86_64

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page