your recipe card header background

    Create a queue

    0

    0

    AWS and boto3 recipes for Python

    Create a SQS queue using the boto3 library.

    Library: boto3

    import boto3
    
    # Create SQS client
    sqs = boto3.client('sqs')
    
    # Create a SQS queue
    response = sqs.create_queue(
      QueueName='queuename',
      Attributes={
        'DelaySeconds': '60',
        'MessageRetentionPeriod': '86400'
      }
    )
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.