createqueue

package
v0.0.0-...-dccf30d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndSubscribe

func CreateAndSubscribe(opts *CreateOptions) (string, error)

CreateAndSubscribe creates the SQS queue and subscribes it to the SNS topics

func NewSQSSendPolicyForSNSSourceARNs

func NewSQSSendPolicyForSNSSourceARNs(sqsARN string, snsARNs []string) (string, error)

NewSQSSendPolicyForSNSSourceARNs returns the SQS Send Policy

Types

type CreateOptions

type CreateOptions struct {
	QueueName         string
	SNSTopicARNs      []string
	VisibilityTimeout int
	Verbose           bool
}

CreateOptions are the options to create and subscribe the SQS queue

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL