ecs_composex.codeguru_profiler package

Submodules

ecs_composex.codeguru_profiler.codeguru_profiler_aws module

Module to find the CodeGuru profiles from tagging API

ecs_composex.codeguru_profiler.codeguru_profiler_aws. get_profile_config ( profile_arn , session ) [source]
Parameters :
  • profile_arn ( str ) –

  • session ( boto3.session.Session ) –

Returns :

ecs_composex.codeguru_profiler.codeguru_profiler_aws. lookup_profile_config ( lookup , session ) [source]

Function to find the DB in AWS account

Parameters :
  • lookup ( dict ) – The Lookup definition for DB

  • session ( boto3.session.Session ) – Boto3 session for clients

Returns :

ecs_composex.codeguru_profiler.codeguru_profiler_module module

ecs_composex.codeguru_profiler.codeguru_profiler_params module

ecs_composex.codeguru_profiler.codeguru_profiler_stack module

Module to manage top level AWS CodeGuru profiles

class ecs_composex.codeguru_profiler.codeguru_profiler_stack. CodeProfiler ( name , definition , module , settings ) [source]

Bases: ApiXResource

Class to manage AWS Code Guru profiles

init_outputs ( ) [source]

Placeholder method

class ecs_composex.codeguru_profiler.codeguru_profiler_stack. XStack ( title , settings , module , ** kwargs ) [source]

Bases: ComposeXStack

Method to manage the elastic cache resources and root stack

ecs_composex.codeguru_profiler.codeguru_profiler_stack. create_root_template ( new_resources , module_res_key ) [source]

Function to create the root stack template for profiles

Parameters :
  • new_resources ( list [ CodeProfiler ] ) –

  • module_res_key ( str ) –

Returns :

The template wit the profiles

Return type :

troposphere.Template

ecs_composex.codeguru_profiler.codeguru_profiler_stack. define_lookup_profile_mappings ( mappings , resources , settings ) [source]

Function to update the mappings of CodeGuru profile identified via Lookup :param dict mappings: :param list resources: :param ecs_composex.common.settings.ComposeXSettings settings: :return:

Module contents