names#




Functions#

cfn_format_name

Remove occurrences of - or _ from the string and title case around those.

cfn_format_name()#

rootski_backend_cdk.common.names.cfn_format_name(name: str) str[source]#

Remove occurrences of - or _ from the string and title case around those.

Example:

>>> cfn_format_name("rootski-iam_user_id")
'RootskiIamUserId'
Returns

string that CFN will not modify if used as an identifier