projects/DynamicContactCenter/dynamic-attribute-routing.yaml [198:222]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Lambda::Function
    DeletionPolicy: Delete
    Properties:
      Runtime: python3.7
      Handler: index.lambda_handler
      Role: !GetAtt LambdaExecutionRole.Arn
      Code:
        ZipFile: |
          import boto3
          from boto3.dynamodb.conditions import Key
          import os
          import json
          import logging

          """ --- Set logging --- """

          logger = logging.getLogger()
          logger.setLevel(logging.INFO)

          """ --- Set dynamoDB resources --- """

          dynamodb = boto3.resource('dynamodb')


          """ --- Control Functions --- """
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



projects/DynamicContactCenter/dynamic-attribute-routing.yaml [290:313]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Type: AWS::Lambda::Function
    DeletionPolicy: Delete
    Properties:
      Runtime: python3.7
      Handler: index.lambda_handler
      Role: !GetAtt LambdaExecutionRole.Arn
      Code:
        ZipFile: |
          import boto3
          from boto3.dynamodb.conditions import Key
          import os
          import json
          import logging

          """ --- Set logging --- """

          logger = logging.getLogger()
          logger.setLevel(logging.INFO)

          """ --- Set dynamoDB resources --- """

          dynamodb = boto3.resource('dynamodb')

          """ --- Control Functions --- """
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



