<reponame>robertasstankevicius/B.CfnTwilioActivity<gh_stars>0
from aws_cdk.core import Stack

from b_cfn_twilio_activity.function import TwilioActivitySingletonFunction
from b_cfn_twilio_activity.resource import TwilioActivityResource


class TestingInfrastructure(Stack):
    def __init__(self, scope: Stack):
        super().__init__(
            scope=scope,
            id=f'TestingStack',
            stack_name=f'TestingStack'
        )

        function = TwilioActivitySingletonFunction(
            scope=self,
            name='TestingFunction',
            twilio_account_sid='Test1',
            twilio_auth_token='<PASSWORD>',
            twilio_workspace_sid='Test3'
        )

        TwilioActivityResource(
            scope=self,
            activity_function=function
        )

from aws_cdk.core import Stack

from b_cfn_twilio_activity.function import TwilioActivitySingletonFunction
from b_cfn_twilio_activity.resource import TwilioActivityResource


class TestingInfrastructure(Stack):
    def __init__(self, scope: Stack):
        super().__init__(
            scope=scope,
            id=f'TestingStack',
            stack_name=f'TestingStack'
        )

        function = TwilioActivitySingletonFunction(
            scope=self,
            name='TestingFunction',
            twilio_account_sid='Test1',
            twilio_auth_token='<PASSWORD>',
            twilio_workspace_sid='Test3'
        )

        TwilioActivityResource(
            scope=self,
            activity_function=function
        )