agent-claw: automated task changes
This commit is contained in:
26
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py
generated
vendored
Normal file
26
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/%name.PythonModule%_stack.template.py
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
from constructs import Construct
|
||||
from aws_cdk import (
|
||||
Duration,
|
||||
Stack,
|
||||
aws_iam as iam,
|
||||
aws_sqs as sqs,
|
||||
aws_sns as sns,
|
||||
aws_sns_subscriptions as subs,
|
||||
)
|
||||
|
||||
|
||||
class %name.PascalCased%Stack(Stack):
|
||||
|
||||
def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
|
||||
super().__init__(scope, construct_id, **kwargs)
|
||||
|
||||
queue = sqs.Queue(
|
||||
self, "%name.PascalCased%Queue",
|
||||
visibility_timeout=Duration.seconds(300),
|
||||
)
|
||||
|
||||
topic = sns.Topic(
|
||||
self, "%name.PascalCased%Topic"
|
||||
)
|
||||
|
||||
topic.add_subscription(subs.SqsSubscription(queue))
|
||||
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/__init__.py
generated
vendored
Normal file
0
cdk/node_modules/aws-cdk/lib/init-templates/sample-app/python/%name.PythonModule%/__init__.py
generated
vendored
Normal file
Reference in New Issue
Block a user