/
ConfigurationSetEventDestinationProps.go
44 lines (41 loc) · 1.7 KB
/
ConfigurationSetEventDestinationProps.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package awsses
// Properties for a configuration set event destination.
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// var configurationSet configurationSet
// var eventDestination eventDestination
//
// configurationSetEventDestinationProps := &ConfigurationSetEventDestinationProps{
// ConfigurationSet: configurationSet,
// Destination: eventDestination,
//
// // the properties below are optional
// ConfigurationSetEventDestinationName: jsii.String("configurationSetEventDestinationName"),
// Enabled: jsii.Boolean(false),
// Events: []emailSendingEvent{
// awscdk.Aws_ses.*emailSendingEvent_SEND,
// },
// }
//
type ConfigurationSetEventDestinationProps struct {
// The event destination.
Destination EventDestination `field:"required" json:"destination" yaml:"destination"`
// A name for the configuration set event destination.
// Default: - a CloudFormation generated name.
//
ConfigurationSetEventDestinationName *string `field:"optional" json:"configurationSetEventDestinationName" yaml:"configurationSetEventDestinationName"`
// Whether Amazon SES publishes events to this destination.
// Default: true.
//
Enabled *bool `field:"optional" json:"enabled" yaml:"enabled"`
// The type of email sending events to publish to the event destination.
// Default: - send all event types.
//
Events *[]EmailSendingEvent `field:"optional" json:"events" yaml:"events"`
// The configuration set that contains the event destination.
ConfigurationSet IConfigurationSet `field:"required" json:"configurationSet" yaml:"configurationSet"`
}