<!-- Love localstack? Please consider supporting our collective:
👉  https://opencollective.com/localstack/donate -->

# Type of request: This is a ...

[ ] bug report
[x] feature request

# Detailed description
* Define a lambda function in a CDK stack (e.g. "TestStack"), giving it a descriptive ID value (e.g. "DescriptiveName")
* Deploy the CDK template (`cdklocal deploy`)
* Check the function's name in the dashboard

## Expected behavior
Function's name includes its CDK stack ID. For example, deploying the template to AWS will produce a function name of the form `<StackName>-<FunctionID><mishmash>` (e.g. TestStack-DescriptiveName8C62FF46-hXye7CyPgrc7)

## Actual behavior
Function's name has the form `<StackName>-lambda-<mishmash>` (e.g. TestStack-lambda-cb0e840d), making it more difficult to use in the localstack dashboard when there are several lambdas.

# Steps to reproduce
See detailed description

## Command used to start LocalStack
`LOCALSTACK_API_KEY=... localstack start`

## Client code (AWS SDK code snippet, or sequence of "awslocal" commands)
(none)
iam.attach_role_policy(RoleName=role, PolicyArn=policy_arn)
        for user in users:
            iam.attach_user_policy(UserName=user, PolicyArn=policy_arn)
    elif resource_type == "IAM::InstanceProfile":
        if resource_props.get("Roles", []):
            iam = aws_stack.connect_to_service("iam")
            iam.add_role_to_instance_profile(
                InstanceProfileName=resource_props["InstanceProfileName"],
                RoleName=resource_props["Roles"][0],
            )
    elif resource_type == "IAM::User":
        iam = aws_stack.connect_to_service("iam")
        username = resource_props.get("UserName")
        for group in resource_props.get("Groups", []):
            iam.add_user_to_group(UserName=username, GroupName=group)
        for managed_policy in resource_props.get("ManagedPolicyArns", []):
            iam.attach_user_policy(UserName=username, PolicyArn=managed_policy)
        for policy in resource_props.get("Policies", []):
            policy_doc = json.dumps(policy.get("PolicyDocument"))
            iam.put_user_policy(
                UserName=username, PolicyName=policy.get("PolicyName"), PolicyDocument=policy_doc
            )
        login_profile = resource_props.get("LoginProfile")
        if login_profile:
            iam.create_login_profile(
                UserName=username,
                Password=login_profile.get("Password"),
                PasswordResetRequired=login_profile.get("PasswordResetRequired"),
            )
def get_action_name_for_resource_change(res_change):