ecs_composex.sns package

Submodules

ecs_composex.sns.sns_helpers module

ecs_composex.sns.sns_helpers. create_sns_mappings ( resources , settings , module ) [source]

Creates the Mappings for x-sns

ecs_composex.sns.sns_helpers. get_topic_config ( topic , account_id , resource_id ) [source]

Function to create the mapping definition for SNS topics

Return type :

dict | None

ecs_composex.sns.sns_module module

ecs_composex.sns.sns_params module

ecs_composex.sns.sns_stack module

class ecs_composex.sns.sns_stack. Topic ( name , definition , module , settings ) [source]

Bases: ApiXResource

Class for SNS Topics

init_outputs ( ) [source]

Placeholder method

class ecs_composex.sns.sns_stack. XStack ( title , settings , module , ** kwargs ) [source]

Bases: ComposeXStack

Class to handle SQS Root stack related actions

do_validation : bool
properties : Dict[str, Any]
propnames : Set[str]
resource : Dict[str, Any]
template : Optional[Template]
title : Optional[str]

ecs_composex.sns.sns_templates module

Module to add topics and subscriptions to the SNS stack

ecs_composex.sns.sns_templates. add_topics_to_template ( template , topics ) [source]

Function to interate over the topics and add them to the CFN Template

ecs_composex.sns.sns_templates. import_sns_topics_to_template ( new_topics , root_template ) [source]

Entrypoint function to generate the SNS topics templates

Module contents