kafka_overwatch.aws_helpers package ¶
Submodules ¶
kafka_overwatch.aws_helpers.kafka_client_secrets module ¶
Parses the configuration given to the configuration file and is interpolated with the values from {{resolve}}
- kafka_overwatch.aws_helpers.kafka_client_secrets. eval_kafka_client_config ( kafka_cluster ) [source] ¶
-
If a configuration value is a string starting with {{resolve:}} the value is interpolated using AWS SecretsManager or AWS SSM. We create a new dict in order to preserve the original
- Return type :
-
dict
kafka_overwatch.aws_helpers.s3 module ¶
Module contents ¶
AWS Helper functions
- kafka_overwatch.aws_helpers. get_session_from_iam_override ( iam_override ) [source] ¶
-
Returns a boto3 session from the IamOverride config. If profileName is set, return session for that profile name Elif profileName + AssumeRole, use a session of that profile name, then return AssumeRole session Elif not profileName and AssumeRole, just use AssumeRole
- Return type :
-
boto3.session.Session