Documentation
¶
Overview ¶
CDK Constructs for deploying AWS Events Rule that invokes AWS SNS
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EventbridgeToSns_IsConstruct ¶
func EventbridgeToSns_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewEventbridgeToSns_Override ¶
func NewEventbridgeToSns_Override(e EventbridgeToSns, scope constructs.Construct, id *string, props *EventbridgeToSnsProps)
Types ¶
type EventbridgeToSns ¶
type EventbridgeToSns interface { constructs.Construct EncryptionKey() awskms.Key EventBus() awsevents.IEventBus EventsRule() awsevents.Rule Node() constructs.Node SnsTopic() awssns.Topic ToString() *string }
func NewEventbridgeToSns ¶
func NewEventbridgeToSns(scope constructs.Construct, id *string, props *EventbridgeToSnsProps) EventbridgeToSns
type EventbridgeToSnsProps ¶
type EventbridgeToSnsProps struct { // User provided eventRuleProps to override the defaults. EventRuleProps *awsevents.RuleProps `json:"eventRuleProps"` // Use a KMS Key, either managed by this CDK app, or imported. // // If importing an encryption key, it must be specified in // the encryptionKey property for this construct. EnableEncryptionWithCustomerManagedKey *bool `json:"enableEncryptionWithCustomerManagedKey"` // An optional, imported encryption key to encrypt the SQS queue, and SNS Topic. EncryptionKey awskms.Key `json:"encryptionKey"` // Optional user-provided props to override the default props for the encryption key. EncryptionKeyProps *awskms.KeyProps `json:"encryptionKeyProps"` // A new custom EventBus is created with provided props. EventBusProps *awsevents.EventBusProps `json:"eventBusProps"` // Existing instance of a custom EventBus. ExistingEventBusInterface awsevents.IEventBus `json:"existingEventBusInterface"` // Existing instance of SNS Topic object, providing both this and topicProps will cause an error.. ExistingTopicObj awssns.Topic `json:"existingTopicObj"` // User provided props to override the default props for the SNS Topic. TopicProps *awssns.TopicProps `json:"topicProps"` }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.